Order wird nicht ausgeführt [invalid stops] - Seite 2

 

Danke, beherrsche aber beide Sprachen ;) 

Meinst du \Experts\Advisors  direkt im mt5 bzw. im Metaeditor? 

 
Eugen8519:

Danke, beherrsche aber beide Sprachen ;) 

Meinst du \Experts\Advisors  direkt im mt5 bzw. im Metaeditor? 

Ja.

Hast Du geprüft, ob der ask bei einem  Sell unter sl liegt? Am oder kurz vor'm Wochenende wird der spread uU ziemlich groß.

 
Futures TickSize is 0.25 for ES and NQ ...

double TickStep = SymbolInfoDouble(Symbol(), SYMBOL_TRADE_TICK_SIZE);
OrderPrice = NormalizeDouble( OrderPrice / TickStep, 0) * TickStep;
[Gelöscht]  

Wenn der Fehler bei jedem Trade auftaucht, dann könnte folgender Beitrag weiterhelfen: https://www.mql5.com/en/articles/2555

Besonders der Abschnitt: "Setting the TakeProfit and StopLoss levels within the SYMBOL_TRADE_STOPS_LEVEL minimum level".

The checks a trading robot must pass before publication in the Market
The checks a trading robot must pass before publication in the Market
  • www.mql5.com
Before any product is published in the Market, it must undergo compulsory preliminary checks in order to ensure a uniform quality standard. This article considers the most frequent errors made by developers in their technical indicators and trading robots. An also shows how to self-test a product before sending it to the Market.