Help for strategy tester - page 2

 
Tonybarba #:
The purpose of this EA is to open a position manually, and it sets the SL and TP values ​​as I programmed them. Then, when the first target is reached, it moves the SL to BE.
Is this perhaps the reason why it doesn't work in the strategy tester because it doesn't open any positions automatically?
Thanks

Most likely, yes, as Michael Charles Schefe said.

You need to simulate live trading. Here's the source code of one such indicator, but you'll need to add pending orders to its code for your purposes.

Code Base

SimSim (Simple Simulator v1.0)

Boris, 2020.08.21 15:54

Simple Simulator is designed to practice manual trading on historical data.