Error 4756 is the Invalid Stops error. It means that either the SL/TP are too close or that they are on the wrong side of the entry. Make sure you are setting everything correctly.
Hi there, when my SL and TP are not set it creates the entry however when i input values it does not work. Please see attachment and guide me on what is wrong. My understanding is that the SL will be placed 50 points from the entry price and same for TP could you advise why this doesn't work
 

Attachments

  • Screenshot 2025-04-30 112223.png
    Screenshot 2025-04-30 112223.png
    32.8 KB · Views: 1
Hi there, when my SL and TP are not set it creates the entry however when i input values it does not work. Please see attachment and guide me on what is wrong. My understanding is that the SL will be placed 50 points from the entry price and same for TP could you advise why this doesn't work
Yes, that's it, but 50 points might not be enough (should be greater than the broker's stop level), especially if you are setting it up to trade near news or market close.
 
i would like to know if the timed order can repeat the order position at the same parameters if it hit my stop loss after first attemt , could it re place that order without have to reset the order myself every time my stoploss is hit ,it would be more useful if it functioned that way ,if only it re placed that position
 
Last edited:
i would like to know if the timed order can repeat the order position at the same parameters if it hit my stop loss after first attemt , could it re place that order without have to reset the order myself every time my stoploss is hit ,it would be more useful if it functioned that way ,if only it re placed that position
No, it cannot do that. It can only repeat the order on a daily basis.
 
could i play around with the code and make some changes,would it be possible to add that function in the next update.
That's quite different from the original purpose of the EA. Opening additional orders after something has happened to the initial opened trade is beyond its scope.
 
okay i get don't you have any EA in mind that can do just that, would it be possible to create something of that scope