The EA is based on the indicator attached
The indicator display a a Pivot level and Resistance ans support levels.
– The indicator plot it’s new level Every new day at 00:00
– The EA basic idea will be using martingale
ENTRY :
The indictor will plot the lines and we look to the price to reach first upper level or Lower level .
Enter Buy ,Take profit,stoploss & Pending order :
– The price reach first upper level we go buy& target will be the next level,stoploss will be lower level
Which in this case will be the ( Pivot ) , we will consider Pivot as a level.
– we will put pending Order at our stop loss with SELL with double lot ,(i need to choose the value of this double lot size in the options ),
target will be the next lower level and stop will be the upper level .
– when target is achived,we close the open position,we delete the previous pending order, and start buy again
with the initial lot in the same direction ( which is buy )
target will be the next level,stoploss the lower level,put pending order with sell if reverse .
– Sell is vice versa .
I need an option to state how many trade shall we carry on the day ,
For example :
-we start 1 buy then target.
-1 buy ,stoploss,2 sell,4 buy,8sell,16 buy ,Target .
-1 buy ,target.
The upper process is considered a 3 trade cycle, each cycle is counted till we get the target .
The option is to state how many cycle shall we carry on .
– in case of open position and a new day come, the EA should modify the target,stoploss,pending orders according to the new levels.
-in case we choose 3 cycle and the 2nd cycle is continued to the new day ,,
once this cycle is closed , we should start new count for this day according to the cycle number
Variable Options in the EA :
-intial lot size
-double size
-cycle
الصور المصغرة للصور المرفقة
الملفات المرفقة
- Pivot Diplay Values No erorr.mq4‏ (3.7 كيلوبايت)