工作已完成
指定
I need a simple Breakout EA to trade Indices like US30, DE40, US500 etc.
The EA will open trades based on Breakout of a box formed by HourStart and HourEnd variables
M15 chart, should have following Variables:
Box Hour Start 10:45 (HR:Min) (variable)
Box Hour End 11:00 (HR:Min) (variable)
Points Above Range 200 (Variable) ( Points neccesary Above Range of box to open trades) - EA will place pending orders at X points above box range
Points Below Range 100 (variable) ( Points neccesary Below Range of box to open trades) EA will place pending orders X points below box range
Using Pending orders (as soon as Box Hour Ends, EA will place Pending orders with desired SL and TP, Above and Below Box, with selected Points Above and Below)
Order TP points 500 (variable
Order SL points 250 (variable)
TradeComment BreakoutFX (insert comment here)
MagicNumber 222 (magic number here)
Trailing Start 1000 (variable) ( trailing should start when price is 1000 points in profits)
Trailing STOP 500 (Trailing stop follows price with 500 points stop loss )
Lot Size 1 (variable)
Close Pending orders at 11:15 (HR:Min time) (all pending orders will be closed/deleted)
Close All Open orders at 11:15 (HR:Min Time) (all open orders will be closed, even if price is in profits or not)
It should be able to run on 3(or more) different charts, so I can create more breakout boxes, meaning it needs magic number
I have attached a picture with all variables so you can better understand it