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
Fractals v2 plots extended swing lines, labels, boxes, and optional volume or open interest delta data for crypto futures. Traders can filter swing levels using volume and open interest thresholds, as well as customize line styles and visibility settings. Because it requires a fixed number of right-hand bars to confirm a fractal high or low, levels are confirmed after a delay equal to the right swing size.
Configurable left and right bar periods for fractal swing detection
Visualizes swing levels with customizable lines, boxes, and labels
Displays volume and open interest delta thresholds for confirmed swings
Extends swing levels across the chart until filled by future price action
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Bars Right-Left
int
10
swingSizeR
-
int
15
swingSizeL
Show Boxes
bool
true
showBoxes
Show Lines
bool
true
showSwingLines
Show Labels
bool
true
showBubbles
Show Volume
bool
false
showVol
Show OI Δ
bool
false
showOId
Extend Until Fill
bool
true
extendtilfilled
Hide Filled
bool
false
hidefilled
Volume >
int
0
voltresh
OI Δ (abs.) >
int
0
oitresh
Only Swings With
string
/
pnoid
Show all 40 settings
Setting
Type
Default
Variable
showhighs
bool
true
showhighs
showlows
bool
true
showlows
Lows (Line - Label - Box)
color
#aa2430
sellcol
Highs (Line - Label - Box)
color
#66bb6a
buycol
sellcolB
color
#aa2430
sellcolB
buycolB
color
#66bb6a
buycolB
sellboxCol
color
#80192231
sellboxCol
buyboxCol
color
#66bb6a31
buyboxCol
Line Style + Width
string
Dotted
lineStyle
lineWid
int
1
lineWid
Box Width + Type
float
0.7
boxWid
boxStyle
string
TYPE 1
boxStyle
Text Style
string
Size: Tiny
labelsize
texthalign
string
Right
texthalign
lookback
bool
false
lookback
Lookback (D)
float
150
daysBack
Binance USDT.P
bool
true
binance
Binance USD.P
bool
true
binance2
Binance BUSD.P
bool
true
binance3
BitMEX USD.P
bool
true
bitmex
BitMEX USDT.P
bool
true
bitmex2
Kraken USD.P
bool
true
kraken
length
int
5
length
Bullish Structures
bool
true
showBull
bullCss
color
#089981
bullCss
Bearish Structures
bool
true
showBear
bearCss
color
#f23645
bearCss
Support
bool
false
showSupport
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 overlay indicator draws a fixed-range volume profile on the price chart, splitting traded activity into up and down volume at each price level. It also plots a sentiment profile, a developing point of control, and value-area high and low around a configur
The MGIC-tracker is a TradingView indicator that overlays ARK Invest trade records onto stock price charts. It plots buy and sell labels at the exact timestamp of each transaction, showing share volume and ETF weight. Users select a specific ETF type via setti
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
Comprehensive Volume Profile is an overlay indicator that calculates and plots volume distribution across specified time ranges such as daily sessions, weekly, monthly, or custom bar lengths. It identifies key structural price levels including the Point of Con
This indicator plots two Hull moving averages on the price chart, one of the selected price and one of close, and optionally smooths both with a Kahlman filter. It fills the space between them and marks buy and sell labels when they cross, provided scaled volu
This overlay indicator plots option strike walls and an optional session VWAP on the price chart for SPY or ES. It spaces major strikes by the selected instrument, draws a set number of strikes on each side, and marks wall-trap and sweep events after a cooldow