EA didn't execute on 2nd occurrence but did on 1st?
-
I have been running an EA and it worked yesterday on a long trade. Today it didn't execute on 2 short trades that came up. How do I figure out why?
You can see below where it took the trade yesterday and then the arrows where it should have executed trades. When the 1hr has 2 red bars under the EMAs, it then looks for the 20min to do the same. It occurred 3x today with no execution. My broker connection is fine and the EA is running.

-
The only way is backtesting it condition by condition. I mean. remove all sell conditions except 1 and then check if as sell is open. Then try again with two conditions and so on until you find which one is not working properly.
-
@l-andorrà When I run a backtest, it executes short trades. That is why I am confused why live forward testing isn't?
-
@l-andorrà 2nd update. I ran it on other symbols and it does execute shorts on other symbols. Is it something with the way the system recognizes pip size with this instrument or something? Any idea how I isolate the issue knowing it trades on other symbols?
-
@l-andorrà Any ideas here where to test? Why would a symbol not allow shorts but others would? I checked with my broker and there aren't any restrictions.
-
Did you check the pip size rules? Were the other tested symbols using the exact same pip size rules?
-
@l-andorrà I have not. I know you mentioned it but how do I adjust it or test it? It was something with the wrench on the right side right?
0.001 = 0.01
0.00001 = 0.0001
0.000001 = 0.0001 -
Correct. You need to insert a new line like this, for example: 0.01 = 1. The number on the left is supposed to be the number of decimal positions of your symbol (two digits in my example). The number of the right is the pip size for that symbol. You will have to test on a case by case scenario. Firstly try 0.1, then 1, then 10 and so on. The final value depends on each broker.