The MaZi trading strategy is all about leveraging breakout moments using a straightforward Expert Advisor (EA) on MetaTrader 4. This EA jumps into action when a trend line, drawn between the peaks of the Zig Zag indicator, gets breached—this is where the magic happens for your Buy orders. For Sell orders, just flip the script!
- MA Filtering: For a Buy, the price must be above the moving average (MA), while for a Sell, it should be below.
- MA Cross Closure: Trades are closed when the price crosses the MA.
- Cyclicity Filter: Ensure breakouts occur in the latter half of the cycle, aligning the first and second peaks.
- Friday Trading Rules: No trading after a specific time on Fridays and close any open positions if their profit falls below a defined threshold.
- Breakeven & Trailing Stop: Utilize both features to protect your profits.
For a deeper dive into this strategy, check it out here.
Parameters:
| Parameter | Description |
|---|---|
| lot | Trade size |
| stop_loss | Stop Loss level |
| take_profit | Take Profit level |
| noloss | Breakeven status (0 disables this feature) |
| noloss_pips | Pips to activate Breakeven |
| trall | Trailing Stop status (0 disables this feature) |
| trall_start | Profit level to start Trailing Stop |
| cycle_filter | Cyclicity filter setting |
| ma_filter | MA filtering criteria |
| close_ma_cross | Closure based on MA crossing |
| friday_time | Cut-off time for trades on Fridays |
| friday_close_profit | Minimum profit (in points) for closing trades on Fridays |
| Indicators Parameters | |
| zz_InpDepth | Parameters for the ZigZag indicator |
| zz_InpDeviation | |
| zz_InpBackstep | |
| ma_period | MA period setting |
| ma_method | MA calculation method |
| ma_price | Price type for MA calculation |
| Other Parameters | |
| magic | Unique identifier for the EA |
| CommentSize | Number of log lines displayed (set to 0 to disable) |

Comments 0