Hello,
I am sharing my custom EA here and hope that it can be beneficial to you as well. This is martingale EA and i primarily used it as semi manual according to my trade analysis. It can however be automated as well and proven profitable in the past but for my personal preference i only use it as my semi automated trading tool. This EA open order based on MA for trend and divergence as the trigger. For auto trade you can use M15 as the timeframe. You do need to wait patiently as it will wait M15 setup. I am sharing below how i trade personally using this EA:
1. I am using Trendline breakout as my trade setup and if i see a pair break a trendline. Eg GJ break bearish trendline and i see the take profit is only 50 pips. I will drop my EA to GJ chart , adjust my lot size,set gracestop to true and importantly set under common tab, short positions only and put under M1 timeframe. This means, EA will only open sell position if it find inside M1 timeframe. And because i enable gracestop to true, that means if the EA hit take profit, it will not open any more order. (since my analysis only target 50 pips) but if it is longer timeframe and my target 100 or 200 pips. I will not set gracestop to true but set my position as sell only. When the pair is nearly reaching my TP level for the breakout, i will then set gracestop to true so when the EA hit takeprofit, it will not open any more new order.
2. If for example the pair do a deep retracement and it affect my account size. While the EA running, i will enable open on divergent to true. This means, the next order will only open if there is divergent signal, this will not use the default 16 pips difference in between order. Thus by enabling this, there will be gap between order. I only use this if there is deep retracement or new major News and i dont want the ea to create too many orders in between. After it passes the retracement or news, i will set it back to false again.
3. If there is news coming in and i see possible spike , i can enable discreet lot. This means my lot size will be using the same lot size when it open new order for how many time i put in the discreet multiplier (see screenshot attach). This will also give me some relief on EA keep on opening new order and multiplying lot size. Becareful on using this as it will also give more distant on your take profit level. But after the news, i will set it to false again.
4. To summarize these are the functions that i always use to handle news spike, trend movement and even able to make my losing trade into profit.
Picture 1 .
Picture 2.
Picture 3.
Finally, i hope this EA will be of use to some and if you use this fully automatic, i recommend cent or micro account and only on EU. Though i strongly recommend on using the semi automatic way on how i trade
Good luck and may you have a profitable trade always. p.s if you want to say thank you , you can open a trading account under my IB link for XM here , that would be great https://clicks.pipaffiliates.com/c?c=547829&l=en&p=22.
To install :
1. Put the osma divergent into the indicator folder
2. Put EA Propattern into the expert folder
3. Refresh or restart MT4
4. For auto trade i usually use M15 or M30 timeframe and if semi auto , i will put in M1 timeframe.
5. Take note, the news filter is not working as i havent update the news indicator.
Stay safe and have profitable trade.
I am sharing my custom EA here and hope that it can be beneficial to you as well. This is martingale EA and i primarily used it as semi manual according to my trade analysis. It can however be automated as well and proven profitable in the past but for my personal preference i only use it as my semi automated trading tool. This EA open order based on MA for trend and divergence as the trigger. For auto trade you can use M15 as the timeframe. You do need to wait patiently as it will wait M15 setup. I am sharing below how i trade personally using this EA:
1. I am using Trendline breakout as my trade setup and if i see a pair break a trendline. Eg GJ break bearish trendline and i see the take profit is only 50 pips. I will drop my EA to GJ chart , adjust my lot size,set gracestop to true and importantly set under common tab, short positions only and put under M1 timeframe. This means, EA will only open sell position if it find inside M1 timeframe. And because i enable gracestop to true, that means if the EA hit take profit, it will not open any more order. (since my analysis only target 50 pips) but if it is longer timeframe and my target 100 or 200 pips. I will not set gracestop to true but set my position as sell only. When the pair is nearly reaching my TP level for the breakout, i will then set gracestop to true so when the EA hit takeprofit, it will not open any more new order.
2. If for example the pair do a deep retracement and it affect my account size. While the EA running, i will enable open on divergent to true. This means, the next order will only open if there is divergent signal, this will not use the default 16 pips difference in between order. Thus by enabling this, there will be gap between order. I only use this if there is deep retracement or new major News and i dont want the ea to create too many orders in between. After it passes the retracement or news, i will set it back to false again.
3. If there is news coming in and i see possible spike , i can enable discreet lot. This means my lot size will be using the same lot size when it open new order for how many time i put in the discreet multiplier (see screenshot attach). This will also give me some relief on EA keep on opening new order and multiplying lot size. Becareful on using this as it will also give more distant on your take profit level. But after the news, i will set it to false again.
4. To summarize these are the functions that i always use to handle news spike, trend movement and even able to make my losing trade into profit.
- Open on divergence - if enable, it will add another rule of entry so it will not use pips by distance default at 16 pips. But it will wait if there is divergent then it will open entry. Do take note, this will make gap in between orders. I use this for major news and if i see losing trade.
- Gracestop - If enable, when the orders hit take profit. It will not make any more orders. You need to drop the EA again to make it open new order. I use this for trade with small take profit 30 to 40 pips and when it hit stoploss level. This means the direction is already wrong thus it need to do not make any new order when it reach takeprofit (due to retracement).
- Discreet lot - if enable, it will open same lot size based on how many u set as discreet multiplier ( default at 3) that means for the next 3 order, it will use same lot size. I usually use this for major news and if it is a losing trade.
Picture 1 .
Picture 2.
Picture 3.

To install :
1. Put the osma divergent into the indicator folder
2. Put EA Propattern into the expert folder
3. Refresh or restart MT4
4. For auto trade i usually use M15 or M30 timeframe and if semi auto , i will put in M1 timeframe.
5. Take note, the news filter is not working as i havent update the news indicator.
Stay safe and have profitable trade.