Unmanifest
New member
Hi, I've been trying to get High/Low candles in TOS like the ones in TradingView.
So far, I've been able to use the deprecated AddChart function to make the candles, but I need to have them be translucent so that underlying candle-coloring schemes from other indicators can come through.
So far, this is the code I have used (found basic code in usethinkscript forums and set open and close to high and low), but I can't find a way to make the candles translucent.
Attached is a pic of what it looks llike as it is now. Gets the H/L part but opaque candles only.
Any help is greatly appreciated.
So far, I've been able to use the deprecated AddChart function to make the candles, but I need to have them be translucent so that underlying candle-coloring schemes from other indicators can come through.
So far, this is the code I have used (found basic code in usethinkscript forums and set open and close to high and low), but I can't find a way to make the candles translucent.
Code:
HidePricePlot();
def o = GetValue(open,0);
def l = GetValue(low,0);
def h = GetValue(high,0);
def c = GetValue(close,0);
AddChart(high = h, low = l, open = h, close = l, type = ChartType.Candle, growcolor = color.GRAY);
Attached is a pic of what it looks llike as it is now. Gets the H/L part but opaque candles only.
Any help is greatly appreciated.