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 strategy, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.
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
Unicorn Strategy can limit a breaker to the candle body, use one or two candles in the same direction, and stop the block at the first break of its center line. Entries can be restricted to when price is inside a premium or discount array, and those zones, swing lines, and swing breaks can be shown or hidden. Optional take-profit targets use three reward-to-risk ratios. No stop-loss input appears in the provided settings, and pyramiding is off.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Length
int
5
len
Use only candle body
bool
false
breakerCandleOnlyBody
Use 2 candles instead of 1
bool
false
breakerCandle_2Last
Stop at first break of center line
bool
true
tillFirstBreak
Only when E is in Premium/Discount Array
bool
false
onlyWhenInPDarray
show Premium/Discount Zone
bool
false
showPDarray
Highlight Swing Breaks
bool
false
showBreaks
Show Swings/PD Arrays
bool
true
showSPD
Text Color
color
color.silver
PDtxtCss
Swing Line Color
color
color.silver
PDSCss
Enable TP
bool
false
iTP
tpCss
color
#2157f3
tpCss
Show all 24 settings
Setting
Type
Default
Variable
R:R 1
float
1
R1a
:
float
2
R2a
R:R 2
float
1
R1b
:
float
3
R2b
R:R 3
float
1
R1c
:
float
4
R2c
color
color.rgb(12, 181, 26, 93)
cBBplusA
cBBplusB
color
color.rgb(12, 181, 26, 85)
cBBplusB
color
color.rgb(255, 82, 82, 85)
cSwingBl
color
color.rgb(255, 17, 0, 95)
cBB_minA
cBB_minB
color
color.rgb(255, 17, 0, 85)
cBB_minB
color
color.rgb(0, 137, 123, 85)
cSwingBr
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 strategy combines Opening Range Breakout (ORB) mechanics with Inner Circle Trader (ICT) concepts like Fair Value Gaps, Order Blocks, and liquidity grabs. It identifies session opening ranges and generates signals when price breaks out with supporting rela
Qtus SMC-Sniper AutoTrader v2 is an automated trading strategy plotted on the price chart that combines Smart Money Concepts (SMC), ICT frameworks, price action patterns, and technical indicators into a multi-factor scoring engine. It enters long or short posi
Implements liquidity sweep and prop firm breakout strategies inspired by the Booming Bulls methodology. The script monitors previous-day, previous-week, and current-day highs and lows for liquidity sweeps where price wicks beyond a level without closing past i
This strategy plots market structure on the price chart from confirmed swing highs and lows and flags breaks of those levels. Breaks can use the wick or the close, and structure logic can stay standard or include sweeps. ChoCH mode selects Ping, Verify, or bot
This strategy defines opening range breakouts within Asian, London and New York sessions using ATR-based width and buffer filters. It identifies potential entries on breakout after a retest followed by continuation, applying ICT-style context and SMC proxies f
This Pine Script v6 strategy isolates and tests market structure events, specifically Break of Structure (BOS) and Change of Character (CHoCH). Using swing points calculated from configurable pivot strength settings, it tracks structural direction and triggers