Folks,
I'm a little stumped as to how to get the last five bars (could be any number, 5 is what I am interested in) of an indicator. Why? Instead of looking at just the current symbol value and indicator value I want to compare the indicator value to the last 5 bars of the indicator value and do a range check. If the last five bar are within a similar range, I want to do nothing. If there is a signficant change, then I want to trigger an action.
To make things difficult, this isn't from a built-in but a custom formula.
I'm a little stumped as to how to get the last five bars (could be any number, 5 is what I am interested in) of an indicator. Why? Instead of looking at just the current symbol value and indicator value I want to compare the indicator value to the last 5 bars of the indicator value and do a range check. If the last five bar are within a similar range, I want to do nothing. If there is a signficant change, then I want to trigger an action.
To make things difficult, this isn't from a built-in but a custom formula.
Comment