ForexAlgo generates trade signals directly on the price chart using a primary leading indicator, such as the Range Filter, combined with modular confirmation filters.
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
Traders can toggle multiple technical filters, including exponential moving average crosses, Rational Quadratic Kernel, SuperTrend, Half Trend, Donchian ribbons, Ichimoku Cloud, and oscillators like TSI or ROC. The indicator displays long and short signals with custom expiry bars, enforces signal alternation, and includes an on-screen dashboard detailing indicator states. Higher-timeframe calculations in the code introduce lookahead risk.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Signal Expiry Candle Count
int
3
signalexpiry
Alternate Signal
bool
true
alternatesignal
Show Long/Short Signal
bool
true
showsignal
Show Dashboard
bool
true
showdashboard
Dashboard Position
string
bottom
i_tab1Ypos
i_tab1Xpos
string
right
i_tab1Xpos
Dashboard Size
string
Normal
in_dashboardtab_size
Leading Indicator
string
Range Filter
leadingindicator
EMA Filter
bool
false
respectema
respectemaperiod
int
200
respectemaperiod
2 EMA Cross :
bool
false
respect2ma
respect2maperiod_1
int
50
respect2maperiod_1
Show all 40 settings
Setting
Type
Default
Variable
respect2maperiod_2
int
200
respect2maperiod_2
3 EMA Cross :
bool
false
respect3ma
respect3maperiod_1
int
9
respect3maperiod_1
respect3maperiod_2
int
21
respect3maperiod_2
respect3maperiod_3
int
55
respect3maperiod_3
Range Filter
bool
false
respectrf
rftype
string
Default
rftype
Rational Quadratic Kernel (RQK)
bool
true
respectrqk
SuperTrend
bool
false
respectst
Half Trend
bool
false
respectht
Donchian Trend Ribbon
bool
false
respectdonchian
Rate of Change (ROC)
bool
false
respectroc
True Strength Indicator (TSI)
bool
false
respecttsi
tsitype
string
Signal Cross
tsitype
Trend Direction Force Index (TDFI)
bool
false
respecttdfi
McGinley Dynamic
bool
false
respectmd
Detrended Price Oscillator (DPO)
bool
false
respectdpo
Ichimoku Cloud
bool
false
respectichi
SuperIchi
bool
false
respectsuperichi
Trendline Breakout
bool
false
respecttrendline_breakout
Range Detector
bool
false
respectrd
Heiken-Ashi Candlestick Oscillator
bool
false
respecthacolt
B-Xtrender
bool
false
respectbx
bxtype
string
Short and Long term trend
bxtype
Bull bear Power Trend
bool
false
respectbbpt
bbpttype
string
Follow Trend
bbpttype
VWAP
bool
false
respectvwap
BB Oscillator
bool
false
respectbbosc
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.
TradersPost Trading Checklist is an overlay indicator that evaluates a suite of popular technical conditions for long and short trade setups. It checks session-anchored VWAP, fast and slow EMA alignments and crosses, 200 SMA, RSI overbought or oversold conditi
This indicator analyzes historical candle direction and price range over a configurable lookback window to gauge market trend. It categorizes trend direction using candle count, price range sum, or both. Signals are filtered using a Simple Moving Average to en
Pocket Scout - SPY/QQQ is a mobile-optimized intraday bias indicator designed for major US equity ETFs and indices. It overlays a 9/21/50 EMA ribbon, session VWAP, prior day high/low/close levels, and intraday high/low lines directly on the main price chart. T
The script is a Pine Script v5 indicator that emulates strategy backtesting directly on the price chart. It evaluates modular entry strategies, trade directions, entry stop-loss types such as ATR multiples or fixed percentages, and a wide variety of trade filt
This multi-component overlay indicator plots algorithmic trading signals, trend clouds, and reversal bands directly on the price chart. Users can choose between multiple signal models tailored for scalping, momentum, or swing trading, adjusted via sensitivity
M&M Trading is an overlay indicator that combines momentum calculations with moving averages and a visual dashboard. It calculates a modified Chande Momentum Oscillator with adjustable multipliers to identify bullish and bearish momentum triggers, optionally c