Download MetaTrader 5

DRAW_HISTOGRAM on foreground

To add comments, please log in or register
Daniel Sic
1126
Daniel Sic  

If i have Chart On Foreground and want to make my DRAW_HISOGRAM on foreground is there a way to do it?

 If yes, please provide with example.

 

I have the DRAW_HISOGRAM on SetindexBuffers.. 

Alain Verleyen
Moderator
31183
Alain Verleyen  
What's your problem actually ? Please show your code and maybe a screenshot.
Daniel Sic
1126
Daniel Sic  
Alain Verleyen:
What's your problem actually ? Please show your code and maybe a screenshot.

i dont have problem with code.. but i like to add something to it.. so

problem is this -->

 if the chart settings are set to " Chart On Foreground "

i want the indicator to uncheck this settings "Chart On Foreground "

thats the problem

¨how can i do it by indicator code.. i know there is OBJ_BACK but i dont know how i appy that to a IndexBuffer that DRAW_HISTOGRAM 

Alain Verleyen
Moderator
31183
Alain Verleyen  
slicken:

i dont have problem with code.. but i like to add something to it.. so

problem is this -->

 if the chart settings are set to " Chart On Foreground "

i want the indicator to uncheck this settings "Chart On Foreground "

thats the problem

¨how can i do it by indicator code.. i know there is OBJ_BACK but i dont know how i appy that to a IndexBuffer that DRAW_HISTOGRAM 

Ah ok, use this function :

ChartSetInteger(0,CHART_FOREGROUND,false);
To add comments, please log in or register