saada:
Me too iam struggle with indicatehello all
How to programmatically put and show an indicator on a chart.
Create a temporary template (.tpl) file with the indicator listed in the xml payload, then use ChartApplyTemplate with the tpl file.
you can use iCustom in mql4 to get data from it , if use it the indicator will show automatically in the chart.
ebrahim nowroozi: you can use iCustom in mql4 to get data from it , if use it the indicator will show automatically in the chart.
That wasn't the question. What part of "programmatically put and show an indicator" was unclear?
I hope this link helps you:
https://www.mql5.com/en/docs/chart_operations/chartindicatoradd
![Documentation on MQL5: Chart Operations / ChartIndicatorAdd Documentation on MQL5: Chart Operations / ChartIndicatorAdd](https://c.mql5.com/36/42/documentation-on-mql5-chart-operations__1.png)
Documentation on MQL5: Chart Operations / ChartIndicatorAdd
- www.mql5.com
"the Expert Advisor's properties and specify correct and parameters." //| Expert initialization function | ); "Attention! %s: Trying to add MACD(%s/%s) indicator on %s/%s chart. Receiving error 4114" //
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
hello all
How to programmatically put and show an indicator on a chart.