How to stop MT4 when a big trend or sideway.

I coded an interesting EA.

If you are running other EA, have you ever thought to stop MT4 when big trend?

Because sometimes when Big market trend, EA will place many martingale orders and it resulted in loose money.

This EA has below functions.

You can select when you stop MT4.

1. STOP MT4 when BUY TREND

2. STOP MT4 when SELL TREND

3. STOP MT4 when BUY or SELL TREND

4. STOP MT4 when SIDEWAY TREND.

You can select entry method.

eg. ) If  you select BUY&SELL TREND,  If the market is Sideway , MT4 is stopped.

If the market changes to BUY or SELL trend, MT4 will restart automatically.

If you run your EA and you want to trade only when sideway market, you can select to SIDE WAY.

You can use this EA for many ways.

This EA use the indicator ( maangle_alerts_v1.ex4 )

It reads MA angle and decides which trend is now.

MA mode
0…SMA=Simple MA
1…EMA=Exponential MA
2…SMMA=Smoothed MA
3…LWMA=Liner Weighted MA

To measure MA angle, you need start candle and end candle.

MA start candle is StartEMAShift

MA end candle is EndEMAShift.

Please find the best parameter.

 

How to use this EA

Just open any chart (any TF is OK) and attach the EA.

I hope you like it.


446 Downloads

7 件のコメント

  • If i set entry is SIDEWAY, when EA_TrendControl change BUY TREND to SIDEWAY , does MT4 automatically restart too? so that the auto trade is immediately active? or have to manually enable it.

    Kind Regards,

  • Yes, i try on demo account for sideways entry, but market only give buy and entry trend.
    But now I get EA that can trade buy or sell, so tomorrow I’ll try again.

  • Leave a Reply to Yoyon Nuryana Cancel reply

    Your email address will not be published. Required fields are marked *