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
Signals are filtered by volume against its average and an RSI threshold, then graded A to D. Each grade has its own take-profit percent and risk multiplier, with a fixed percent stop loss. Inputs also model USDT position sizing, leverage, exchange fees, concurrent trade limits and optional webhook alerts. It is a simulation tool and places no orders.
5 EMA with volume and RSI filters
A to D signal grading with separate targets and risk multipliers
Fixed percent stop loss
USDT position sizing with leverage and fee modeling
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Chart Timeframe (Default 15m)
timeframe
15
tf
Starting Equity (USDT)
float
10000.0
startEquity
Account Leverage (x)
int
50
leverage
Max Concurrent Trades
int
5
maxConcurrent
EMA Length
int
5
emaLen
Volume SMA Length
int
20
volSmaLen
Volume Multiplier
float
1.2
volMult
RSI Length
int
14
rsiLen
Bearish RSI Threshold
float
50.0
rsiThresh
Phase 2 Confirmation Window
int
12
confWindow
Phase 3 Entry Window
int
12
entryWindow
Max Base Risk Cap (%)
float
5.0
maxBaseRiskPct
Show all 23 settings
Setting
Type
Default
Variable
Bybit Per-Side Fee (%) [Taker=0.055, Maker=0.02]
float
0.055
perSideFee
Fixed Stop Loss (%)
float
1.0
fixedSlPct
Grade A TP (%)
float
1.1
tpGradeA
Grade B TP (%)
float
0.9
tpGradeB
Grade C TP (%)
float
0.7
tpGradeC
Grade D TP (%)
float
0.5
tpGradeD
Grade A Risk Mult
float
1.00
multGradeA
Grade B Risk Mult
float
0.75
multGradeB
Grade C Risk Mult
float
0.50
multGradeC
Grade D Risk Mult
float
0.40
multGradeD
Enable Live Webhook Alerts
bool
false
enableAlerts
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.
Sideway Zones Live is an overlay indicator that estimates inner and outer sideways bands from recent highs and lows with a rational quadratic kernel. It tracks swing pivots over a loopback period and counts bars that remain between the outer high and low. Afte
This indicator adapts Michael Chalek's Dual Thrust trading concept to plot breakout levels and overlay bands directly on the price chart. It calculates lookback ranges based on historical price action and provides two algorithmic variations along with multiple
This indicator calculates dynamic upper and lower trendlines from pivot highs and pivot lows across a specified bar length. Trendline slopes are derived using ATR, standard deviation, or linear regression methods. It plots trendlines and breakout signal labels
This indicator detects inside candles inside larger parent candles on the price chart. It plots colored boxes around inside and parent candles, fills them with user-adjustable transparency, draws Fibonacci retracement lines and mother candle range lines, and d
This indicator plots Donchian Channels alongside fast and slow simple moving averages directly on the price chart. It generates bullish breakout signals when the high reaches the upper channel while the close is above the 50 SMA (and optionally the 200 SMA). B
This indicator classifies market trends into structured stages based on moving average alignments, compression, and ATR distance from the 50-period SMA. It tracks multiple exponential moving averages against the 50 SMA to detect basing phases, breakouts, trend