I've created an AddOn according to the guide from https://ninjatrader.com/support/help...development_ov erview.htm
Just for testing purposes, with only one custom button under the Chart Trader section.
The button click method changes one public property in AddOn class ( which determines the status ON/OF and background color of the button) and also writes to the Output window the current value of that boolean property. (screen attached)
When imported it to NT8 I faced some issues with it.
- the button works only in the one/the latest open chart window (the click method is never called from previously opened windows). Any idea why it happens?
- the "status" ON/OFF of the button is shared across all the tabs in one window (seems reasonable, according to the doc, a new addon instance is created per every window). But is it possible to keep a separate "status" per tab like for "Instrument" control? I noticed that all other controls in Chart Trader like quantity, ATM strategy, and Account have the same behavior (change in one tab affects all of them except for "Instrument").
- How I can access any Addon public property (eg. sets by a button click) from strategies/indicators applied to different tabs in the chart window?
Cheers
Yeti
Comment