I'm trying to figure out how to evaluate if any of the 3 of the bars in the last 5 were up with NBarsUp. Is that possible?
In the Ninjascript instructions it says "Period" parameter is for: Number of bars used in the calculation but I don't see an example of this.
Example is:
double value = NBarsUp(3, true, true, true)[0];
Comment