A strategy that scores market conditions with many weighted components: head and shoulders and double top or bottom pivots, a regression channel with an R-squared filter, polynomial slope, a cosh-based term, skew, divergence, volume flow, VWAP and an ADX plus higher-timeframe EMA regime filter.
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
A trade needs the score to pass an entry threshold, with a cooldown between trades. Exits use a percentage stop loss, a percentage take profit and an optional trailing stop. Sizing is a percent of equity. It draws on the price chart.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
pivot l
int
5
iLB
pivot r
int
5
iRB
max pivots
int
12
iMP
neck tol%
float
0.006
iNT
shoulder sym%
float
0.10
iSS
h&s wt
float
2.0
iHW
retest win
int
10
iRTB
dt tol%
float
0.008
iDTT
valley%
float
0.015
iDMD
dt lookback
int
50
iDTL
dt wt
float
1.5
iDTW
std len
int
20
iSL
Show all 40 settings
Setting
Type
Default
Variable
atr len
int
14
iAL
rsi len
int
14
iRL
cmf len
int
20
iCL
reg len
int
50
iREL
reg band mult
float
2.0
iRBM
min r2
float
0.55
iR2T
reg wt
float
1.5
iREW
slope filt
bool
true
iSF
poly len
int
20
iPL
poly wt
float
0.8
iPW
jerk wt
float
0.4
iJW
dirac w
float
1.0
iDW
dirac wt
float
0.8
iDiW
cosh sc
float
2.0
iCS
cosh thr
float
1.05
iCT
cosh wt
float
0.5
iCW
bull skew
float
1.3
iBSk
bear skew
float
0.7
iBRk
skew len
int
14
iSKL
skew wt
float
1.0
iSKW
div lb
int
5
iDL
div wt
float
1.2
iDVW
cmf wt
float
0.6
iCMW
obv len
int
10
iOL
obv wt
float
0.4
iOW
use vwap
bool
true
iUV
vwap len
int
20
iVL
vwap wt
float
0.6
iVW
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.
Gold Scalping BOS & CHoCH is an overlay strategy designed for detecting market structure shifts. It calculates rolling swing highs and lows to identify Break of Structure (BOS) and Change of Character (CHoCH) events. Long signals trigger when bullish BOS and C
This strategy plots the previous daily high and low on the price chart and calculates the Andean oscillator bull and bear components with an exponential moving average signal. It looks for a bull or bear cross of that signal, then confirms the setup against re
This overlay strategy targets one-minute ATOM scalps. It tracks pivot highs and lows as resistance and support, compares a three-period EMA with a multi-stage smoothed close, and flags long or short when price crosses that curve in the matching direction. Dail
This intraday strategy implements session-based trading rules tailored for gold on short timeframes. It tracks the Asian session price range, VWAP, 20-period EMA, and previous day high and low levels to identify liquidity sweeps during London and New York trad
Calculates volume profile levels over a lookback window to identify support, resistance, and Point of Control (POC) lines on the price chart. It executes trades based on price interaction with these low-volume zones, featuring customizable signal inversion and
This trading strategy detects key support and resistance zones on the price chart by identifying candle rejection wicks over a customizable lookback period. It filters potential trades using an Exponential Moving Average (EMA), Change in Status/Direction (CISD