10 pontos 3.mq4 - página 487

 

É assim que tem sido ultimamente nos mercados. Faixas e espigões! Uma nova tática de Wall Street e magnatas financeiros para tornar os mercados imprevisíveis. Pelo menos sabemos que o que sobe tem que vir às vezes para baixo. Tem que obedecer às leis das ondas. Todo o universo é movido por ondas, portanto, os mercados.

10 pts EA vende pontuação comercial -$2o5, mas vai cair. Todos os indicadores apontam para lá.

Hermes

Arquivos anexados:
 
hermes:
davidke20 ainda estamos trabalhando em 10pts EA e tentando melhorá-lo, ou aperfeiçoá-lo, ou aperfeiçoá-lo cosmético. Por que não mudar o fio? Batemos na parede com esse tema? Hermes

Eu não disse que era errado trabalhar em 10p3. Estava dizendo que fazer um sistema que duplique "para cima" em vez de "para baixo" NÃO é mais 10p3, poderia muito bem chamar por um novo fio

Recentemente apenas consegui começar a salvar meu disco rígido setorizado ruim, começando a cavar centenas e centenas de EAs e Indicadores de múltiplas plataformas de negociação. Variante 10point3, que só eu tenho como 20 versões Além disso, há vários anos parei de codificar, agora sou realmente preguiçoso e tenho dificuldade em recuperar quando olho para os códigos

 

há alguém que me dê esta EA com a escolha da direção de compra/venda. eu só quero dar direção sobre compra/venda nesta EA. por favor, qualquer um me ajude

 
shakilboss:
há alguém que me dê esta EA com a escolha da direção de compra/venda. eu só quero dar direção sobre a compra/venda nesta EA. por favor, qualquer um me ajude

Olá Shakilboss,

Quando você clicar pela primeira vez no Ea. para instalá-lo em seu gráfico, quando ele se abrir clique na aba comum, no extremo esquerdo, há uma aba suspensa que diz Long & Short, clique nela, e na aba suspensa será Long & Short, Long, ou Short. Escolha a que você quiser e o Ea. trocará essa direção somente após os indicadores no Ea. concordarem com essa direção.

 

Com certeza, agora negociar por muito tempo seria gratificante! A EA caiu -$520, mas ainda não foi nada de mais, uma vez eu estava com o FX Hacked acima de $1.500 e me recuperei (acabei com +$7). Só recentemente eu li que Jesse Livermore terminou sua vida com suicídio! Tenha cuidado quando começar a fazer grandes bugs! Você pode ficar entediado com tanto dinheiro e isso é o fim do prazer. O prazer se manterá se você tiver uma jovem contabilista feminina. Ela cuidará da sobrecarga de sua equidade.

Tenha um bom fim de semana de recuperação

Hermes

P.S. a outra possibilidade de controlar a direção das negociações é entrar em Expert Adviser na primeira página marcar a caixa "solicitar confirmação manual" em permitir negociações ao vivo, mas é irritante porque o incomodará para confirmação o tempo todo.

 

ajuda, por favor

na EA 10 pontos 3 apenas posições curtas abertas(((

código:

duplo TakeProfit externo = 40;

Duplo Lote Externo = 1;

duplo externo InitialStop = 0;

duplo Exterior TrailingStop = 20;

extern int MaxTrades=10;

extern int Pips=15;

extern int SecureProfit=10;

extern int AccountProtection=1;

extern int OrdertoProtect=3;

extern int ReverseCondition=0;

extern double fSiPipValue=10;

duplo externo EURUSDPipValue=10;

duplo externo GBPUSDPipValue=10;

duplo USDCHFPipValue=10; duplo USDUSDPipValue=10; duplo USDUSDPipValue=10;

duplo externo USDJPYPipValue=9,715;

início do ano externo int=2005;

externo int StartMonth=1;

Externo int Fim do ano=2006;

Externo int FimMês=12;

Externo int FimHora=22;

Externo int FimMinuto=30;

Externo int mm=0;

extern int risco=12;

extern int AccountisNormal=0;

int OpenOrders=0, cnt=0;

int slippage=5;

double sl=0, tp=0;

double BuyPrice=0, SellPrice=0;

double lotsi=0, mylotsi=0;

int mode=0, myOrderType=0;

bool ContinueOpening=True;

duplo LastPrice=0;

int PreviousOpenOrders=0;

double Profit=0;

int LastTicket=0, LastType=0;

duplo LastClosePrice=0, LastLots=0;

double Pivot=0;

duplo PipValue=0;

string text="", text2=""";

//+------------------------------------------------------------------+

//| função de iniciação de especialista |

//+------------------------------------------------------------------+

int init()

{

//----

//----

retorno(0);

}

//+------------------------------------------------------------------+

//| função de desinicialização especializada |

//+------------------------------------------------------------------+

int deinit()

{

//----

//----

retorno(0);

}

//+------------------------------------------------------------------+

//| função de início especializado |

//+------------------------------------------------------------------+

int start()

{

//----

se (AccountisNormal===1)

{

if (mm!=0) { lotsi=MathCeil(AccountBalance()*risk/10000); }

else { lotsi=Lots; }

} else { // então é mini

if (mm!=0) { lotsi=MathCeil(AccountBalance()*risk/10000)/10; }

else { lotsi=Lots; }

}

se (lotsi>100){ lotsi=100; }

OpenOrders=0;

for(cnt=0;cnt<OrdersTotal();cnt++)

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

se (OrderSymbol()==Symbol())

{

OpenOrders++;

}

}

se (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=OrdensTotal();cnt>=0;cnt--)

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

mode=OrderType();

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);

}

}

}

Ordens Abertas anteriores=OpenOrders;

if (OpenOrders>=MaxTrades)

{

ContinuarAbertura=Falso;

} else {

ContinuarAbertura=Verdadeiro;

}

se (LastPrice==0)

{

for(cnt=0;cnt<OrdersTotal();cnt++)

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

mode=OrderType();

if (OrderSymbol()==Symbol())

{

LastPrice=OrderOpenPrice();

if (mode===OP_BUY) { myOrderType=2; }

if (mode===OP_SELL) { myOrderType=1;}

}

}

}

se (OpenOrders<1)

{

myOrderType=3;

//if (iMACD(14,26,9,MODE_MAIN,0)>0 e iMACD(14,26,9,MODE_MAIN,0)>iMACD(14,26,9,MODE_MAIN,1)) então 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; }

//if (iMACD(14,26,9,MODE_MAIN,0)<0 e iMACD(14,26,9,MODE_MAIN,0)<iMACD(14,26,9,MODE_MAIN,1))) em seguida 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; }

senão { if (myOrderType===2) { myOrderType=1; } }

}

}

// se abrimos posições, cuidamos deles

for(cnt=OrdensTotal();cnt>=0;cnt--)

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

se (OrderSymbol() == Symbol())

{

se (OrderType()==OP_SELL)

{

se (TrailingStop>0)

{

if (OrderOpenPrice()-Ask>=(TrailingStop+Pips)*Ponto)

{

se (OrderStopLoss()>(Ask+Point*TrailingStop))

{

OrderModify(OrderTicket(),OrderOpenPrice(),Ask+Point*TrailingStop,OrderClosePrice()-TakeProfit*Point-TrailingStop*Point,800,Purple);

retornar(0);

}

}

}

}

se (OrderType()==OP_BUY)

{

se (TrailingStop>0)

{

if (Bid-OrderOpenPrice()>=(TrailingStop+Pips)*Ponto)

{

se (OrderStopLoss()<(Bid-Point*TrailingStop))

{

OrderModify(OrderTicket(),OrderOpenPrice(),Bid-Point*TrailingStop,OrderClosePrice()+TakeProfit*Point+TrailingStop*Point,800,Yellow);

retorno(0);

}

}

}

}

}

}

Lucro=0;

LastTicket=0;

LastType=0;

LastClosePrice=0;

LastLots=0;

for(cnt=0;cnt<OrdersTotal();cnt++)

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

se (OrderSymbol()==Symbol())

{

LastTicket=OrderTicket();

se (OrderType()==OP_BUY) { LastType=OP_BUY; }

if (OrderType()==OP_SELL) { LastType=OP_SELL; }

LastClosePrice=OrderClosePrice();

LastLots=OrderLots();

if (LastType===OP_BUY)

{

//Profit=Profit+(Ord(cnt,VAL_CLOSEPRICE)-Ord(cnt,VAL_OPENPRICE))*PipValue*Ord(cnt,VAL_LOTS);

if (OrderClosePrice()<OrderOpenPrice())

{ Lucro=Profit-(OrderOpenPrice()-OrderClosePrice())*OrderLots()/Point; }

if (OrderClosePrice()>OrderOpenPrice())*OrderOpenPrice())

{ Lucro=Profit+(OrderClosePrice()-OrderOpenPrice())*OrderLots()/Point; }

}

se (LastType===OP_SELL)

{

//Profit=Profit+(Ord(cnt,VAL_OPENPRICE)-Ord(cnt,VAL_CLOSEPRICE))*PipValue*Ord(cnt,VAL_LOTS);

if (OrderClosePrice()>OrderOpenPrice())

{ Lucro=Profit-(OrderClosePrice()-OrderOpenPrice())*OrderLots()/Point; }

if (OrderClosePrice()<OrderOpenPrice())*OrderOpenPrice())

{ Lucro=Profit+(OrderOpenPrice()-OrderClosePrice())*OrderLots()/Point; }

}

//Print(Symbol,":",Profit,",",LastLots);

}

}

Lucro=Lucro*PipValor;

text2="Lucro: $"+DoubleToStr(Lucro,2)+" +/-";

if (OpenOrders>=(MaxTrades-OrderstoProtect) && AccountProtection===1)

{

//Print(Símbolo",",Lucro);

se (Lucro>=SecureProfit)

{

OrderClose(LastTicket,LastLots,LastClosePrice,slippage,Yellow);

ContinuarAbertura=Falso;

retornar(0);

}

}

se (!IsTesting())

{

if (myOrderType===3) { text="No conditions to open trades"; }

senão { 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=Licit;

LastPrice=0;

se (TakeProfit==0) { tp=0; }

else { tp=SellPrice-TakeProfit*Point; }

if (InitialStop==0) { sl=0; }

else { sl=SellPrice+InitialStop*Point; }

se (OpenOrders!=0)

{

mylotsi=lotsi;

for(cnt=1;cnt<=OpenOrders;cnt++)

{

if (MaxTrades>12) { mylotsi=NormalizeDouble(mylotsi*1,5,1); }

else { 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);

devolução(0);

}

}

if (myOrderType===2 && ContinueOpening)

{

if ((LastPrice-Ask)>=Pips*Point || OpenOrders<1)

{

BuyPrice=Ask;

LastPrice=0;

se (TakeProfit==0) { tp=0; }

else { tp=BuyPrice+TakeProfit*Point; }

if (InitialStop==0) { sl=0; }

else { sl=BuyPrice-InitialStop*Point; }

if (OpenOrders!=0) {

mylotsi=lotsi;

for(cnt=1;cnt<=OpenOrders;cnt++)

{

if (MaxTrades>12) { mylotsi=NormalizeDouble(mylotsi*1,5,1); }

else { 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);

retornar(0);

}

}

//----

retorno(0);

}

+------------------------------------------------------------------+

outra pergunta

em EA 10pts3_Smi_Rsi1_mrtools erros

Favor baixar os indicadores

agradecer aos amigos

Arquivos anexados:
 

Ei, pessoal

Uma vez usei esta ea para fazer 500% em um mês e depois ela comeu tudo na semana seguinte

Meu conselho será negociar esta máquina de dinheiro nos pares incomuns, como os ddksgd etc., qualquer par menos volátil serve.

Cumprimentos

 
kosntantin:
na EA 10 pontos 3 apenas posições curtas abertas((

código:

duplo TakeProfit externo = 40;

Duplo Lote Externo = 1;

duplo externo InitialStop = 0;

duplo Exterior TrailingStop = 20;

extern int MaxTrades=10;

extern int Pips=15;

extern int SecureProfit=10;

extern int AccountProtection=1;

extern int OrdertoProtect=3;

extern int ReverseCondition=0;

extern double fSiPipValue=10;

duplo externo EURUSDPipValue=10;

duplo externo GBPUSDPipValue=10;

duplo USDCHFPipValue=10; duplo USDUSDPipValue=10; duplo USDUSDPipValue=10;

duplo externo USDJPYPipValue=9,715;

início do ano int externo=2005;

externo int StartMonth=1;

Externo int Fim do ano=2006;

Externo int FimMês=12;

Externo int FimHora=22;

Externo int FimMinuto=30;

Externo int mm=0;

extern int risco=12;

extern int AccountisNormal=0;

int OpenOrders=0, cnt=0;

int slippage=5;

double sl=0, tp=0;

double BuyPrice=0, SellPrice=0;

double lotsi=0, mylotsi=0;

int mode=0, myOrderType=0;

bool ContinueOpening=True;

duplo LastPrice=0;

int PreviousOpenOrders=0;

double Profit=0;

int LastTicket=0, LastType=0;

duplo LastClosePrice=0, LastLots=0;

double Pivot=0;

duplo PipValue=0;

string text="", text2=""";

//+------------------------------------------------------------------+

//| função de iniciação de especialista |

//+------------------------------------------------------------------+

int init()

{

//----

//----

retorno(0);

}

//+------------------------------------------------------------------+

//| função de desinicialização especializada |

//+------------------------------------------------------------------+

int deinit()

{

//----

//----

retorno(0);

}

//+------------------------------------------------------------------+

//| função de início especializado |

//+------------------------------------------------------------------+

int start()

{

//----

se (AccountisNormal===1)

{

if (mm!=0) { lotsi=MathCeil(AccountBalance()*risk/10000); }

else { lotsi=Lots; }

} else { // então é mini

if (mm!=0) { lotsi=MathCeil(AccountBalance()*risk/10000)/10; }

else { lotsi=Lots; }

}

se (lotsi>100){ lotsi=100; }

OpenOrders=0;

for(cnt=0;cnt<OrdersTotal();cnt++)

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

se (OrderSymbol()==Symbol())

{

OpenOrders++;

}

}

se (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=OrdensTotal();cnt>=0;cnt--)

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

mode=OrderType();

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);

}

}

}

Ordens Abertas anteriores=OpenOrders;

if (OpenOrders>=MaxTrades)

{

ContinuarAbertura=Falso;

} else {

ContinuarAbertura=Verdadeiro;

}

se (LastPrice==0)

{

for(cnt=0;cnt<OrdersTotal();cnt++)

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

mode=OrderType();

if (OrderSymbol()==Symbol())

{

LastPrice=OrderOpenPrice();

if (mode===OP_BUY) { myOrderType=2; }

if (mode===OP_SELL) { myOrderType=1;}

}

}

}

se (OpenOrders<1)

{

myOrderType=3;

//if (iMACD(14,26,9,MODE_MAIN,0)>0 e iMACD(14,26,9,MODE_MAIN,0)>iMACD(14,26,9,MODE_MAIN,1)) então 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; }

//if (iMACD(14,26,9,MODE_MAIN,0)<0 e iMACD(14,26,9,MODE_MAIN,0)<iMACD(14,26,9,MODE_MAIN,1))) em seguida 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; }

senão { if (myOrderType===2) { myOrderType=1; } }

}

}

// se abrimos posições, cuidamos deles

for(cnt=OrdensTotal();cnt>=0;cnt--)

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

se (OrderSymbol() == Symbol())

{

se (OrderType()==OP_SELL)

{

se (TrailingStop>0)

{

if (OrderOpenPrice()-Ask>=(TrailingStop+Pips)*Ponto)

{

se (OrderStopLoss()>(Ask+Point*TrailingStop))

{

OrderModify(OrderTicket(),OrderOpenPrice(),Ask+Point*TrailingStop,OrderClosePrice()-TakeProfit*Point-TrailingStop*Point,800,Purple);

retornar(0);

}

}

}

}

se (OrderType()==OP_BUY)

{

se (TrailingStop>0)

{

if (Bid-OrderOpenPrice()>=(TrailingStop+Pips)*Ponto)

{

se (OrderStopLoss()<(Bid-Point*TrailingStop))

{

OrderModify(OrderTicket(),OrderOpenPrice(),Bid-Point*TrailingStop,OrderClosePrice()+TakeProfit*Point+TrailingStop*Point,800,Yellow);

retorno(0);

}

}

}

}

}

}

Lucro=0;

LastTicket=0;

LastType=0;

LastClosePrice=0;

LastLots=0;

for(cnt=0;cnt<OrdersTotal();cnt++)

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

se (OrderSymbol()==Symbol())

{

LastTicket=OrderTicket();

se (OrderType()==OP_BUY) { LastType=OP_BUY; }

if (OrderType()==OP_SELL) { LastType=OP_SELL; }

LastClosePrice=OrderClosePrice();

LastLots=OrderLots();

if (LastType===OP_BUY)

{

//Profit=Profit+(Ord(cnt,VAL_CLOSEPRICE)-Ord(cnt,VAL_OPENPRICE))*PipValue*Ord(cnt,VAL_LOTS);

if (OrderClosePrice()<OrderOpenPrice())

{ Lucro=Profit-(OrderOpenPrice()-OrderClosePrice())*OrderLots()/Point; }

if (OrderClosePrice()>OrderOpenPrice())*OrderOpenPrice())

{ Lucro=Profit+(OrderClosePrice()-OrderOpenPrice())*OrderLots()/Point; }

}

se (LastType===OP_SELL)

{

//Profit=Profit+(Ord(cnt,VAL_OPENPRICE)-Ord(cnt,VAL_CLOSEPRICE))*PipValue*Ord(cnt,VAL_LOTS);

if (OrderClosePrice()>OrderOpenPrice())

{ Lucro=Profit-(OrderClosePrice()-OrderOpenPrice())*OrderLots()/Point; }

if (OrderClosePrice()<OrderOpenPrice())*OrderOpenPrice())

{ Lucro=Profit+(OrderOpenPrice()-OrderClosePrice())*OrderLots()/Point; }

}

//Print(Symbol,":",Profit,",",LastLots);

}

}

Lucro=Lucro*PipValor;

text2="Lucro: $"+DoubleToStr(Lucro,2)+" +/-";

if (OpenOrders>=(MaxTrades-OrderstoProtect) && AccountProtection===1)

{

//Print(Símbolo",",Lucro);

if (Lucro>=SecureProfit)

{

OrderClose(LastTicket,LastLots,LastClosePrice,slippage,Yellow);

ContinuarAbertura=Falso;

retornar(0);

}

}

se (!IsTesting())

{

if (myOrderType===3) { text="No conditions to open trades"; }

senão { 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=Licit;

LastPrice=0;

se (TakeProfit==0) { tp=0; }

else { tp=SellPrice-TakeProfit*Point; }

if (InitialStop==0) { sl=0; }

else { sl=SellPrice+InitialStop*Point; }

se (OpenOrders!=0)

{

mylotsi=lotsi;

for(cnt=1;cnt<=OpenOrders;cnt++)

{

if (MaxTrades>12) { mylotsi=NormalizeDouble(mylotsi*1.5,1); }

else { 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);

devolução(0);

}

}

if (myOrderType===2 && ContinueOpening)

{

if ((LastPrice-Ask)>=Pips*Point || OpenOrders<1)

{

BuyPrice=Ask;

LastPrice=0;

se (TakeProfit==0) { tp=0; }

else { tp=BuyPrice+TakeProfit*Point; }

if (InitialStop==0) { sl=0; }

else { sl=BuyPrice-InitialStop*Point; }

if (OpenOrders!=0) {

mylotsi=lotsi;

for(cnt=1;cnt<=OpenOrders;cnt++)

{

if (MaxTrades>12) { mylotsi=NormalizeDouble(mylotsi*1.5,1); }

else { 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);

retornar(0);

}

}

//----

retorno(0);

}

+------------------------------------------------------------------+

outra pergunta

em EA 10pts3_Smi_Rsi1_mrtools erros

Favor baixar os indicadores

agradecer aos amigos

Kosntantin,

Para o código que você postou pode tentar esta versão fixa aqui https://www.mql5.com/en/forum/174975 post #4819

Para a segunda parte de sua pergunta, os indicadores estão aqui https://www.mql5.com/en/forum/174975 post#4845

 

Os pares de baixa volatilidade seriam: EURGBP, EURCHF, NZDUSD e AUDUSD. O novo EA com RSI é tímido para abrir um negócio. Nenhuma negociação ainda.

Abraço Hermes

 

A EA recuperou um pouco de -$550 a -$330, mas ainda tem um longo caminho pela frente. 10pts de RSI morto.

Hermes