iqow-stochastic-psar.lua 5 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.
- Tersine çevirme
- Fiyat üzerinden
- Başlangıç seviyesi
Stokastik %K/%D kesişimini işaretler; bu kesişim aşırı alım veya aşırı satım bölgesinde başlar ve Parabolik SAR noktası fiyatın eşleşen tarafında bulunur. Stokastik zamanlamayı gösterirken, SAR takip eden stop loss'un buna uygun olup olmadığını kontrol eder.
Kurallar
DAHA YÜKSEK işaretleyici
Önceki mumda %K değeri 20 veya altında iken, Stokastik %K göstergesi %D'nin üzerine çıktı ve Parabolik SAR noktası kapanış fiyatının altında kaldı.
ALT işaretleyici
Önceki mumda %K 80 veya üzerinde iken, Stokastik %K göstergesi %D'nin altına geçiyor ve Parabolik SAR noktası kapanış fiyatının üzerinde bulunuyor.
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?
Noktalar, Parabolik SAR'ı temsil eder. Mumun altında bulunan yeşil YÜKSEK üçgen, Stokastik göstergesinin aşırı satım bölgesinden yukarı doğru geçtiğini, SAR noktalarının ise fiyatın altında olduğunu gösterir; mumun üstünde bulunan kırmızı DÜŞÜK üçgen ise bunun tam tersini gösterir. Stokastik göstergesi fiyat grafiğine çizilmez.
Kullanılan göstergeler
- Stokastik (14, 3, 3)
- Parabolik SAR (0.02, 0.2)
Aynı görünüm, dahili göstergelerle birlikte: Ekle IQ Option'nin Stokastik Osilatörü (14, 3, 3, seviyeler 80/20) ve Parabolik SAR (0.02, 0.2).
Varsayılan ayarlar
| Stokastik %K | 14 |
|---|---|
| Stokastik düzeltme | 3 |
| Stokastik %D | 3 |
| aşırı satım | 20 |
| Aşırı | 80 |
| SAR başlat | 0.02 |
| SAR adımı | 0.02 |
| Maksimum SAR | 0.2 |
Her değer, komut dosyası ayarlarındaki bir girdidir. Platform önerisi varsayılan olarak kapalıdır.
Kilit noktaları
- Stokastik göstergesinin %K ve %D olmak üzere iki çizgisi vardır ve 0 ile 100 arasında hareket eder.
- 20'nin altı aşırı satım, 80'in üstü ise aşırı alım bölgesidir.
- Bu bölgelerden birinde kaldıktan sonra %K'nın %D'yi geçmesini istiyoruz.
- Parabolik SAR noktaları yönü desteklemelidir: fiyatın altında olması YÜKSELİŞ, fiyatın üstünde olması DÜŞÜŞ anlamına gelir.
- Her iki sinyal de aynı tamamlanmış mum üzerinde görünmelidir ve işaretleyici bir mum sonra çizilir.
- Bir deneme terazisi üzerinde test edin ve SAR zamanlamasının işaret sayısını nasıl değiştirdiğini gözlemleyin.
Sınırlamalar. Makale, Stokastik kesişimi ve SAR'ı bir kombinasyon olarak tanımlıyor ancak kesin bir aşırı satım veya aşırı alım kuralı vermiyor, bu nedenle 20 ve 80 değerleri kullanılıyor. SAR noktasının zaten fiyatın diğer tarafında olması gerektiğinden, işaret geç gelebilir ve güçlü trendlerde Stokastik uzun süre kendi bölgesinde kalır. Stokastik şu şekilde hesaplanır: IQ OptionDahili sürüm: %K döneminin en yüksek ve en düşük dip değerlerine göre kapanış fiyatı. Gerçek fonları riske atmadan önce Uygulama bakiyesinde test edin.
Kaynak kodunu tamamlayın
İndirilen dosya ve bu önizleme aynı incelenen dosyaya işaret etmektedir. SHA-256: 9e1fc0313703da65a906120625502510238a3c78495a11f3612f45d838befb0d
-- SPDX-License-Identifier: MIT
-- IQOptionWiki QCS Library
-- IQOW Stochastic PSAR v1.0.1
--
-- Combines the Stochastic oscillator (14, 3, 3) with the Parabolic SAR, as in
-- the related article. The Stochastic cross out of an extreme zone gives the
-- timing; the SAR confirms that its dots are on the matching side of price.
--
-- The Stochastic follows IQ Option's built-in Stochastic Oscillator: the close
-- against the highest high and the lowest low of the %K period. Version 1.0.1
-- (9 October 2026) changed this from the highest and lowest close; the inputs,
-- periods and levels are unchanged.
--
-- HIGHER: %K crosses above %D after %K was at or below 20 on the previous
-- candle, and the Parabolic SAR dot is below the close.
-- LOWER: %K crosses below %D after %K was at or above 80 on the previous
-- candle, and the Parabolic SAR dot is above the close.
--
-- 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 Stochastic PSAR",
short_name = "IQOW STO PSAR",
overlay = true
}
input_group {
"1. Parabolic SAR",
sar_start = input (0.02, "Start", input.double, 0.01, 1, 0.01),
sar_step = input (0.02, "Step", input.double, 0.01, 1, 0.01),
sar_maximum = input (0.2, "Maximum", input.double, 0.01, 1, 0.01)
}
input_group {
"2. Stochastic",
k_period = input (14, "%K period", input.integer, 2, 100),
k_smoothing = input (3, "%K smoothing", input.integer, 1, 20),
d_period = input (3, "%D period", input.integer, 1, 20),
oversold_level = input (20, "Oversold level", input.double, 1, 45, 1, false),
overbought_level = input (80, "Overbought level", input.double, 55, 99, 1, false)
}
input_group {
"Display and advice",
sar_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",
sar_color = input { default = "#56CEFF", type = input.color },
sar_width = input { default = 2, 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 }
}
psar = sar (sar_start, sar_step, sar_maximum)
-- Stochastic as IQ Option's built-in oscillator draws it: the close against the
-- highest high and lowest low of the %K period (not the highest and lowest
-- close), 50 when that range is zero. %K is that value smoothed with an SMA and
-- multiplied by 100; %D is an SMA of %K.
stoch_low = lowest (low, k_period)
stoch_range = highest (high, k_period) - stoch_low
stoch_raw = iff (stoch_range > 0, (close - stoch_low) / stoch_range, stoch_range + 0.5)
stoch_k = sma (stoch_raw, k_smoothing) * 100
stoch_d = sma (stoch_k, d_period)
local sar_now = get_value (psar, nil)
local k_now = get_value (stoch_k, nil)
local d_now = get_value (stoch_d, nil)
local k_previous = get_value (stoch_k [1], nil)
local d_previous = get_value (stoch_d [1], nil)
local close_now = get_value (close, nil)
local levels_are_valid = oversold_level < 50 and overbought_level > 50
local data_is_ready =
levels_are_valid and
sar_now ~= nil and
k_now ~= nil and
d_now ~= nil and
k_previous ~= nil and
d_previous ~= nil and
close_now ~= nil
-- Event: %K crosses %D on this candle, starting from the extreme zone.
local cross_up_from_oversold =
data_is_ready and k_previous <= d_previous and k_now > d_now and k_previous <= oversold_level
local cross_down_from_overbought =
data_is_ready and k_previous >= d_previous and k_now < d_now and k_previous >= overbought_level
higher_setup = conditional (cross_up_from_oversold and sar_now < close_now)
lower_setup = conditional (cross_down_from_overbought and sar_now > close_now)
-- 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 sar_visible then
plot (psar, "Parabolic SAR", sar_color, sar_width, 0, style.points)
end
if signals_visible then
plot_shape (
confirmed_higher,
"STO PSAR HIGHER",
shape_style.triangleup,
shape_size.small,
higher_color,
shape_location.belowbar,
-1,
"HIGHER",
signal_text_color
)
plot_shape (
confirmed_lower,
"STO PSAR 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
Daha fazla geri alma komut dosyası
- Tersine çevirme
- Fiyat üzerinden
- Başlangıç seviyesi
Donchian RSI Tersine Dönüşü
Bu gösterge, fiyatın aynı hareket sırasında ilgili Donchian bandına dokunduktan sonra RSI'ın aşırı satım veya aşırı alım bölgesini terk ettiği anı işaretler. Kanal, fiyatın nerede gerildiğini gösterirken, RSI momentumun ne zaman değişmeye başladığını gösterir.
Göstergeler: Donchian Kanalı (20) · RSI (14, 30/70)
- Tersine çevirme
- Kendi panelim
- Orta seviye
Çift Stokastik
Yavaş Stokastik göstergesinin, hızlı Stokastik göstergesinin aynı aşırı satım veya aşırı alım bölgesinde zaten gösterdiği bir tersine dönüş kesişimini doğruladığı mum çubuğunu işaretler. İki ayar kullanmak, bir işaretleyici görünmeden önce aynı soruyu iki zaman ölçeğinde sorar.
Göstergeler: Stokastik hızlı (8, 3, 5) · Stokastik yavaş (17, 3, 7)
- Tersine çevirme
- Fiyat üzerinden
- Başlangıç seviyesi
Zarf RSI
Zarf çizgilerinden bir sıçramayı işaret eder: bir mum dış çizgiye ulaşır, tekrar içeri doğru kapanır ve RSI fiyatın gerildiğini doğrular. İlgili makaledeki 'yanlardan sıçrama' yöntemini izler.
Göstergeler: Hareketli Ortalama Zarfları (SMA 20, sapma 1) · RSI (14, 35/65)
74 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.