You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Thanks for the links.
I understand that I could use the iCustom function instead of global variables, I have attached the Atr indicator, could anyone show me how to use iCustom? as I am a little confused with this.
Thanks
Antony
Will I have to use iCustom to call the metaquotes atr indicator that will be attached to the same chart?
Thanks
Antony
Depends on which Metaquotes indicator you have in mind. With a fresh terminal install, you'd normally get two of them:
* 'Average True Range' under 'Indicators'; this is the one called with iATR() and one you cannot modify;
* 'ATR' under 'Custom Indicators'; this is the one you can edit but which has to be called with iCustom().
As per your first post, it seems you've modified the latter but were using the former.
Depends on which Metaquotes indicator you have in mind. With a fresh terminal install, you'd normally get two of them:
* 'Average True Range' under 'Indicators'; this is the one called with iATR() and one you cannot modify;
* 'ATR' under 'Custom Indicators'; this is the one you can edit but which has to be called with iCustom().
As per your first post, it seems you've modified the latter but were using the former.
Hi
Thanks for the reply, I am using the custom indicator. Would this be correct:
add this to the top of the EA file:
The Atr function:
Thanks
Antony