Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Expert Advisor | EA Close

The author of the idea - KLOPKA

mq5 code author - barabashkakvn

The EA only operates only when a new bar appears. It opens a position having the Lots volume and sets a stop loss (Stop Loss) and a take profit (Take Profit) immediately.

It also allows checking iCCI (Commodity Channel Index, CCI), iStochastic (Stochastic Oscillator) and iMA (Moving Average, MA) indicators. The value levels are set for both oscillators: for CCI, this is CCI Level, while for STO, these are STO Level UP and STO Level DOWN, accordingly. MA is compared with Open or Close of the bar #1.

Trading signals

BUY:  CCI #1 < "-" CCI Level AND STO #1 < STO Level DOWN AND Open #1 > MA #1 

SELL:  CCI #1 > CCI Level AND STO #1 > STO Level UP AND Close #1 < MA #1 

M15 timeframe

MetaTrader Experts, Indicators, Scripts and Libraries

MetaTrader Experts, Indicators, Scripts and Libraries

22138