leonytham Posted April 1, 2010 Report Share Posted April 1, 2010 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. Quote Link to comment Share on other sites More sharing options...
danmarius7 Posted April 1, 2010 Report Share Posted April 1, 2010 Just Draw on a chart the 2 cases, or be more explicit and concise about it. There's nothing hard about it. Quote Link to comment Share on other sites More sharing options...
leonytham Posted April 3, 2010 Author Report Share Posted April 3, 2010 Just Draw on a chart the 2 cases, or be more explicit and concise about it. There's nothing hard about it. hi, danmarius7, attached herewith the chart with the 2 cases for a better view. hope you could lend a hand to solve my difficulties :) (thank you for spending time look into my difficulties). <img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.11NXC/bT*xJmx*PTEyNzAyODQzODMxMDkmcHQ9MTI3MDI4NDQwMjMxMiZwPXd3dy5waWtpcGltcC5jb2*mZD*mZz*xJm89ZWVjMzUyODFm/ZjYwNDNlNGE*Y2JmMmRkZTg1MzI2Nzkmb2Y9MA==.gif" /><a href="http://www.pikipimp.com/clicked/52045833" target="_top"><img src="http://hosted.pikipimp.com/pimped_photo/s/image/52/45/833/OT-EA_draw_in_chart_with_explain-compiled.jpg" border="0" ismap="true" alt="my pimped pic!"/></a> Quote Link to comment Share on other sites More sharing options...
leonytham Posted April 3, 2010 Author Report Share Posted April 3, 2010 Just Draw on a chart the 2 cases, or be more explicit and concise about it. There's nothing hard about it. hi, danmarius7, attached herewith the chart with the 2 cases for a better view. hope you could lend a hand to solve my difficulties :) (thank you for spending time look into my difficulties). <img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.11NXC/bT*xJmx*PTEyNzAyODQzODMxMDkmcHQ9MTI3MDI4NDQwMjMxMiZwPXd3dy5waWtpcGltcC5jb2*mZD*mZz*xJm89ZWVjMzUyODFm/ZjYwNDNlNGE*Y2JmMmRkZTg1MzI2Nzkmb2Y9MA==.gif" /><a href="http://www.pikipimp.com/clicked/52045833" target="_top"><img src="http://hosted.pikipimp.com/pimped_photo/s/image/52/45/833/OT-EA_draw_in_chart_with_explain-compiled.jpg" border="0" ismap="true" alt="my pimped pic!"/></a> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.