How to share Dataserie using your sample (TestShareData.zip ).
I add for example in your AddOn :
public static Series<double> UpperBand1 { get; set; }
In Indicator I put
NinjaTrader.NinjaScript.AddOns.SharedData.UpperBan d1[0] = Band1[0]; // Band1 is a plot
But I have errors in indicator now. (plot Band1 was removed) why.
How to pass complete DataSerie to a Strategy (Band1 in my case and able to access bar ago also) ?
thank you
Comment