10Punkte 3.mq4 - Seite 487

 
hermes:
davidke20 wir arbeiten immer noch an 10pts EA und versuchen ihn zu verbessern, oder zu perfektionieren, oder zu kosmetisieren. Warum dann der Wechsel des Themas? Sind wir mit dem Thema gegen die Wand gefahren? Hermes

Ich habe nicht gesagt, dass es falsch ist, an 10p3 zu arbeiten. Ich sagte, ein System zu machen, das verdoppeln wird "up" statt double "down" ist NICHT 10p3 mehr, könnte auch für einen neuen Thread aufrufen

Kürzlich erst habe ich es geschafft, meine schlechte sektorierte Festplatte zu retten, anfangen zu graben Hunderte und Hunderte von EAs und Indikatoren aus mehreren Handelsplattformen. 10point3-Variante, die allein habe ich wie 20 Versionen Außerdem habe ich aufgehört, Codierung für mehrere Jahre, bin jetzt wirklich faul und mit Mühe aufholen, wenn in den Codes sah

 

gibt es irgendeine Person geben mir diese EA mit wählen Sie kaufen / verkaufen Richtung. ich möchte nur Richtung über Kauf / Verkauf in diesem EA geben. bitte jemand mir helfen

 
shakilboss:
Gibt es irgendeine Person geben mir diese EA mit wählen Sie kaufen/verkaufen Richtung. Ich möchte nur Richtung über kaufen/verkaufen in diesem EA geben. bitte jemand mir helfen

Hallo Shakilboss,

Wenn Sie zum ersten Mal auf die Ea. klicken, um es auf Ihrem Diagramm zu installieren, wenn es sich öffnet, klicken Sie auf die gemeinsame Registerkarte, auf der ganz linken Seite, gibt es eine Dropdown-Registerkarte, die sagt, Long & Short, klicken Sie darauf, und auf der Dropdown werden Long & Short, Long, oder Short.Wählen Sie, was auch immer Sie wollen, und die Ea. wird der Handel, dass die Richtung nur nach den Indikatoren in der Ea. mit dieser Richtung zustimmen.

 

Für sicher jetzt Handel lang wäre lohnend sein! EA ist unten -$520 aber keine große Sache noch, ich war einmal unten mit FX gehackt über $1,500 und erholte sich (endete mit +$7). Erst kürzlich habe ich gelesen, dass Jesse Livermore sein Leben mit Selbstmord beendet hat! Seien Sie vorsichtig, wenn Sie anfangen, große Fehler zu machen! Man kann sich mit so viel Geld langweilen und das ist das Ende des Vergnügens. Das Vergnügen bleibt erhalten, wenn Sie eine junge Buchhalterin haben. Sie wird sich um die Überlastung deines Eigenkapitals kümmern.

Ich wünsche Ihnen ein schönes Erholungswochenende

Hermes

P.S. Die andere Möglichkeit, die Richtung der Trades zu kontrollieren, besteht darin, im Expert Adviser auf der ersten Seite das Kästchen "Manuelle Bestätigung anfordern" zu markieren, um den Live-Handel zu ermöglichen, aber es ist lästig, weil es Sie die ganze Zeit um Bestätigung bittet.

 

Bitte um Hilfe

in EA 10 Punkte 3nur offene Short-Positionen(((

Code:

extern double TakeProfit = 40;

extern double Lots = 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 EndJahr=2006;

extern int EndMonth=12;

extern int EndHour=22;

extern int EndMinute=30;

extern int mm=0;

extern int Risiko=12;

extern int AccountisNormal=0;

int OpenOrders=0, cnt=0;

int Schlupf=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 Gewinn=0;

int LastTicket=0, LastType=0;

double LastClosePrice=0, LastLots=0;

double Pivot=0;

double PipValue=0;

string text="", text2="";

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

//| Experten-Initialisierungsfunktion |

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

int init()

{

//----

//----

return(0);

}

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

//| Experten-Deinitialisierungsfunktion |

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

int deinit()

{

//----

//----

return(0);

}

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

//| expert start function |

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

int start()

{

//----

if (KontoistNormal==1)

{

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

sonst { lotsi=Lots; }

} else { // dann ist mini

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

sonst { lotsi=Lots; }

}

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 (ZeitJahr(CurTime())<StartJahr) { return(0); }

if (ZeitMonat(CurTime())<StartMonat) { return(0); }

if (ZeitJahr(CurTime())>EndJahr) { return(0); }

if (ZeitMonat(CurTime())>EndMonat ) { 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=OrdersTotal();cnt>=0;cnt--)

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

mode=Auftragsart();

if (AuftragSymbol()==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;

} sonst {

ContinueOpening=True;

}

if (LetzterPreis==0)

{

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

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

mode=OrderType();

if (AuftragSymbol()==Symbol())

{

LetzterPreis=OrderOpenPrice();

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

wenn (Modus==OP_SELL) { myOrderType=1; }

}

}

}

if (OpenOrders<1)

{

myOrderType=3;

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

}

}

// wenn wir offene Positionen haben, kümmern wir uns um sie

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

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

if (OrderSymbol() == Symbol())

{

if (OrderType()==OP_SELL)

{

wenn (NachlaufenderStopp>0)

{

wenn (OrderOpenPrice()-Ask>=(TrailingStop+Pips)*Point)

{

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

{

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

return(0);

}

}

}

}

if (OrderType()==OP_BUY)

{

wenn (NachlaufenderStopp>0)

{

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

}

}

}

}

}

}

Gewinn=0;

LetztesTicket=0;

LastType=0;

LastClosePrice=0;

LastLots=0;

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

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

if (OrderSymbol()==Symbol())

{

LetztesTicket=BestellungTicket();

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

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

LastClosePrice=OrderClosePrice();

LastLots=OrderLots();

wenn (LastType==OP_BUY)

{

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

if (OrderClosePrice()<OrderOpenPrice())

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

if (OrderClosePrice()>OrderOpenPrice())

{ Gewinn=Gewinn+(OrderClosePrice()-OrderOpenPrice())*OrderLots()/Punkt; }

}

if (LastType==OP_SELL)

{

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

if (OrderClosePrice()>OrderOpenPrice())

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

if (OrderClosePrice()<OrderOpenPrice())

{ Gewinn=Gewinn+(OrderOpenPrice()-OrderClosePrice())*OrderLots()/Punkt; }

}

//Drucken(Symbol,":",Gewinn,",",LastLots);

}

}

Profit=Profit*PipValue;

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

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

{

//Drucken(Symbol,":",Gewinn);

if (Gewinn>=SecureProfit)

{

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

ContinueOpening=False;

return(0);

}

}

if (!IsTesting())

{

if (myOrderType==3) { text="Keine Bedingungen zur Eröffnung von Geschäften"; }

else { text=" "; }

Comment("LastPrice=",LastPrice," Vorherige offene Aufträge=",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;

LetzterPreis=0;

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

sonst { tp=Verkaufspreis-TakeProfit*Point; }

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

sonst { sl=Verkaufspreis+InitialStop*Punkt; }

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

}

} sonst { 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;

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

sonst { tp=BuyPrice+TakeProfit*Point; }

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

sonst { 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); }

}

} sonst { mylotsi=lotsi; }

if (mylotsi>100) { mylotsi=100; }

OrderSend(Symbol(),OP_BUY,mylotsi,BuyPrice,Slippage,sl,tp,NULL,0,0,Blue);

return(0);

}

}

//----

return(0);

}

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

eine andere Frage

in EA 10pts3_Smi_Rsi1_mrtools Fehler

Bitte laden Sie die Indikatoren herunter

danke Freunde

Dateien:
 

Hallo Leute

Ich habe mit dieser Ea einmal 500% in einem Monat gemacht und dann hat sie alles in der folgenden Woche aufgefressen.

Mein Rat ist, diese Geldmaschine auf den ungewöhnlichen Paaren zu handeln, wie dem ddksgd usw., einfach jedes weniger volatile Paar wird tun.

Mit freundlichen Grüßen

 
kosntantin:
in EA 10 Punkte 3nur offene Short-Positionen(((

Code:

extern double TakeProfit = 40;

extern double Lots = 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 StartJahr=2005;

extern int StartMonth=1;

extern int EndJahr=2006;

extern int EndMonth=12;

extern int EndHour=22;

extern int EndMinute=30;

extern int mm=0;

extern int Risiko=12;

extern int AccountisNormal=0;

int OpenOrders=0, cnt=0;

int Schlupf=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 Gewinn=0;

int LastTicket=0, LastType=0;

double LastClosePrice=0, LastLots=0;

double Pivot=0;

double PipValue=0;

string text="", text2="";

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

//| Experten-Initialisierungsfunktion |

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

int init()

{

//----

//----

return(0);

}

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

//| Experten-Deinitialisierungsfunktion |

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

int deinit()

{

//----

//----

return(0);

}

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

//| expert start function |

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

int start()

{

//----

if (KontoistNormal==1)

{

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

sonst { lotsi=Lots; }

} else { // dann ist mini

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

sonst { lotsi=Lots; }

}

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 (ZeitJahr(CurTime())<StartJahr) { return(0); }

if (ZeitMonat(CurTime())<StartMonat) { return(0); }

if (ZeitJahr(CurTime())>EndJahr) { return(0); }

if (ZeitMonat(CurTime())>EndMonat ) { 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=OrdersTotal();cnt>=0;cnt--)

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

mode=Auftragsart();

if (AuftragSymbol()==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;

} sonst {

ContinueOpening=True;

}

if (LetzterPreis==0)

{

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

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

mode=OrderType();

if (AuftragSymbol()==Symbol())

{

LetzterPreis=OrderOpenPrice();

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

wenn (Modus==OP_SELL) { myOrderType=1; }

}

}

}

if (OpenOrders<1)

{

myOrderType=3;

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

}

}

// wenn wir offene Positionen haben, kümmern wir uns um sie

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

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

if (OrderSymbol() == Symbol())

{

if (OrderType()==OP_SELL)

{

wenn (NachlaufenderStopp>0)

{

wenn (OrderOpenPrice()-Ask>=(TrailingStop+Pips)*Point)

{

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

{

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

return(0);

}

}

}

}

if (OrderType()==OP_BUY)

{

wenn (NachlaufenderStopp>0)

{

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

}

}

}

}

}

}

Gewinn=0;

LetztesTicket=0;

LastType=0;

LastClosePrice=0;

LastLots=0;

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

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

if (OrderSymbol()==Symbol())

{

LetztesTicket=BestellungTicket();

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

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

LastClosePrice=OrderClosePrice();

LastLots=OrderLots();

wenn (LastType==OP_BUY)

{

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

if (OrderClosePrice()<OrderOpenPrice())

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

if (OrderClosePrice()>OrderOpenPrice())

{ Gewinn=Gewinn+(OrderClosePrice()-OrderOpenPrice())*OrderLots()/Punkt; }

}

if (LastType==OP_SELL)

{

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

if (OrderClosePrice()>OrderOpenPrice())

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

if (OrderClosePrice()<OrderOpenPrice())

{ Gewinn=Gewinn+(OrderOpenPrice()-OrderClosePrice())*OrderLots()/Punkt; }

}

//Drucken(Symbol,":",Gewinn,",",LastLots);

}

}

Profit=Profit*PipValue;

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

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

{

//Drucken(Symbol,":",Gewinn);

if (Gewinn>=SecureProfit)

{

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

ContinueOpening=False;

return(0);

}

}

if (!IsTesting())

{

if (myOrderType==3) { text="Keine Bedingungen zur Eröffnung von Geschäften"; }

else { text=" "; }

Comment("LastPrice=",LastPrice," Vorherige offene Aufträge=",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;

LetzterPreis=0;

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

sonst { tp=Verkaufspreis-TakeProfit*Point; }

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

sonst { sl=Verkaufspreis+InitialStop*Punkt; }

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

}

} sonst { 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;

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

sonst { tp=BuyPrice+TakeProfit*Point; }

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

sonst { 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); }

}

} sonst { mylotsi=lotsi; }

if (mylotsi>100) { mylotsi=100; }

OrderSend(Symbol(),OP_BUY,mylotsi,BuyPrice,Slippage,sl,tp,NULL,0,0,Blue);

return(0);

}

}

//----

return(0);

}

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

eine andere Frage

in EA 10pts3_Smi_Rsi1_mrtools Fehler

Bitte laden Sie die Indikatoren herunter

Freunde danken

Kosntantin,

Für den Code, den Sie gepostet haben, könnten Sie diese korrigierte Version hier https://www.mql5.com/en/forum/174975 post #4819 versuchen

Für den zweiten Teil Ihrer Frage sind die Indikatoren hier https://www.mql5.com/en/forum/174975 post#4845

 

Die Paare mit geringer Volatilität wären: EURGBP, EURCHF, NZDUSD und AUDUSD. Der neue EA mit RSI bauen in ist schüchtern, einen Handel zu öffnen. Noch kein Handel.

Prost Hermes

 

EA erholte sich ein wenig von -$550 auf -$330, aber immer noch ein langer Weg zu gehen. 10pts RSI tot.

Hermes

 

Bitte Hilfe....Verkaufsposition Trailing-Stop funktioniert nicht

Hallo zusammen....

Gibt es jemanden, der mir helfen kann, den Trailing Stop dieses EA zu reparieren?

Danke!

Dateien: