in my coding I change the stoplosses with certain ticks as variables.
Now I want to change this method and I want to use variables referring to indicators. The reason for this is that with having stoplosses and exits by indicators there happen overfills.
To avoid this I want to use the value of the indicator (eg ATR) as stoploss-variable. So this works as stoploss at the brokers server and will be changed from my PC and there can not happen an overfill.
How can I code eg the ATR as variable please?
Thanks
Tony
Comment