From this thread
Okay so, which TP did you want it to hit? The TP on the original order or, TP on the order opened most recently? I currently have it set up for the original TP, which is probably what you don't want.
I haven't had a chance to test it yet (not even sure what it's supposed to do?), so I'll let you have a look.
Good luck!
ETA: Had to modify because wrong variable specified for "Same Lots" value. Should work either way though ...
DislikedHaving seen what you did majestically with "Ding Dong". I am humbled and I pray you to please take this my attached EA and add the necessary command lines to enable the EA do as follows:
When any Order is opened, open 7 Pending Orders at variable number of pips and lots as well.Ignored
QuoteDislikedi.e. If the EA opens a Buy Order, the EA should also open 7Nos of Pending Buy Orders at PB1, PB2, PB3, . . ., with LOT1, LOT2, LOT3, . . . respectively, at different provided number of pips lower than the instant executed open buy order. All shall have the same TP & SL points and all unactivated pending order should be cancelled immediately the TP is hit. Same for Sell Orders.
I haven't had a chance to test it yet (not even sure what it's supposed to do?), so I'll let you have a look.
Good luck!
ETA: Had to modify because wrong variable specified for "Same Lots" value. Should work either way though ...
Attached File(s)
SweetRSI_mod_1.0.mq4
14 KB
|
194 downloads
|
Uploaded Feb 16, 2010 8:32pm