i have a question about the RWI. Use RWI someone in NinjaTrader and can publish the code for it. I have try to understand how i must writing but its so hard. I have it in Prorealtime, but there i can only backtesting one Underlaying in NinjaTrader can backtesting complete Underlayings.
It were so great. I use the follow code in Prorealtime.
b=0 d=0 for i=1 to n do a=(high-low[i])/((averagetruerange[i](close[1]))/SQRT(i)) b=max(b,a) next for i = 1 to n do c=(high[i]-low)/((averagetruerange[i](close[1]))/sqrt(i)) d=max(c,d) next if b<1 then e=-1 else if d< 1 then e=1 else endif endif f=-2 ligne=1 return b as "rwi high",ligne as "ligne1",d as "rwi low",f coloured by e
it were nice when can someone help.
Silvio
Comment