My AI Golden H1 Titan
- Experts
- Version: 1.1
- Activations: 20
My AI Golden H1 Titan
My AI Golden H1 Titan combines three automated trading strategies for MetaTrader 5, with separate activation, lot sizing and position management controls. The reference setup is gold on H1; select your broker's gold symbol, including its suffix. The panel displays individual and combined strategy results. The inputs below configure each module separately.
Strategy overview and account monitoring notes
Global controls
- ShowStatusPanel - Shows or hides the combined on-chart status panel. This does not enable or disable trading.
- Strategy01Enabled - Master switch for Strategy 01. When false, this module does not open new trades or manage its own positions.
- Strategy02Enabled - Master switch for Strategy 02. When false, both Strategy 02 A and Strategy 02 B are disabled.
- Strategy03Enabled - Master switch for Strategy 03.
Panel position and size
- PanelCorner - Anchors the panel to a chart corner: 0 upper-left, 1 lower-left, 2 lower-right, 3 upper-right.
- PanelOffsetX - Horizontal distance from the selected corner, in screen pixels.
- PanelOffsetY - Vertical distance from the selected corner, in screen pixels.
- PanelScale - Panel size multiplier. The EA limits the effective scale to 0.75–1.50.
Strategy 01 - trade settings
- EntriesPerSignal - Number of entries generated by each accepted signal. Single_Entry opens one; Dual_Entry opens two.
- UseSignalDelay - Enables a wait between signal detection and entry processing.
- SignalDelaySeconds - Wait duration in seconds when UseSignalDelay is true. Zero or less removes the wait.
- AllowBuy - Direction control used together with AllowSell. true/false means buys only; false/true means sells only; both false or both true allows both directions.
- AllowSell - Direction control used together with AllowBuy; see the combinations above.
- Strategy01Comment - Text attached to Strategy 01 orders so they can be recognized in the trade history.
- Strategy01Magic - Unique numeric identifier for Strategy 01 orders and positions. Keep it different from the identifiers used by the other strategies or EAs on the same account.
Strategy 01 - lot and recovery
- LotSize - Fixed trade volume. A value above zero selects fixed-lot sizing; exactly 0 selects automatic sizing.
- AutoLotFactor - Multiplier applied by the selected automatic sizing profile. Larger values increase the calculated volume proportionally.
- BalanceStep - Balance divisor/step used by Manual_Balance_Step. With the default factor 0.15 and step 10,000, the reference sizing is about 0.15 lots per 10,000 account-balance units before broker volume normalization.
- AutoRiskProfile - Selects the divisor for automatic sizing: Manual_Balance_Step uses BalanceStep; Aggressive_Risk_per_150_balance uses 150; High_Risk_per_300_balance uses 300; Moderate_Risk_per_500_balance uses 500; Normal_Risk_per_750_balance uses 750; Low_Risk_per_1000_balance uses 1,000; Conservative_Risk_per_2000_balance uses 2,000. The raw volume is proportional to the account metric divided by the selected divisor and multiplied by AutoLotFactor. Higher divisor values generally produce smaller lots.
- UseRecovery - Enables Strategy 01's recovery sizing behavior after a losing Strategy 01 result. Recovery is internal to this module; no separate recovery multiplier is exposed. Calculated volume remains subject to broker limits.
Strategy 01 - trading hours
- StartHour - Opening hour of the daily entry window, in broker server time, when AutoGMTOffset is false. Valid range: 0–23.
- StartMinute - Opening minute, 0–59.
- EndHour - Closing hour of the entry window, in broker server time, when AutoGMTOffset is false. Valid range: 0–23.
- EndMinute - Closing minute, 0–59. If the end time is earlier than the start time, the window can extend across midnight.
- AutoGMTOffset - When true, adjusts the schedule using the broker GMT offset and a daylight-saving estimate. When false, the entered hours and minutes are used as broker server time.
Strategy 01 - weekday filters
- FilterFriday - Enables the Friday entry cutoff.
- FridayCutoffHour - Hour after which new Friday entries are blocked, in the schedule's effective time.
- FilterWednesday - Enables the Wednesday entry cutoff.
- WednesdayCutoffHour - Hour of the Wednesday cutoff.
- WednesdayCutoffMinute - Minute of the Wednesday cutoff hour.
Strategy 01 - stops and execution
- TakeProfitDistance - Take-profit distance from entry, in symbol points.
- StopLossDistance - Stop-loss distance from entry, in symbol points.
- MaxSpreadPoints - Maximum spread allowed for a new entry, in symbol points. A wider spread blocks that entry.
- MaxSlippagePoints - Maximum execution deviation requested for trade operations, in symbol points. It cannot guarantee a fill at the requested price.
Strategy 01 - trailing stop
- UseTrailingStop - Enables or disables Strategy 01 trailing-stop management.
- TrailStart - Minimum favorable open profit, in points, required before the trailing stop begins.
- TrailOffset - Distance in points between the current price and the trailing stop.
- TrailStep - Minimum favorable price change, in points, required before the stop is updated again.
Strategy 01 - news filter
- UseNewsFilter - Uses the MT5 economic calendar to block new Strategy 01 entries around matching events. It does not disable management of an already-open Strategy 01 position.
- NewsMinutesBefore - Number of minutes before an event to block new entries.
- NewsMinutesAfter - Number of minutes after an event to keep blocking new entries.
- IncludeHighImpactNews - Includes high-importance calendar events in the block.
- IncludeModerateImpactNews - Includes medium-importance calendar events in the block. Low-impact events are not selected by these two switches.
Strategy 02 - component a
- Strategy02AEnabled - Enables or disables only Strategy 02 A. The global Strategy02Enabled switch must also be true.
- Strategy02AComment - Order comment used for Strategy 02 A.
- Strategy02AMagic - Unique identifier for Strategy 02 A trades. Keep it distinct from all other strategy identifiers.
- Strategy02ALongOnly - Restricts Strategy 02 A to long/buy entries when true.
- Strategy02AShortFilter - Enables the additional bearish filter used to qualify Strategy 02 A short entries. It does not turn buys on or off.
- Strategy02AProfile - Selects the Strategy 02 A stop preset: 0 selects a 5.0 price-unit stop distance; any nonzero value selects a 10.0 price-unit stop distance. Use 0 or 1 as the intended choices.
- Strategy02ARiskMode - Chooses Strategy 02 A volume calculation: 0 = stop-distance-based percentage sizing; 1 = Strategy02AFixedLot; 2 = lots per balance step using Strategy02ALotsPer1000 and Strategy02ABalanceStep; 3 = balance-based sizing using Strategy02ARiskLevel.
- Strategy02ARiskLevel - Used only when Strategy02ARiskMode is 3. Levels 0–7 select balance divisors 1,200; 800; 600; 500; 300; 200; 150; and 100 respectively. Higher levels generally calculate larger volume.
- Strategy02ARiskPercent - Used in mode 0. It is the percentage of account balance used by the stop-distance sizing formula; actual monetary risk can vary with symbol specifications and execution.
- Strategy02AFixedLot - Fixed volume used in mode 1 and as the calculation fallback when an automatic sizing input cannot be used.
- Strategy02ALotsPer1000 - In mode 2, volume rate in lots per 1,000 balance units.
- Strategy02ABalanceStep - In mode 2, balance amount used as one sizing step. The calculated lots scale with balance divided by this step.
- Strategy02ARecoveryEnabled - Enables recovery sizing for Strategy 02 A after a qualifying losing result.
- Strategy02ARecoveryMultiplier - Multiplies the calculated Strategy 02 A volume while recovery is active. It only applies when Strategy02ARecoveryEnabled is true; the result is normalized to broker volume limits.
- Strategy02AEntryMode - Selects the A entry-offset behavior. Mode 1 applies the module's one-price-unit trigger adjustment; other values use no added adjustment. Use the intended values 0 or 1.
- Strategy02AMaxOvershoot - Maximum additional adverse price movement tolerated beyond the A trigger. Zero disables this extra overshoot limit. The value is interpreted as a price distance by this implementation.
Strategy 02 - component b
- Strategy02BEnabled - Enables or disables only Strategy 02 B. The global Strategy02Enabled switch must also be true.
- Strategy02BComment - Order comment used for Strategy 02 B.
- Strategy02BMagic - Base identifier for Strategy 02 B trade records. The module also uses related identifiers for its managed positions; keep the base distinct from other strategies.
- Strategy02BAllowBuy - Allows new Strategy 02 B buy entries.
- Strategy02BAllowSell - Allows new Strategy 02 B sell entries.
- Strategy02BRiskMode - Chooses Strategy 02 B volume calculation: 0 = stop-distance-based percentage sizing; 1 = Strategy02BFixedLot; 2 = lots per balance step using Strategy02BLotsPer1000 and Strategy02BBalanceStep; 3 = balance-based sizing using Strategy02BRiskLevel.
- Strategy02BRiskLevel - Used only when Strategy02BRiskMode is 3. Levels 0–7 select balance divisors 1,200; 800; 600; 500; 300; 200; 150; and 100 respectively. Higher levels generally calculate larger volume.
- Strategy02BRiskPercent - Used in mode 0. It is the percentage of account balance used by the stop-distance sizing formula; actual monetary risk can vary with symbol specifications and execution.
- Strategy02BFixedLot - Fixed volume used in mode 1 and as the calculation fallback when an automatic sizing input cannot be used.
- Strategy02BLotsPer1000 - In mode 2, volume rate in lots per 1,000 balance units.
- Strategy02BBalanceStep - In mode 2, balance amount used as one sizing step. The calculated lots scale with balance divided by this step.
Strategy 02 - risk and schedule
- MaxDrawdownPercent - Strategy 02 floating-loss threshold as a percentage of account balance. Zero disables the protection. A positive value activates protection when the managed Strategy 02 A/B positions reach the threshold; unrelated strategies and other magic numbers are excluded.
- PauseUntilNextDay - When true, pauses new Strategy 02 entries until the next broker-server day after drawdown protection activates. When false, no next-day pause is applied.
- CloseBeforeWeekend - Enables the Strategy 02 attempt to close its managed positions before the final Friday trading-session close. The exact opportunity depends on the symbol's broker session and market availability.
- TradeMonday - Allows or blocks new Strategy 02 entries on Monday.
- TradeTuesday - Allows or blocks new Strategy 02 entries on Tuesday.
- TradeWednesday - Allows or blocks new Strategy 02 entries on Wednesday.
- TradeThursday - Allows or blocks new Strategy 02 entries on Thursday.
- TradeFriday - Allows or blocks new Strategy 02 entries on Friday.
- AvoidNFPEventDays - Blocks new Strategy 02 entries on dates recognized by the built-in US Nonfarm Payroll date filter.
- AvoidFOMCEventDays - Blocks new Strategy 02 entries on dates recognized by the built-in FOMC date filter.
Strategy 03 - general
- Strategy03_Trading - Broker symbol to trade, including any broker suffix when required (for example, XAUUSD.pc). The selected symbol must be available in Market Watch.
- Strategy03_EnableVolatilityFilter - Enables the signal confirmation wait. When false, the EA does not wait for the volatility check.
- Strategy03_VolatilityCheckSeconds - Number of seconds to wait before confirming a pending signal. Used only when the volatility filter is enabled; zero or less removes the wait.
- Strategy03_MaxPriceDeviationPoints - Maximum price movement in symbol points permitted during the confirmation wait. A move beyond this limit cancels the pending entry.
- Strategy03_MaxSpread - Maximum spread accepted for a new Strategy 03 entry. The module multiplies this setting by 0.1 in price units; for example, 50.0 corresponds to a 5.0 price difference. A wider spread blocks the entry.
- Strategy03_Slippage - Requested execution deviation. The EA multiplies this value by 10 to set MT5 deviation points (for example, 10 becomes 100 points); it cannot guarantee the final fill price.
- Strategy03_tradeDirection - Direction setting: 0 allows buys and sells, 1 allows buys only, 2 allows sells only.
- Strategy03_TradeComment - Text attached to Strategy 03 orders.
- Strategy03_MagicNumber - Unique identifier used to recognize and manage Strategy 03 positions. Keep it distinct from the identifiers of the other strategies and EAs.
Strategy 03 - lot and risk
- Strategy03_FixedLot - Fixed volume. A value above zero selects fixed-lot sizing; zero enables automatic sizing.
- Strategy03_LotsPer1000 - Automatic lots per 1,000 account-balance units. Used when Strategy03_FixedLot is zero and Strategy03_RiskPercent is zero. The default 0.02 is half the Strategy 02 default rate of 0.04.
- Strategy03_LotsStep - Extra volume added for each subsequent basket entry. It is applied only when the basket strategy opens an additional position.
- Strategy03_RiskPercent - When positive and Strategy03_FixedLot is zero, selects the module's margin-based volume formula instead of Strategy03_LotsPer1000. The formula uses account balance, required margin and this value divided by 1,000. This is a sizing input, not a guaranteed maximum-loss percentage.
Strategy 03 - basket and stops
- Strategy03_OrdersMax - Maximum number of Strategy 03 positions in the basket. 1 keeps single-position mode; values above 1 allow additional basket entries.
- Strategy03_OrdersStep - Price distance between a basket position and the next allowed add-on, in the module's price-unit scale (0.1 per configured unit).
- Strategy03_OrdersProfit - Basket profit target in account currency. When the combined managed basket profit reaches this amount, the basket is closed.
- Strategy03_TrailingStopStart - Basket profit level, in account currency, at which peak-profit trailing begins. It must be nonzero together with Strategy03_TrailingStopStep.
- Strategy03_TrailingStopStep - Allowed decline from the recorded basket-profit peak, in account currency, that triggers basket closure. It must be nonzero together with Strategy03_TrailingStopStart.
- Strategy03_TakeProfit - Take-profit distance for single-position mode, in the module's price-unit scale (0.1 per configured unit). A value of zero means no take-profit distance is set.
- Strategy03_StopLoss - Stop-loss distance for single-position mode, in the module's price-unit scale (0.1 per configured unit). Used when Strategy03_OrdersMax is 1; zero means no stop-loss distance is set.
- Strategy03_StopAtLoss - Maximum basket floating-loss threshold as a percentage of account balance. Reaching the threshold closes the Strategy 03 basket.
Strategy 03 - trading hours
- Strategy03_Trading24h - When true, bypasses Strategy 03 weekday and time-window checks.
- Strategy03_Monday - Monday availability switch used by the Strategy 03 schedule. In this build, weekday switches are evaluated cumulatively: an enabled later weekday can leave an earlier weekday's own time window eligible. Verify combinations before relying on an individual day being fully blocked.
- Strategy03_MondayStartTime - Monday schedule start in HH:MM, broker server time.
- Strategy03_MondayEndTime - Monday schedule end in HH:MM, broker server time.
- Strategy03_Tuesday - Tuesday availability switch used by the Strategy 03 schedule. Weekday switches are evaluated cumulatively in this build; see the Monday note above.
- Strategy03_TuesdayStartTime - Tuesday schedule start in HH:MM, broker server time.
- Strategy03_TuesdayEndTime - Tuesday schedule end in HH:MM, broker server time.
- Strategy03_Wednesday - Wednesday availability switch used by the Strategy 03 schedule. Weekday switches are evaluated cumulatively in this build; see the Monday note above.
- Strategy03_WednesdayStartTime - Wednesday schedule start in HH:MM, broker server time.
- Strategy03_WednesdayEndTime - Wednesday schedule end in HH:MM, broker server time.
- Strategy03_Thursday - Thursday availability switch used by the Strategy 03 schedule. Weekday switches are evaluated cumulatively in this build; see the Monday note above.
- Strategy03_ThursdayStartTime - Thursday schedule start in HH:MM, broker server time.
- Strategy03_ThursdayEndTime - Thursday schedule end in HH:MM, broker server time.
- Strategy03_Friday - Enables Friday availability in the Strategy 03 schedule.
- Strategy03_FridayStartTime - Friday schedule start in HH:MM, broker server time.
- Strategy03_FridayEndTime - Friday schedule end in HH:MM, broker server time.
Each weekday uses its matching HH:MM interval. A start time equal to the end time is treated as closed; overnight windows are supported. Weekend entries are not enabled by these weekday settings. The cumulative weekday behavior described above should be corrected before relying on independent weekday exclusions.
Strategy 03 - news filter
- Strategy03_CheckNewsFilterInit - Enables the Strategy 03 economic-calendar filter for new entries. Position and basket management continues while a news block is active.
- Strategy03_NewsFilterParams - Display label only. Editing this text does not change filter behavior.
- Strategy03_doNotTradeBeforeInMinutes - Minutes before a matching calendar event during which new Strategy 03 entries are blocked.
- Strategy03_doNotTradeAfterInMinutes - Minutes after a matching calendar event during which new Strategy 03 entries remain blocked.
- Strategy03_ReportForUSD - Includes USD calendar events in the Strategy 03 filter.
- Strategy03_ReportForEUR - Includes EUR calendar events in the Strategy 03 filter.
- Strategy03_AllowTradingOnHolidays - When true, calendar events classified as holidays are ignored by this news filter; when false, matching holidays can block entries inside the configured time window.
- Strategy03_FindKeyword - Enables event-title keyword matching in addition to currency and time-window checks.
- Strategy03_FindKeywordsList - Comma-separated event-title terms used when Strategy03_FindKeyword is true. The default list is ECB, FOMC, Fed, Federal Funds Rate and Non-Farm.
Strategy 02 B has no separate recovery input. Its volume sizing is controlled by the risk-mode inputs above.
News and open positions
Each strategy's news controls are separate. A news block prevents new entries for that strategy; it is not a global shutdown and does not stop management of its existing positions. Check calendar availability and broker server time before relying on scheduled-event blocking.
Use a demo account and confirm symbol specifications, volume limits, trading sessions and server time before live use.
