BUT when this IB Auto resart take more than 2 minutes, MC12 Autotrading SA green button turn in grey and put autotrading OFF !
I don't want MC12 to stop autotrading ! Why MC12 do this ?
My PL stategies manage very well data disconnection but my stategies have to RUN to manage opened position on reconnection, if MC12 turn OFF autotrading, Multicharts kill my PL code.
On first reconected tick my PL code manage open position to close open position on lost trade ,( no need complex backfill, computation, only a new price) and if my autotrading stategies are OFF Nothing can append !
Maybe a workaround (another) with MC14 with great button to make autotradingON on all charts, BUT always the same thing, impossible to manage it from PL code.)
First click on autotrading all charts button, click on excecute button, and click again on every popup button to enable each charts LoL. how i can do this from my PL code ? Even with autohotkey i can't do, no shortkey input, no command line input or PL code.
Quotemanager reconnect very well, indicators as well, i can put code in indicators to make autotradingON again ....
Complex but i thing the best way is that MC don't turn OFF autotrading ...(Never, never by himself, if I want to do i will do myself or by my automation) easy from code we have PL code
Code: Select all
Abort;