Preguntas de los principiantes MQL5 MT5 MetaTrader 5 - página 893
Está perdiendo oportunidades comerciales:
- Aplicaciones de trading gratuitas
- 8 000+ señales para copiar
- Noticias económicas para analizar los mercados financieros
Registro
Entrada
Usted acepta la política del sitio web y las condiciones de uso
Si no tiene cuenta de usuario, regístrese
En este caso, el penúltimo parámetro aparece cuando se selecciona el módulo de señales y se previsualizan los parámetros, pero el último no (no hay errores, ni tampoco advertencias de compilación).
Nada está claro. Intente resaltar el texto con la herramienta "Color".
De lo contrario, no sabrás cuál es el "penúltimo parámetro" y cuál es el "último".
Resaltar una línea que no se dispara.
La solución es la siguiente: en el módulo de señales
En el Asesor Experto que fue generado por el Asistente MQL5:
El resultado final:
¿No se puede especificar el parámetro de entrada mediante un enum en la descripción del módulo de señal?
¿Es difícil pulsar el botón "Responder"? ¿Para dejar claro a quién te diriges y qué pregunta haces?
Así que si los posts son uno tras otro y ya está claro que es una respuesta al anterior y usar una cita extra ya es sobrecitar.
Salga del diálogo. Sigue preguntando en el aire, es decir, a nadie.
Salga del diálogo. Sigue preguntando al aire, es decir, a nadie.
¿Entonces no hay respuesta? La pregunta es para todos.
¿No se puede especificar un parámetro de entrada mediante enum directamente en la descripción del módulo de señal?
¿Podría decirme dónde encontrar un ejemplo?
Donde en el módulo de señal parainsertar el código del parámetro de entrada como una enumeración, para que luego pueda ser especificado en el descriptor de ese módulo.
enum ENUM_AVAILABLE_POSITIONS { LONG_POSITION, SHORT_POSITION, BOTH_POSITION };