Rafal W.
Rafal W.
Extend BarEntry struct with additional information such as volume and patterns.
- [ ] avoid trades on candle's non-peak prices (to be moved from SOF/SCF); negation: avoid trades on candle's peak prices - [ ] avoid trades on candle's peak prices...
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 =...