Try this Impulse_UP= RSI(14)<20; Impulse_Down= RSI(14) >80; bar_kol=IIf(impulse_UP,colorGreen,colorRed); Plot(Close," Close",bar_kol,styleCandle| styleThick );
--- In [email protected], "pmxgs" <[EMAIL PROTECTED]> wrote: > > Hi, > > I would like to "paint" the body of a candle if a certain criteria is > met. By painting I mean, having a line inside of the body of the > candle in a way that I can see the original color of the candle and at > the same time I can also see the line painted inside of the candle. > Should I use the PlotOHLC function or is there another function more > suited to this? > For example: > Greenbar=RSI(14)<20 > Redbar=RSI>80 > Then I would like to paint the innerside of the candle body in gree or > red depending on the above condition, in a way that the original color > of the candle is also visible. My goal is to draw a line inside the > candle that is not as thick as the original candle. > I hope this is clear enough. > Any help is appreciated. > > thanks >
