EA31337-classes
EA31337-classes copied to clipboard
📦📈 EA31337 framework (MQL library for writing trading Expert Advisors, indicators and scripts)
The purpose of negative shift is to predict future values of the indicator.
- Strategy: SignalOpenFilterMethod/SignalCloseFilter
Currently ENUM_LO_UP_LINE has only 2 modes, there is no item for main line. There is LINE_MAIN, but it's part of another enum. Main line is defined in MT4 version of...
``` bool IsValidWedge(int startIndex, int totalBars, const double &high[], const double &low[], int direction) { double trendlineSlope = (high[startIndex] - low[startIndex]) / 2; double prevSlope = 0; for (int i...
Detects a harmonic pattern called the Gartley pattern. Example code: ``` //+------------------------------------------------------------------+ //| Function to check if a Gartley pattern is present | //+------------------------------------------------------------------+ bool IsGartleyPattern(int index, const double &high[],...
``` #property indicator_separate_window // Indicator parameters extern double step = 0.02; extern double maxStep = 0.20; extern color sarColor = Lime; extern bool showAlerts = true; extern ENUM_ALERT_MODE alertMode =...
> OrderClose error 4108 > unknown ticket 134 for OrderClose function > ERROR: Trade::OrdersCloseViaProp2:993: Failed to close the order: 91! Error: 10011 (Request processing error)
> WARNING: EA::ProcessSignals:342: Error: 4051; OsMA > WARNING: EA::ProcessSignals:342: Error: 4074; OsMA > WARNING: EA::ProcessSignals:355: Processing signals failed! Code: 4074 Related: GH-314.