STB
Member
Anyone know how to count the number of arrow signals this indicator creates?
I'm looking to see how many times a certain percent gap up occurs without having to actual count the arrows manually.
It would just post a label like below saying 20 gap up arrows.
Thanks for any help!
I'm looking to see how many times a certain percent gap up occurs without having to actual count the arrows manually.
It would just post a label like below saying 20 gap up arrows.
Thanks for any help!
Code:
input gapPercent = 1;
def OpenGapPercent = Round((open - close[1]) / close[1] * 100 , 2) ;
AddLabel(yes, Concat("Gap Up " + "% ", OpenGapPercent ), Color.red );
plot GapUp = open > close[1] && open > high[1] && OpenGapPercent > gapPercent;
GapUp.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
