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.
Simple Moving Average (SMA)

Skrip dilindungi

Skrip ini diterbitkan secara sumber tertutup dan anda boleh menggunakannya dengan bebas. Anda boleh menyukainya untuk menggunakannya pada carta. Anda tidak dapat melihat atau mengubah kod sumbernya.

Ingin menggunakan skrip ini pada carta?


Juga pada:

Penafian