Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

N Candles v6 - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 2 reads | 0 comments |

N Candles v6 - expert for MetaTrader 5

The Expert Advisor continuously searches for N identical candlesticks. It buys on bullish candlesticks and sells on bearish candlesticks. The EA checks whether the account is netted or hedged. The Trade class is used in the location information , trade network , symbol information and account information codes.

Added shutdown type when encountering "black sheep":

Suppose the Expert Advisor searches for 5 identical candlesticks. Then the EA finds five consecutive bullish candlesticks and opens a buy position. If the next candlestick after opening a position is not a bullish candlestick, such a candlestick is considered a "black sheep".

In this version you can disable Take Profit , Stop Loss and Trailing Stop - in this case the position will be closed via the "Black Sheep" parameter.

Example of testing D1 in Every Tick mode from 2017.04.18 to 2018.02.10:

N Candles v6 - expert for MetaTrader 5


Attachment download

📎 n_candles_v6.mq5 (42.14 KB)

Source: MQL5 #20000

Verification code Refresh