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
XAUUSD High Probability Strategy enters long or short positions when trend direction aligns with momentum and price positioning relative to volatility bands, filtered by an optional UTC trading session. Exits are handled through fixed percentage stop loss and take profit orders, as well as opposite signal reversals. The script draws directly on the price chart, featuring trade labels and an on-screen performance dashboard.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
ATR Length
int
10
atrPeriod
Supertrend Factor
float
3.0
factor
RSI Length
int
14
rsiLength
RSI Overbought
int
70
rsiOverbought
RSI Oversold
int
30
rsiOversold
MACD Fast
int
12
macdFast
MACD Slow
int
26
macdSlow
MACD Signal
int
9
macdSignal
Volume MA Length
int
20
volLength
Volume Spike Multiplier
float
2.0
volMultiplier
Stop Loss %
float
1.5
stopLossPercent
Take Profit %
float
3.0
takeProfitPercent
Show all 20 settings
Setting
Type
Default
Variable
Max Risk Per Trade %
float
2.0
maxRiskPerTrade
Use Time Filter
bool
true
useTimeFilter
Start Hour (UTC)
int
8
startHour
End Hour (UTC)
int
20
endHour
Show Trade Labels
bool
true
showLabels
Show Information Table
bool
true
showTable
Show Equity Curve
bool
false
showEquity
Label Size
string
normal
labelSize
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.
Capital41 Fusion Core Strategy is an overlay trading strategy that combines an exponential moving average trend filter, RSI, Williams %R, and volume/ATR expansion into a composite momentum oscillator. It executes long trades when the smoothed oscillator crosse
This strategy backtests short entry setups by evaluating multiple confluence factors directly on the price chart. It combines price surge detection, RSI overbought conditions with rollover confirmation, Bollinger Band exhaustion, and optional volume spikes alo
This strategy overlays a smoothed moving average on price and combines it with Aroon, Chaikin Money Flow and a Chaikin oscillator to define long and short conditions. Relative Vigor Index and Parabolic SAR values are calculated for exits. Entries can be limite
This strategy calculates MACD, ADX trend strength, ATR, and a rolling VWAP resetting at fixed bar intervals. It plots the VWAP line, stop loss levels, and profit targets directly on the price chart. Long positions enter when MACD crosses above its signal line
This strategy generates trade entries by combining up to five normalized 0-100 technical indicators: Relative Strength Index (RSI with divergence detection), Stochastic RSI, Money Flow Index (MFI), Relative Volatility Index (RVI), and Average Directional Index
This overlay strategy combines a Bollinger-style band with separate ATR upper and lower envelopes and optional ADX, Volume Flow Indicator, and RSI filters. It sizes positions as a percentage of equity. Settings change band length and multiplier, ATR periods an