Hi, i need programmer help to built a Order Triggered EA <OT_EA> (no technical analysis involve).
================================================== =============
Introduction of <OT_EA>:
In general, <OT_EA> will open a pending BUYLIMIT order without need any technical analysis confirmation. Once this order executed, then hit TP or SL, the same BUYLIMIT order will be opened again. The process will repeat itself unlimited times, until we manually deactivate this EA.
================================================== =============
Details of <OT-EA>:
Input : SL = nil (no stop loss case)
TP = 20
DISTANCE = 10 (DISTANCE is the pips from current market Ask price)
LOT = 0.1
Once attached to a chart and run this EA, it will start with:
Step (1) - OP_BUYLIMIT 0.1 LOT Ask+DISTANCE 10 pips from current market price (with SL= nil and TP=20).
[say Step (1) order = Ticket_1, and assume that current market = EURUSD at 1.3400]
Step (2) - If Ticket_1 OP_BUYLIMIT order executed (at EURUSD 1.3410), then, after a while, EURUSD up and hit TP at 1.3430. At this point, Ticket_1 is done.
Step (3) - What will happen JUST after Step (2) is a SAME OP_BUYLIMIT order (Lot = 0.1, Tp = 20, SL = nil, SAME order price at 1.3400) WILL BE TRIGGERED and PLACED.
[say Step (3) order = Ticket_2]
Step (4) - Same as Step (2).
Step (5) - Same as Step (3).
.
.
.
This Step (4) and (5) will continue executed UNLIMITED TIMES until we manually deactivate <OT-EA>.
================================================== ================
Hope somebody with experience can give a help to built thie EA source code.
Thank you very much.