EA works in one pair but not in an other
-
I have an ea that draws a fibonaccci retracement from the first to the last candle when there are 4 bulls or bears in a row. It worked perfectly when I used mt4 strategy tester on BTCUSD. But when I tried it in GBPUSD, nothing was drawn, despite there being many instances of 4 bulls in a row there. What could be responsible? I did not set a pair or even a timeframe for my EA, so that shouldn't be it.
-
@Fingon Hello, you will need to post project link for it to be reviewd, there are a number of reasons that could lead to this
-
@chrisbe Ok thank you! https://fxdreema.com/shared/YG51TuXId
-
Is this the whole project? Because there is no issue here. It should work normally.
-
@l-andorrà Yes it is. I copied the exact same blocks and pasted them in another project, the only difference being that I added a play sound button. That one draws a fibs sometimes and doesn't sometimes.
-
@Fingon it works for me. The candles on forex pairs are much smaller respect crypto or indicies. Your condition is searching for 5 candles in a row each one with at least 5 pips of body size. Try to put 3 candles and you can see the difference (M15 TF or higher)
-
@ambrogio Ooh ok! Cuz it worked on LTC and BTC?USD but not GPBUSD. Thanks a lot.
-
-
@Fingon, try what ambrogio said, if you still not getting right, you need to chick the pip size for example 5 pips on BTC can be 0.005 in GBPUSD, check these
-
@chrisbe I have thanks! It's working perfectly now.
-
@Fingon Hola amigo, si puedes compartir el proyecto ya co la correccion que realizaste para probar como quedo...
-
@DragonZueloTrends I don't speak Spanish.
-
Even though you did not explicitly set a pair in your EA, it is possible that there is a hardcoded symbol somewhere in the code. Check the code carefully for any references to BTCUSD. The strategy tester in MT4 may be using different data for BTCUSD and GBPUSD. This could lead to differences in the candlesticks and the identification of 4 bulls in a row. If you are using a different broker for GBPUSD, there may be differences in the way the data is streamed or processed. This could also affect the identification of 4 bulls in a row. Ensure that the time zone settings in your MT4 platform are correct for both BTCUSD and GBPUSD. Incorrect time zone settings can lead to misalignment of candlesticks and affect the identification of 4 bulls in a row.
-
@Fingon There is no problem with that, I do not speak English and I use the translator, it is as simple as right clicking and then choosing the translator... sometimes I forget that it is not activated and I apologize for that
-
@DragonZueloTrends oh no problem at all
