Hi,
I have the following simple script that adds a chart as a study on the lower pane, problem is that all bar colors are the same - PINK
What are exactly the growColow / fallColor / neutralColor ? The "addChart" function is not documented so it's hard to know...
Thanks.
Here is how it looks:
I have the following simple script that adds a chart as a study on the lower pane, problem is that all bar colors are the same - PINK
What are exactly the growColow / fallColor / neutralColor ? The "addChart" function is not documented so it's hard to know...
Thanks.
Code:
declare lower;
input Symbol = "$ADSPD";
input ChartType = ChartType.CANDLE;
input PriceType = "Last";
input Timeframe = AggregationPeriod.THREE_MIN;
def h = high(symbol = Symbol, period = Timeframe, PriceType = PriceType);
def l = low(symbol = Symbol, period = Timeframe, PriceType = PriceType);
def o = open(symbol = Symbol, period = Timeframe, PriceType = PriceType);
def c = close(symbol = Symbol, period = Timeframe, PriceType = PriceType);
AddChart(High = h, Low = l, Open = o, Close = c, Type = ChartType, growColor = Color.PINK, fallColor = Color.BLUE, neutralColor = Color.BLUE );
Here is how it looks:
Last edited by a moderator: