DeMark Pivot Points Strategy can keep several historical daily pivots, draw labels and prices, and mark crosses of the pivot. When strategy trading is enabled, it sizes trades from a risk-per-trade percentage of equity. The main settings change lookback, whether daily or intraday values feed the calculation, line and signal appearance, and which levels are shown. The script uses lookahead, so higher-timeframe values can affect historical bars. Exit and stop rules are not visible in the supplied code.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Number of Pivots Back
int
5
maxHistoricalPivotsInput
Use Daily-based Values
bool
true
isDailyBasedInput
Show Labels
bool
true
showLabelsInput
Show Prices
bool
true
showPricesInput
Labels Position
string
Right
positionLabelsInput
Line Width
int
2
linewidthInput
Show PP Cross Signals
bool
true
showSignalsInput
Signal Size
string
small
signalSizeInput
Enable Strategy Trading
bool
true
enableStrategyInput
Risk per Trade (%)
float
2.0
riskPercentInput
Show Debug Indicators
bool
false
showDebugInput
P
color
color.gray
pColorInput
Show all 17 settings
Setting
Type
Default
Variable
pShowInput
bool
true
pShowInput
S1
color
color.green
s1ColorInput
s1ShowInput
bool
true
s1ShowInput
R1
color
color.red
r1ColorInput
r1ShowInput
bool
true
r1ShowInput
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 plots running pivot highs as red R circles and pivot lows as blue S circles directly on the price chart. It computes an EMA 3 and a Cto trend line from close prices, then generates long signals on upward EMA-Cto crossovers combined with price pos
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
This trend breakout strategy plots Donchian Channels consisting of upper, lower, and middle bands directly on the main price chart. Long positions enter when price touches the upper channel and pulls back to or below the middle band, placing a stop loss at the