Cualquier pregunta de novato, para no saturar el foro. Profesionales, no pasen de largo. En ninguna parte sin ti - 6. - página 287
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 esta situación hay que añadir al código. Cree una variable externa, por ejemplo, Appled_Price.
Y cambias todos los PRICE_CLOSE en el código por Appled_Price.
Ah, sí, lo siento, me refería a las nuevas construcciones, y hay un código un poco inusual.
Esa es la cuestión, el código no tiene precio de forma libre, todo está en arrays, simplemente no se puede cambiar, lo he probado (((
Y si funcionara, ¿cómo hacer una selección de una lista desplegable (como en la imagen de mi pregunta)?
Esa es la cuestión, no hay precio libre en el código, no puedes sustituirlo(((
Pruebe aquí
cambie cerrar por abrir. Si empieza a contar por abierto, entonces indaga en esta dirección cómo cambiar este valor. Ahora no puedo ejecutar el terminal beta para mirar a través de su editor.
Cambia el valor aquí de antemano:
Saludos a todos))
Escribí un EA, pero no funciona en todo)))) o no funciona correctamente. he estado hurgando, arreglando muchas cosas, pero sin embargo, el EA no funciona.
aquí se muestra un fragmento del cálculo de las decisiones de trading basadas en el indicador RSI :
//--------------------Данные------------------------------------
El caso es que el EA abre inmediatamente una orden de compra, a pesar del valor del indicador, y no quiere cerrarla. Los objetos como el texto y las flechas no aparecen.
Ayúdame a resolver esto)) solo soy nuevo en esto
Saludos a todos))
Escribí un EA, pero no funciona en todo)))) o no funciona correctamente. he estado hurgando, arreglando muchas cosas, pero sin embargo, el EA no funciona.
aquí se muestra un fragmento del cálculo de las decisiones de trading basadas en el indicador RSI :
//--------------------Данные------------------------------------
El caso es que el EA abre inmediatamente una orden de compra, a pesar del valor del indicador, y no quiere cerrarla. Los objetos como el texto y las flechas no aparecen.
Ayúdame a resolver esto)) solo soy nuevo en esto
Entonces, ¿hay que escribir cada desigualdad por separado en las condiciones? Si se generaliza de alguna manera, se verá como un error? Entonces, ¿por qué el programa dice que no hay errores al compilar?
Entonces, ¿hay que escribir cada desigualdad por separado en las condiciones? Si se generaliza de alguna manera, se percibirá como un error? Entonces, ¿por qué el programa dice que no hay error al compilar?
No hay ningún error, simplemente no se obtiene el resultado esperado.
...¿Cómo se busca la causa en una situación como ésta?
Lo encontré por casualidad. Hay que simplificar las cosas. Comentar todo, descomentar la primera importación, compilar, llamar a las funciones, etc.
No tiene sentido cambiar Cerrar por Abrir, habrá poco cambio. Es más fácil no molestarse con esas tonterías, sino tomar los datos de la barra formada.
No hay ningún error, simplemente no se obtiene el resultado que se esperaba.
Me di cuenta)) una orden se abrió inmediatamente sin más cambios, porque tuve que escribir NULL en lugar de Symbol() en la línea:
Tienes que escribir NULL en lugar de Symbol(), porque hay una discrepancia en los tipos de variables. Debido a esto, vi RSI como un valor nulo, así que inmediatamente lo abrí, porque la condición funcionó.
Ahora lo he arreglado y todo está bien.
El único problema es que los objetos sólo se crean una vez en la primera operación.