Cualquier pregunta de los recién llegados sobre MQL4 y MQL5, ayuda y discusión sobre algoritmos y códigos - página 473
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
Lo diré de otra manera. ¿Cómo se puede determinar el precio máximo en los últimos 10 segundos?
En MT5 - CopyTicks()
En MT4 - guardar los ticks en un array de estructuras MqlTick. A partir de ella, toma los precios máximos y mínimos.
¿Puede decirme cómo hacerlo? Escribí una función de notificación y las notificaciones aparecen cada vez que se hace un clic. La función en sí misma sólo está escrita en int Start. Condiciones del patrón en la M30.
¿Puede decirme cómo hacerlo? Escribí una función de notificación y las notificaciones aparecen cada vez que se hace un clic. La función en sí misma se escribe simplemente en int Start.
@Artyom Trishkin ¡Gracias! ¡Interesante salió ahora está tranquilo en absoluto!
¿Puede decirme cómo hacerlo? Escribí una función de notificación y las notificaciones aparecen cada vez que se hace un clic. La función en sí misma sólo está escrita en int Start. Condiciones del patrón en la M30.
Se declaran variables y se compara inmediatamente con ellas. Por supuesto, siempre se obtiene el mismo resultado.
Es difícil leer el código en un móvil. Debe haber algún otro problema.
Creo que debería haber sido así
datetime BarTime;
@Konstantin Nikitin ¡Hola!! ¡¡¡Lo he arreglado!!! ¡Las señales diarias han subido! ¡Todavía tengo que comprobar los intradía!
Arreglado. Aquí:
@Konstantin Nikitin ¡Hola!! ¡¡Corregido!! ¡Las señales diarias han subido! ¡Todavía tengo que comprobar los intradía!
Arreglado. Aquí:
Llévalo a nivel global. Siempre serán iguales a 0, porque cada vez que se llame a la función, se declarará una nueva.