A price-chart overlay that plots a Hull moving average with a set of EMAs, SuperTrend and Bollinger Bands, and scores the market by weighting trend, momentum, volatility, volume, support and resistance, and a k-nearest-neighbours estimate.
1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
The nearest-neighbour step compares z-scored RSI, MACD and Bollinger readings with past bars and votes on direction. It adds a higher-timeframe trend and an automatic zigzag Fibonacci extension, and shows signal text in a table. Labels are in Turkish.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
HullMA Periyodu
int
16
hull_period
EMA Hızlı
int
9
ema_fast
EMA Orta
int
21
ema_mid
EMA YavaÅŸ
int
50
ema_slow
EMA Trend (Ana)
int
200
ema_trend
SuperTrend Faktör
float
3.0
st_factor
SuperTrend Periyot
int
10
st_period
RSI Periyodu
int
14
rsi_len
RSI Aşırı Alım
int
70
rsi_ob
RSI Aşırı Satım
int
30
rsi_os
MACD Hızlı
int
12
macd_fast
MACD YavaÅŸ
int
26
macd_slow
Show all 40 settings
Setting
Type
Default
Variable
MACD Sinyal
int
9
macd_signal
Stochastic K
int
14
stoch_k
Stochastic D
int
3
stoch_d
Stochastic Smooth
int
3
stoch_smooth
Bollinger Periyodu
int
20
bb_len
Bollinger Çarpanı
float
2.0
bb_mult
ATR Periyodu
int
14
atr_len
Hacim MA Periyodu
int
20
vol_ma_len
kNN k DeÄŸeri
int
5
knn_k
kNN Geriye Bakış
int
100
knn_lookback
kNN Gelecek Ufku
int
5
knn_horizon
Üst Zaman Dilimi
timeframe
D
htf_tf
Trend Ağırlığı (%)
float
25
w_trend
Momentum Ağırlığı (%)
float
20
w_momentum
Volatilite Ağırlığı (%)
float
15
w_volatility
Hacim Ağırlığı (%)
float
15
w_volume
Destek/Dir. Ağırlığı (%)
float
10
w_sr
ML Ağırlığı (%)
float
10
w_ml
MTF Ağırlığı (%)
float
5
w_mtf
DEMA Hızlı
int
12
dema_fast_len
DEMA YavaÅŸ
int
26
dema_slow_len
Sinyal Periyodu
int
9
dema_sig_len
Pivot Geriye Bakış
int
14
div_lookback
Kısa Vade Regresyon
int
50
lr_short_len
Uzun Vade Regresyon
int
200
lr_long_len
Tahmin Çizgileri
bool
true
show_pred_lines
Güçlü Sinyal Eşiği
int
50
strong_thresh
Zayıf Sinyal Eşiği
int
20
weak_thresh
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This indicator calculates a locally weighted regression curve alongside a standard linear regression line to detect directional price shifts. It identifies potential buy signals when the weighted line crosses below the linear regression while falling over a de
This indicator calculates a trend direction and smoothed moving average using a k-nearest neighbours (k-NN) classification algorithm directly on the main price chart. Users can select input price types, target values, neighborhood size, and smoothing periods.
This overlay classifies the chart into bull, bear, or neutral regimes from moving-average zone position and an adaptive engine driven by the efficiency ratio and ATR entry and exit bands. A volatility percentile rank adds quiet, normal, or volatile context, pl
Volume SuperTrend AI (Expo) combines SuperTrend trend filtering with a k-nearest neighbors machine learning classification algorithm. It computes a SuperTrend using customizable moving average types, including simple, exponential, weighted, smoothed, or volume
The Adaptive Laguerre Filter calculates a smoothed, dynamically adjusted trendline plotted directly on the main price chart. It dynamically adjusts its damping factor (alpha) based on recent price range variations and median percentile calculations over a spec
This script plots three moving averages on the price chart: a fast EMA or SMA with 10 periods, a slow EMA or SMA with 20 periods, and a trend EMA or SMA with 100 periods. It signals trend changes by drawing a white cross when the fast moving average crosses ab