PROTECTED SOURCE SCRIPT
Telah dikemas kini

QQE MOD , RSI , VOLUME

12 892
so this strategy includes 3 indicators

the 1st one is Q Q E mode on default sittings

the 2nd one is R S I with the following settings

R S I length from 14 to 40
and M A length from 14 to 150

the 3rd one is volume flow indicator with the following settings

max vol cutoff from 2.5 to 0.5

and signal length from 5 to 20

in long condition
for a long signal to be valid

we need to have a new blue histogram appeared on our q q e mode and the R S I purple line is above yellow moving average and finally the green line of the volume indicator is
above the orange line and both have to be above zero level



and once we have all these conditions fulfilled we can go ahead and take a long position
our stoploss must be under the recent lower low
and the risk to reward ratio will be 1.5


and lets see what happened to our trade
as we can see it hit the target


for a short signal to be valid

we need to have a new red histogram appeared on our q q e mode and the R S I purple line is below yellow moving average and finally the green line of the volume indicator is
below the orang line and both have to be below zero level


and once we have all these conditions fulfilled we can go ahead and take a short position .
our stoploss must be above the recent higher high
and the risk to reward ratio will be 1.5
Nota Keluaran
some problems have been fixed
Nota Keluaran
new version
Nota Keluaran
new version
Nota Keluaran
a
Nota Keluaran
new version
Nota Keluaran
QQE MOD + RSI + Volume — Multi-Exit Strategy (with ADX/EMA/Session Filters)

What it is
A rules-based strategy that combines two QQE/RSI stacks, a volume confirmation (VFI/EMA of VFI), and optional trend/volatility filters. Entries can be managed with single or multi-target exits, multiple stop-loss types, optional breakeven and trailing logic, plus date/session filters for controlled backtests.

Entry Logic (high level)

QQE/RSI Stack A

RSI(SF) is smoothed and compared to a dynamic QQE trailing level (FastAtrRsiTL).

A Bollinger band is applied to FastAtrRsiTL - 50; bars outside the band identify stretched momentum:

Above upper band → bullish stretch.

Below lower band → bearish stretch.

QQE/RSI Stack B

A second RSI/QQE set provides an additional momentum threshold around ±ThreshHold2:

RsiMa2 - 50 > +ThreshHold2 → bullish filter.

RsiMa2 - 50 < −ThreshHold2 → bearish filter.

Volume Filter (VFI)

VFI vs. its EMA (vfima) confirms direction:

Longs: vfima < vfi and vfima > 0.

Shorts: vfima > vfi and vfima < 0.

Optional Trend Filter (pivot break)

Counts consecutive breakouts of recent pivots. A user-set Number Of Break defines how many consecutive breaks are required to flip market state (buy/sell phase). Background shading reflects phase when enabled.

Optional EMA Alignment

Three EMAs must be strictly ordered:

Longs: EMA1 > EMA2 > EMA3

Shorts: EMA1 < EMA2 < EMA3

Optional ADX Filter

Requires ADX ≥ level to filter weak trends.

Timing Filters

From/To date and Session filters restrict testing windows and trading hours.

Final long/short conditions combine the above signals and options (including a flip option that allows reversing while in position).

Exit & Risk Management

Take-Profit Types

Percent

R:R ATR (uses ATR-based stop as R reference)

R:R HH/LL (recent swing stop as R)

PIPS

R:R PSAR

R:R SuperTrend

Stop-Loss Types

Percent

ATR

HH/LL

PIPS

PSAR

SuperTrend

Multi-Target Mode (optional)

Up to 4 partial TPs (user-set % allocation) + final TP.

Optional breakeven shift after TP1/TP2 (re-issues exits with updated stops).

Single-Target Mode

One stop + one take profit, with optional breakeven on threshold.

Other Controls

Max trades per direction limiter.

Trailing stop toggle.

Flip (allow reverse entries while a position is open).

Plots & Panel

Plots: active entry price, TP/SL ladders (single/multi), breakeven marker, and (if enabled) EMA/PSAR/SuperTrend reference levels used by stop/TP calculations.

A compact results panel shows: closed trades, win rate, win/loss counts, max streaks, net profit, and max drawdown.

Note: The on-chart panel text is informational. You can disable or restyle it from the source if you prefer a minimal display.

Inputs (summary)

RSI/QQE: lengths, smoothing, factors, thresholds for both stacks.

Volume: VFI length/cutoff/signal smoothing.

Filters: ADX length/level; EMA lengths/alignment; pivot-break trend phase; date/session window.

Exits: TP/SL type and parameters; multi-TP amounts & levels; breakeven; trailing; max trades per direction; flip.

How to Use

Start with defaults on a liquid symbol and intraday TF.

If signals are noisy, increase thresholds (QQE/RSI), raise ADX level, enforce EMA alignment, or require more Number Of Break in the trend filter.

Choose one stop/TP framework (e.g., ATR or HH/LL) and tune the R multiple.

Decide between multi-TP (partial scaling) or single TP (simpler).

Use date/session filters to match realistic trading hours.

Backtesting Guidelines (per TV House Rules)

Set Initial capital, commission, and slippage to realistic values for your market/broker.

Use position sizing that risks a sustainable amount per trade (≤ 5–10% of equity is generally recommended).

Backtests should include a sufficiently large sample of trades. If you use a narrow date range or special market, briefly explain why.

Publish with the same Properties (commission, slippage, order size) you used to generate the shown results.

Notes & Limitations

This is a strategy (strategy()), not an indicator. It places simulated orders in the tester.

Signals depending on dynamic references (ATR/PSAR/SuperTrend/pivots) are computed on the current chart timeframe and may differ across assets/timeframes.

No external links or contacts are required to understand or use this strategy.

Suggested starting points

ADX level: 25–30

EMA lengths: 15 / 35 / 50

ATR-based R:R: 1.5–2.5

Multi-TP amounts: 25/20/20/20 + final remainder

Date/session filters: match your trading hours to avoid off-session noise
Nota Keluaran
update the name

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.