Author of the Concept:John Smith, MQ5 Code Developer:barabashkakvn.
Meet Anubis, your new trading companion on MetaTrader 5! This Expert Advisor (EA) operates by leveraging signals from various indicators, including:
- iStdDev (two instances)
- iMACD
- iCCI
- iATR
Indicator Parameters:
handle_iStdDev_20=iStdDev(m_symbol.Name(),PERIOD_H4,20,0,MODE_SMA,PRICE_CLOSE); handle_iStdDev_30=iStdDev(m_symbol.Name(),PERIOD_H4,30,0,MODE_EMA,PRICE_CLOSE); handle_iCCI=iCCI(m_symbol.Name(),PERIOD_H4,CCIPeriod,PRICE_CLOSE); handle_iMACD=iMACD(m_symbol.Name(),PERIOD_M15,M_FastEMA,M_SlowEMA,M_Signal,PRICE_CLOSE); handle_iATR=iATR(m_symbol.Name(),PERIOD_M15,12);
As you can see, the timeframes for these indicators are hard-coded, which means you won't find any input parameters for them.
Additionally, the EA utilizes data from the M15 timeframe to access open and close prices:
double iClose1= iClose(1,m_symbol.Name(),PERIOD_M15); double iOpen1= iOpen(1,m_symbol.Name(),PERIOD_M15);
What’s great about the Anubis EA is its ability to trail positions and adjust them to breakeven whenever possible. This feature is a game-changer for risk management!

Comments 0