Cualquier pregunta de los recién llegados sobre MQL4 y MQL5, ayuda y discusión sobre algoritmos y códigos - página 1558
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
De nada, pero parece que no he hecho nada...
Aquí
Gracias, y también aAlexey Viktorov.
Intentalo
puede editar la función "Señal para abrir una orden"
Inténtalo,
puede editar la función "Señal para abrir la orden".
Vaya, qué enorme código se ha convertido esto.
Muchas gracias, lo probaré hoy mismo.
Profesionales, un consejo... He hecho un botón en el gráfico.
Intentando que cuando se pulse el botón en lugar de la alerta, se ejecute un script llamado K1, cuando se vuelva a pulsar se borre el script, pero no ha habido suerte. Gracias.
Profesionales, un consejo... He hecho un botón en el gráfico.
Estoy intentando hacer que cuando se pulse el botón en lugar de la alerta, se ejecute un script llamado K1, cuando se vuelva a pulsar se borrará el script, pero falla. Gracias.
Inténtalo,
la función "Señal para abrir la orden" puede editar
He probado los búhos en el probador. todo funciona perfectamente.
pero tengo un par de preguntas:
1. según entendí en las pruebas, los búhos mantienen un registro de la ganancia/pérdida actual de acuerdo a los parámetros que se le especifican, y no hace ninguna diferencia en el número de operaciones para que esto suceda,
Quiero saber si he alcanzado el beneficio/pérdida especificado en una operación o en tres operaciones consecutivas.
2. He puesto al Asesor Experto una reducción de 25$, pero ha fallado con una reducción de 40$ en un lote grande - ¿es normal para un probador? ¿Quizás es imposible ejecutar la prueba a máxima velocidad?
3. ¿es posible hacer que el seguimiento del beneficio/pérdida actual se restablezca después de cada operación, independientemente de la señal con la que se haya cerrado (tp/sl o después de alcanzar un beneficio/pérdida determinado )?
He probado los búhos en el probador. todo funciona perfectamente.
Pero tengo un par de preguntas:
1. según he entendido en las pruebas, el búho rastrea el beneficio/pérdida actual según los parámetros que se le especifican, y no hace ninguna diferencia en el número de operaciones que se produzcan,
Quiero saber si he alcanzado el beneficio/pérdida especificado en una operación o en tres operaciones consecutivas.
2. Le pedí a mi Asesor Experto un drawdown de 25$, pero falló con un drawdown de 40$ en un lote grande - ¿es normal para un probador? ¿Quizás es imposible hacer una prueba a máxima velocidad?
3. ¿es posible hacer que el seguimiento de las ganancias/pérdidas actuales se restablezca después de cerrar cada operación, independientemente de la señal con la que se haya cerrado (tp/sl o después de alcanzar las ganancias/pérdidas especificadas )?
1) A alta velocidad o si no está en ticks en el probador, se cerrará al primer precio disponible.
2)Tienes un aumento de lote en marcha y con un lote grande 1 punto puede ser más que el nivel permitido.
3)No entiendo lo que quieres, ¿qué necesitas para hacer un seguimiento si la puesta a cero después de cada comercio?
¡¡¡Buenas tardes señores programadores!!!
Por favor, ayude a un novato con una función.
La función cuenta el beneficio total por historia.
El problema es que funciona para un corredor y no quiere funcionar para otro.
Funciona en Hercic pero no en RoboForex. Tengo una cuenta ECN en RoboForex.
No sé cuál es el problema. Aquí está el código:
double lastloss()
{
int typ = -1,cnt = 0;
double lastloss = 0;
for(int i = OrdersHistoryTotal()-1; i>=0; i--)
{
if(OrderSelect(i,SELECT_BY_POS,MODE_HISTORY))
{
if(OrderSymbol() == Symbol() && OrderMagicNumber() == Magic)
{
if(cnt == 0) typ = OrderType();
if(cnt > 0 && OrderType()!= typ) break;
lastlos += OrderProfit() + + OrderSwap() + OrderCommission();
cnt++;
}
}
}
return(lastlos);
}