Download MetaTrader 5

Basic question on iCustom() and iMa()

To add comments, please log in or register
Carlos Moreno
501
Carlos Moreno  
Hello everyone,

I'm a developer, but I'm new to MQL4, and I'd like to understand a couple of basic stuff. I'm creating an EA that calls a couple of prepackaged indicators such as MA, RSI, etc, and a custom indicator. The question:

Do I need to add those indicators to the chart in order to get a return after my iCustom call (or iMa, iRsi for that matter) or is it enough to have them in the Indicators folder, and they're queried in run-time? 

Thanks a lot in advance.

Keith Watford
Moderator
10536
Keith Watford  
You just need to have them in your indicator folder. No need to have them on the chart.
Keith Watford
Moderator
10536
Keith Watford  
I will give you some time to read this, then I will move this to the MQL4 & Metatrader 4 sub-forum
Carlos Moreno
501
Carlos Moreno  
Keith Watford:
You just need to have them in your indicator folder. No need to have them on the chart.

Great news. Thanks a lot, Keith!
To add comments, please log in or register