This strategy implements a dollar-cost averaging (DCA) trading framework using Volume-Weighted Moving Average (VWMA) values and price percentage changes.
SRP Strategy [ZCrypto] enters an initial base order and places up to a configurable number of safety orders as price declines by set percentage thresholds. Positions exit once reaching a minimal take-profit percentage target. Users can customize base position size, safety order multipliers, DCA count, and backtesting date ranges. Drawn directly on the price chart, it renders deal lines, average entry price levels, PnL labels, and a performance table. The strategy operates without a hard stop-loss mechanism.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
SRP %
float
1.4
ChangePercentage
⬇️
int
55
below
⬆️
int
100
above
Minimal TP❓➔
bool
true
mintpbool
mintp
float
2.0
mintp
Price change %
float
2.0
minSOchange
$ Base order
float
100
base
DCA Multi
float
1.5
safety
DCA Count
int
4
sonum
DCA TYPE
string
Volume Multiply
DCATYPE
Backtest Date
bool
true
limit_date_range
Start Time
time
timestamp('11 OCT 2022 00:00 +0000')
start_time
Show all 24 settings
Setting
Type
Default
Variable
End Time
time
timestamp('31 Dec 2080 00:00 +0000')
end_time
Show Table ❓
bool
true
show_table
Position
string
Top Right
position
Text Color
color
Yellow
textcolos
Deal lines❓
bool
true
showdeals
profitcolor
color
bgray
profitcolor
socolor
color
red
socolor
avgcolor
color
white
avgcolor
Deal BG Color❓
bool
false
showBG
bgcolor
color
blue
bgcolor
PNL Label❓
bool
true
showpnllabel
pnlcolor
color
olive
pnlcolor
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 strategy plots an Optimized Trend Tracker and a selectable moving-average support line on the price chart. It builds the average as SMA, EMA, WMA, TMA, VAR, WWMA, ZLEMA, or TSF, then offsets long and short stops by a percent of that average. Optional mark
This overlay strategy combines a machine-learning distance model with a MACD oscillator to open trades on the price chart. It compares recent history using cosine similarity or Euclidean and Lorentzian distance, then filters direction with selectable moving-av
Calculates a custom moving average (MaMA) by modifying the source price with price momentum, acceleration, and psychological win-rate probability before applying an EMA or SMA. Plots the adjusted moving average directly on the price chart alongside optional re
This long-only trend-following strategy combines Ichimoku Kinko Hyo components with higher timeframe moving average filters. It triggers long entries when price trades above a higher timeframe EMA and a bullish Tenkan-Sen cross above Kijun-Sen occurs under fav
This strategy example enforces a daily loss limit. It detects a new trading day, stores starting equity, and tracks the day's highest and lowest equity. Trading permission depends on whether the loss from the day's starting equity stays inside a percentage of
This strategy enters a long position when a short RSI falls below a user threshold and price is above a simple moving average trend filter. It closes the long when RSI rises above a second threshold and does not set a stop loss. Position size defaults to full