iqow-r3-triple-extreme-kc-z-rsi.lua 4 KB · Free, MIT license
For the IQ Option web traderoom. Quadcode does not draw HIGHER and LOWER markers on mobile.
Add it to IQ Option in 3 steps
- Get the file. Press Get the script. Your browser saves a .lua file.
- Import it in IQ Option. Open the web traderoom on the Practice balance. Click the wave icon at the bottom left of the chart, open the Scripts tab, press Import script and pick the file.
- Add it to the chart. The code opens in an editor. Click the plus button under it (Add to chart). Save is only needed after you edit the code.
Full illustrated guide, with screenshots →
Risk. Trading can lose money. A marker is a chart observation, not a prediction, and this script is checked on test data, not proven in live trading. Try it on the Practice balance first.
- Reversal
- On price
- Intermediate
Signals only when close simultaneously breaches Keltner outer band, prior Donchian(20), Z-Score(20), and RSI(2). Designed for closed-candle chart observation.
The rules
HIGHER marker
Close <= Keltner(2.5) lower, close < prior 20-bar low, Z20 <= -2.2, RSI(2) <= 5.0.
LOWER marker
Close >= Keltner(2.5) upper, close > prior 20-bar high, Z20 >= +2.2, RSI(2) >= 95.0.
A marker appears after the next candle opens and is drawn on the candle that completed the setup. It is a chart observation, not an instruction to trade.
How to read it
Guide lines plot the volatility reference channel. A green HIGHER triangle under a candle confirms a bullish setup; a red LOWER triangle above confirms a bearish setup.
Indicators used
- Keltner Channel (20)
- Donchian (20)
- Z-Score (20)
- RSI (2)
Same view with built-in indicators: Add Keltner Channel (20), Donchian (20), Z-Score (20), RSI (2) to a 5-minute chart and watch for closed-bar confirmation.
Default settings
| kc_m | 2.5 |
|---|---|
| z_th | 2.2 |
| rsi_th | 5 |
Every value is an input in the script settings. Platform advice is off by default.
Key points
- IQOW R3 Triple Extreme Fade pairs strict completed-candle price structure with extreme exhaustion filters so markers do not repaint.
- Across 26 unseen Binance 5m IQOW10 windows (2020-2026) at 15m expiry, it logged 56.82% (n=102,854, low95 56.52%, 24/26 windows above 54.05%).
- Bonferroni-audited across M_raw=844 raw Round-3 trials (17.80 sigma, p_bonf=2.9e-68) with ~4.20 signals/day/coin.
- Separate from the 1m/2m IQOW Ten leaderboard; evaluated on Binance spot prices, not live IQ Option quotes. Test on Practice first.
What the research found
The evidence behind this script
Round-3 Watch tier (high-volume). Tested on Binance 5m IQOW10 crypto spot data (26 unseen windows, 2020-01-13 to 2026-08-01, plus 2019-2026 holdout) at a 15-minute expiry, audited across M_raw=844 raw trials. Break-even at 85% payout is 54.05%.
- 5m/15m · 26 windows
- 56.82%
- Late-half unseen
- 56.77%
- Walk-forward 26W
- 56.76%
- Sides & frequency
- 58.3% / 55.6%
Fixed params across 26 unseen windows (2020-2026): n=102,854 trades, Wilson low95 56.52%, 24 of 26 windows above 54.05%, cooldown 56.85%, EV@80% +0.0223 / EV@85% +0.0502.
Second half of 26 unseen windows (n=53,882, low95 56.35%). Unseen 2019-2026 all: 56.96% (n=112,900); 2024 56.80%, 2025 55.46%, 2026 pre-Aug 56.92%, Aug-Oct 2026 55.88%.
Rolling out-of-sample selection: n=49,590 trades (low95 56.32%), 24 of 26 windows above 54.05%. Bonferroni audit (M_raw=844): 17.80 sigma, p_bonf=2.9e-68.
HIGHER 58.28% (n=56,888) vs LOWER 55.62% (n=56,012); ~4.20 signals/day/coin, max Jaccard vs prior fades 0.233. 9/10 IQOW10 coins above 54.05%.
Evaluated on Binance 5m crypto spot candles (15m expiry), distinct from the 1m/2m IQOW Ten leaderboard (#1 Big Body Fade, #2 Z-Score Fade). Low-frequency shock rules require patience (~4.20 signals/day/coin) and do not guarantee outcomes; test on a Practice balance and verify live payouts before trading.
Limitations. Evaluated on Binance 5m spot crypto data (IQOW10, 15m expiry), not IQ Option's live quote feed, separate from the 1m/2m IQOW Ten leaderboard (#1 Big Body Fade, #2 Z-Score Fade). High-volume Watch tier (~4.20 signals/day/coin, max Jaccard 0.233); 9/10 IQOW10 coins beat 54.05% (TRXUSDT 51.36%). EV +0.0223 at 80% (+0.0502 at 85%). Does not guarantee outcomes. Test on the Practice balance before risking real funds.
Complete source code
The download and this preview resolve to the same reviewed file. SHA-256: 9613e27bcbb0e52302410bee664dfdcb2895a514a4c7702ea7951a7997dd1779
-- SPDX-License-Identifier: MIT
-- IQOptionWiki QCS Library
-- IQOW R3 Triple Extreme Fade v1.0.0
--
-- Flags bars piercing Keltner(20), prior Donchian(20), Z-Score(20),
-- and RSI(2) simultaneously on the closed candle.
--
-- HIGHER: Close <= Keltner(2.5) lower, close < prior 20-bar low, Z20 <= -2.2, RSI(2) <= 5.0.
-- LOWER: Close >= Keltner(2.5) upper, close > prior 20-bar high, Z20 >= +2.2, RSI(2) >= 95.0.
--
-- Markers use the previous completed candle: they appear after the next candle
-- opens and are shifted back one bar onto the candle that qualified.
-- Educational chart tool only. It does not place trades, choose an expiry,
-- predict outcomes, or guarantee results. Test on a Practice balance first.
instrument {
name = "IQOW R3 Triple Extreme Fade",
short_name = "IQOW R3 TRIP3",
overlay = true
}
input_group {
"1. Triple extreme settings",
kc_mult = input (2.5, "Keltner(20) ATR multiplier", input.double, 0.5, 5.0, 0.1, false),
z_th = input (2.2, "Z-Score(20) threshold", input.double, 1.0, 5.0, 0.1, false),
rsi_th = input (5.0, "RSI(2) extreme level", input.double, 1.0, 20.0, 0.5, false)
}
input_group {
"Display and advice",
lines_visible = input { default = true, type = input.plot_visibility },
signals_visible = input { default = true, type = input.plot_visibility },
advice_enabled = input { default = false, name = "Enable platform advice", type = input.boolean }
}
input_group {
"Colors",
guide_color = input { default = "#56CEFF", type = input.color },
band_color = input { default = "#9B59B6", type = input.color },
line_width = input { default = 1, type = input.line_width },
higher_color = input { default = "#25E154", type = input.color },
lower_color = input { default = "#FF6C58", type = input.color },
signal_text_color = input { default = "#FFFFFF", type = input.color }
}
atr20 = rma (tr, 20)
mid_guide = ema (hlc3, 20)
upper_guide = mid_guide + kc_mult * atr20
lower_guide = mid_guide - kc_mult * atr20
dc_u = highest (high, 20) [1]
dc_l = lowest (low, 20) [1]
sma20 = sma (close, 20)
pop_sd = stdev (close, 20) * math.sqrt (19 / 20)
r2_s = rsi (close, 2)
local c0 = get_value (close, nil)
local a20_v = get_value (atr20, nil)
local ku = get_value (upper_guide, nil)
local kl = get_value (lower_guide, nil)
local du = get_value (dc_u, nil)
local dl = get_value (dc_l, nil)
local sm = get_value (sma20, nil)
local sd = get_value (pop_sd, nil)
local r2_v = get_value (r2_s, nil)
local ok =
c0 ~= nil and a20_v ~= nil and a20_v > 0 and ku ~= nil and kl ~= nil and
du ~= nil and dl ~= nil and sm ~= nil and sd ~= nil and sd > 0 and r2_v ~= nil
local z20 = ok and ((c0 - sm) / sd) or 0
local raw_higher = ok and c0 <= kl and c0 < dl and z20 <= -z_th and r2_v <= rsi_th
local raw_lower = ok and c0 >= ku and c0 > du and z20 >= z_th and r2_v >= (100.0 - rsi_th)
higher_setup = conditional (raw_higher and not raw_lower)
lower_setup = conditional (raw_lower and not raw_higher)
-- Confirm only a new setup on the previous completed candle.
confirmed_higher = conditional (
get_value (higher_setup [1], false) and
not get_value (higher_setup [2], false)
)
confirmed_lower = conditional (
get_value (lower_setup [1], false) and
not get_value (lower_setup [2], false)
)
if lines_visible then
plot (upper_guide, "Upper guide", band_color, line_width)
plot (lower_guide, "Lower guide", band_color, line_width)
plot (mid_guide, "Baseline", guide_color, line_width)
end
if signals_visible then
plot_shape (
confirmed_higher,
"R3 TRIP3 HIGHER",
shape_style.triangleup,
shape_size.small,
higher_color,
shape_location.belowbar,
-1,
"HIGHER",
signal_text_color
)
plot_shape (
confirmed_lower,
"R3 TRIP3 LOWER",
shape_style.triangledown,
shape_size.small,
lower_color,
shape_location.abovebar,
-1,
"LOWER",
signal_text_color
)
end
-- QCS advice is a platform notification state only; it does not place trades.
if advice_enabled and
get_value (confirmed_higher, false) and
not get_value (confirmed_lower, false) then
advise (advice.buy)
elseif advice_enabled and
get_value (confirmed_lower, false) and
not get_value (confirmed_higher, false) then
advise (advice.sell)
else
advise (advice.neutral)
end
More reversal scripts
- Reversal
- Own panel
- Intermediate
Fisher Transform Reversal
Marks a Fisher Transform cross of its trigger line while the indicator is in an extreme zone. This is the extreme-then-cross confirmation the related article describes.
Indicators: Ehlers Fisher Transform (10)
- Reversal
- On price
- Beginner
Harami RSI
Marks bullish and bearish harami candle pairs when RSI is in a low or high zone. RSI helps check that the pair follows a push in the opposite direction.
Indicators: Harami candle pair · RSI (14, 40/60)
- Reversal
- On price
- Advanced
Jump Fade
Marks the first 1-minute candle whose single-candle move is an extreme outlier against the last 120 returns, expecting a short snap back. The researched setting also needs Supertrend(10, 3) to disagree with the fade.
Indicators: 1-candle log return z-score (120) · Supertrend (10, 3), required to disagree
Download all 84 scripts as one ZIP · MIT License, provided “as is”, without warranty. IQOptionWiki is independent of the IQ Option platform operator. Nothing here is investment advice or a guarantee of results.