Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hey Gentleman ,
would it be possible to code an ea which does the following :
1)drawing a box for a certain time period ..for example 7.00-8.00 am or 3.00-5.00 pm (start and end time of the box should be adjustable )
2)after the box is drawn the ea should place 2 pending orders ..
No.1 = Buy Stop 1Pip above the high of the box with sl 1Pip below the Box
No.2 = Sell stop 1Pip below the box with Sl 1pip above the box .
3) Profit Target should be adjustable in RR ..so you can decide if you wanna go for 2:1RR ( 2 times the size of the box) or
3:1 RR (3 times the size of the box ) or
5:1 RR (5 times the size of the box) Just for example.
4) Untouched orders should be deleted at daily close / New Daily open ( or if possible at an adjustable custom time )
And of course the Lot size should be adjustable too ( % Risk per trade/order...so you can use always 1% or 2% risk per trade)
Would be very happy if that would be possible or if its already exist somebody could provide me with the ea :-)
Thx in advance to everybody who is willing to help