I subscribed to a basic subscription with no exchanges fees or extras and I am trying to write my own indicator to run it in market analyzer. After doing some tests, I realized that even a really simple indicator like the one below never updates in the market analyzer.
I close NJ. Let's say I open it at 10am and run the market analyzer with the indicator below in a column, I set the indicator to run on a 1 minute timeframe, 320 bars to look back, maximum bars to look back infinite, calculateonbarclose set to true, the rest is on default settings.
When I click apply, it is going to print the close price of 9.59am but after that i never updates. The result is the same with calulcateonbarclose set to false.
Does anyone know why ?
Thanks for your help.
Max
protected override void Initialize()
{
Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Plot0"));
Overlay = false;
}
/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
// Use this method for calculating your indicator values. Assign a value to each
// plot below by replacing 'Close[0]' with your own formula.
Plot0.Set(Close[1]);
}
Comment