Hello,
Is it possible to get all 3 TimeSeriesForecast lines on one chart for different time frames like 1 min, 5 min, 30 min all on the 1 min time chart?
The inputs for the TimeSeriesForecast would be the same but for different period aggregations.
Thanks!
Is it possible to get all 3 TimeSeriesForecast lines on one chart for different time frames like 1 min, 5 min, 30 min all on the 1 min time chart?
The inputs for the TimeSeriesForecast would be the same but for different period aggregations.
Thanks!
Ruby:
#
# TD Ameritrade IP Company, Inc. (c) 2007-2022
# ToS TimeSeriesForecast
input price = close;
input length = 9;
input bar_plus = 7;
plot TSF = Inertia(price, length) + LinearRegressionSlope(price, length) * bar_plus;
TSF.SetDefaultColor(GetColor(8));
Last edited by a moderator: