[ARCHIVO] Cualquier pregunta de novato, para no saturar el foro. Profesionales, no pasen de largo. En ninguna parte sin ti - 3. - página 539
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
Estoy escribiendo un EA basado en el indicador QQEA. Así, la idea para el EA es: cuando la línea roja cruza la línea amarilla hacia arriba, una orden de compra debe abrirse, y cuando la línea roja cruza la línea amarilla hacia abajo, una orden de venta debe abrirse. Pero no soy capaz de abrir un solo pedido. Los pedidos se abren siempre que se cumpla la condición. ¡Sí, y sólo se abren órdenes de compra HAYDNT ?!
//
Código EA
Estoy escribiendo un EA basado en el indicador QQEA. Así, la idea para el EA es: cuando la línea roja cruza la línea amarilla hacia arriba, una orden de compra debe abrirse, y cuando la línea roja cruza la línea amarilla hacia abajo, una orden de venta debe abrirse. Pero no soy capaz de abrir un solo pedido. Los pedidos se abren siempre que se cumpla la condición. ¡Sí, y sólo se abren órdenes de compra HAYDNT ?!
//
Código EA
Estoy escribiendo un EA basado en el indicador QQEA. Así, la idea para el EA es: cuando la línea roja cruza la línea amarilla hacia arriba, una orden de compra debe abrirse, y cuando la línea roja cruza la línea amarilla hacia abajo, una orden de venta debe abrirse. Pero no soy capaz de abrir un solo pedido. Los pedidos se abren siempre que se cumpla la condición. Y sólo se abren órdenes de compra.
//
Código EA
Déjame hacerte una pregunta.
¿En qué se basa el tipo de cadena?
chicos EA utiliza dos marcos de tiempo diferentes (30 y 60), dime qué período de poner en el probador, y si el período de prueba en la EA no va a cambiar?
¿Qué significan estas entradas de registro?
2012.01.31 14:34:45 Gestor de memoria: no puede asignar 10436536 bytes de memoria
2012.01.31 14:34:45:45 HistoryBase: no hay suficiente memoria 'EURGBP1' [206996 bares]
? ¿Es posible arreglar si hay algún problema?
Ayuda con las matrices. No funciona como yo quiero.
Hay una matriz de precios p[]. Necesito crear un nuevo array, cuya longitud sea un elemento menos, y se cuente como la diferencia entre dos elementos adyacentes del primer array. Si la diferencia es negativa, multiplique por -1.
hay p [6]={1, 5, 9, 4, 6, 2, 3}
Deberíamos conseguir
p_diff[5] = {-1*(1-5), -1*(5-9), 9-4, -1*(4-6), 6-2, -1*(2-3)} es decir, p_diff[5] = {4, 4, 5, 2, 4, 1}
¿Qué significan estas entradas de registro?
2012.01.31 14:34:45 Gestor de memoria: no puede asignar 10436536 bytes de memoria
2012.01.31 14:34:45:45 HistoryBase: no hay suficiente memoria 'EURGBP1' [206996 bares]
? ¿Es posible arreglar si hay algún problema?
Ayuda con las matrices. No funciona como yo quiero.
Hay una matriz de precios p[]. Necesito crear un nuevo array, cuya longitud sea un elemento menos, y se cuente como la diferencia entre dos elementos adyacentes del primer array. Si la diferencia es negativa, multiplique por -1.
hay p [6]={1, 5, 9, 4, 6, 2, 3}
Deberíamos conseguir
p_diff[5] = {-1*(1-5), -1*(5-9), 9-4, -1*(4-6), 6-2, -1*(2-3)} es decir, p_diff[5] = {4, 4, 5, 2, 4, 1}
La función devuelve el valor absoluto (valor de módulo) del número que se le pasa