Hello Drazen,
Thanks for taking the time.
The links you gave are for Indicators.
I need the variables inside MT4 F8 chart options please.
ChartGetxxx does not have anything that seems correct, eg "Bull Candle"
Rgds.
No, it is not for Indicators. It is for getting the colours of the Chart Properties (F8). Please read the documentation again!
For example, to get the colour for the "bull candlestick", use:
(color) ChartGetInteger(chart_ID,CHART_COLOR_CANDLE_BULL,0)
- docs.mql4.com
Hello Drazen,
Thanks for taking the time.
The links you gave are for Indicators.
I need the variables inside MT4 F8 chart options please.
ChartGetxxx does not have anything that seems correct, eg "Bull Candle"
Rgds.
Really? Where did you get information that those functions are indicators only?
You should read the documentation a bit more carefully. ChartGetInteger can get you color of the bull candle. And many more details.
Simple search in help file or in the documentation web site will give you a huge number of samples including those you are looking for: Examples of Working with the Chart
- docs.mql4.com
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi all,
Hope all still well.
Is it possible to GET the value of the fields in MT4 chart options for Script or EA building at all please?
pls find att.
Much appreciated.