Download MetaTrader 5

[MQL4 Indicator Dev] How to attach an indicator to the current chart?

To add comments, please log in or register
Marco Strazzeri
49
Marco Strazzeri  

Hi,

i'm writing a custom indicator: because it uses a Heiken Ashi indicator internally, i need to show the Heiken Ashi on the chart on which my indicator is attached on.

How can it be done using mql4?

Thank you 

honest_knave
Moderator
2326
honest_knave  
Marco Strazzeri:

Hi,

i'm writing a custom indicator: because it uses a Heiken Ashi indicator internally, i need to show the Heiken Ashi on the chart on which my indicator is attached on.

How can it be done using mql4?

Thank you 

You can't do that directly in MQL4. You could create your own heiken ashi buffers inside your custom indicator. Or, use a template which includes your custom indicator and the heiken ashi indicator.

whroeder1
15902
whroeder1  
Marco Strazzeri: i'm writing a custom indicator: because it uses a Heiken Ashi indicator internally,
Don't do that. Add a HA indicator to your chart and just get the values of the indicator with iCustom. Detailed explanation of iCustom - MQL4 forum
To add comments, please log in or register