Работа завершена
Техническое задание
This EA (MT5) will work basically on Grid system based on trend , RSI or Time strategy together with hedge trade opening at a certain level .
Functions :
-
Buy Orders : General allow/forbid to open Buy orders
-
Sell Orders : General allow/forbid to open Sell orders
-
Lot Size : Size of Initial Order Lot
-
Max. Open Orders : Maximum open orders all together
-
TakeProfit in pips: Take Profit Target in pips, Adaptive to 4 and 5 digit brokers
-
Take Profit in Currency :in currency $, € or £
If EA opens multiple trades as market trend is going against then EA will reajust the Take Profit level .
Example: If take profit is setup at 0.5$ lotSize is 0.01 and Grid multiplier is 2 EA has oppened 0.01 , 0.02 and 0.04 then all together it has oppened 0.07 lots then EA will readjust all open orders to take profit for the equivalent of 7 x 0,5$= 3,5$
-
Grid Step : Distance in pips between Initial order and Follow Up orders
-
Grid Multiplier : Multiplier Factor for Follow Up orders, opened in case if market goes against initial Order direction
-
Open Opposite Trade: True/false ( If market keeps going against original opening trades then EA will open as well together with next trade an opposite trade . Example : if originals trades were BUY trades then when EA will open next BUY Trade it will open as well SELL Trade )
-
Opposite trade Level : level 0 is the original trade .
Example : if Opposite trade level is 2 and Grid multiplier is 2 if original trade was BUY trade at 0.01 , then when market reaches the third Buy trade ( level 2) at Buy trade 0.04 EA will open as well at the same time SELL trade at 0.01 .
-
Strategy Type : 1) . RSI strategy 2) . Time Strategy 3) .Trend Strategy
RSI Strategy
Since this EA is meant to be a scalper and therefore avoiding big movement , RSI will be used to prevent initial entrance or continuing opening new orders (if some were previously opened ) in market if it reaches a certain level of OverBought Level and/or OverSold Level .
12) RSI_Period: Period of RSI indicator that uses in RSI Strategy and also can be used in Trend_Strategy;
13) RSI OverBought Level:The OverBought Level of RSI indicator, that forbid to open initial order or future trading on CoolDown .
14) RSI OverSold Level : The OverSold Level of RSI indicator, that forbid to open initial order or future trading on CoolDown .
15) CoolDown : Amount of fixed Time or Bars . Once RSI crosses RSI OverBought Level or RSI OverSold Level , EA stops adding new orders, because volatility market expected. After CoolDown , EA starts to works with order again. During CoolDown , EA can close orders by common profit.
Time Strategy
This strategy will simply open trades Buy or Sell selected by user arbitrarily or combining together with Trend Strategy in order to decide if BUY or SELL trade will be open first . In this strategy Grid step function will not apply but EA will open a new trade only if market is still going against initial / previous order ( no matter how many pips ) . Opposite trade will also open if new trade about to be opened keeps going against initial / previous order ( no matter how many pips ) .
16) OrderPairs Amount : Option that uses only in "Time Strategy" way of trading, and allows to work with up to 12/day Buy or Sell orders that opens at certain time .
17) Initial Trade : Buy or Sell or Trend Strategy
18) First Order Hour :The Hour of Opening the First Order (Buy or Sell) Pair
19) 2th Order Hour : The Hour of Opening the 2de Order (Buy or Sell) Pair if market is still going against initial / previous order ( no matter how many pips )
20) 3th Order Hour : The Hour of Opening the 3th Order (Buy or Sell) Pair if market is still going against initial / previous order ( no matter how many pips )
21) 4th Order Hour : The Hour of Opening the 4th Order (Buy or Sell) Pair if market is still going against initial / previous order ( no matter how many pips )
22) 5th Order Hour : The Hour of Opening the 5th Order (Buy or Sell) Pair if market is still going against initial / previous order ( no matter how many pips )
23) 6th Order Hour : The Hour of Opening the 6th Order (Buy and Sell) Pair if market is still going against initial / previous order ( no matter how many pips )
24) 7 th Order Hour : The Hour of Opening the 7 th Order (Buy or Sell) Pair if market is still going against initial / previous order ( no matter how many pips )
25) 8th Order Hour : The Hour of Opening the 8th Order (Buy or Sell) Pair if market is still going against initial / previous order ( no matter how many pips )
26) 9th Order Hour : The Hour of Opening the 9th Order (Buy or Sell) Pair if market is still going against initial / previous order ( no matter how many pips )
27)10th Order Hour : The Hour of Opening the 10th Order (Buy or Sell) Pair if market is still going against initial / previous order ( no matter how many pips )
28) 11th Order Hour : The Hour of Opening the 11th Order (Buy or Sell) Pair if market is still going against initial / previous order ( no matter how many pips )
29) 12th Order Hour : The Hour of Opening the 12th Order (Buy and Sell) Pair if market is still going against initial / previous order ( no matter how many pips )
Trend Strategy
30) TrendCounter : Counter of Bull / Bear trend used only in Trend Strategy.
31) Trend_Pips = Amount of pips that defines trend.
32) Trend Method : Follow or Reverse
Example:
Current Price = 1.3100; TrendCounter =2; Trend_Pips =20;
Step 1: EA checks what price target is reached first : or 1.3120 or 1.3080.
Price crosses first 1.3120 ---> Then Bull Trend = 1; Bear Trend =0;
Step 2: Current Price = 1.3120; Then Bull Trend = 1; Bear Trend =0;
EA checks what price target is reached first : or 1.3140 or 1.3100.
Price crosses first 1.3140 ---> Then Bull Trend = 2; Bear Trend =0;
Bull Trend = TrendCounter; EA opens SELL trade. if Trend REVERSE Method is selected .