When using Atm Strategy methods, your stop loss and profit target distance will initially be set by the template. If you want to set this to a far distance then you can set this to a far distance in the Atm Strategy Template.
If you want to modify a stop loss or profit target, then you have to use the name of that stop loss or profit target as they appear in the Orders tab of the Control Center.
AtmStrategyChangeStopTarget(0, SMA(10)[0], "STOP2", "AtmIdValue");
If you want to use a number of ticks, multiply a number by the TickSize.
For example to get a distance of 5 ticks from the close price:
Print(Close[0] + 5 * TickSize);
Comment