Idea by: Scriptor.
MQL5 code by: Vladimir Karputov.
Introducing GoldWarrior02b, a cutting-edge Expert Advisor (EA) designed for MetaTrader 5. This robust trading system harnesses the power of indicators like the Commodity Channel Index (CCI), ZigZag, and the Impulse indicator to help you navigate the markets with ease. Plus, it offers position trailing for maximizing your profits!
Key Inputs for GoldWarrior02b
- Lots - Set your initial position volume;
- Stop Loss (in pips) - Define your risk level with a Stop Loss;
- Take Profit (in pips) - Secure your gains with a Take Profit;
- Trailing Stop (in pips) - Activate trailing stops to lock in profits;
- Trailing Step (in pips) - Customize your trailing step;
- Averaging period (for "Impulse" and "CCI") - Set the common averaging period for both indicators;
- ZigZag: Depth - Adjust the Depth parameter for ZigZag;
- ZigZag: Deviation - Set the Deviation parameter for ZigZag;
- ZigZag: Backstep - Define the Backstep parameter for ZigZag;
- Profit target for closing all positions - Establish a profit target to close all positions;
- Output, "false" -> in "Experts", "true" -> in Chart - Choose where to display messages;
- Negative impulse value for SELL signal - Set the threshold for SELL signals (e.g., if set to "-30", no SELL signal appears at "-40", but one does at "-20");
- Positive impulse value for BUY signal - Set the threshold for BUY signals (e.g., if set to "-30", no BUY signal appears at "-40", but one does at "-20");
- Multiplier of hedge positions of 1st and 2nd level - Configure the multiplier for initial lot sizes when hedging.
Here’s a quick test result from several symbols on H1 between 2018.01.01 and 2018.04.26:

Related Posts
- Unlocking the Potential of GoldWarrior02b MT4: Your Go-To EA for Trading
- Harnessing MQL5 Wizard for Trading Signals: 3 Black Crows & 3 White Soldiers with MFI
- Mastering Trading Signals with MQL5 Wizard: Bullish and Bearish Engulfing Strategies
- Creating a Stochastic-Based EA for Hammer and Hanging Man Patterns in MetaTrader 5
- Mastering Bullish and Bearish Harami Patterns with Stochastic in MT5