Mira cómo descargar robots gratis
¡Búscanos en Facebook!
Pon "Me gusta" y sigue las noticias
¿Es interesante este script?
Deje un enlace a él, ¡qué los demás también lo valoren!
¿Le ha gustado el script?
Evalúe su trabajo en el terminal MetaTrader 5
Asesores Expertos

Code for counting open orders by Order Type individually - Asesor Experto para MetaTrader 4

Visualizaciones:
6327
Ranking:
(7)
Publicado:
2023.01.15 23:39
Actualizado:
2023.06.12 16:20
Count_Orders.mq4 (11.58 KB) ver
¿Necesita un robot o indicador basado en este código? Solicítelo en la bolsa freelance Pasar a la bolsa

It is common for Expert Advisor developers to face the challenge of making the robot capable of opening and administering more than one order at the same time. For that, there needs to be a way to recognize the total open orders running and also each one of them by type.

With that in mind, I decided to share this very simple code. In it, I use the Comment() function as a way to make the order count by the robot visual in real time. The code is extensively explanatory with descriptive notes.

I hope it is useful.

---------

Below, a video of the Expert Advisor running:


    AK-47 Scalper EA AK-47 Scalper EA

    AK-47 Scalper EA is fully automated. It uses the strategy of entering the sell Stop order continuously and will modifythe order when the price is opposite to the pending order.

    XP Forex Trade Manager MT4 XP Forex Trade Manager MT4

    Forex Trade Manager MT4 simplifies managing open orders in MetaTrader 4.

    Wilder's Average True Range (ATR) Wilder's Average True Range (ATR)

    An implementation of the original Average True Range indicator by John Welles Wilder Jr. as described in his book—New Concepts in Technical Trading Systems [1978].

    Wilder's Relative Strength Index Wilder's Relative Strength Index

    An implementation of the Relative Strength Index indicator by John Welles Wilder Jr. as described in his book—New Concepts in Technical Trading Systems [1978].