1Copy the scriptPress Copy script above, or the copy button on the code below.
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
103 lines of Pine Script v5 from pinescript/edge59/e59-indicator.pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
Edge 59 calculates an ADX-colored weighted moving average, a linear regression trend filter based on a volatility channel, and high/low breakout levels. Long and short entry signals trigger when price breaks outside the previous period range while both the ADX and trend follower filters align. Settings allow adjusting ADX smoothing, linear regression periods, channel rate percentages, and breakout lookback lengths.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
DI Length
int
14
lenadx
ADX Smoothing
int
14
lensig
ADX MA Active
int
17
limadx
Length
int
10
len
Source
source
close
src
Period to Check Trend
int
20
prd
MA Period
int
20
maprd
Trend Channel Rate %
float
1
rateinp
Use Linear Regression
bool
true
ulinreg
Linear Regression Period
int
5
linprd
Number of Days (Close Breakout)
int
22
num_breakout_days
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.
Target Radar is a multi-factor forecasting indicator that plots projection bands, forward boxes, and dynamic target zones directly on the main price chart. It calculates a forecast score by combining z-scores for trend, momentum, volume pressure, and volatilit
This indicator plots the Schaff Trend Cycle in a separate pane. It subtracts a slow exponential moving average from a fast one, applies a stochastic cycle twice, and smooths each result to form a 0–100 oscillator. Line color follows the slope, or the upper and
Calculates multi-timeframe Moving Average Convergence Divergence (MACD) alongside a Money Flow filter to identify potential market breakouts. It evaluates higher-timeframe MACD calculations using exponential or simple moving averages combined with Money Flow o
The Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha
This indicator uses a Lorentzian distance k-nearest neighbors classification algorithm to predict market direction based on up to five technical features, such as RSI, WaveTrend, CCI, and ADX. It compares current feature values against historical bar patterns
This overlay indicator marks Linda Raschke short-term bar setups on the price chart. It flags Turtle Soup and Turtle Soup plus one false breakouts of a prior extreme, 80-20 bars, inside bars, failed inside-bar breakouts, outside up and down bars, NR4 and NR7 c