Fan sayfamıza katılın
- Görüntülemeler:
- 15
- Derecelendirme:
- Yayınlandı:
- Güncellendi:
-
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
Genel Bakış
Bu gösterge, standart Stokastik Osilatör'e dayalı alım ve satım sinyalleri sağlar. Özellikle aşırı alım ve aşırı satım bölgelerinde meydana gelen kesişimleri izleyerek potansiyel ters dönüş noktalarını belirlemek üzere tasarlanmıştır.
Nasıl Çalışır (Temel Mantık) Gösterge, Stokastik çizgilerini (K ve D) değerlendirir ve katı bölge koşullarına göre kesişimleri doğrular:
-
Alım Sinyali (Mavi Ok): Bir önceki K veya D çizgisi Aşırı Satım seviyesinde (varsayılan 20) veya altında olduğunda ve ardından K çizgisi D çizgisinin üzerine çıktığında tetiklenir.
-
Satış Sinyali (Kırmızı Ok): Bir önceki K veya D çizgisi Aşırı Alım seviyesinde (varsayılan 80) veya üzerinde olduğunda ve ardından K çizgisinin D çizgisinin altına geçtiğinde tetiklenir.
-
Sinyal Filtresi: Gösterge, alternatif bir mantık (anti-streak mekanizması) kullanır. Sürekli trendler sırasında gereksiz okların oluşmasını önlemek için her yönde arka arkaya yalnızca bir sinyal gösterir (yani, bir Al sinyalinin ardından bir Sat sinyali gelmelidir ve bunun tersi de geçerlidir).
-
Uygulama: Tüm sinyaller ve uyarılar kesinlikle kapanış çubukları üzerinden işlenir. Bu, canlı fiyat hareketleri sırasında göstergenin yeniden çizilmemesini veya titrememesini sağlar.
Giriş Parametreleri
-
Stokastik Ayarları: K Dönemi, D Dönemi, Yavaşlatma, MA Yöntemi ve Fiyat Alanı dahil olmak üzere osilatör için standart parametreler.
-
Ters Dönüş Sınırları: Aşırı Satım (varsayılan 20,0) ve Aşırı Alım (varsayılan 80,0) bölgeleri için ayarlanabilir seviyeler.
-
Uyarı Ayarları: Açılır pencere uyarılarını etkinleştirme veya devre dışı bırakma seçeneği. Uyarılar, mum kapandığında sinyal başına bir kez tetiklenir.
Kullanım Notu Bu bir momentum tersine dönüş aracı olduğundan, tek başına bir strateji olarak kullanmak yerine, daha yüksek zaman dilimlerinde trend filtreleri, hareketli ortalamalar veya destek/direnç seviyeleri gibi diğer teknik analiz yöntemleriyle birlikte kullanılması önerilir.
MetaQuotes Ltd tarafından İngilizceden çevrilmiştir.
Orijinal kod: https://www.mql5.com/en/code/75859
Contract Sizer: ladder, floor and a breaker that survives a deposit
Three position-sizing protections that do different things; confusing them is why so many accounts get wiped out: - ladder: one contract per X of balance, always applied as a CAP, even with manual lot sizing; - floor: below the minimum capital it does not trade; a new deposit is needed; - breaker: stops at X% below the peak, at any account size, and does not rearm by itself. What this library solves and almost none does: a deposit is not profit, and a withdrawal is not a loss. The breaker measures the drop against the balance peak. Untreated, a deposit made DURING a drawdown lifts balance and peak together, and the protection stops seeing the drop exactly when it would help. Here deposits and withdrawals shift the peak by the same amount. The peak is persisted to a file: a breaker that forgets the peak on a terminal restart is not a breaker. The demo simulates a deposit at the bottom of a drawdown. Run it with the deposit on and off and compare the "drop" column.
Safe Logger: why your log lines vanish while FileOpen keeps returning success
Four EAs writing to the same file, all with FILE_SHARE_READ|FILE_SHARE_WRITE, FileSeek(SEEK_END), FileWrite, FileClose. Looks correct. Every FileOpen returns success. No error in the log. And the lines vanish. Reason: FILE_SHARE_WRITE lets all four open at the same time. All four call FileSeek(SEEK_END) and get THE SAME offset, because none has written yet. All four write at the same position. Whoever closes last wins. Three lines vanish silently. In my case: 12 events expected, 8 in the file. The fix is to open EXCLUSIVELY (no FILE_SHARE_WRITE) and retry while another EA holds the file. And to shout in the log when the retries run out: a log that fails silently is worse than no log at all, because you trust it. The demo script reproduces both modes. To see the loss, drag it onto four charts at the same time with safe mode off and count the lines in the CSV. On a single chart the defect does not show up - which is why it passes in testing and breaks in production.
MT5 Broker bilgilerini tahmin etmek
MT5 için bu EA, işlem yapmayan, ancak broker ve işlem ortamının teknik özelliklerini toplayıp gösteren bir tanılama aracıdır. Kod, 4 ana bloktan oluşmaktadır: Veri Toplama (CollectAll): Hesap bilgileri (kaldıraç, para birimi), sembol bilgileri (haneli sayılar, spread, swap, hacimler, stop seviyeleri), gecikme süresi (ping) ve saat dilimi (Sunucu-UTC farkı) bilgilerini alır. Swap değerini gerçek para biriminde hesaplar. Örnekleme (OnTick): Spread istatistiklerini (minimum, ortalama, maksimum) gerçek zamanlı olarak günceller. Çıktı: Verileri "Uzmanlar" günlüğüne yazdırır, bir CSV dosyasına kaydeder ve grafikteki bir grafik panelinde (UpdatePanel) gösterir. Yardımcı: CalcSwapInCurrency ve çeşitli *ToStr işlevleri, brokerın ham sayısal verilerini okunabilir dizelere dönüştürür.
RiskPilot Pro — Drag-to-Trade Risk Panel with Break-Even, Trailing and a Daily Loss Guard
Drag your stop loss where you actually want it, hit Buy or Sell, and the lot size is already correct — no calculator, no spreadsheet. Handles break-even, trailing, and shuts trading down for the day if you hit your loss limit.
