Angles Ema Probability And Win
- Uzman Danışmanlar
- Muhittin Cuneydioglu
- Sürüm: 2.0
- Güncellendi: 8 Aralık 2023
- Etkinleştirmeler: 5
MetaTrader 5 Algo Trading Robotu
Giriş
- Kod Adı: ema19.mq5
- Copyright: Copyright 2023, MetaQuotes Ltd.
- Link: MetaQuotes Ltd.
- Versiyon: 1.00
Parametre Listesi:
- FastEMAPeriod : Hızlı EMA'nın periyodu.
- SlowEMAPeriod : Yavaş EMA'nın periyodu.
- LotSize : İşlem için lot boyutu.
- MaxAngleDifference : İzin verilen maksimum açı farkı (derece).
- MaxEmaDifference : İzin verilen maksimum EMA farkı (derece).
- HoursBetweenTrades : İşlemler arasındaki saat farkı.
- buySignalEnabled : Alım sinyallerini etkinleştirme.
- sellSignalEnabled : Satım sinyallerini etkinleştirme.
- CheckInterval : TP ve SL kontrol aralığı (dakika).
- TrailingStopDistance : Trailing Stop mesafesi (puan).
- Timeframe : İşlem yapılacak zaman dilimi.
- MaxOpenPositions : Açılacak maksimum pozisyon sayısı.
Strateji
Bu MQL5 kodu, Hızlı ve Yavaş Üssel Hareketli Ortalamaları (EMA) kullanarak bir algoritmik ticaret robotunu uygular.
Strateji Özellikleri
- EMA Periyotları: Hızlı (Fast) ve Yavaş (Slow) EMA periyotları kullanılarak trend analizi.
- Lot Boyutu: İşlem başına belirlenen sabit lot büyüklüğü.
- Maksimum Açı ve EMA Farkları: İşlem giriş koşullarını belirlemek için maksimum açı ve EMA farkları.
- Saat Aralığı: İki işlem arasındaki minimum saat farkı.
- Alım ve Satım Sinyalleri: Alım ve satım sinyallerini etkinleştirme seçenekleri.
- Kar Al ve Zararı Durdur (TP/SL) Kontrol Sıklığı: TP ve SL'nin kontrol edildiği dakika aralığı.
- Trailing Stop: İşlemlerde kullanılan Trailing Stop mesafesi.
Kod Yapısı
-
Başlangıç:
- Gerekli kütüphanelerin tanımlanması.
- Trade sınıfının başlatılması.
-
Harici Giriş Parametreleri:
- Kullanıcı tarafından belirlenen parametrelerin tanımlanması.
-
Ana Fonksiyonlar:
- OnTick() : Her tickte çalışan ana fonksiyon.
- İşlem izni kontrolü.
- EMA ve açı farklarının hesaplanması.
- Alım/satım sinyali oluşturulması ve işlemin gerçekleştirilmesi.
- TP ve SL kontrolünün belirli aralıklarla yapılması.
- CheckTakeProfitAndStopLoss() : TP ve SL kontrol fonksiyonu.
- OnTick() : Her tickte çalışan ana fonksiyon.
-
Zaman Fonksiyonları:
- OnTimer() : İşlem izni kontrolünü belirli aralıklarla sağlayan fonksiyon.
İlerleme Kontrolü
- İşlem izinleri arasındaki minimum saat farkı ile ilgili kontrol sağlanmaktadır.
- TP ve SL, belirli aralıklarla kontrol edilerek güncellenmektedir.
- Trailing Stop ile işlemler korunmaktadır.
Sonuçlar ve İlerlemeler
- Robotun performansını analiz etmek ve geliştirmek için detaylı geri testler yapılabilir.
- Kullanıcıların geri bildirimleri ve önerileri doğrultusunda kod geliştirilmeye açıktır.
- Daha fazla güvenilirlik ve karlılık için strateji parametreleri optimize edilebilir.
Teşekkürler
- MetaQuotes Ltd. ekibine sağladıkları platform ve kaynaklar için teşekkür ederiz.
- Kullanıcı geri bildirimlerine açığız. İletişim için buradan bize ulaşabilirsiniz.
-----------------------------------------------------------------------------------------------------
Meraklısına Daha Geniş Anlatım
Tabii ki, daha geniş bir anlatımla devam edelim:
1. Trend Takibi: Bu ticaret robotu, finansal piyasalarda meydana gelen trend değişimlerini belirleyerek ticaret stratejisini uygular. Hızlı ve yavaş üssel hareketli ortalamaların kesişimlerini kullanarak, piyasadaki potansiyel eğilim değişimlerini yakalamak için tasarlanmıştır. Bu, kullanıcılara piyasadaki güçlü eğilimleri tanıma ve bu eğilimlere dayalı ticaret yapma avantajı sağlar.
2. Esnek Parametrelerle Özelleştirilebilme: Kullanıcılar, ticaret stratejisini kendi tercihlerine göre özelleştirebilirler. Örneğin, hızlı ve yavaş EMA periyotları, işlem büyüklüğü (lot), maksimum açı ve EMA farkı gibi parametreleri ayarlayarak stratejiyi kendi ticaret tarzlarına uygun hale getirebilirler. Bu, kullanıcıların daha kişiselleştirilmiş bir ticaret deneyimi yaşamalarına olanak tanır.
3. Sinyal Kontrolü ve İzin Zamanlayıcısı: Robot, kullanıcılara alım ve satım sinyallerini ayrı ayrı etkinleştirme seçeneği sunar. Bu, kullanıcıların yalnızca belirli piyasa koşullarında işlem yapmasını sağlar. Ayrıca, işlemler arasındaki belirli bir süre geçtikten sonra yeni işlemlere izin veren bir zamanlayıcı içerir. Bu, aşırı ticaret riskini azaltmaya yardımcı olabilir.
4. Trailing Stop Stratejisi: Ticaret stratejisi, takip eden stop-loss stratejisini kullanarak potansiyel karları artırmayı amaçlar. Bu strateji, işlem karı belirli bir mesafe kaydıkça stop-loss seviyesini otomatik olarak günceller. Bu, kullanıcının potansiyel karını koruma ve risk yönetimi yapma yeteneğini artırabilir.
5. Zaman Çerçevesi Seçimi: Kullanıcılar, işlemlerin gerçekleştirileceği zaman dilimini seçme esnekliğine sahiptir. Bu, farklı zaman dilimlerindeki piyasa koşullarına uygun bir ticaret stratejisi oluşturmayı mümkün kılar.
6. Anlık Geri Bildirim ve Hata İletileri: Robot, işlem güncellemeleri ve hata mesajları aracılığıyla kullanıcıya anlık geri bildirim sağlar. Bu, kullanıcının robotun davranışını anlamasına ve gerektiğinde müdahale etmesine yardımcı olur.
Bu ticaret robotu, kullanıcılara trend takibi, esnek parametre ayarları ve anlık geri bildirimle desteklenen bir ticaret stratejisi sunarak, finansal piyasalarda daha bilinçli ve özelleştirilmiş bir ticaret deneyimi yaşama fırsatı tanır.
Satın alırsanız şimdiden tesekkür ederim.