İş tamamlandı
İş Gereklilikleri
Hello,
I want to prgramm an EA, which opens Orders, when crossing a line in chart.
Ea is generating lines and on conditions of the Lines order should just opend. Thats it. Handling of Order is than done by me
This new EA or tool should be manual set aktiv or inaktiv. If EA or tool is aktiv or inaktiv this should show in the Chart
no mater if EA is Aktiv or inaktiv lines funktions should work and should shown in chart.
Line Inputs
Aktual price line - white line
Stop buy Line - should be xpips under actual price line - couler red
Stop sell Line - should be xpips above actual price line - coulur red
buy line - schould be fat blue and x pips under actual price
sell line - should be fat red and x Pips above actual price
Chanell Line like a Bollinger band is xpips below and above aktual Price .
Lines should be updated every Xdays - parameter should be changed. Note if I select 2 days, on monday should be calculated thursday and friday. Only tradingdays should be checked.
explanation only if in calculated days high and low is in channel and also the distance to high and low are xpips. EA is Trading.
EA shoult only Open the buy orders if there is a distance from Channel to high from xpips.
EA shoult only Open also the sell orders if there is a distance from Price high to above above Channel from xpips
Parameter:
Funktion set aktiv or inaktiv
Xdays were should high and low be checked.
Xpips differenz from line
Note orders will be only placed when pips Differenz from Channel is and aktual Price has crosed the line - cros red line is sell and cross blue line is buy.
Order Step
If now EA is aktiv EA should open buy and sell order under following conditions
Order Open Parameter:
Max order - for each side we have max orders - for example if set is 2 - than only 2 orders for each side will be opend
Lots Traded for each order: example 2
Sell Order should be placed if fat red line is crossed - red line is above aktual price.
buy order should be placed if fat blue line is crossed - blue line is below aktual price.
Order just normal Market orders
Hedge function - should be set activ or inactiv
hedge is only done on original Orders of EA- Hedge orders should be not hedged
Loss Hedge - should be set activ or inactiv
If on order is Xpips in Minus - than Hedge as a market order
Profit Hedge - should be set activ or inactiv
If an order is Xpips in Profit - than Hedge as a market order
Trading Days: EA is aktiv or inactiv
Monday - Aktiv or inaktiv
Thuesday - Aktiv or inaktiv
Wendsday - Aktiv or inaktiv
Thursday - Aktiv or inaktiv
Friday - Aktiv or inaktiv
Trading Hours Period:
EA is trading in following Time day Periods
Perod 1 - is acktiv or Inactiv
02:00 to 6:00
Perod 2 - is acktiv or Inactiv
12:00 to 6:00
Perod 3 - is acktiv or Inactiv
17:00 to 22:00