This price-chart strategy marks a base when enough recent bar bottoms cluster within a set deviation of the current bottom, then ignores new bases that sit too close to existing ones.
A buy is considered when price falls a chosen percentage below a base inside a limited bar window. It spends a share of capital on the first entry and can add safety orders as price falls further, up to a maximum count. A percentage stop loss is measured from the first entry or the position average.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Max Bases
int
3
i_baseMax
Base Area Deviation
float
0.005
i_dev
Unique Base Deviation
float
0.05
i_baseDev
Base Source
string
Close or Open
i_baseSource
Lookback
int
100
i_lookback
Confidence Level
float
0.01
i_confLevel
Break Threshold
float
0.02
i_breakThresh
Break Window
int
5
i_breakWindow
Initial Order Capital
float
0.2
i_initialOrder
Safety Order Max Count
int
3
i_safetyCount
Safter Order Threshold
float
0.03
i_safetyThresh
Stop Loss
float
0.2
i_stopLoss
Show all 13 settings
Setting
Type
Default
Variable
Stop Loss Type
string
From Price Average
i_stopLossType
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.
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
RG Structure v2.0 [Visual Edition] is a strategy that identifies pivot points over a lookback window to construct trendlines. It evaluates breaks and retests of these trendlines using scoring weights, violation penalties, and regime detection to generate entry
The strategy detects range expansion by comparing the previous bar's range to its ATR multiple. It places pending stop entries above highs of up bars or below lows of down bars. On trigger it enters positions with take profit and stop loss in ticks using OCA g
Calculates classic support and resistance pivot levels using Traditional, Fibonacci, or Camarilla formulas from a higher timeframe. The strategy offers two execution modes: Bounce mode trades reversals within a customizable percentage buffer of support and res
This strategy identifies pivot-based Darvas Box levels on the price chart and trades re-entries following box sweeps. A long position arms when the price dips below the lower boundary and triggers when it closes back inside, provided the price is above a highe
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