MicroTrendsLtd / NinjaTrader8

NinjaTrader8 Components Strategies and Trading tools
MIT License
72 stars 17 forks source link

ATSIndicatorQSBStrategyInfoBar.PNL not being updated #94

Open MicroTrendsTom opened 1 year ago

MicroTrendsTom commented 1 year ago

The P&L indicator is used in ATSQuadroStrategyBaseTradingUILayerBase.cs layer (url)

Yes it should be updated somewhere: eg onBarUpdate": aTSIndicatorQSBStrategyInfoBar.PNL=GetRealised etc

MicroTrendsTom commented 1 year ago

The P&L indicator is used in ATSQuadroStrategyBaseTradingUILayerBase.cs layer (url)

Yes it should be updated somewhere: eg onBarUpdate": aTSIndicatorQSBStrategyInfoBar.PNL=GetRealised etc

this is now exposed as "Protected" so it can be accessed and set ideally it would be done an abstract layer and derived from etc e.g: public abstract partial class AlgoSystemTradingUILayerBase : AlgoSystemTradingRulesLayerBase