I'm not a programmer, but I'm willing to learn.
I want to backtest my ATM strategy, but I know that to do so I need to use code since the Strategy Wizard is unable to run an ATM.
My ATM is pretty simple: there are three forex lots of the same size, each lot has a stop loss and a trailing stop after hitting a certain profit point, and each lot has a different profit target. I use ticks for metrics.
I've looked for an example of how to code the profit targets, but I can't find one. How would I incorporate the stop loss and trailing stop into the code?
I'm at a loss. Any help would be much appreciated!
Comment