Forum

Why doesn't breakeven work for XAU? PLS

As soon as the order is opened, even if I increase the Pips as input, the stop loss is immediately positioned at BE after very few pips. bool fxBreakEven( int argMagicNumber, int argBeakevenPip){ bool response= false ; // conversione da PIP in POINT if ( Digits ()== 3 ||

Why doesn't my EA open any type of orders in the strategy tester?

Hi guys, I'm new and still starting out, I'm trying to launch this EA code in MQL5, but although I don't have any type of error, when I try to test this EA in my strategy tester, it doesn't open any orders. Can some good soul help me? thank you very much. Below I share my code Improperly formatted