I saved the ninjatrader DM indicator as DmHistogram.
In the NT indicator there is a line of code... double sum = DiPlus + DiMinus
This would be the value of the histogram.
Below this in the code the current plots are defined.
Following this logic it tried to create/set a plot variable "HistPlot" = sum;
attached screenshot
I get an error 'HistPlot' does not exist n current context - error code CS0103
I tried defining "HistPlot" -
under Public class.. private series<double> HistPlot;
under State.DataLoaded… HistPlot =new series<double>(this);
Neither of these worked
Any help on creating the histogram would be appreciated.
Comment