Preguntas de los principiantes MQL5 MT5 MetaTrader 5 - página 1117
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
¡Buenos días a todos!
Aquí está parte del código del script para Metatrader5:
Tienes preguntas:
1. Se supone que el script debe establecer órdenes limitadas pendientes a una determinada distancia de la oferta y la demanda, o bien órdenes stop. Las órdenes pendientes de límite se fijan sin problemas pero las de stop no. Por favor, ayúdenme a averiguar por qué no se establecen las órdenes pendientes de Buy Stop y Sell Stop.
2. ¿Hay alguna posibilidad de probar el script cuando el mercado está cerrado (por ejemplo, los fines de semana)?
Sinceramente, Vladimir.Referencia:Principios generales - Operaciones comerciales
- estado actual del mercado
- previsión
- precio actual
- precio del pedido
- precio al que se colocará la orden pendiente
- crecimiento previsto
- disminución prevista
Su error está en la formación del precio de salida:
Recomiendo hacer un precio inicial separado para las órdenes pendientes de Stop y Límite.
Foro sobre comercio, sistemas de comercio automatizados y pruebas de estrategia
FAQ de principiantes MQL5 MT5 MetaTrader 5
Vladimir Karputov, 2019.08.31 08:16
Y su error está en la formación del precio de salida:
Recomiendo hacer el precio de salida por separado para las órdenes pendientes de Stop y por separado para las de Límite.
Gracias, Vladimir, por el consejo.
¿Qué opinas de la posibilidad de probar el script cuando el mercado está cerrado (por ejemplo, los fines de semana)?
Sinceramente, Vladimir.
¿Qué opinas de la posibilidad de probar el script cuando el mercado está cerrado (por ejemplo, los fines de semana)?
Se elimina la pregunta, ya que la respuesta parece haberse dado en otro hilo.
Respetuosamente, Vladimir.
Pregunta retirada ya que la respuesta parece haberse dado en otro hilo.
Respetuosamente, Vladimir.
Así que has repartido una pregunta por todo el foro... Tú eres el que está confundido.
Gracias, Vladimir, por el consejo.
¿Qué opinas de la posibilidad de probar el script cuando el mercado está cerrado (por ejemplo, los fines de semana)?
Respetuosamente, Vladimir.
Gracias, Vladimir, por el consejo.
¿Qué opinas de la posibilidad de probar el script cuando el mercado está cerrado (por ejemplo, los fines de semana)?
Respetuosamente, Vladimir.
Así es como se verá el Asesor Experto:
Vladimir Karputov, 2019.08.31 13:20
Este es el aspecto de un experto:
¡Genial!
Gracias, Vladimir, me has ayudado, o habría sufrido hasta el lunes.
Saludos, Vladimir.
¡Genial!
Gracias, Vladimir, me has ayudado, o habría tenido que sufrir hasta el lunes.
Saludos cordiales, Vladimir.
De nada.
Observe la variable m_first_start declarada en el nivel global del programa
al final de OnTick, a esta variable se le asignará el valor "true"
y el EA dejará de colocar órdenes pendientes hasta su próximo reinicio
Foro sobre comercio, sistemas de comercio automatizados y pruebas de estrategia
FAQ de principiantes MQL5 MT5 MetaTrader 5
Vladimir Karputov, 2019.08.31 14:38
Por favor.
Observe la variable m_first_start declarada a nivel global del programa
Sí, Vladimir, me di cuenta de inmediato que el EA funciona como un script cuando se prueba. Gracias una vez más.
Sinceramente, Vladimir.
¿Por qué no funciona la salida de la vela?