Search code examples
tradingalgorithmic-tradingmql4metatrader4forex

Interactions between Expert Advisor and Indicators on MQL4


Is it possible to read changes in pre-built indicator (for example: its value changes) through an expert-advisor, and of course - automate the trades based on those reads?

What is the function that is responsible for doing this?

I have tried to look this up on Google, but it appears I can only do things like track object creation or deletion ... called Chart Events.... maybe I'm missing something?


Solution

  • Ok I found it.

    In order to use a custom indicator as a tool for a buy / trade decision inside an expert advisor, the function is iCustom()