The relationship between EA(Expert Advisors ) and Indicator in MT4 MT5 MQL4 MQL5


Basically, the EA (Expert Advisor) is an autotrader that trades automatically by itself.
The trading rules of the EA may involve more than one indicator.

Indicator is the scripts that plot data related to Technical Analysis on chart, such as SMA(simple moving average).

The indicators used by an EA are built-in with it, any indicator you have on chart will not affect the EA. The indicators and EA on chart work separately, they will not interfere with each other.

For example, you have an EA which has the following trading rules:

  • Long: when SMA(9) cross above SMA(30)
  • Short: when SMA(9) cross below SMA(30)


Attention:

  • The EA will trade without any SMA on chart.
  • Even if you add RSI, MACD, SMA(15) and EMA(55) on chart, the EA will still trade by those rules listed above.
  • If you run the EA on chart, it will not plot any SMA unless you add the SMA indicator.
  • The chart type you used will NOT affect the EA,
  • If you have SMA(9) and SMA(30) on chart, and you changed them to SMA(5) and SMA(45) , it will NOT affect the EA. EA will still trade by those rules listed above.
  • You can only change the way the EA trade by adjusting its input.

Since you may load the indicators that the EA used on chart as reference, please make sure you have the same input value for both EA and the Indicators, otherwise you will see inconsistency. 

 

For example,  you have an EA which has the following trading rules:

  • Long: when SMA(9) cross above SMA(30)

You add SMA(14) and SMA(50) on chart and you also add the EA. 

But the EA did not enter/exit the trades when the 2 SMA on chart cross over.

That’s because your EA was trading by the rule of SMA(9) and SMA(30).

What you see on chart is SMA(14) and SMA(50).

 

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s