Fan sayfamıza katılın
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
- Görüntülemeler:
- 93
- 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
Close_Orders - Pozisyonları kapatmak ve emirleri silmek için evrensel fonksiyon
Kısa açıklama
MetaTrader 5'te 14 ticaret yönetimi görevi için tek bir işlev.
Türe, karlılığa ve sihirli sayıya göre filtreleme ile pozisyonları kapatır ve bekleyen emirleri siler.
Ne yapabilir
Pozisyonlar için (9 seçenek):
-
Tüm pozisyonlar / sadece kârlı / sadece zarar eden pozisyonlar
-
Sadece AL / Sadece SAT
-
Kârlı AL / Kârsız AL
-
Kârlı SAT / Zararına SAT
Bekleyen emirler için (5 seçenek):
-
Bekleyen tüm emirler / sadece Alış Stop / sadece Alış Limit
-
Sadece Satış Durdurma / sadece Satış Limiti
Nasıl kullanılır
// Çağrı Örnekleri: Close_Orders("Position", "All", 0); // Tüm pozisyonlar Close_Orders("Position", "Buy Profit", 123); // Magik 123 ile Kârlı SATIN ALMA Close_Orders("Order", "Buy Stop", 0); // Tüm Alış Durdurma emirleri
Parametreler:
-
p_o : " Pozisyon" veya "Sıra" .
-
type_po : Filtre tipi (yukarıdaki seçeneklere bakın)
-
magicNumber : Büyü (0 = hepsi)
Avantajlar
-
Basitlik - 14 fonksiyon yerine tek çağrı
-
Esneklik - işlemlerin ince filtrelenmesi
-
Güvenlik - döngülerin doğru kullanımı
-
Çok yönlülük - Uzman Danışmanlar, komut dosyaları, göstergeler için
Teknik özellikler
-
sapma = 5 - optimum fiyat toleransı
-
Sondan yineleme - güvenli silme
-
Yerel değişkenler - sorgu yalıtımı
Projeye dahil olma
#include <Close_Orders.mqh> // Kullanıma hazır!
MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/68469
Larry Williams XGBoost Onnx
Larry William'ın yönteminin AI Zaman Serisi XGBoost kullanılarak uyarlanması
WPR for Overbought and Oversold
Overbought and oversold indicators aim to determine where the price may experience a reversal.
Fractal Maturity Oscillator FMO
The FMO indicator is a technical analysis tool that measures "trend age" using fractal cycles. Its purpose is to help traders determine whether a trend is still young (safe to follow) or over-aged (high risk). A Conceptual Synthesis of Psychology, Sociology, and Life Cycles This work presents a deep analysis of human life through a numerical matrix (3, 7, 39, 49), using it as a conceptual lens for understanding psychology, sociology, and developmental cycles. It is not a conventional scientific framework. Rather, it is a synthesized model — integrating esoteric, psychological, and sociological perspectives into a unified cyclical structure. The goal is to organize and interpret human development through layered, interacting cycles.
MASTER-WINNERFX-Asim
Trend based grid Expert Advisor for MetaTrader 5 using EMA and RSI indicators. Dynamic lot size is calculated from account balance with minimum and maximum lot protection. Initial trade opens when price confirms trend direction relative to EMA and RSI levels. Grid orders are added at fixed point distance using controlled multiplier. All trades are managed as a basket and closed at defined profit target or maximum loss level. Includes optional news hour pause and market close filter. No DLL or external services required.
