I am in the process of writing the strategy for the above (not yet addon. that will come later)
i have encountered strange situation where the command : " EnterLong(...) " does not even tries to execute.
not getting any error either.
to reproduce the issue , I have created 3 SIM accounts . SIM101 (standard) sim102 and sim103
edit the strategy parameters with the accounts.
run my strategy and push the BUY once, that will cause the sim102 and sim103 to buy 1 contract.
than push the SELL once. that will cause the flat on both SIM accounts.
After that, no matter what you push , the EnterLong nor the EnterShort commands in the strategy will not work.
any ideas ? AccountsTRADE.cs

Comment