Developer: Forex Robot Easy Team
Developer's site: forexroboteasy.com
Gartley Hunter Multi MT4 is a powerful forex software designed to identify Gartley patterns in the market. Gartley patterns are harmonic patterns that can provide potential trading opportunities. This software scans multiple currency pairs and timeframes to detect these patterns and notifies the user when a pattern is found.
- Include the necessary libraries
Trade.mqh
andPositionInfo.mqh
. - Define the maximum number of currency pairs and timeframes using the constants
MAX_PAIRS
andMAX_TIMEFRAMES
. - Define the Gartley patterns using the
EGartleyPattern
enum. - Create an instance of the
CGartleyHunterMT4
class. - Add currency pairs using the
AddPair()
method. - Add timeframes using the
AddTimeframe()
method. - Scan the market for Gartley patterns using the
ScanMarket()
method. - Implement the Gartley pattern detection logic in the
IsGartleyPattern()
method. - Implement the notification logic in the
NotifyUser()
method.
// Create an instance of Gartley Hunter Multi MT4
CGartleyHunterMT4 gartleyHunter;
// Add currency pairs
gartleyHunter.AddPair(Symbol('EURUSD'));
gartleyHunter.AddPair(Symbol('GBPUSD'));
// Add more currency pairs as required
// Add timeframes
gartleyHunter.AddTimeframe(PERIOD_M1);
gartleyHunter.AddTimeframe(PERIOD_M5);
// Add more timeframes as required
// Scan market for Gartley patterns
gartleyHunter.ScanMarket();
For detailed reviews and trading results of this product, visit forexroboteasy.com. Please note that ForexRobotEasy is not the official developer of this product. This code is provided as a sample and can work as described in the product. To find the official developer of this product, please refer to MQL5.