iqow-envelopes-rsi.lua 6 KB · Libre, lisensya ng MIT
Para sa IQ Option web traderoom. Hindi gumuguhit ang Quadcode ng MAS MATAAS at MAS MABABANG mga marker sa mobile.
Idagdag ito sa IQ Option sa mga hakbang sa 3
- Kunin ang file. Pindutin ang Kunin ang script. Magse-save ang iyong browser ng .lua file.
- I-import ito sa IQ Option. Buksan ang web traderoom sa Practice balance. I-click ang wave icon sa kaliwang ibaba ng chart, buksan ang Scripts tab, pindutin ang Import script at piliin ang file.
- Idagdag ito sa tsart. Magbubukas ang code sa isang editor. I-click ang plus button sa ilalim nito (Idagdag sa tsart). Kailangan lang i-save pagkatapos mong i-edit ang code.
Gabay na may kumpletong larawan, na may mga screenshot →
Panganib. Maaaring malugi ang pangangalakal. Ang marker ay isang obserbasyon sa tsart, hindi isang prediksyon, at ang script na ito ay sinusuri batay sa datos ng pagsubok, hindi napatunayan sa live trading. Subukan muna ito sa Practice balance.
- Pagbabalik
- Sa presyo
- Baguhan
Nagmamarka ng pagtalbog mula sa mga linya ng Sobre: ang isang kandila ay umaabot sa panlabas na linya, nagsasara pabalik sa loob, at kinukumpirma ng RSI na ang presyo ay na-stretch. Sinusundan nito ang pamamaraang 'pagtalbog mula sa mga gilid' sa kaugnay na artikulo.
Mga panuntunan
MAS MATAAS NA marker
Ang mababang bahagi ng kandila ay dumadampi o tumatagos sa mas mababang Envelope (SMA 20, deviation 1 = 0.1%), ito ay magsasara pabalik sa itaas ng linyang iyon, at ang RSI(14) ay nasa ibaba ng 35.
MAS MABABA NA marker
Ang taas ng kandila ay tumatagos o tumatagos sa itaas na Envelope, ito ay magsasara pabalik sa ibaba ng linyang iyon, at ang RSI(14) ay nasa itaas ng 65.
Isang marker ang lilitaw pagkatapos magbukas ang susunod na kandila at iguguhit sa kandilang nakakumpleto sa pag-setup. Ito ay isang obserbasyon sa tsart, hindi isang tagubilin para mag-trade.
Paano ito basahin
Ang mga asul na linya ay ang itaas at ibabang Sobre at ang kulay kahel na linya ay ang SMA sa pagitan nila. Ang berdeng HIGHER triangle sa ilalim ng kandila ay nagmamarka ng pagtalbog mula sa ibabang linya kung saan ang RSI ay mas mababa sa 35; ang pulang LOWER triangle sa itaas ng kandila ay nagmamarka ng pagtalbog mula sa itaas na linya kung saan ang RSI ay mas mataas sa 65.
Mga indicator na ginamit
- Mga Sobreng Moving Average (SMA 20, deviation 1)
- RSI (14, 35/65)
Parehong view na may mga built-in na indicator: Idagdag ang mga Sobre (SMA 20, deviation 1) sa tsart ng presyo at ang Relative Strength Index (14) sa ibaba nito.
Mga setting ng default
| Panahon ng SMA | 20 |
|---|---|
| Paglihis (IQ Option mga yunit, 1 = 0.1%) | 1 |
| panahon ng RSI | 14 |
| Antas ng RSI para sa MAS MATAAS | 35 |
| Antas ng RSI para sa MAS MABABA | 65 |
Ang bawat halaga ay isang input sa mga setting ng script. Ang payo sa platform ay naka-off bilang default.
Pangunahing puntos
- Ang mga sobre ay isang moving average na may dalawang linyang parallel dito, isang nakapirming porsyento sa itaas at ibaba.
- On IQ Option Ang paglihis ay ipinasok sa ikasampu ng isang porsyento, kaya ang 1 ay nangangahulugang 0.1 porsyento.
- Sinasabi sa paraan ng pag-bounce ng artikulo na bantayan ang presyo kapag dumadampi ito sa isang panlabas na linya at bumabalik.
- Idinaragdag namin ang RSI: mas mababa sa 35 para sa isang lower-line bounce, mas mataas sa 65 para sa isang upper-line bounce.
- Dapat magsara pabalik sa loob ng sobre ang kandila, para walang mamarkahang paglagpas sa linya.
- Ayusin ang paglihis para sa iyong takdang panahon at subukan sa isang balanseng Practice.
Mga Limitasyon. Sinasabi ng artikulo na ang mga bounce ay angkop sa mga merkado na may mababang volatility, at ang mga breakout sa linya sa mabibilis na merkado ay kabaligtaran nito. Ang isang nakapirming lapad ng porsyento ay hindi umaangkop sa volatility, kaya ang deviation ay dapat na ibagay para sa bawat timeframe at instrumento; ang mga halimbawa ng artikulo ay gumagamit ng SMA 9, habang ang script na ito ay gumagamit ng SMA 20. Subukan ang Practice balance bago ipagsapalaran ang totoong pondo.
Kumpletuhin ang source code
Ang download at ang preview na ito ay mapupunta sa parehong nasuring file. SHA-256: 3c6ad37d98b160161b38b67515ed9c8d06c8124e6a6c09a7ce27dfffab60ec33
-- SPDX-License-Identifier: MIT
-- IQOptionWiki QCS Library
-- IQOW Envelopes RSI v1.0.1
--
-- Moving Average Envelopes draw two lines a fixed percentage above and below
-- a simple moving average. The article's "bounce from the sides" idea is used:
-- price dips through an envelope line, closes back inside, and RSI agrees that
-- the move was stretched. Deviation uses IQ Option's unit: 1 = 0.1% of the average.
--
-- RSI follows IQ Option's built-in RSI: closing prices, with the average gain
-- and the average loss smoothed by an exponential average (alpha 2 / (period +
-- 1)). Version 1.0.1 (9 October 2026) changed this from Wilder smoothing; the
-- inputs, periods and levels are unchanged.
--
-- HIGHER: the low touches or pierces the lower envelope, the candle closes back
-- above it, and RSI(14) is below 35.
-- LOWER: the high touches or pierces the upper envelope, the candle closes back
-- below it, and RSI(14) is above 65.
--
-- 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 Envelopes RSI",
short_name = "IQOW ENV RSI",
overlay = true
}
input_group {
"1. Envelopes",
envelope_period = input (20, "SMA period", input.integer, 2, 200),
envelope_deviation = input (1, "Deviation (1 = 0.1%)", input.double, 0.01, 300, 0.01, false)
}
input_group {
"2. RSI filter",
rsi_period = input (14, "RSI period", input.integer, 2, 100),
rsi_low_level = input (35, "RSI below this for HIGHER", input.double, 5, 50, 1, false),
rsi_high_level = input (65, "RSI above this for LOWER", input.double, 50, 95, 1, false)
}
input_group {
"Display and advice",
lines_visible = input { default = true, type = input.plot_visibility },
middle_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",
envelope_color = input { default = "#2384C2", type = input.color },
envelope_fill_color = input { default = rgba(86, 206, 255, 0.10), type = input.color },
middle_color = input { default = "#FF7700", 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 }
}
-- Envelopes as on the IQ Option chart: SMA plus and minus deviation / 1000.
middle_line = sma (close, envelope_period)
envelope_offset = envelope_deviation / 1000 * middle_line
upper_line = middle_line + envelope_offset
lower_line = middle_line - envelope_offset
-- RSI as IQ Option's built-in RSI draws it: the average gain and the average
-- loss are exponential averages (alpha = 2 / (period + 1)), not Wilder's
-- smoothing (alpha = 1 / period). It stays empty until both averages exist and
-- is 50 when price did not move at all.
rsi_change = close - close [1]
rsi_gain = ema (max (rsi_change, 0), rsi_period)
rsi_loss = ema (max (-rsi_change, 0), rsi_period)
rsi_total = rsi_gain + rsi_loss
rsi_value = iff (rsi_total > 0, 100 * rsi_gain / rsi_total, rsi_total + 50)
local high_now = get_value (high, nil)
local low_now = get_value (low, nil)
local close_now = get_value (close, nil)
local upper_now = get_value (upper_line, nil)
local lower_now = get_value (lower_line, nil)
local rsi_now = get_value (rsi_value, nil)
local levels_are_valid = rsi_low_level < 50 and rsi_high_level > 50
local data_is_ready =
levels_are_valid and
high_now ~= nil and low_now ~= nil and close_now ~= nil and
upper_now ~= nil and lower_now ~= nil and rsi_now ~= nil
-- Touch the envelope, close back inside, and RSI shows the stretch.
higher_setup = conditional (
data_is_ready and low_now <= lower_now and close_now > lower_now and rsi_now < rsi_low_level
)
lower_setup = conditional (
data_is_ready and high_now >= upper_now and close_now < upper_now and rsi_now > rsi_high_level
)
-- 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
fill (upper_line, lower_line, "Envelope area", envelope_fill_color)
plot (upper_line, "Upper envelope", envelope_color, line_width)
plot (lower_line, "Lower envelope", envelope_color, line_width)
end
if middle_visible then
plot (middle_line, "Envelope middle (SMA)", middle_color, 1)
end
if signals_visible then
plot_shape (
confirmed_higher,
"ENV RSI HIGHER",
shape_style.triangleup,
shape_size.small,
higher_color,
shape_location.belowbar,
-1,
"HIGHER",
signal_text_color
)
plot_shape (
confirmed_lower,
"ENV RSI 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
Mas maraming reversal script
- Pagbabalik
- Sariling panel
- Panggitna
Dobleng Stokastiko
Minamarkahan ang kandila kung saan kinukumpirma ng isang mabagal na Stochastic ang isang reversal cross na ipinakita na ng mabilis na Stochastic sa parehong oversold o overbought zone. Ang paggamit ng dalawang setting ay nagtatanong ng parehong tanong sa dalawang time scale bago lumitaw ang isang marker.
Na tagapagsaad: Mabilis na estokastiko (8, 3, 5) · Mabagal na estokastiko (17, 3, 7)
- Pagbabalik
- Sariling panel
- Panggitna
Pagbabaliktad ng Fisher Transform
Nagmamarka ng Fisher Transform cross ng trigger line nito habang ang indicator ay nasa isang extreme zone. Ito ang kumpirmasyon ng extreme-then-cross na inilalarawan ng kaugnay na artikulo.
Na tagapagsaad: Ehlers Fisher Transform (10)
- Pagbabalik
- Sa presyo
- Baguhan
Harami RSI
Minamarkahan ang bullish at bearish harami candle pairs kapag ang RSI ay nasa low o high zone. Tinutulungan ng RSI na suriin kung ang pares ay sumusunod sa isang push sa kabaligtaran na direksyon.
Na tagapagsaad: Pares ng kandila ng Harami · RSI (14, 40/60)
I-download ang lahat ng 74 na script bilang isang ZIP · Lisensya ng MIT, ibinibigay nang "as is", nang walang warranty. Ang IQOptionWiki ay malaya sa IQ Option operator ng platform. Walang payo sa pamumuhunan o garantiya ng mga resulta dito.