The idea is creating a button that will apply the currently selected ATM strategy without going through the tabs in the control center.
[I]If you for example forgot to place the order with an ATM Strategy attached, you can go to the Positions Tab and apply an ATM Strategy to the position:[/I][LIST][*][I]Go to the Control Center > Positions tab[/I][*][I]Right-click on the desired Position > Apply ATM Strategy > Select the desired ATM Strategy and it will place the Targets as specified[/I][/LIST]
Is there an example on ho wto apply a strategy to a position with code?
I see examples are on how to set normal orders but not on an ATM strategy (ehich could have autobreakeven, autotrail and so on....)
Any help or clues what to research or if Atm strategy can be pplied easily thoough code in a way I am not aware of?
Thanks
Comment