I understand that multiple ATM, even within the same strategy, do not interfere with each others because they don't have knowledge of the account positions, they only have knowledge of their own positions. As result I would use GetAtmStrategyMarketPosition(atmStrategyId)) to read their status while the parent strategy could monitor the overall account using the AccountItem class. I hope my reading is correct.
Do ATMs handle partial fill correctly with Continuum and Rhitmic?
From SampleAtmStrategy, my understanding of ATM is that I should use AtmStrategyCreate() to launch a pre-existing ATM designed on the "Custom Editor Template of the ChartTrader and then I would immediately modify the stop/target parameters using AtmStrategyChangeStopTarget(). Does it mean that I cannot create and ATM from scratch within a strategy?
Since AtmStrategyChangeStopTarget() only changes the value of one bracket how do I change the values of the 2nd and 3rd ATM target at script level?
Thank You,
Gio

Comment