The parameter barsAgo may not work in some function in Ninjatrader Ninjascript
For example: DrawText(string tag, string text, int barsAgo, double y, Color color) protected override void OnBarUpdate() { DrawText(“tag1”, “Text to…
PatternSmart Blog
For example: DrawText(string tag, string text, int barsAgo, double y, Color color) protected override void OnBarUpdate() { DrawText(“tag1”, “Text to…
Alerts can’t be used in SCAN and custom quote. We cannot put an alert script into a custom quote or…
Code: plot weeklyClose = close("IBM", period = AggregationPeriod.WEEK); This code plots weekly Close price for IBM. Interesting thing is that…
Another restriction is that two different secondary aggregation periods cannot be used within a single variable: Code: plot Data =…
So far, we have learned many things about the bars on charts and values which can be calculated for them.…