Rejoignez notre page de fans
- Vues:
- 30
- Note:
- Publié:
- Mise à jour:
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Close_Orders - Fonction universelle permettant de clôturer des positions et de supprimer des ordres
Brève description
Une fonction pour 14 tâches de gestion des transactions dans MetaTrader 5.
Clôture des positions et suppression des ordres en attente avec filtrage par type, rentabilité et nombre magique.
Ce qu'elle peut faire
Pour les positions (9 options) :
-
Toutes les positions / seulement les positions rentables / seulement les positions perdantes
-
Acheter seulement / Vendre seulement
-
ACHETER rentable / ACHETER non rentable
-
VENDRE rentable / VENDRE perdant
Pour les ordres en cours (5 options) :
-
Tous les ordres en attente / seulement Buy Stop / seulement Buy Limit
-
Seulement Sell Stop / seulement Sell Limit
Mode d'emploi
// Exemples d'appels : Close_Orders("Position", "All", 0); // Toutes les positions Close_Orders("Position", "Buy Profit", 123); // Achat rentable avec magik 123 Close_Orders("Order", "Buy Stop", 0); // Tous les ordres d'achat stop
Paramètres :
-
p_o : " Position" ou "Ordre" .
-
type_po : Type de filtre (voir options ci-dessus)
-
magicNumber : Magie (0 = tous)
Avantages
-
Simplicité - un seul appel au lieu de 14 fonctions
-
Flexibilité - filtrage fin des transactions
-
Sécurité - gestion correcte des boucles
-
Polyvalence - pour les Expert Advisors, les scripts, les indicateurs
Caractéristiques techniques
-
écart = 5 - toléranceoptimale des prix
-
Itération à partir de la fin - suppression sûre
-
Variables locales - isolation des requêtes
Inclusion dans le projet
#include <Close_Orders.mqh> // Prêt à l'emploi !
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/68469
ICE (Impulse Confirmation Engine)
ICE Pro v1.0: Momentum Intelligence System. ICE bukan sekadar EA (Expert Advisor) berbasis indikator statis. Ini adalah mesin Adaptive Trading yang menggunakan volatilitas (ATR) dan profil volume sebagai filter utama untuk menyaring mana pergerakan harga yang merupakan "Impuls Sejati" dan mana yang hanya "Market Noise".
Larry Williams XGBoost Onnx
adoption de la méthode de Larry William en utilisant AI Time-Series XGBoost
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.
