because there is no marketprofile in NinjaTrader I had to make me an "indicator" with plotting the TPO letters and I want to plot me on the high and low numbers from calculations derived from marketprofile theory.
All works fine but I have one problem: In the indicator I have to use 2 dataseries, the 30 minute and a "inside" smaller lets say 2 Range as BarsInProgress==1 in the code.
When I have in the code the following logic (to explain my question accurately):
if(BarsInProgress==1)
{do my calculations and then Draw.Text(this, "diffHigh", true, str1, 0, Highs[0][0] + 13*TickSize, 0, Brushes. Black,new SimpleFont ("Arial",9), TextAlignment.Center, Brushes.Transparent,null,1);}
how can I have plotted the str1 on the High of BIP=0 and not on the High of BIP=1 please? (because the calculation runs in BIP=1 bracket and the barsago in the syntax of Draw.Text refers to BIP=1 from my understanding.)
Thank you!
Tony

Comment