Paintbar studies with candlesticks
-
- Posts: 407
- Joined: Jan 01 2008
- Been thanked: 3 times
I haven't tried it because they are not designed to be used on candlesticks but if you can set the candlestick colors to white(or clear), you may be able to paint them.
When using candlesticks, I usually plot a dot above or below the candlestick highs or lows instead of painting them, to indicate trend etc.
When using candlesticks, I usually plot a dot above or below the candlestick highs or lows instead of painting them, to indicate trend etc.
-
- Posts: 407
- Joined: Jan 01 2008
- Been thanked: 3 times
* I say candlesticks aren't "designed" to be paintbars because they have a separate color scheme (format candlesticks) and they are not bars, they are candles. I'm not saying it can't be done, just that they aren't designed to be paintbars.Thanks for taking the time to answer. I'm curious as to why you would say their not "designed" for candles.
Candles have colors for a reason, to determine where the close is, within the range of the candle.
-
- Posts: 407
- Joined: Jan 01 2008
- Been thanked: 3 times
Yes, I tried it. Simple code below.- Set candlestick default colors to white first. (format symbol, style,candlestick)Thanks for your reply. Can they be painted in Multicharts?
vars:avg(0);
avg = average(c,10);
if c > avg then PlotPaintBar(H,L,O,C, "C > Avg",green )
else begin
if c < avg then PlotPaintBar(H,L,O,C, "C < Avg",red );
end;
- Attachments
-
- Candlesticks painted.png
- (37.4 KiB) Downloaded 407 times