Sometimes the ES chart has focus and I accidently place a trade there (with a hot key) when I really wanted to place it on NQ, which does not have the focus.
So, I would like an AddOn that immediately Flattens any trade on any chart, that does not match my intended Instrument (NQ). I will be able to change the intended instrument with a toggle.
I could make an indicator to do this, but then I would have to put it on each trader chart.
I would like to use an AddOn, but the Flatten command is just for one Account
How can I Flatten one account / instrument with an AddOn
I am using OnOrderUpdate to get the Account and Instrument from the Order object...
When an order is placed that I did not intend I want to flatten it right away, and if there is already a position, flatten that too.
Thx
(yes, I can disable Chart Trader, but I would prefer this idea...I'll toggle the enabled Instrument with a button)
Comment