PROTECTED SOURCE SCRIPT
Zaktualizowano B4100 - NW Trend

This is a trend-following tool based on the Nadaraya-Watson (NW) kernel regression estimator.
Nadaraya-Watson Estimator:
This indicator employs a weighted average of historical prices where the weights are determined by a kernel function. This kernel function gives more weight to recent prices and less weight to older ones. The kernel function's shape (Gaussian, Epanechnikov, or a combination) can be chosen by the user, and its bandwidth controls the sensitivity of the estimator. A smaller value means more sensitivity to short-term changes; a larger value means smoother curves and less sensitivity.
Trend Confirmation:
The indicator also uses a confirmation period (confirm_period) to minimize whipsaws. The trend only changes once the estimator has moved in a particular direction for a configurable number of consecutive bars.
Bandwidth (h):
This is the key parameter controlling the estimator's sensitivity to price changes.
Smaller values (e.g., 10-40) result in a more reactive and wiggly line. This will be more sensitive to short-term price changes.
Larger values (e.g., 100-200) result in a smoother line, focusing on longer-term trends.
Source:
The price data used in the calculations. The default is close but can be changed to other price values such as high, low, or a mathematical combination.
Kernel Type:
Select the type of kernel function to use.
Confirmation Period:
Adjust this setting to specify how many consecutive bars the estimator must be moving in the same direction before the trend is confirmed.
Lower values result in more trend changes.
Higher values result in fewer trend changes and can filter out some noise.
Enjoy, and good luck.
Nadaraya-Watson Estimator:
This indicator employs a weighted average of historical prices where the weights are determined by a kernel function. This kernel function gives more weight to recent prices and less weight to older ones. The kernel function's shape (Gaussian, Epanechnikov, or a combination) can be chosen by the user, and its bandwidth controls the sensitivity of the estimator. A smaller value means more sensitivity to short-term changes; a larger value means smoother curves and less sensitivity.
Trend Confirmation:
The indicator also uses a confirmation period (confirm_period) to minimize whipsaws. The trend only changes once the estimator has moved in a particular direction for a configurable number of consecutive bars.
Bandwidth (h):
This is the key parameter controlling the estimator's sensitivity to price changes.
Smaller values (e.g., 10-40) result in a more reactive and wiggly line. This will be more sensitive to short-term price changes.
Larger values (e.g., 100-200) result in a smoother line, focusing on longer-term trends.
Source:
The price data used in the calculations. The default is close but can be changed to other price values such as high, low, or a mathematical combination.
Kernel Type:
Select the type of kernel function to use.
Confirmation Period:
Adjust this setting to specify how many consecutive bars the estimator must be moving in the same direction before the trend is confirmed.
Lower values result in more trend changes.
Higher values result in fewer trend changes and can filter out some noise.
Enjoy, and good luck.
Informacje o Wersji
Add Ehlers ITrendSkrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Możesz jednak używać go swobodnie i bez żadnych ograniczeń – więcej informacji tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Możesz jednak używać go swobodnie i bez żadnych ograniczeń – więcej informacji tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.