¡Buenas noches! Declarados 2 arrays dinámicos (así parece), así int Compra[];int Venta[]; Y no puedo asignar ningún valor a los elementos del array, las impresoras imprimen cero.
int Buy[];int Sell[];
int start()
{
//----if (!PozyProstavleny){
Price= (Ask+Dist*Point) ; TP_BUY=(Price+TP*Point); SL_BUY= (Price- SL*Point);
Price_SELL= (Bid-Dist*Point) ; TP_SELL=Price_SELL-TP*Point; SL_SELL=Price_SELL+SL*Point;
for(int Raz1=0;Raz1<Raz;Raz1++){Print ("Raz1",Raz1);
Sleep(2000); RefreshRates(); for(int A=25;A>=0;A--){if(IsTradeAllowed())break;if(A==0)
Comment(" эксперту не разрешено торговать или поток для выполнения торговых операций занят "); }
tyccBuy= OrderSend (Symbol( ), OP_BUYSTOP, Lot ,NormalizeDouble(Price, Digits), 5, NormalizeDouble( SL_BUY,Digits),
NormalizeDouble( TP_BUY,Digits), NULL, 450, 0, CLR_NONE);
Buy[Raz1]= tyccBuy;Print ("Buy[Raz1]",Buy[Raz1]," tyccBuy",tyccBuy);
Price= (Price+Dist*Point) ; TP_BUY= (Price+TP*Point); SL_BUY= (Price- SL*Point);
Error=GetLastError();
if (Error!=0){ string errorcomment = "Ошибка открытия ордера байстоп " + " " + Symbol() + " " + ErrorDescript(Error);
Print (errorcomment);}
Sleep(2000); RefreshRates(); for( A=25;A>=0;A--){if(IsTradeAllowed())break;if(A==0)
Comment(" эксперту не разрешено торговать или поток для выполнения торговых операций занят "); }
Sell[Raz1]=OrderSend (Symbol( ), OP_SELLSTOP, Lot ,NormalizeDouble(Price_SELL, Digits), 5,
NormalizeDouble( SL_SELL,Digits), NormalizeDouble( TP_SELL,Digits), NULL, 450, 0, CLR_NONE);
Price_SELL= (Price_SELL -Dist*Point) ;TP_SELL=Price_SELL-TP*Point; SL_SELL=Price_SELL+SL*Point;
Error=GetLastError();if (Error==0)
{errorcomment = "Ошибка открытия ордера селлстоп " + " " + Symbol() + " " + ErrorDescript(Error);
Print (errorcomment);} Print ("for1");PozyProstavleny=1;
}
}
//----
apagados de tiempo
¿Qué es un tiempo muerto? ¡No es fútbol! :)
Hacer en la apertura de la vela. Puedes encontrar muchos ejemplos. Puede empezar con el FAC
¿Qué es un tiempo muerto? ¡No es fútbol! :)
Según tengo entendido, se acabó el tiempo.
no funcionó.
Bueno, si no funcionó... BUENO OBVIAMENTE A<0 TODO EL TIEMPO POR ESO IMPRIMIÓ 6 GIGAS.
Hacer por la apertura de la vela. Hay muchos ejemplos que se pueden encontrar. Puedes empezar con el FAC.
Sí, hagamos la apertura, en lenguaje sencillo si es posible. Estoy cansado...
Sí, vamos a repasar la apertura, en lenguaje sencillo si puedes. Estoy cansado de ser un dolor de cabeza...
No es la mejor opción, pero es el último puesto de la página
Bueno, si no funcionó... BUENO OBVIAMENTE A<0 TODO EL TIEMPO POR ESO IMPRIMIÓ 6 GIGAS.
y <0 es la lectura del indicador.... puede ser constante de 10 a 20 minutos.... luego cambia... como el cruce de medias.
¡Buenas noches! Declarados 2 arrays dinámicos (así parece), así int Compra[];int Venta[]; Y no puedo asignar ningún valor a los elementos del array, las impresoras imprimen cero.
Wearwolf GBPUSD,Diario: Comprar[Raz1]0 tyccBuy9
.........
Wearwolf GBPUSD,Diario: Comprar[0]0 Comprar[1]0 Comprar[2]0 Comprar[3]0
y <0 es la lectura del indicador.... puede ser constante de 10 a 20 minutos.... luego cambia... como el cruce de medias
Bueno, en primer lugar, es bastante realista meter 6 gigas en diez minutos. Resulta que con cada tilde que se imprime, ¿para qué se necesita?
Y en segundo lugar, ¿estás seguro de que cambia?
Tienes que poner algún tipo de semáforo para que se imprima una vez...
en algún lugar como este....