IQ_WIKI_SCRIP_V1.0.1.lua 9 KB · Ücretsiz, MIT lisansı
Için IQ Option Web ticaret odası. Quadcode, mobil cihazlarda YÜKSEK ve ALÇAK işaretleyicilerini çizmiyor.
Bunu ekle IQ Option 3 adımda
- Dosyayı alın. "Komut dosyasını al" düğmesine basın. Tarayıcınız bir .lua dosyası kaydedecektir.
- İçeri aktarın IQ Option. Uygulama bakiyesinde web işlem odasını açın. Grafiğin sol alt köşesindeki dalga simgesine tıklayın, Komut Dosyaları sekmesini açın, Komut Dosyası İçe Aktar'a basın ve dosyayı seçin.
- Grafiğe ekleyin. Kod bir düzenleyicide açılır. Altındaki artı düğmesine (Grafiğe ekle) tıklayın. Kaydetme işlemi yalnızca kodu düzenledikten sonra gereklidir.
Ekran görüntüleriyle desteklenmiş, eksiksiz resimli kılavuz →
Risk. Alım satım işlemleri para kaybettirebilir. İşaretleyici bir grafik gözlemidir, tahmin değildir ve bu komut dosyası test verileri üzerinde kontrol edilmiştir, canlı alım satımda kanıtlanmamıştır. Öncelikle uygulama bakiyesinde deneyin.
- eğilim
- Sinyal motoru
- Fiyat üzerinden
- Orta seviye
Beş okunabilir filtre içeren seçici bir birleşme katmanı: EMA trend hizalaması ve eğimi, aşırı değerleri kovalamadan RSI momentumu, ADX/DMI gücü, ATR aktivitesi ve mum kalitesi koruması.
Kurallar
DAHA YÜKSEK işaretleyici
EMA'lar 9, 21 ve 50 yukarı doğru sıralanmış ve yükselen yavaş çizgilerle birlikte, RSI 52 ile 68 arasında, ADX en az 20 ve +DI önde, ATR taban çizgisinin en az %85'i ve yükseliş yönlü kapanış, hızlı EMA'nın 1.25 ATR'si içinde kalıyor.
ALT işaretleyici
Ayna görüntüsü: Aşağı doğru yığılmış EMA'lar, 32 ile 48 arasında RSI, -DI önde olmak üzere en az 20 ADX, aktif ATR ve hızlı EMA'nın 1.25 ATR'si içinde düşüş yönlü kapanış.
Bir sonraki mum açıldıktan sonra bir işaretleyici belirir ve kurulumu tamamlayan mumun üzerine çizilir. Bu bir grafik gözlemidir, alım satım talimatı değildir.
Nasıl okunur?
Üç hareketli ortalama ve renk kodlu bir şerit, trend yönünü gösterir. UZUN ve KISA işaretleri, beş filtrenin de ilk kez aynı fikirde olduğu mum çubuğunda görünür.
Kullanılan göstergeler
- EMA 9/21/50
- RSI (14)
- ADX/DMI (14)
- ATR'ler (14)
Aynı görünüm, dahili göstergelerle birlikte: EMA 9, 21 ve 50, RSI (14), ADX (14) ve ATR (14) ile IQ Option'nin yerleşik göstergeleri.
Varsayılan ayarlar
| EMA | 9 / 21 / 50 |
|---|---|
| RSI | 14 (52 / 68) |
| ADX/DMI | 14, eşik 20 |
| ATR aktivitesi | 20-EMA temel değerinin %85'i |
| Maksimum uzatma | 1.25 ATR |
Her değer, komut dosyası ayarlarındaki bir girdidir. Platform önerisi varsayılan olarak kapalıdır.
Kilit noktaları
- 1.0.1 sürümü aynı anda beş şeyi kontrol eder: trend, ivme, güç, aktivite ve mum çubuğu kalitesi.
- EMA şeridi yeşil veya kırmızıya döner, böylece trendi bir bakışta görebilirsiniz.
- RSI, aşırı derecede gerilmeden yönü doğrulamalıdır.
- ADX ve DMI hatları, bu hamlenin arkasında sağlam bir temel oluşturmasını sağlıyor.
- İşaretleyici yalnızca beş filtrenin tamamı tamamlanmış bir mum üzerinde hemfikir olduğunda görünür.
Sınırlamalar. Daha fazla filtre, zayıf görünen koşulları ortadan kaldırır ancak aynı zamanda geç işaretler oluşturur ve hamleleri kaçırır; tüm filtreler, kayıp bir sonuçtan hemen önce aynı fikirde olabilir. Gerçek fonları riske atmadan önce Pratik bakiyede test edin.
Kaynak kodunu tamamlayın
İndirilen dosya ve bu önizleme aynı incelenen dosyaya işaret etmektedir. SHA-256: e2bdb8391ebe6ab801e38f04d5129209e3586d5a4aa70d73ecbcfbb6c66011ce
-- SPDX-License-Identifier: MIT
-- IQOptionWiki QCS Library
-- IQ_WIKI_SCRIP_V1.0.1
--
-- A chart-timeframe confluence indicator built from five readable filters:
-- 1. EMA trend alignment and slope
-- 2. RSI momentum confirmation without chasing extremes
-- 3. ADX/DMI directional strength
-- 4. ATR activity compared with its recent baseline
-- 5. Candle direction plus an ATR extension guard
--
-- LONG and SHORT markers use the previous completed candle. They appear after
-- the next candle begins and are shifted back one bar onto the candle that
-- qualified. This avoids making a marker depend on an unfinished candle.
--
-- This indicator does not place trades, choose an expiry, predict outcomes, or
-- guarantee results. Review the settings and test on a Practice balance first.
instrument {
name = "IQ_WIKI_SCRIP_V1.0.1",
short_name = "IQ WIKI PRO",
icon = "indicators:ADX",
overlay = true
}
input_group {
"1. Trend engine",
fast_period = input (9, "Fast EMA period", input.integer, 2, 100),
slow_period = input (21, "Slow EMA period", input.integer, 3, 250),
anchor_period = input (50, "Trend anchor EMA period", input.integer, 5, 500)
}
input_group {
"2. Momentum filter",
rsi_period = input (14, "RSI period", input.integer, 2, 100),
momentum_level = input (52, "RSI confirmation level", input.double, 51, 64, 1, false),
momentum_cap = input (68, "RSI extreme guard", input.double, 65, 85, 1, false)
}
input_group {
"3. Strength filter",
strength_period = input (14, "ADX and DMI period", input.integer, 2, 100),
strength_threshold = input (20, "Minimum ADX strength", input.double, 1, 60, 1, false)
}
input_group {
"4. Volatility filter",
atr_period = input (14, "ATR period", input.integer, 2, 100),
volatility_baseline_period = input (20, "ATR baseline EMA period", input.integer, 2, 200),
minimum_volatility_percent = input (85, "Minimum volatility vs baseline (%)", input.double, 10, 300, 5, false)
}
input_group {
"5. Price quality filter",
maximum_extension_atr = input (1.25, "Maximum close-to-fast-EMA distance (ATR)", input.double, 0.10, 5.00, 0.05, false)
}
input_group {
"Display",
trend_lines_visible = input { default = true, type = input.plot_visibility },
anchor_visible = input { default = true, type = input.plot_visibility },
ribbon_visible = input { default = true, type = input.plot_visibility },
volatility_guide_visible = input { default = false, type = input.plot_visibility },
signals_visible = input { default = true, type = input.plot_visibility }
}
input_group {
"Trend colors",
fast_color = input { default = "#56CEFF", type = input.color },
slow_color = input { default = "#FFB15A", type = input.color },
anchor_color = input { default = rgba(255, 255, 255, 0.48), type = input.color },
trend_line_width = input { default = 2, type = input.line_width },
anchor_line_width = input { default = 1, type = input.line_width }
}
input_group {
"Ribbon colors",
bullish_ribbon_color = input { default = rgba(37, 225, 84, 0.14), type = input.color },
bearish_ribbon_color = input { default = rgba(255, 108, 88, 0.14), type = input.color },
neutral_ribbon_color = input { default = rgba(255, 255, 255, 0.05), type = input.color }
}
input_group {
"Signal colors",
long_signal_color = input { default = "#25E154", type = input.color },
short_signal_color = input { default = "#FF6C58", type = input.color },
signal_text_color = input { default = "#FFFFFF", type = input.color }
}
input_group {
"Optional volatility guide",
volatility_guide_atr = input (1.50, "Guide distance (ATR)", input.double, 0.10, 10.00, 0.10, false),
volatility_guide_color = input { default = rgba(181, 140, 255, 0.28), type = input.color },
volatility_guide_width = input { default = 1, type = input.line_width }
}
-- Trend engine
fast_ema = ema (close, fast_period)
slow_ema = ema (close, slow_period)
anchor_ema = ema (close, anchor_period)
-- RSI momentum filter using the documented built-in.
rsi_value = rsi (close, rsi_period)
-- ADX/DMI strength filter.
up_move = change (high)
down_move = -change (low)
positive_dm = iff (up_move > down_move and nz (up_move) > 0, up_move, 0)
negative_dm = iff (down_move > up_move and nz (down_move) > 0, down_move, 0)
directional_atr = rma (tr, strength_period)
directional_atr_safe = max (directional_atr, 0.0000000001)
positive_di = 100 * rma (positive_dm / directional_atr_safe, strength_period)
negative_di = 100 * rma (negative_dm / directional_atr_safe, strength_period)
dmi_sum_safe = max (positive_di + negative_di, 0.0000000001)
adx_value = 100 * rma (abs (positive_di - negative_di) / dmi_sum_safe, strength_period)
-- ATR activity filter and optional visual guide.
atr_value = rma (tr, atr_period)
atr_baseline = ema (atr_value, volatility_baseline_period)
volatility_guide_upper = slow_ema + atr_value * volatility_guide_atr
volatility_guide_lower = slow_ema - atr_value * volatility_guide_atr
-- Read current scalar values explicitly before using them in Lua conditions.
local close_now = get_value (close, 0)
local open_now = get_value (open, 0)
local fast_now = get_value (fast_ema, 0)
local slow_now = get_value (slow_ema, 0)
local slow_previous = get_value (slow_ema [1], 0)
local anchor_now = get_value (anchor_ema, 0)
local anchor_previous = get_value (anchor_ema [1], 0)
local rsi_now = get_value (rsi_value, 50)
local positive_di_now = get_value (positive_di, 0)
local negative_di_now = get_value (negative_di, 0)
local adx_now = get_value (adx_value, 0)
local atr_now = get_value (atr_value, 0)
local atr_baseline_now = get_value (atr_baseline, 0)
local warmup_anchor = get_value (anchor_ema [anchor_period], 0)
local warmup_strength = get_value (adx_value [strength_period], -1)
local warmup_volatility = get_value (atr_baseline [volatility_baseline_period], 0)
local periods_are_valid =
fast_period < slow_period and
slow_period < anchor_period and
momentum_level > 50 and
momentum_cap > momentum_level
local data_is_ready =
periods_are_valid and
close_now > 0 and
fast_now > 0 and
slow_now > 0 and
anchor_now > 0 and
atr_now > 0 and
atr_baseline_now > 0 and
warmup_anchor > 0 and
warmup_strength >= 0 and
warmup_volatility > 0
local bullish_trend =
fast_now > slow_now and
slow_now > anchor_now and
slow_now > slow_previous and
anchor_now > anchor_previous
local bearish_trend =
fast_now < slow_now and
slow_now < anchor_now and
slow_now < slow_previous and
anchor_now < anchor_previous
local bullish_momentum =
rsi_now >= momentum_level and
rsi_now <= momentum_cap
local bearish_momentum =
rsi_now <= (100 - momentum_level) and
rsi_now >= (100 - momentum_cap)
local bullish_strength =
adx_now >= strength_threshold and
positive_di_now > negative_di_now
local bearish_strength =
adx_now >= strength_threshold and
negative_di_now > positive_di_now
local volatility_is_active =
atr_now >= atr_baseline_now * minimum_volatility_percent / 100
local bullish_price_quality =
close_now > open_now and
close_now > fast_now and
(close_now - fast_now) <= atr_now * maximum_extension_atr
local bearish_price_quality =
close_now < open_now and
close_now < fast_now and
(fast_now - close_now) <= atr_now * maximum_extension_atr
-- conditional() stores each bar's boolean so completed-bar history is usable.
long_setup = conditional (
data_is_ready and
bullish_trend and
bullish_momentum and
bullish_strength and
volatility_is_active and
bullish_price_quality
)
short_setup = conditional (
data_is_ready and
bearish_trend and
bearish_momentum and
bearish_strength and
volatility_is_active and
bearish_price_quality
)
-- Confirm only a new setup on the previous completed candle. Indexed
-- series[boolean] values are converted to Lua booleans before native and/not.
-- Offset -1 places the marker on that candle after the current candle opens.
confirmed_long_setup = conditional (
get_value (long_setup [1], false) and
not get_value (long_setup [2], false)
)
confirmed_short_setup = conditional (
get_value (short_setup [1], false) and
not get_value (short_setup [2], false)
)
-- Clean trend context.
ribbon_color = iff (
fast_ema > slow_ema,
bullish_ribbon_color,
iff (fast_ema < slow_ema, bearish_ribbon_color, neutral_ribbon_color)
)
if ribbon_visible then
fill (fast_ema, slow_ema, "Trend ribbon", ribbon_color)
end
if trend_lines_visible then
plot (fast_ema, "Fast EMA", fast_color, trend_line_width)
plot (slow_ema, "Slow EMA", slow_color, trend_line_width)
end
if anchor_visible then
plot (anchor_ema, "Trend anchor EMA", anchor_color, anchor_line_width)
end
if volatility_guide_visible then
plot (volatility_guide_upper, "Upper ATR guide", volatility_guide_color, volatility_guide_width)
plot (volatility_guide_lower, "Lower ATR guide", volatility_guide_color, volatility_guide_width)
end
if signals_visible then
plot_shape (
confirmed_long_setup,
"Confirmed LONG setup",
shape_style.triangleup,
shape_size.small,
long_signal_color,
shape_location.belowbar,
-1,
"LONG",
signal_text_color
)
plot_shape (
confirmed_short_setup,
"Confirmed SHORT setup",
shape_style.triangledown,
shape_size.small,
short_signal_color,
shape_location.abovebar,
-1,
"SHORT",
signal_text_color
)
end
Daha fazla trend senaryosu
- eğilim
- Fiyat üzerinden
- Orta seviye
Süpertrend EMA 200
Marks Supertrend'in yön değiştirmesi, mum çubuğunun 200 periyotluk EMA'nın aynı tarafında kapanmasıyla gerçekleşir. EMA, Supertrend'in yön değiştirmesi için basit bir uzun vadeli önyargı filtresi görevi görür.
Göstergeler: Süper trend (10, 3) · EMA (200)
- eğilim
- Kendi panelim
- Orta seviye
Trend Yoğunluk Endeksi
Trend Yoğunluk Endeksi'nin güçlü bölgesine girdiği anı işaretler: 80'in üzerinde yukarı yönlü baskı, 20'nin altında ise aşağı yönlü baskı anlamına gelir ve kapanış, 60 dönemlik Basit Hareketli Ortalama'nın (SMA) eşleşen tarafında gerçekleşir. Bu bir trend gücü giriş işaretidir, tersine dönüş işareti değildir.
Göstergeler: Trend Yoğunluk Endeksi (30, SMA 60)
- eğilim
- Fiyat üzerinden
- Orta seviye
VHF EMA Çapraz
Bu filtre yalnızca EMA 9 ve EMA 21 kesişimlerini gösterirken, Dikey Yatay Filtre trend gösteren bir piyasayı rapor eder. Filtre, hareketli ortalama kesişimlerinin genellikle güvenilir olmadığı yatay fiyat hareketleri sırasında meydana gelen kesişimleri ortadan kaldırır.
Göstergeler: Dikey Yatay Filtre (28, 0.35) · EMA (9) · EMA (21)
72 komut dosyasının tamamını tek bir ZIP dosyası olarak indirin. • MIT Lisansı, "olduğu gibi" sağlanır, herhangi bir garanti verilmez. IQOptionWiki, MIT'den bağımsızdır. IQ Option Platform operatörü. Burada yer alan hiçbir şey yatırım tavsiyesi veya sonuç garantisi değildir.