DRAW_HISTOGRAM on foreground

 

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.. 

 
What's your problem actually ? Please show your code and maybe a screenshot.
 
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 

 
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);