PROTECTED SOURCE SCRIPT
TradiKator 01a Forecast SMA

TradiKator 01a Forecast SMA is the a visual indicator that plots forecast SMA .
Forecast SMA
The dashed line after today, it is forecast SMA .
Green Dot: The target price according to the user input.(your assumption)
3 colors' Dashed lines: The SMA based on the target price
"Days to plot forecast SMA (Max=19, SwitchOff=0)" --> Please decide how many days' SMA you would like to forecast.
"Mod1 Assumed chg ratio ‰ in the every days (10=1%)" --> Mod1: User should give the change rate in the coming every days. For example, user's assumption is that price will increase 10% everyday.
"Mod2 Assumed chg % in the ?th day (1=1%)( Pls set Mod1 to 0)" --> Mod2: User should give the change rate in the future ?th days. For example, user's assumption is that price will increase 30% in the 3rd day.
"Mod2 Need ? day to reach the chg % (tomorrow = 1 day)" --> Mod2: User should give the future ?th days.
note: While using Mod2, user has to disable Mod1 by set Mod1 to 0 (default setting)
The reason for this single function script.
Due to Tradingview output limit, we can only plot very limited days forecast.
Therefore we made this single function script only for forecast SMA which could output more days' forecast SMA .
There is another single function script only for forecast EMA which will only output forecast EMA ,
We have a "input" option in this indicator, so if you can use both 2 indicators (forecast SMA and forecast EMA) at same time, then you can use one of the indicator's output as the input of the other indicator.
In this way when you use both 2 indicators at same time, you only need to adjust one of the indicators' target price setting, the setting will be sync to both indicators.
Forecast SMA
The dashed line after today, it is forecast SMA .
Green Dot: The target price according to the user input.(your assumption)
3 colors' Dashed lines: The SMA based on the target price
"Days to plot forecast SMA (Max=19, SwitchOff=0)" --> Please decide how many days' SMA you would like to forecast.
"Mod1 Assumed chg ratio ‰ in the every days (10=1%)" --> Mod1: User should give the change rate in the coming every days. For example, user's assumption is that price will increase 10% everyday.
"Mod2 Assumed chg % in the ?th day (1=1%)( Pls set Mod1 to 0)" --> Mod2: User should give the change rate in the future ?th days. For example, user's assumption is that price will increase 30% in the 3rd day.
"Mod2 Need ? day to reach the chg % (tomorrow = 1 day)" --> Mod2: User should give the future ?th days.
note: While using Mod2, user has to disable Mod1 by set Mod1 to 0 (default setting)
The reason for this single function script.
Due to Tradingview output limit, we can only plot very limited days forecast.
Therefore we made this single function script only for forecast SMA which could output more days' forecast SMA .
There is another single function script only for forecast EMA which will only output forecast EMA ,
We have a "input" option in this indicator, so if you can use both 2 indicators (forecast SMA and forecast EMA) at same time, then you can use one of the indicator's output as the input of the other indicator.
In this way when you use both 2 indicators at same time, you only need to adjust one of the indicators' target price setting, the setting will be sync to both indicators.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。