I wanted to add the orderflow cumulative delta indicator chart to a range chart and so I did in strategy builder select the conditions eg
(OrderFlowCumulativeDelta1.DeltaClose[0] > (OrderFlowCumulativeDelta1.DeltaHigh[1] ) ) /this line gave me the strategy builder
for comparing the cumulative Delta Close of Current bar with the High of the bar before. But it doesnt plot.
So I added the volumetric dataseries to the indicator same as I do for strategies with
if (barsType.Volumes[CurrentBar].CumulativeDelta > barsType.Volumes[CurrentBar-1].CumulativeDelta)
and this works.
* Does this mean one has to add always the volumetric dataseries to an indicator for working with the cumulative delta?
* And if so, is there a possibility to have in the indicator for the added volumentric dataseries always the same dataseries as the chart is plotting?
(otherwise one has to set in the code of the indicator for every chart needed the indicator the appropriate dataseries).
* And an additional question in this concern please: is it possible to work with the high, low, open and close of the cumulative delta bars?
for example like "if(low of current delta bar < low of delta bar before...)"
(I dont see it there: https://ninjatrader.com/support/help...tric_bars2.htm)
Thank you!
Tony
Comment