Howdy folks,
I'm having some problems with my EA. The problems occur at random.
The first problem is with trailing stops. Sometimes they work properly and the other times they don't trail properly. The stop adjusts itself both on the way up and the way down. In a long it will follow price up and when price falls the stop will also fall. That isn't supposed to happen.
The other problem I'm having is with correct sequence of order placement. My EA is a sort of grid EA where it places trades up and down on price and each consecutive trade has a different trade parameter depending on the success or failure of the previous trade. If the last trade hits TP then it restarts the series. If the trade ends in SL then it immediately enters a SAR trade with different TP and SL settings than the previous trade.
The problem I have in this instance is that the EA is only supposed to place one trade at a time. Sometimes the EA will hit a SL and place the remaining trades I have programmed all at once and all in the same direction. This is not a problem that occurs all the time or consistently, but generally when I hit a string of 6-9 losing trades in a row. Then on the 7th - 10th trade it will place 10-13 trades at once as I only have 20 trades programmed in the EA.
What is the typical cause of these problems? Bad MT4 installation? Bad EA code? Computer malfunction? What's up?
Thanks,
Matt
I'm having some problems with my EA. The problems occur at random.
The first problem is with trailing stops. Sometimes they work properly and the other times they don't trail properly. The stop adjusts itself both on the way up and the way down. In a long it will follow price up and when price falls the stop will also fall. That isn't supposed to happen.
The other problem I'm having is with correct sequence of order placement. My EA is a sort of grid EA where it places trades up and down on price and each consecutive trade has a different trade parameter depending on the success or failure of the previous trade. If the last trade hits TP then it restarts the series. If the trade ends in SL then it immediately enters a SAR trade with different TP and SL settings than the previous trade.
The problem I have in this instance is that the EA is only supposed to place one trade at a time. Sometimes the EA will hit a SL and place the remaining trades I have programmed all at once and all in the same direction. This is not a problem that occurs all the time or consistently, but generally when I hit a string of 6-9 losing trades in a row. Then on the 7th - 10th trade it will place 10-13 trades at once as I only have 20 trades programmed in the EA.
What is the typical cause of these problems? Bad MT4 installation? Bad EA code? Computer malfunction? What's up?
Thanks,
Matt