Auftrag beendet
Spezifikation
Reversal line EA
What it should do
1.
1. Draw an horizontal line-an horizontal line is set by inputing the price on the input section(red in color) label it priceline
2. When price touches the priceline in 1 the EA should draw two horizontal lines some distance away from priceline . one horizontaline above the priceline label it(upper hline) another horizontalline below the pricelinelabel it lower hline).(blue in color)
3. -When price touches upper horizontal line the EA should draw another horizontal line at midpoint of priceline & upper horizontal line..label it Sell reversal line (green in color)
-When price touches lower horizontalline the EA should draw another horizontal line at midpoint of priceline & lower horizontalline..label it Buy reversal line (green in color)
4. Upper hline should always follow the price upward while lower hline should always follow the price downwards .With movement of horizontal lines upper & lower the reversal lines too should move too so as to remain at midpoint
PLACING OF TRADES .
The EA should place buy trades when price touches Buy reversal line & Place Sell trades when price touches Sell reversal line
5. When price hits priceline 1.Upper horizontalline & lower horizantaline should readjust to initial position.
2.Reversal lines should be deleted ,but allow regeneration if conditions in 3 are met .
TAKE PROFIT & STOP LOSS .
-The EA should have an option of setting T.P and S.L at HORIZONTALINES ....with priceline being the T.P while with corresponding horizontallines being S.L ,ie.upper horizontalline being S.L for Sell trade & Lower horizontalline being S.L for Buy trades
6. The EA should draw upto 6 pricelines meaning it it can execute upto 12 trades ,6 buys & 6 sells.
Inputs section
· Start hour:0300
· End hour:0500
· Priceline1:1.23456
· Priceline2.10900
· Priceline3:1..20567
· Priceline4:1.21001
· Priceline5:1.17898
· Priceline6:1.12114
· Normal Take Profit (pips):1000
· Normal Stop Loss (pips):500
· S.L & T.P by Hlines:True
· Magic Number1:100001
· Magic Number2:100002
· Magic Number3:100003
· Magic Number4:100004
· Magic Number5:100005
· Magic Number6:100006