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
Así es como se ven últimamente los mercados. ¡Rangos y picos! Una nueva táctica de Wall Street y los magnates financieros para hacer que los mercados sean imprevisibles. Al menos sabemos que lo que sube tiene que bajar a veces. Debe obedecer a las leyes de las ondas. Todo el universo es impulsado por las ondas por lo que los mercados.
10pts EA vender puntuación de comercio -$2o5 pero va a bajar. Todos los indicadores apuntan ahí.
Hermes
davidke20 seguimos trabajando en el EA de 10pts y tratando de mejorarlo, o perfeccionarlo, o cosmético. ¿Por qué cambiar el hilo? ¿Nos hemos dado contra la pared con ese tema? Hermes
No he dicho que esté mal trabajar en 10p3. Yo estaba diciendo, haciendo un sistema que se doble "arriba" en lugar de doble "abajo" no es 10p3 más, también podría llamar a un nuevo hilo
Recientemente solo he conseguido empezar a salvar mi disco duro mal sectorizado, empezar a desenterrar cientos y cientos de EAs e Indicadores de múltiples plataformas de trading. 10point3 variante, que sólo tengo como 20 versiones Además, he estado parado la codificación de varios años, ahora estoy muy perezoso y tener problemas para ponerse al día cuando se mira en los códigos
hay alguna persona que me de este EA con elegir la dirección de compra/venta. solo quiero dar la dirección de compra/venta en este EA. por favor alguien que me ayude
hay alguna persona que me de este EA con la elección de la dirección de compra/venta. solo quiero dar la dirección de compra/venta en este EA. por favor alguien que me ayude
Hola Shakilboss,
Cuando usted hace clic por primera vez en el Ea. para instalarlo en su gráfico, cuando se abre, haga clic en la pestaña común, en el extremo izquierdo, hay una pestaña desplegable que dice Largo y Corto, haga clic en eso, y en el desplegable será Largo y Corto, Largo o Corto.Elija el que desee y el Ea. negociará esa dirección sólo después de que los indicadores en el Ea. estén de acuerdo con esa dirección.
¡Seguro que ahora operar en largo sería gratificante! EA está abajo -$520 pero no es gran cosa todavía, una vez estuve abajo con FX Hacked más de $1,500 y me recuperé (terminé con +$7). ¡Recientemente he leído que Jesse Livermore terminó su vida con el suicidio! ¡Tengan cuidado cuando empiecen a hacer grandes bichos! Puedes aburrirte con tanto dinero y eso es el fin del placer. El placer se mantendrá si tienes una joven contable. Ella se encargará de la sobrecarga de tu patrimonio.
Que tengas un buen fin de semana de recuperación
Hermes
P.S. la otra posibilidad de controlar la dirección de las operaciones es ir a Expert Adviser en la primera página marcar la casilla "pedir confirmación manual" en permitir el comercio en vivo, pero es molesto porque le molestará para la confirmación todo el tiempo.
ayuda por favor
en el EA 10 puntos 3sólo se abren posiciones cortas(((
código:
extern double TakeProfit = 40;
extern double Lotes = 1;
extern double InitialStop = 0;
extern double TrailingStop = 20;
extern int MaxTrades=10;
extern int Pips=15;
extern int SecureProfit=10;
extern int AccountProtection=1;
extern int OrderstoProtect=3;
extern int ReverseCondition=0;
extern double fSiPipValue=10;
extern double EURUSDPipValue=10;
extern double GBPUSDPipValue=10;
extern double USDCHFPipValue=10;
extern double USDJPYPipValue=9,715;
extern int StartYear=2005;
extern int StartMonth=1;
extern int AñoFinal=2006;
extern int FinMes=12;
extern int FinHora=22;
extern int FinMinuto=30;
extern int mm=0;
extern int risk=12;
extern int CuentaNormal=0;
int OpenOrders=0, cnt=0;
int deslizamiento=5;
double sl=0, tp=0;
double BuyPrice=0, SellPrice=0;
double lotsi=0, mylotsi=0;
int mode=0, myOrderType=0;
bool ContinueOpening=True;
double LastPrice=0;
int PreviousOpenOrders=0;
double Profit=0;
int LastTicket=0, LastType=0;
double LastClosePrice=0, LastLots=0;
double Pivot=0;
double PipValue=0;
string text="", text2="";
//+------------------------------------------------------------------+
//| función de inicialización de expertos ||.
//+------------------------------------------------------------------+
int init()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| función de desinicialización experta ||
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| función de inicio experto ||
//+------------------------------------------------------------------+
int inicio()
{
//----
if (AccountisNormal==1)
{
if (mm!=0) { lotsi=MathCeil(AccountBalance()*risk/10000); }
else { lotsi=Lotes; }
} else { // then is mini
if (mm!=0) { lotsi=MathCeil(AccountBalance()*risk/10000)/10; }
else { lotsi=Lotes; }
}
if (lotsi>100){ lotsi=100; }
OpenOrders=0;
for(cnt=0;cnt<OrdersTotal();cnt++)
{
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol()==Symbol())
{
OpenOrders++;
}
}
if (OpenOrders<1)
{
if (TimeYear(CurTime())<StartYear) { return(0); }
if (TimeMonth(CurTime())<StartMonth) { return(0); }
if (TimeYear(CurTime())>EndYear) { return(0); }
if (TimeMonth(CurTime())>EndMonth ) { return(0); }
}
if (Symbol()=="fSi") { PipValue=fSiPipValue; }
if (Symbol()=="EURUSD") { PipValue=EURUSDPipValue; }
if (Symbol()=="GBPUSD") { PipValue=GBPUSDPipValue; }
if (Symbol()=="USDJPY") { PipValue=USDJPYPipValue; }
if (Symbol()=="USDCHF") { PipValue=USDCHFPipValue; }
if (PipValue==0) { PipValue=5; }
if (PreviousOpenOrders>OpenOrders)
{
for(cnt=TotalOrdenes();cnt>=0;cnt--)
{
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
mode=Tipo de orden();
if (OrderSymbol()==Symbol())
{
if (mode==OP_BUY) { OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),slippage,Blue); }
if (mode==OP_SELL) { OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),slippage,Red); }
return(0);
}
}
}
PreviousOpenOrders=OpenOrders;
if (OpenOrders>=MaxTrades)
{
ContinueOpening=False;
} else {
ContinueOpening=True;
}
if (LastPrice==0)
{
for(cnt=0;cnt<OrdersTotal();cnt++)
{
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
mode=Tipo de orden();
if (OrderSymbol()==Symbol())
{
LastPrice=OrderOpenPrice();
if (mode==OP_BUY) { myOrderType=2; }
if (mode==OP_SELL) { myOrderType=1; }
}
}
}
if (OpenOrders<1)
{
myOrderType=3;
//si (iMACD(14,26,9,MODE_MAIN,0)>0 y iMACD(14,26,9,MODE_MAIN,0)>iMACD(14,26,9,MODE_MAIN,1)) entonces OrderType=2;
if (iMACD(NULL,0,14,26,9,PRICE_CLOSE,MODE_MAIN,0)>iMACD(NULL,0,14,26,9,PRICE_CLOSE,MODE_MAIN,1)) { myOrderType=2; }
//si (iMACD(14,26,9,MODE_MAIN,0)<0 y iMACD(14,26,9,MODE_MAIN,0)<iMACD(14,26,9,MODE_MAIN,1)) entonces OrderType=1;
if (iMACD(NULL,0,14,26,9,PRICE_CLOSE,MODE_MAIN,0)<iMACD(NULL,0,14,26,9,PRICE_CLOSE,MODE_MAIN,1)) { myOrderType=1; }
if (ReverseCondition==1)
{
if (myOrderType==1) { myOrderType=2; }
else { if (myOrderType==2) { myOrderType=1; } }
}
}
// si tenemos posiciones abiertas nos ocupamos de ellas
for(cnt=OrdersTotal();cnt>=0;cnt--)
{
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol() == Symbol())
{
if (OrderType()==OP_SELL)
{
si (TrailingStop>0){
if (OrderOpenPrice()-Ask>=(TrailingStop+Pips)*Point)
{
if (OrderStopLoss()>(Ask+Point*TrailingStop))
{
OrderModify(OrderTicket(),OrderOpenPrice(),Ask+Point*TrailingStop,OrderClosePrice()-TakeProfit*Point-TrailingStop*Point,800,Purple);
return(0);
}
}
}
}
if (OrderType()==OP_BUY)
{
si (TrailingStop>0){
if (Bid-OrderOpenPrice()>=(TrailingStop+Pips)*Point)
{
if (OrderStopLoss()<(Bid-Point*TrailingStop))
{
OrderModify(OrderTicket(),OrderOpenPrice(),Bid-Point*TrailingStop,OrderClosePrice()+TakeProfit*Point+TrailingStop*Point,800,Yellow);
return(0);
}
}
}
}
}
}
Profit=0;
LastTicket=0;
LastType=0;
LastClosePrice=0;
LastLots=0;
for(cnt=0;cnt<OrdersTotal();cnt++)
{
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol()==Symbol())
{
LastTicket=OrderTicket();
if (OrderType()==OP_BUY) { LastType=OP_BUY; }
if (OrderType()==OP_SELL) { LastType=OP_SELL; }
LastClosePrice=OrderClosePrice();
LastLots=OrderLots();
si (LastType==OP_BUY)
{
/Beneficio=Beneficio+(Ord(cnt,VAL_CLOSEPRICE)-Ord(cnt,VAL_OPENPRICE))*PipValue*Ord(cnt,VAL_LOTS);
if (OrderClosePrice()<OrderOpenPrice())
{ Beneficio=Beneficio-(Precio de apertura de la orden()-Precio de cierre de la orden())*Lotes de la orden()/Punto; }
if (OrderClosePrice()>OrderOpenPrice())
{ Beneficio=Beneficio+(Precio de cierre de la orden()-Precio de apertura de la orden())*Lotes de la orden()/Punto; }
}
if (LastType==OP_SELL)
{
/Beneficio=Beneficio+(Ord(cnt,VAL_OPENPRICE)-Ord(cnt,VAL_CLOSEPRICE))*PipValue*Ord(cnt,VAL_LOTS);
si (OrderClosePrice()>OrderOpenPrice())
{ Beneficio=Beneficio-(Precio de cierre de la orden()-Precio de apertura de la orden())*Lotes de la orden()/Punto; }
if (OrderClosePrice()<OrderOpenPrice())
{ Profit=Beneficio+(OrderOpenPrice()-OrderClosePrice())*OrderLots()/Punto; }
}
//Imprimir(Símbolo,":",Beneficio,",",ÚltimosLotes);
}
}
Profit=Beneficio*ValorPip;
text2="Beneficio: $"+DoubleToStr(Beneficio,2)+" +/-";
if (OpenOrders>=(MaxTrades-OrderstoProtect) && AccountProtection==1)
{
//Imprimir(Símbolo,":",Beneficio);
si (Beneficio>=BeneficioSeguro)
{
OrderClose(LastTicket,LastLots,LastClosePrice,slippage,Yellow);
ContinueOpening=False;
return(0);
}
}
if (!IsTesting())
{
if (myOrderType==3) { text="No hay condiciones para abrir operaciones"; }
else { text=" "; }
Comment("LastPrice=",LastPrice," Previous open orders=",PreviousOpenOrders,"\nContinue opening=",ContinueOpening," OrderType=",myOrderType,"\n",text2,"\nLots=",lotsi,"\n",text);
}
if (myOrderType==1 && ContinueOpening)
{
if ((Bid-LastPrice)>=Pips*Point || OpenOrders<1)
{
SellPrice=Bid;
LastPrice=0;
si (TakeProfit==0) { tp=0; }
Si no, { tp=Precio de Venta-Toma de Beneficios*Punto; }
if (InitialStop==0) { sl=0; }
si no { sl=Precio de Venta+Parada Inicial*Punto; }
if (OpenOrders!=0)
{
mylotsi=lotsi;
for(cnt=1;cnt<=OpenOrders;cnt++)
{
if (MaxTrades>12) { mylotsi=NormalizeDouble(mylotsi*1.5,1); }
Si no, { mylotsi=NormalizeDouble(mylotsi*2,1); }
}
} else { mylotsi=lotsi; }
if (mylotsi>100) { mylotsi=100; }
OrderSend(Symbol(),OP_SELL,mylotsi,SellPrice,slippage,sl,tp,NULL,0,0,Red);
return(0);
}
}
if (myOrderType==2 && ContinueOpening)
{
if ((LastPrice-Ask)>=Pips*Point || OpenOrders<1)
{
BuyPrice=Ask;
LastPrice=0;
si (TakeProfit==0) { tp=0; }
si no { tp=Precio de compra+TakeProfit*Punto; }
if (InitialStop==0) { sl=0; }
si no { sl=PrecioDeCompra-ParadaInicial*Punto; }
if (OpenOrders!=0) {
mylotsi=lotsi;
for(cnt=1;cnt<=OpenOrders;cnt++)
{
if (MaxTrades>12) { mylotsi=NormalizeDouble(mylotsi*1.5,1); }
Si no, { mylotsi=NormalizeDouble(mylotsi*2,1); }
}
} else { mylotsi=lotsi; }
if (mylotsi>100) { mylotsi=100; }
OrderSend(Symbol(),OP_BUY,mylotsi,BuyPrice,slippage,sl,tp,NULL,0,0,Blue);
return(0);
}
}
//----
return(0);
}
+------------------------------------------------------------------+
otra pregunta
en EA 10pts3_Smi_Rsi1_mrtools errores
Por favor, descargue los indicadores
gracias amigos
Hola chicos
Una vez usé este ea para hacer un 500% en un mes y luego se lo comió todo la semana siguiente
Mi consejo será operar esta máquina de dinero en los pares no comunes, como el ddksgd etc, simplemente cualquier par menos volátil servirá.
Saludos
en EA 10 puntos 3sólo abrir posiciones cortas(((
código:
extern double TakeProfit = 40;
extern double Lotes = 1;
extern double InitialStop = 0;
extern double TrailingStop = 20;
extern int MaxTrades=10;
extern int Pips=15;
extern int SecureProfit=10;
extern int AccountProtection=1;
extern int OrderstoProtect=3;
extern int ReverseCondition=0;
extern double fSiPipValue=10;
extern double EURUSDPipValue=10;
extern double GBPUSDPipValue=10;
extern double USDCHFPipValue=10;
extern double USDJPYPipValue=9,715;
extern int StartYear=2005;
extern int StartMonth=1;
extern int AñoFinal=2006;
extern int FinMes=12;
extern int FinHora=22;
extern int FinMinuto=30;
extern int mm=0;
extern int risk=12;
extern int CuentaNormal=0;
int OpenOrders=0, cnt=0;
int deslizamiento=5;
double sl=0, tp=0;
double BuyPrice=0, SellPrice=0;
double lotsi=0, mylotsi=0;
int mode=0, myOrderType=0;
bool ContinueOpening=True;
double LastPrice=0;
int PreviousOpenOrders=0;
double Profit=0;
int LastTicket=0, LastType=0;
double LastClosePrice=0, LastLots=0;
double Pivot=0;
double PipValue=0;
string text="", text2="";
//+------------------------------------------------------------------+
//| función de inicialización de expertos ||.
//+------------------------------------------------------------------+
int init()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| función de desinicialización experta ||
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| función de inicio experto ||
//+------------------------------------------------------------------+
int inicio()
{
//----
if (AccountisNormal==1)
{
if (mm!=0) { lotsi=MathCeil(AccountBalance()*risk/10000); }
else { lotsi=Lotes; }
} else { // then is mini
if (mm!=0) { lotsi=MathCeil(AccountBalance()*risk/10000)/10; }
else { lotsi=Lotes; }
}
if (lotsi>100){ lotsi=100; }
OpenOrders=0;
for(cnt=0;cnt<OrdersTotal();cnt++)
{
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol()==Symbol())
{
OpenOrders++;
}
}
if (OpenOrders<1)
{
if (TimeYear(CurTime())<StartYear) { return(0); }
if (TimeMonth(CurTime())<StartMonth) { return(0); }
if (TimeYear(CurTime())>EndYear) { return(0); }
if (TimeMonth(CurTime())>EndMonth ) { return(0); }
}
if (Symbol()=="fSi") { PipValue=fSiPipValue; }
if (Symbol()=="EURUSD") { PipValue=EURUSDPipValue; }
if (Symbol()=="GBPUSD") { PipValue=GBPUSDPipValue; }
if (Symbol()=="USDJPY") { PipValue=USDJPYPipValue; }
if (Symbol()=="USDCHF") { PipValue=USDCHFPipValue; }
if (PipValue==0) { PipValue=5; }
if (PreviousOpenOrders>OpenOrders)
{
for(cnt=TotalOrdenes();cnt>=0;cnt--)
{
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
mode=Tipo de orden();
if (OrderSymbol()==Symbol())
{
if (mode==OP_BUY) { OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),slippage,Blue); }
if (mode==OP_SELL) { OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),slippage,Red); }
return(0);
}
}
}
PreviousOpenOrders=OpenOrders;
if (OpenOrders>=MaxTrades)
{
ContinueOpening=False;
} else {
ContinueOpening=True;
}
if (LastPrice==0)
{
for(cnt=0;cnt<OrdersTotal();cnt++)
{
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
mode=Tipo de orden();
if (OrderSymbol()==Symbol())
{
LastPrice=OrderOpenPrice();
if (mode==OP_BUY) { myOrderType=2; }
if (mode==OP_SELL) { myOrderType=1; }
}
}
}
if (OpenOrders<1)
{
myOrderType=3;
//si (iMACD(14,26,9,MODE_MAIN,0)>0 y iMACD(14,26,9,MODE_MAIN,0)>iMACD(14,26,9,MODE_MAIN,1)) entonces OrderType=2;
if (iMACD(NULL,0,14,26,9,PRICE_CLOSE,MODE_MAIN,0)>iMACD(NULL,0,14,26,9,PRICE_CLOSE,MODE_MAIN,1)) { myOrderType=2; }
//si (iMACD(14,26,9,MODE_MAIN,0)<0 y iMACD(14,26,9,MODE_MAIN,0)<iMACD(14,26,9,MODE_MAIN,1)) entonces OrderType=1;
if (iMACD(NULL,0,14,26,9,PRICE_CLOSE,MODE_MAIN,0)<iMACD(NULL,0,14,26,9,PRICE_CLOSE,MODE_MAIN,1)) { myOrderType=1; }
if (ReverseCondition==1)
{
if (myOrderType==1) { myOrderType=2; }
else { if (myOrderType==2) { myOrderType=1; } }
}
}
// si tenemos posiciones abiertas nos ocupamos de ellas
for(cnt=OrdersTotal();cnt>=0;cnt--)
{
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol() == Symbol())
{
if (OrderType()==OP_SELL)
{
si (TrailingStop>0){
if (OrderOpenPrice()-Ask>=(TrailingStop+Pips)*Point)
{
if (OrderStopLoss()>(Ask+Point*TrailingStop))
{
OrderModify(OrderTicket(),OrderOpenPrice(),Ask+Point*TrailingStop,OrderClosePrice()-TakeProfit*Point-TrailingStop*Point,800,Purple);
return(0);
}
}
}
}
if (OrderType()==OP_BUY)
{
si (TrailingStop>0){
if (Bid-OrderOpenPrice()>=(TrailingStop+Pips)*Point)
{
if (OrderStopLoss()<(Bid-Point*TrailingStop))
{
OrderModify(OrderTicket(),OrderOpenPrice(),Bid-Point*TrailingStop,OrderClosePrice()+TakeProfit*Point+TrailingStop*Point,800,Yellow);
return(0);
}
}
}
}
}
}
Profit=0;
LastTicket=0;
LastType=0;
LastClosePrice=0;
LastLots=0;
for(cnt=0;cnt<OrdersTotal();cnt++)
{
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol()==Symbol())
{
LastTicket=OrderTicket();
if (OrderType()==OP_BUY) { LastType=OP_BUY; }
if (OrderType()==OP_SELL) { LastType=OP_SELL; }
LastClosePrice=OrderClosePrice();
LastLots=OrderLots();
si (LastType==OP_BUY)
{
/Beneficio=Beneficio+(Ord(cnt,VAL_CLOSEPRICE)-Ord(cnt,VAL_OPENPRICE))*PipValue*Ord(cnt,VAL_LOTS);
if (OrderClosePrice()<OrderOpenPrice())
{ Beneficio=Beneficio-(Precio de apertura de la orden()-Precio de cierre de la orden())*Lotes de la orden()/Punto; }
if (OrderClosePrice()>OrderOpenPrice())
{ Beneficio=Beneficio+(Precio de cierre de la orden()-Precio de apertura de la orden())*Lotes de la orden()/Punto; }
}
if (LastType==OP_SELL)
{
/Beneficio=Beneficio+(Ord(cnt,VAL_OPENPRICE)-Ord(cnt,VAL_CLOSEPRICE))*PipValue*Ord(cnt,VAL_LOTS);
si (OrderClosePrice()>OrderOpenPrice())
{ Beneficio=Beneficio-(Precio de cierre de la orden()-Precio de apertura de la orden())*Lotes de la orden()/Punto; }
if (OrderClosePrice()<OrderOpenPrice())
{ Profit=Beneficio+(OrderOpenPrice()-OrderClosePrice())*OrderLots()/Punto; }
}
//Imprimir(Símbolo,":",Beneficio,",",ÚltimosLotes);
}
}
Profit=Beneficio*ValorPip;
text2="Beneficio: $"+DoubleToStr(Beneficio,2)+" +/-";
if (OpenOrders>=(MaxTrades-OrderstoProtect) && AccountProtection==1)
{
//Imprimir(Símbolo,":",Beneficio);
si (Beneficio>=BeneficioSeguro)
{
OrderClose(LastTicket,LastLots,LastClosePrice,slippage,Yellow);
ContinueOpening=False;
return(0);
}
}
if (!IsTesting())
{
if (myOrderType==3) { text="No hay condiciones para abrir operaciones"; }
else { text=" "; }
Comment("LastPrice=",LastPrice," Previous open orders=",PreviousOpenOrders,"\nContinue opening=",ContinueOpening," OrderType=",myOrderType,"\n",text2,"\nLots=",lotsi,"\n",text);
}
if (myOrderType==1 && ContinueOpening)
{
if ((Bid-LastPrice)>=Pips*Point || OpenOrders<1)
{
SellPrice=Bid;
LastPrice=0;
si (TakeProfit==0) { tp=0; }
si no { tp=Precio de Venta-Toma de Beneficios*Punto; }
if (InitialStop==0) { sl=0; }
si no { sl=Precio de Venta+Parada Inicial*Punto; }
if (OpenOrders!=0)
{
mylotsi=lotsi;
for(cnt=1;cnt<=OpenOrders;cnt++)
{
if (MaxTrades>12) { mylotsi=NormalizeDouble(mylotsi*1.5,1); }
Si no, { mylotsi=NormalizeDouble(mylotsi*2,1); }
}
} else { mylotsi=lotsi; }
if (mylotsi>100) { mylotsi=100; }
OrderSend(Symbol(),OP_SELL,mylotsi,SellPrice,slippage,sl,tp,NULL,0,0,Red);
return(0);
}
}
if (myOrderType==2 && ContinueOpening)
{
if ((LastPrice-Ask)>=Pips*Point || OpenOrders<1)
{
BuyPrice=Ask;
LastPrice=0;
si (TakeProfit==0) { tp=0; }
si no { tp=Precio de compra+TakeProfit*Punto; }
if (InitialStop==0) { sl=0; }
si no { sl=PrecioDeCompra-ParadaInicial*Punto; }
if (OpenOrders!=0) {
mylotsi=lotsi;
for(cnt=1;cnt<=OpenOrders;cnt++)
{
if (MaxTrades>12) { mylotsi=NormalizeDouble(mylotsi*1.5,1); }
Si no, { mylotsi=NormalizeDouble(mylotsi*2,1); }
}
} else { mylotsi=lotsi; }
if (mylotsi>100) { mylotsi=100; }
OrderSend(Symbol(),OP_BUY,mylotsi,BuyPrice,slippage,sl,tp,NULL,0,0,Blue);
return(0);
}
}
//----
return(0);
}
+------------------------------------------------------------------+
otra pregunta
en EA 10pts3_Smi_Rsi1_mrtools errores
Por favor, descargue los indicadores
agradecer a los amigosKosntantin,
Para el código que ha publicado podría tratar esta versión fija aquí https://www.mql5.com/en/forum/174975 post # 4819
Para la segunda parte de su pregunta los indicadores están aquí https://www.mql5.com/en/forum/174975 post#4845
Los pares de baja volatilidad serían: EURGBP, EURCHF, NZDUSD y AUDUSD. El nuevo EA con RSI incorporado es tímido para abrir una operación. No hay operaciones todavía.
Saludos Hermes
EA se recuperó un poco de -$550 a -$330 pero aún falta mucho. 10pts RSI muerto.
Hermes