Quote:
Originally Posted by Toddr
(3) This EA puts orders in if the current price is at the high or low when the EA time programmed is up (example: 5 minute chart, 1400 time) and it will put execute orders on every tick. All day I have tried it and it put in atleast 5-8 Buys or Sells depending on if it is at the High or Low. It needs a limit of 1 trade ONLY. Also it is better that it does NOT put in a trade if the current price is too close (Creates too many WHIPSAWS with only 1 PIP profit). If the current Price is too close to put a pending in (InterbankFX requires 5 pips away from the Current price to enter a pending) then it is fine it does not put in a pending. I coded in an alert so if it does not go in you can make the decision if you just want to execute an order or not. My DistanceForEntry=0; since I have seen that 0 provides more pips and less stops then +1.
|
Whenever I've tested the EA, it has only put in two orders. But, I've added a line of code as a last attempt to stop the EA from putting in too many orders. If this doesn't fix the problem, then I don't know what will.