This indicator combines Hull Moving Average variations with optional Kalman filter smoothing, difference-based activity filtering, and pivot trendlines on the price chart.
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
HMA-Kahlman Trend, DifferenceFilter & Trendlines calculates standard and three-pole HMAs, smooths them with a Kalman algorithm, and plots a dynamic trend ribbon. Buy and sell labels trigger on line crossovers, provided the scaled volume or high-low range exceeds its moving average threshold. An integrated pivot module projects trendlines across swing points. An optional repainting toggle is enabled by default to use unconfirmed live-bar values.
HMA and Kalman filter smoothing ribbon
Difference-based volume or range threshold filter
Pivot-based automated trendline projections
Crossover buy and sell signals with alert conditions
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Price Data
source
hl2
price
===HMA-Kahlman Trend Module===
bool
true
hkmod
Lookback Window
int
22
length
Use Kahlman?
bool
true
k
Gain
float
.7
gain
Show Labels?
bool
true
labels
Repainting?
bool
true
rep
===Winsorizing Module===
bool
true
wsmod
Filtering Method
string
High-Low
method
Clipping Lookback Window
int
20
p
Threshold Increment (1.0== none)
float
1.5
inc
===Trendlines Module===
bool
true
tlmod
Show all 13 settings
Setting
Type
Default
Variable
Pivots Lookback Window
int
2
l1
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 plots a fixed lookback Volume Profile alongside 20, 50, and 200 Simple Moving Averages directly on the price chart. It highlights trend changes via moving average crosses and marks Point of Control reactions, High Volume Nodes, and Value Area bo
This overlay indicator marks call and put setups from EMAs, RSI, MACD, and a SPY volume ratio. A call needs higher highs, RSI above its minimum, rising MACD, above-average proxy volume, and a rising trend EMA; a put reverses those tests. Early markers use an E
This indicator plots Ichimoku Cloud elements on the price chart, including Tenkan-sen, Kijun-sen, Senkou Span A and B lines with optional Chikou Span. It signals trend changes via Tenkan-sen and Kijun-sen crosses and places arrows at Kijun-sen direction shifts
The Midnight VWAP indicator calculates and overlays two distinct Volume Weighted Average Price (VWAP) lines on the price chart based on customizable session timeframes. It tracks an overnight or pre-market session alongside regular trading hours, resetting cal
This indicator overlays trend-following Supertrend bands on the price chart using Average True Range calculations. It plots trailing stop lines, highlights active trend directions, and prints buy or sell shape labels when price closes across band thresholds. I
The MA Envelope indicator calculates upper and lower channel bands shifted by a user-defined percentage around a baseline moving average. It supports Simple Moving Average, Exponential Moving Average, and Weighted Moving Average calculation types. The script p