I have an EA that closes all trades when equity target is reached. It also has an option for hard TP for each trade. If I select "0" as the setting for TP value, the EA closes that trade as soon as it is opened. Can I just add this line to completely rid the TP option?
input bool UseTP = false;
Or do I have to dive into the modifying orders section of the code, too, and put a "if" command, too? having the EA have to modify the orders with TPs is taking too much time when it's opening the pending orders.
input bool UseTP = false;
Or do I have to dive into the modifying orders section of the code, too, and put a "if" command, too? having the EA have to modify the orders with TPs is taking too much time when it's opening the pending orders.
Too close for pips, switching to points.