DRAW_ZIGZAG - draw segment above one candle, from candle_left till candle_right

 

Hello friends, 

 I am trying to draw a simple horizontal line above one candle, from the left side of the candle till the right of it (same candle)

 I don´t know how to get the X axys on each side of the candle!

 Thanks in advance,

 Pucci 

 

ChartXYToTimePrice  and  ChartTimePriceToXY seems to be an wild way of doing it. Does anyone can help with it?

 

Thanks

Pucci 

 

I´ve tryed to find the include files for zig_zag, i think that inside those classes i should find the answer better than in the manual. 

 

Anybody?

 

THanks 

Reason: