Adding a volume effect to the indicator lines - page 7

 
transcendreamer:

...

but apparently this is not allowed in the main graph window

If correctly understood, it can. But you have to set the maximum/minimum of the graph yourself.

Example:

//--- Установим максимум/минимум
   ChartSetDouble(0,CHART_FIXED_MAX,max_price+offset_max_min);
   ChartSetDouble(0,CHART_FIXED_MIN,min_price-offset_max_min);
 
Argo:
Great !!! You've convinced me of the usefulness of forums. I really didn't know such a thing existed. I write programs on a "mundane" level. I'll study it at my leisure.

Still need to figure out where else to draw shadow or transparency to give the image a more aesthetically pleasing look.

 
tol64:

If correctly understood, you can. But you have to set the maximum/minimum of the graph yourself.

Example:

how do you draw your own graph?
 
transcendreamer:
And then? How do you draw your own graph?
Only by using an indicator.
 
transcendreamer:
and then? how do you draw your own graph?

First connect the kanvas:

#include <Canvas\Canvas.mqh>

Then choose how the colour will be handled on the kanvas: with or without transparency.

 
barabashkakvn:

First connect the kanvas:

Then choose how the colour will be handled on the kanvas: with or without transparency.

Doesn't the kanvas make a superimposed graph?

and if the TF changes, the graph will not react in any way

 
transcendreamer:

the kanvas makes a superimposed graph, doesn't it?

and if the TF changes, the chart will not react in any way

If using a canvas, then monitor the change of the TF and simply redraw it again.
 
tol64:
If using kanvas, then track the change in TF and just redraw again.
yes, and scaling to width will not work (((
 
transcendreamer:
Yes, and scaling to width will not work (((
More precisely, all the usual operations with the drawn graph on the canvas will need to be worked out and programmed by you.
 
transcendreamer:
yes, and scaling to width will not work (((
If you don't, of course it won't. ))