Join waitlist
Strategies / Trend / DSL Oscillator Band Risk Reward

DSL Oscillator Band Risk Reward

Trades in the direction of a band built from a 34-period SMA when the last three bars close beyond it and an RSI-based oscillator crosses its own level. Each trade has a stop set by the band and a target at 1.5 times that risk.

TrendLong & shortSwingNasdaq 1004 hours
2.08Profit factor
7,812Net profit EUR
44.12%Win rate
136Trades
-1,791Max drawdown
57.44Avg trade

Best run of 5. Nasdaq 100, 4 hours, spread 3, from run pf:2026-10-13-NAS100-4h.tsv:10.

Entry rules, long

  1. The DSL up line minus ATR (200) is above the DSL down line.
  2. The open and close of each of the last three bars are above the DSL up line.
  3. The trade is taken only when flat, after bar 240.
  4. The stop must lie below the close.

Entry rules, short

  1. The DSL up line minus ATR (200) is above the DSL down line.
  2. The open and close of each of the last three bars are below the DSL down line plus ATR (200).
  3. The trade is taken only when flat, after bar 240.
  4. The stop must lie above the close.

Exit rules

  1. The target is 1.5 times the risk from the entry, in the trade direction.
  2. There is no signal-based exit, so positions close only at the stop or target.

Test conditions

PeriodUp to 2026-10-13
InstrumentNasdaq 100, 4 hours
Spread3 points
Starting capital1,000,000
CostsSpread only. Commissions and overnight financing are not included.
BarsUp to 200,000 bars, fewer where the instrument has less history
Last tested2026-10-13

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Nasdaq 100Best run4 hours2.08 13644.127,812 EUR-1,791
Dow JonesDailyn/a 6040.007,666 EUR-3,260
US Crude OilDailyn/a 4850.004,212 EUR-3,509
DAX 40Dailyn/a 7150.702,732 EUR-1,826
GoldDailyn/a 5152.94685 EUR-243

Charts

Results by run

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// DSL Oscillator Band Risk Reward
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long & short
// Timeframe tested: 4 hours
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE dslup = 0
ONCE dsldn = 0
ONCE lvlu = 0
ONCE lvld = 0
ONCE levup = 0
ONCE levdn = 0

sma = Average[34](close)
thrup = highest[34](high)[30]
thrdn = lowest[34](low)[30]

54 more lines: the entry and exit rules.

Setup

How to load it

  1. Copy the code with the copy button on the code block.
  2. In ProRealTime, open a chart of the instrument and timeframe you want to test, then open ProOrder > New trading system and choose "Create with programming".
  3. Paste the code, give the system a name and save it.
  4. Click "Backtest", set your own spread and position size, and run it before you consider trading it live.

Indicators used

ATREMARSISMA
Read this firstKnown weaknesses2 points
  • Results include the spread only. Commissions and overnight financing are not included.
  • The code is published as it was backtested and has not been compiled again since.

Questions

About this strategy

Can I run DSL Oscillator Band Risk Reward in ProOrder?

Yes. The code is ProBuilder and runs as an automated ProOrder system. Backtest it on your own account with your own spread and position size before trading it live.

Which markets was it tested on?

It was tested on 5 market and timeframe combinations. The best run was Nasdaq 100, 4 hours, with a profit factor of 2.08 over 136 trades.

How large was the drawdown?

The best run had a maximum drawdown of 1,791 EUR at the tested position size, against a net result of 7,812 EUR.

Does it trade long, short or both?

It trades both long and short.

Related

Strategies like this one

Trend Surfer

Uses the same indicator.

1.04 PF · 10,813 trades

Volatility Spike Regression Long

Best run on the same market, Nasdaq 100.

1.22 PF · 1,850 trades

ATR Trailing Stop Crossover

Also a trend strategy.

2.09 PF · 203 trades

Put your name on the ProRealAlgos waitlist to trade a tested portfolio instead of single strategies.

Copy trading on US indices is available to ProRealAlgos members as spots open.

Past backtest results do not guarantee future results. This is not financial advice. Curated and maintained by ProRealAlgos. ProRealTime™ is a trademark of ProRealTime SAS. prorealalgos.comStatsDocs