The Expert Advisor trades directly on whichever symbol chart it is attached to (no hardcoded symbols). It executes a maximum of one trade per week and all strategy decisions are calculated exclusively using Daily (D1) closed candle data based on server time.
Both filters are optional toggles that can only restrict entries further (they will never create entries on their own or loosen Rule 1):
| Input | Default value | Unit | Meaning and effect |
|---|---|---|---|
| InpLots | 0.10 | lots | Fixed position size requested for every entry. It is floored to the symbol's volume step; a size below SYMBOL_VOLUME_MIN aborts the entry (it is never rounded up), a size above SYMBOL_VOLUME_MAX is clamped down to the maximum. |
| InpStopLossPercent | 10.0 | percent of the entry price | Distance of the stop loss below the entry price. If the broker's SYMBOL_TRADE_STOPS_LEVEL demands a wider distance, the stop is widened. Values less than or equal to 0 are rejected at start-up: the EA does not run without a stop. |
| InpMagic | 20260922 | identifier | Magic number that marks the EA's own positions. Only positions on the chart symbol carrying this magic are counted and managed. |
| InpMaxSlippagePoints | 30 | points | Requested maximum deviation (slippage tolerance) for the market entry and the market exit. This is a tolerance request, not a guaranteed cap: the actually executed price also depends on the broker's execution mode and policy. |
| InpTradeComment | "MonDip long" | text | Comment attached to the entry order, visible in the terminal's trade history. |
| InpUseIBS | true | on / off | Enables the optional IBS entry filter (see below). The filter can only make entry stricter. |
| InpIBSMax | 0.25 | ratio in (0, 1] | Maximum allowed IBS of the Monday bar. Values outside (0, 1] are rejected at start-up. |
| InpUseMA | true | on / off | Enables the optional long-term moving-average entry filter (see below). |
| InpMAPeriod | 180 | daily bars | Period of the simple moving average of daily closing prices, computed on closed D1 bars ending with the Monday bar. Values below 2 are rejected at start-up. |
| InpVerboseLog | true | on / off | Prints additional journal detail. The weekly decision line is always printed regardless of this switch. |
The following excerpts are cut verbatim from the submitted source. They are selected excerpts of the decision logic, not complete runnable programs. Signal (rule 1):
//--- RULE 1 ------------------------------------------------------ // DECISION D8: "below" is a strict comparison, an equal close is a no-trade week. if(!(bar.close < refBar.close)) return(StringFormat("SKIP - rule 1: the Monday close %s is not below the previous trading day's close %s (equal or above).", DoubleToString(bar.close, _Digits), DoubleToString(refBar.close, _Digits)));
Filters (IBS and long-term MA):
//--- FILTER 1: IBS ---------------------------------------------- if(InpUseIBS) { if(!haveIBS) { // DECISION D7 return("SKIP - IBS filter: High == Low on the Monday bar, the ratio is undefined - no-trade day."); } if(!(ibs <= InpIBSMax)) // DECISION D8: "<=" as specified return(StringFormat("SKIP - IBS filter: IBS %.4f is above InpIBSMax %.4f.", ibs, InpIBSMax)); } //--- FILTER 2: long-term MA ------------------------------------- if(InpUseMA) { if(!haveMA) return(StringFormat("SKIP - MA filter: not enough daily history to compute the MA(%d).", InpMAPeriod)); if(!(bar.close < ma)) // DECISION D8: strict "<" return(StringFormat("SKIP - MA filter: the Monday close %s is not below the MA(%d) %s.", DoubleToString(bar.close, _Digits), InpMAPeriod, DoubleToString(ma, _Digits))); }
Exit (Wednesday close and later):
MqlDateTime dtBar; TimeToStruct(tBar, dtBar); // DECISION D18 if(!BarIsAtOrAfterWednesday(dtBar.day_of_week)) return; // DECISION D2: the exit is triggered by the close of the Wednesday bar and // executed on the first tick after it, retried until the position is flat. // DECISION D24: "the bar closed" is MT5's definition - the moment the next // daily bar opens on the server clock - not the cash-market closing bell. CloseOurPosition(StringFormat("rule 2 - the daily bar %s closed and it is a %s (Wednesday close reached)", TimeToString(tBar, TIME_DATE), WeekdayName(dtBar.day_of_week)));

Marginal Drawdown Contribution Analyzer
A script for accounts that run several Expert Advisors or configurations. It aggregates the net result of each configuration (magic number, or magic number and symbol) per calendar day and measures how much each one contributes to the portfolio drawdown: drawdown added by leave-one-out, share of the worst drawdown, and Euler variance share. It prints verdicts, recommendations, and a heuristic A+ to F score. It runs out of the box on a built-in demonstration portfolio and is written in pure MQL5.
GDS Renko Trade Manager — MetaTrader 5
A manual-trade manager for MetaTrader 5: completed Renko bricks, configurable break-even and trailing Stop Loss, plus an on-chart Renko dashboard. No automatic entries.
ATR Monitor — Daily, Weekly and Monthly Range
Displays daily, weekly and monthly ATR, the current high–low range, the range as a percentage of ATR, and price movement from each period's open.
Point and Figure
Point & Figure draws a classic P&F chart (X columns for rising prices, O columns for falling prices) in a separate indicator window, on any symbol and timeframe. It also adds a trading panel and support/resistance lines on the main chart.