from the NinjaTrader SampleGetHighLowByTimeRange I made me an indicator with different calculations and it works basically ok.
I run the indicator on a 30 min chart. When I add Dataseries 15 min and I set eveything in the bracket if(BarsInProgress==1) then the startbarsago is not correct any more. I try to resolve this now for hours but I cant find a solution. After modifying and testing several times I have no idea what might cause this behavior.
In parameters I have start time 9:30 and it works ok in 30 min chart. But when I add the dataseries 15 min and put it in BIP=1 then the starttime changes to 2:30 (I do no change in parameters!) And of course I change in the code all Low to Lows[1]/High....
???
Thank you!
Tony
Comment