Code:
Plot(SelectedValue(C), "Price2", colorDefault, stylenolabel|styleline,0,0,10);
I put this code
Code:
Plot( C, "Price", colorDefault, styleCandle );
bullcandle = C > O;
// How to draw horizontal line close of bullcandle?
HourH = TimeFrameGetPrice("H", inHourly, -1);
HourL = TimeFrameGetPrice("L", inHourly, -1);
HourO = TimeFrameGetPrice("O", inHourly, -1);
HourC = TimeFrameGetPrice("C", inHourly, -1);
//
Plot(HourC,"",colorAqua,styleDots|styleNoLine|styleNoRescale|styleNoTitle);
Plot(SelectedValue(HourC), "Price2", colorDefault,styleDots|stylenolabel|styleline,0,0,10);
//Plot(SelectedValue(C), "Price2", colorDefault,styleDots|stylenolabel|styleline,0,0,10);
//I have checked with both HourC and C ..
I think it not going to work out same way as h,l,o,c picking each one..
//if it need barcount loop i can add it .. I think, it is not needed.
//HourC or C is only used .. it only shows Close of hour candle..
Not the close of Bull Candle..
speciality about these lines .. their values not going to change,whatever timeframe you're seeing..
Last edited: