I would like to post a few samples here:
Market Analyer Columns are based on a sample script ExposedPlotMA distributed by NinjaTrader. The sample script is attached,
I have now taken the NinjaTrader in-built PriorDayOHLC indicator and added a single DataSeries. The DataSeries returns a value of +1, if the instrument trades above yesterday's high, it returns a value of -1 if the instrument trades below yesterday's low and returns the value of 0, if the instrument trades inside yesterday's range. This is a simple, but powerful trend filter. The DataSeries is exposed via a public property. Other than DataSeries and public property the indicator is identical with the in-built PriorDayOHLC.
In a second step I have created a simple market analyzer column calling the DataSeries of the modified PriorDayOHLC for display on the market analyzer. The market analyzer column follows the model posted by NinjaTrader support. However, the column does not call the indicator and nothing is displayed on the market analyzer.
Would you have an idea what causes the malfunction? Is there anything missing?
Please find the sample script and the market analyzer column for the PriorTrendOHLC attached.
Comment