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
Intersection Value Functions uses linear interpolation based on line slopes between consecutive bars to pinpoint the exact crossover value. The indicator plots two customizable moving averages directly on the price chart, highlights crossing points with projected lines, and optionally displays a dashboard matrix evaluating intersection values across a range of SMA lengths. Users can customize moving average types, lengths, visual styling, and table display settings.
Exact price calculation for crossover and crossunder points
Linear slope interpolation between consecutive bar values
Customizable moving average sources and lengths
On-chart intersection projections with horizontal lines
Optional dashboard matrix for evaluating multiple SMA lengths
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Source A
string
SMA
sourceA
lenA
int
9
lenA
External A
source
close
externalA
Source B
string
SMA
sourceB
lenB
int
20
lenB
External B
source
open
externalB
Crossover
color
#2962ff
coCss
coAreaCss
color
color.new(#2962ff, 90)
coAreaCss
Crossover
color
#ff5d00
cuCss
cuAreaCss
color
color.new(#ff5d00, 90)
cuAreaCss
Extend Intersections
bool
true
extend
Show Matrix
bool
true
showDash
Show all 19 settings
Setting
Type
Default
Variable
SMA Length Range
int
10
minLen
maxLen
int
20
maxLen
Location
string
Top Right
dashLoc
Size
string
Small
textSize
Magnify
bool
true
magnify
Resolution
int
20
resolution
Offset
int
10
offset
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 base moving average (EMA, SMA, WMA, or HMA) and projects multiple symmetrical envelope bands around it directly on the price chart. Users can adjust the length, source, moving average type, and initial envelope multiplier. Additiona
Bottom Level Finder is a support identification indicator designed to locate correction and re-entry zones directly on the price chart. It calculates horizon-adaptive Fibonacci retracements, drawdown percentage levels, moving averages, and integrated VIX volat
5 EMAs calculates and plots five Exponential Moving Averages derived from five configurable timeframes directly onto the main price chart. It also plots the high and low lines fetched from an additional custom timeframe, accompanied by a small on-screen table
Calculates volume-weighted average price anchored to automatically detected swing pivots, period starts, or a custom manual timestamp. It plots volume-weighted standard deviation bands with configurable multiples and measures price distance from VWAP in standa
This indicator plots standard Bollinger Bands alongside scaled Average True Range (ATR) bands directly on the price chart. It is designed to assist traders in identifying price consolidation zones, potential breakout levels, dynamic stops, and take-profit targ
ATR Based Stoploss is an overlay indicator that calculates dynamic stop loss and take profit bands around a central simple moving average. It uses standard Average True Range or an ATR Surge Average derived from volatility spikes to offset profit and loss boun