|
OK, here try this.
There is code already in the EA for Stop and Limit orders, do you ever get those initiated? Should they be deleted once TP is hit, maybe ?? Can you give me more info on the system? What settings do you use?
So what I did was add;
extern string Remark6="No re-entry in Bars";
extern int No_ReEntry = 2;
So if a Buy was just opened and closed within the same bar, don't check for another Buy signal for 2 bars. Same for the Sell orders.
Let me know how you make out.
Last edited by matrixebiz; 12-10-2008 at 01:48 AM.
Reason: Changed Re-Entry Code
|