DanielManahan
Member
I want to plot a different user defined aggregation and also a user defined style such as Bar, Candle, to replace the default Line
the following code doesn't work because line style isn't hard coded into the plot function
input agg = AggregationPeriod.MIN;
#input Style = {"BAR", "CANDLE", default "LINE"};
plot data = close(period = agg, Style);
however I assume this should work because the built in ThinkorSwim Study called Comparison has this input and the user can define what style they want to use for the comparison indicator ticker.
is there any way to do this? if not, why not and how do we know?
the following code doesn't work because line style isn't hard coded into the plot function
input agg = AggregationPeriod.MIN;
#input Style = {"BAR", "CANDLE", default "LINE"};
plot data = close(period = agg, Style);
however I assume this should work because the built in ThinkorSwim Study called Comparison has this input and the user can define what style they want to use for the comparison indicator ticker.
is there any way to do this? if not, why not and how do we know?