Inputs set the pivot period, price source, maximum pivots stored, maximum channel width, number of levels shown, minimum strength and line style and colours. Resistance and support lines draw on the price chart. The trading rules are not visible in the code provided, and the percent-of-equity sizing is a small cash amount.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Pivot Period
int
10
prd
Source
string
High/Low
ppsrc
Maximum Number of Pivot
int
20
maxnumpp
Maximum Channel Width %
int
10
ChannelW
Maximum Number of S/R
int
5
maxnumsr
Minimum Strength
int
2
min_strength
Line Style
string
Dashed
linestyle
Line Width
int
2
linewidth
Resistance Color
color
color.red
resistancecolor
Support Color
color
color.lime
supportcolor
Show Point Points
bool
false
showpp
Max Days Back to Test
int
21
daysBackMax
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.
This trend-following strategy executes a classic Donchian channel breakout system designed to cross-validate backtest results against external framework benchmarks. It triggers a long entry when the closing price breaks above the highest high of the prior entr
This strategy divides a fixed price range between an upper and a lower limit into equally spaced grid levels and plots them on the price chart. It marks a buy when price crosses down through a grid and a sell when price crosses up through a grid, using either
This strategy calculates dynamic support and resistance levels using pivot highs and lows alongside a custom smoothed trend filter and a 3-period EMA. It identifies entry opportunities when price breaks out relative to the trend filter and short-term EMA cross
STRG-HOLP is a trading strategy that identifies High of Low Period (HOLP) and Low of High Period (LOHP) breakout setups. It tracks the lowest low or highest high over a user-defined lookback window. A long trade opens when the close breaks above the high of th
The Chained Linear Regression Reversal Strategy plots linear regression channels with upper and lower standard deviation bands directly on the price chart across a user-defined time window. When price breaks out of the static channel for a confirmed number of
This script monitors opening gap conditions and breakout behavior relative to the first candle's range across up to twenty configurable stock tickers. It detects whether following bars remain inside the opening range before breaking out, displaying the status