Discussion of article "Drawing Dial Gauges Using the CCanvas Class" - page 2

 

great atricle,

i've been thinkin about some indicators in this format but didnt have the time to learn how to.., you made it very easy to learn..

 

Great article...

 
Fantastic

I have got more information + new ideas has been came

Thanks
 
WeChat free experience shouting, another profit more than a thousand points of QQ group: 375124107, plus group please note "77", thank you for cooperation!
 

Hi

can you create this indicator for me? (for mt5)

for display price position in daily price limit.

max daily limit and min daily limit set by user.




 
Very interesting article. It means that we can do every thing in mql5. Thanks for writer and also translator from Russian.
 

In case anyone is having trouble figuring out how to specify a decimal for the main value, here's the function:

GaugeSetLegendParameters(gauge, LEGEND_VALUE, true, "1", value_radius, value_angle, 10, "Arial", false, false);

"1" is the number of decimal places.

And the value itself is specified through the function:

GaugeNewValue(gauge, profit);
 

in case someone is looking for an updatet version,  see enclosed its fully compatible mql5 ccanvas ( 2025 )


@Serhii Shevchuk may be you can update your article with it ( i replace all your variable declaration such a s by sls which avoid global declaration of s in other libraries) 

Files:
canvas2.mqh  172 kb
gauge_graph.mqh  156 kb