if i have an indicator. and the current value is 10.
then if i look back a 100 values; out of the 100 values the current value '10' showed up 50 times. therefore, 50/100 = 50% of the data = 10.
how can i do this in NT?
essentially what i want to do is
lookup the # of times the current value comes up in the past 10000 bars
thanks
i havnt tested this since i'm at work
but would this work?
if (CountIf(delegate {return IndicatorValue[0];}, 10000) ;
Comment