TFXS TITAN ULTIMATE V11
Complete Parameter Guide
Every input parameter explained — defaults, enums, descriptions, and pro tips. 25 sections covering the full EA configuration.
Your unique license key provided by TFXS. The EA will not trade without a valid, activated license. Generate your key at license.theforexskyline.com
| Parameter | Default | Description |
| License_Key | "" | Your license key in format TFXS-XXXX-XXXX-XXXX-XXXX. Must match the account number and server this EA is attached to. The EA validates online every 24 hours. |
⚠️ Make sure you have authorized the URL https://tfxs-license.onrender.com in MetaTrader 5 → Tools → Options → Expert Advisors → "Allow WebRequest for listed URLs".
Controls the fundamental behavior of the EA — whether it trades as a pure grid system or follows the trend using indicators before entering positions.
| Parameter | Default | Description |
| StrategyType | Follow Trend | The main strategy mode.
Mode_Normal_Grid — Opens trades immediately and uses the grid engine for recovery. Ignores trend indicators.
Mode_Follow_Trend — Uses MA and RSI indicators to confirm trend direction before opening initial entries. Grid activates only for recovery.
|
| TradeDirection | Trade_Both | Restricts trading direction.
Trade_Buy — Only BUY positions
Trade_Sell — Only SELL positions
Trade_Both — Both directions allowed
|
| Manage_Manual_Trades | true | When enabled, the EA will manage trades placed manually (Magic Number 0) — applying trailing stops, grid recovery, and basket TP to your manual positions. |
| Magic | 3579 | Unique identifier for the EA's trades. Change this if running multiple instances on the same account to prevent them from interfering with each other. |
These indicators are only used in Follow Trend mode. They determine when the EA is allowed to open its initial trade based on trend direction and momentum.
| Parameter | Default | Description |
| TrendMA_Period | 50 | Period of the Moving Average used for trend detection. Price above MA = uptrend (BUY), below MA = downtrend (SELL). |
| TrendMA_Method | EMA | Moving Average calculation method. EMA (Exponential) reacts faster to price changes than SMA (Simple). |
| UseRSI_Filter | true | Adds RSI confirmation to entries. Prevents buying when overbought and selling when oversold. |
| RSI_Period | 14 | RSI calculation period. Lower values are more sensitive. |
| RSI_Buy_Level | 30 | Only BUY when RSI is below this level (looking for oversold bounces). |
| RSI_Sell_Level | 70 | Only SELL when RSI is above this level (looking for overbought reversals). |
Controls how the EA calculates Take Profit for individual trades and basket (group) positions. The basket TP is crucial for grid recovery — it closes all positions when the combined profit target is reached.
| Parameter | Default | Description |
| TakeProfitMode | TP_Fixed_Points | How to calculate TP.
TP_Fixed_Points — Uses a fixed number of points/pips.
TP_Dynamic_ATR — TP adapts to volatility using ATR indicator.
|
| TakeProfit | 60 | Fixed TP distance in points. Used when TakeProfitMode is Fixed. |
| ATR_Multiplier_TP | 1.5 | TP = ATR × this multiplier. Higher = wider TP, slower but safer closes. |
| Grid_Basket_TP_Mode | Net Profit Only | How basket TP is calculated for the grid group.
Basket_All_Orders_Profit — Close when ALL individual orders are in profit.
Basket_Net_Profit_Only — Close when the NET combined profit is positive (allows some losing trades to be covered by winners).
|
| Basket_BE_Offset_Pips | 3.0 | When basket hits break-even, this offset ensures you close with at least X pips profit to cover commissions. |
| Basket_BE_Max_TP_Pips | 15.0 | Maximum basket TP distance. Prevents unrealistic TP targets on deep grids. |
| Use_TP_Compression | true | Reduces TP per trade as grid deepens. More orders = tighter TP for faster exit. |
| Start_Compression_Order | 4 | Start compressing TP from this grid level. |
| Compression_Percent | 5.0 | Each extra order reduces TP by this percentage. |
| Min_Compressed_TP | 10.0 | TP will never go below this value (floor). |
| Include_Manual_In_Basket | true | V11 Includes manual trades in basket TP calculation for complete position management. |
| Use_Periodic_TP_Recalc | true | V11 Periodically recalculates TP to account for new manual trades or Smart Recovery changes. |
| TP_Recalc_Seconds | 5 | How often to recalculate TP (in seconds). |
Controls when the EA is allowed to open new trades and how long it waits after a loss before retrying.
| Parameter | Default | Description |
| Use_Time_Filter | false | Restrict trading to specific hours. Useful if you only want the EA active during London/NY sessions. |
| Start_Hour | 1 | Trading allowed from this hour (server time). |
| End_Hour | 23 | Trading stops at this hour (server time). |
| Use_Time_Exit | false | Auto-close individual trades after a maximum duration. |
| Max_Trade_Duration_Mins | 1440 | Close trade if it's been open longer than this (minutes). 1440 = 1 day. |
| Cooldown_After_Loss_Mins | 60 | Pause new entries for X minutes after a stop loss is hit. Prevents revenge trading. |
The grid engine is the core recovery mechanism. When a trade goes against you, the EA opens additional positions at calculated intervals to average down and recover with a basket close. This is the most powerful and most dangerous feature — configure carefully.
| Parameter | Default | Description |
| Use_Grid | true | Master switch for the grid/recovery system. Disable for single-trade mode. |
| StepMode | Step_Fixed | How the distance between grid levels is calculated.
Step_Fixed — Fixed point distance between each grid level.
Step_Dynamic_ATR — Grid step adapts to current volatility using ATR.
|
| Grid_Calculation_Mode | Smart Aggressive | Grid logic mode.
Calc_Standard_Safe — Conservative: each grid order uses the last lot × multiplier.
Calc_Smart_Aggressive — Aggressive: grid uses the base lot × multiplier^level. Recovers faster but uses more margin.
|
| Fixed_Step | 30 | Base distance between grid levels (in points). |
| ATR_Multiplier_Step | 0.8 | Grid step = ATR × this value. Used in Dynamic ATR mode. |
| Max_Grid_Step | 500 | Maximum allowed grid step (safety cap in points). |
| ATR_Grid_Timeframe | CURRENT | V11 Override ATR timeframe. Run EA on M1 but use M5/M15 ATR for more stable grid spacing. |
| ATR_Grid_Period | 14 | ATR period for grid step calculation. |
| MaxGridOrders | 10 | Maximum total orders (grid + pyramid combined). SAFETY |
| Use_Adaptive_Grid_Step | true | V11 Widens the grid step as the grid deepens. Prevents orders from clustering too close. |
| Grid_Step_Growth | 1.15 | Step multiplier per level. 1.15 = each level is 15% wider than the previous. |
| Use_Anti_Trend_Guard | true | V11 Blocks new grid orders when they would be against the trend (detected by MA). Prevents deep drawdowns in trending markets. |
| Anti_Trend_MA_Period | 100 | MA period for anti-trend detection. |
| Grid_Lot_Mode | Scale_Additive | How grid lot sizes increase per level.
Scale_Flat — Same lot on every grid level (safest).
Scale_Additive — Add a fixed increment per level (e.g., 0.01, 0.02, 0.03...).
Scale_Martingale — Multiply lot by Grid_Multiplier each level (most aggressive).
|
| Grid_Additive_Increment | 0.01 | Fixed lot added per grid level in Additive mode. |
🚨 Warning: MaxGridOrders × Max_Lot_Size is your worst-case exposure. Always calculate if your account can handle a full grid before going live.
The opposite of the grid: when trades go in your favor, the EA adds positions to maximize profits. Think of it as "scaling into winners."
| Parameter | Default | Description |
| Use_Pyramiding | true | Enable adding positions when in profit. |
| AllowGridRescueToUsePyramid | false | If true, the EA can pyramid even when a grid rescue is active. Use with caution. |
| Pyramid_Calculation_Mode | Smart Aggressive | Same logic as grid calculation mode but for pyramid levels. |
| Max_Pyramid_Orders | 5 | Maximum pyramid positions added. |
| Pyramid_Step | 40 | Add a new pyramid position every X points of profit. |
| Pyramid_Multiplier | 1.0 | Lot multiplier for each pyramid level. 1.0 = flat (same lot size). |
| Use_Pyramid_BreakEven | true | Move pyramid trades to break-even to protect profits. |
| Pyramid_BE_Offset_Points | 5.0 | Points above entry for pyramid BE (covers commissions). |
| Recover_Pyramid_Trades | true | Allow the grid engine to rescue failed pyramid trades. |
Controls how the EA calculates lot sizes. The right lot sizing is the single most important factor in long-term survival.
| Parameter | Default | Description |
| LotSizeMode | LotMode_Auto | How lot size is determined.
LotMode_Fixed — Always uses InitialLot.
LotMode_Auto — Calculates lot based on account balance (AutoLot_Risk per $1000).
LotMode_Custom_Sequence — Uses your custom lot sequence string for each grid level.
|
| Custom_Lot_Sequence | "0.01, 0.01, 0.02..." | Comma-separated lot sizes for each grid level. Level 1 uses first value, level 2 the second, etc. |
| InitialLot | 0.01 | Base lot size for fixed mode and starting lot for auto/grid calculations. |
| AutoLot_Risk | 0.05 | Lot size per $1000 balance. Example: $5000 balance × 0.05 = 0.25 lot. |
| Grid_Multiplier | 1.2 | Martingale multiplier for grid lots (only in Martingale lot mode). Each level = previous lot × this value. |
| Max_Lot_Size | 50.0 | Absolute maximum lot size per trade. SAFETY |
| Max_Total_Exposure_Lots | 5.0 | V11 Maximum total lots across all open positions combined. Prevents over-exposure. SAFETY |
| Use_DD_Adaptive_Lots | true | V11 Automatically reduces lot scaling when drawdown is high. |
| DD_Reduce_Threshold | 5.0 | Start reducing lot scaling when daily drawdown exceeds this %. |
| DD_Flat_Threshold | 10.0 | Force flat lots (no increase) when drawdown exceeds this %. |
💡 Recommended: Use AutoLot with 0.01-0.05 per $1000. This ensures your lot size scales with your account without manual adjustment.
Opens an opposite position when drawdown gets too deep. The hedge locks the loss and prevents further damage while waiting for a reversal.
| Parameter | Default | Description |
| EnableHedging | Hedge_Active | Master switch. Hedge_Off disables completely, Hedge_Active enables. |
| Hedge_Activation_DD | 15.0 | Open the hedge when drawdown reaches this % of account balance. |
| Hedge_Volume_Percent | 60.0 | Hedge size as % of total exposure. 60% means the hedge covers 60% of your open lots. |
| Hedge_Deactivation_DD | 5.0 | V11 Auto-close the hedge when drawdown drops below this %. Frees up margin for recovery. |
An advanced recovery mechanism that uses profits from winning trades to offset losses on underwater positions. The EA automatically closes the most profitable trade paired with the biggest loser.
| Parameter | Default | Description |
| UseSmartRecovery | true | Enable the Smart Recovery engine. |
| Recovery_Start_Order | 6 | Only activate Smart Recovery when grid has this many or more orders open. |
| Recovery_Profit_Use | 0.5 | Use this fraction of a winning trade's profit to close losers. 0.5 = use 50% of profit. |
Follows the price as it moves in your favor, locking in profits progressively. Three modes available for different market conditions.
| Parameter | Default | Description |
| UseTrailing | true | Master switch for trailing stop. |
| Use_Grid_Trailing_Filter | true | Disable trailing when grid has more than 1 trade open (avoids premature stops during recovery). |
| Use_Infinite_TP | true | Remove the fixed TP when trailing starts, letting the trailing stop determine the exit for unlimited profit potential. |
| TrailType | Trail_Dynamic_ATR | Trailing mode.
Trail_Fixed — Fixed distance trailing stop.
Trail_Dynamic_ATR — ATR-based adaptive distance (wider in volatile markets).
Trail_Basket — Trails the combined profit of all positions as a group.
|
| Trail_Start | 20 | Start trailing after price moves X points in profit. |
| Trail_Dist | 30 | Fixed trailing distance (points). |
| ATR_Trail_Mult | 0.8 | Trail distance = ATR × this value. |
| Basket_Trail_Start_Pips | 5.0 | V11 Basket trailing: start after X pips combined profit. |
| Basket_Trail_Step_Pips | 2.0 | V11 Basket trailing: lock profit every X pips. |
Protects your account by setting daily profit targets and maximum drawdown limits. When limits are hit, the EA stops trading for the day.
| Parameter | Default | Description |
| Daily_Target_Percent | 3.0 | Close all trades and stop when daily profit reaches this % of start-of-day balance. |
| Close_All_At_Daily_Target | true | Close all positions when daily target is reached. |
| Max_Daily_DD_Percent | 10.0 | Maximum daily drawdown. EA stops if loss exceeds this %. |
| Use_Hard_Breach | true | Emergency stop: close everything if equity drops to 50% of balance. SAFETY |
| Use_Equity_Stop | true | V11 Additional equity protection that triggers earlier than Hard Breach. SAFETY |
| Equity_Stop_DD_Percent | 20.0 | V11 Close all and stop EA at this drawdown %. Acts before Hard Breach. |
| Use_Emergency_SL | true | V11 Set a wide emergency stop loss on every trade as a last-resort safety net. SAFETY |
| Emergency_SL_Pips | 200.0 | V11 Emergency SL distance in pips. |
🚨 Never disable all safety mechanisms. At minimum, keep Use_Hard_Breach and Use_Equity_Stop enabled. They are your last line of defense against catastrophic loss.
Basic filters to prevent trading during unfavorable conditions.
| Parameter | Default | Description |
| Use_Spread_Filter | true | Block new entries when spread is too high (news events, low liquidity). |
| Max_Spread | 50.0 | Maximum allowed spread in points. |
| Debug_Mode | true | Print detailed information to the MT5 Journal tab for troubleshooting. |
Additional safety layers that can be individually enabled. These are designed to prevent the EA from trading in unfavorable market conditions.
| Parameter | Default | Description |
| Use_ATR_Volatility_Filter | false | Block new entries when ATR exceeds a threshold (extreme volatility). |
| Max_ATR_Points | 250.0 | Maximum ATR value in points. |
| Use_ADX_Filter | false | Block entries when ADX is too low (no clear trend). |
| ADX_Period | 14 | ADX calculation period. |
| ADX_Min | 18.0 | Minimum ADX value to allow entries. |
| Use_Min_Time_Between_Cycles | false | Prevent over-trading by requiring a minimum wait between initial entry cycles. |
| Min_Minutes_Between_Cycles | 30 | Minutes between initial entries. |
| Use_Max_Consecutive_Losses | false | Stop new cycles after N consecutive losses today. |
| Max_Consecutive_Losses_Today | 3 | Maximum losses before stopping. |
| Use_Emergency_Floating_Stop | false | Emergency close if floating (unrealized) loss is too big. |
| Emergency_Floating_Loss_Percent | 8.0 | % of start-of-day balance for floating loss trigger. |
| Emergency_Cooldown_Mins | 120 | Pause after emergency close (minutes). |
Uses the MT5 built-in Economic Calendar to automatically pause trading before and after high-impact news events (NFP, CPI, FOMC, etc.).
| Parameter | Default | Description |
| Use_News_Filter | true | Enable the news filter. |
| News_Impact | High Only | Which news impact levels to block. News_High_Only blocks only red-flag events. News_Medium_High includes orange. News_All blocks everything. |
| News_Block_Before_Mins | 30 | Stop opening new trades X minutes before a news event. |
| News_Block_After_Mins | 30 | Resume trading X minutes after a news event. |
| News_Refresh_Seconds | 3600 | How often to refresh the economic calendar (seconds). |
| News_Debug_Print | false | Print upcoming news events in the Journal. |
Detects abnormally large candles (spikes) and pauses entry to avoid getting caught in sudden price moves.
| Parameter | Default | Description |
| Use_Spike_Pause | true | Enable spike detection. |
| Spike_ATR_Multiplier | 3.0 | A candle is considered a "spike" if its range exceeds ATR × this value. |
| Spike_Pause_Mins | 60 | Pause new entries for this many minutes after a spike. |
| Spike_Debug_Print | false | Print spike detection info in Journal. |
Automatically adjusts your input values based on broker's digit count (4 vs 5 digit brokers). Prevents configuration errors that could lead to trades with 10x wrong SL/TP.
| Parameter | Default | Description |
| Use_Digits_Volatility_Safety | true | Enable automatic scaling based on broker digits. RECOMMENDED |
| Assume_Inputs_In_Pips | false | If true, all point inputs are treated as pips (multiplied by 10 on 5-digit brokers). |
| Min_Step_Pips | 5.0 | Minimum grid step (pips). |
| Min_TP_Pips | 5.0 | Minimum TP (pips). |
| Max_Spread_Pips | 5.0 | Maximum spread (pips). |
Blocks entries when current volatility is abnormally high compared to the recent average. This prevents entering during flash crashes or extreme news moves.
| Parameter | Default | Description |
| Use_ATR_Volatility_Gate | true | Enable the volatility gate. |
| ATR_Gate_Lookback | 100 | Period to calculate average ATR. |
| ATR_Max_Multiplier_vs_Avg | 2.0 | Block if current ATR exceeds average × this value. 2.0 = block when volatility is 2x normal. |
Restricts trading to specific market sessions. Different sessions have different characteristics — Asian is ranges, London/NY is trends.
| Parameter | Default | Description |
| Use_Session_Filter | false | Enable session restriction. |
| Session_Type | Asian Only |
Session_All — No restriction
Session_Asian_Only — Trade 00:00–09:00 GMT only
Session_London_Only — Trade 07:00–16:00 GMT
Session_NY_Only — Trade 13:00–22:00 GMT
Session_Custom — Define your own hours
|
| GMT_Offset | 2 | Your broker's GMT offset. Most MT5 brokers use GMT+2 (or +3 in summer). |
Close a portion of your position at TP1 to secure profit, then let the rest run with trailing stop or to TP2.
| Parameter | Default | Description |
| Use_Partial_Close | true | Enable partial close. |
| Partial_Close_Percent | 50.0 | Close this % of the position at TP1. |
| Partial_Close_Pips | 15.0 | TP1 distance (pips of profit). |
| Move_SL_To_BE_After_Partial | true | After partial close, move stop loss to break-even. |
An equity trailing stop for the entire day. Once you reach a certain daily profit, it locks a percentage and closes all if profit drops back.
| Parameter | Default | Description |
| Use_Profit_Lock | false | Enable daily profit locking. |
| Profit_Lock_Activate_Percent | 2.0 | Activate profit lock after X% daily gain. |
| Profit_Lock_Trailing_Percent | 50.0 | Lock this % of peak daily profit. If peak was 3% and this is 50%, close all if profit drops to 1.5%. |
When the EA detects significant drawdown, it enters a defensive mode: reducing lot sizes, tightening TP, and optionally blocking new entries to minimize further damage.
| Parameter | Default | Description |
| Use_DD_Recovery_Mode | true | Enable drawdown recovery mode. |
| DD_Recovery_Threshold | 5.0 | Activate when daily PnL is below -X%. |
| DD_Recovery_TP_Multiplier | 0.5 | Reduce TP to this fraction (0.5 = 50% of normal TP) for faster exits. |
| DD_Recovery_Lot_Multiplier | 0.5 | Reduce new lot sizes to this fraction (0.5 = 50% of normal lots). |
| DD_Recovery_Block_New_Cycles | true | Block new initial entries during recovery (only allow grid additions to existing trades). |
Moves individual grid trade stop losses to break-even when they reach a certain profit level, reducing risk on already-profitable positions.
| Parameter | Default | Description |
| Use_Grid_BreakEven | true | Enable per-trade break-even on grid positions. |
| Grid_BE_Trigger_Pips | 8.0 | Move SL to BE after this many pips profit on the individual trade. |
| Grid_BE_Offset_Pips | 1.0 | Lock this many pips above entry (covers commissions/swap). |
Uses a higher timeframe moving average crossover to determine the overall trend direction and blocks entries against it. Reduces the chance of getting caught in strong trends.
| Parameter | Default | Description |
| Use_Trend_Strength_Filter | false | Enable multi-timeframe trend filter. |
| Trend_HTF | H4 | Higher timeframe used for trend analysis. |
| Trend_MA_Fast | 20 | Fast MA period on the HTF. |
| Trend_MA_Slow | 50 | Slow MA period on the HTF. |
| Block_Grid_Against_HTF_Trend | true | Also block grid additions against the HTF trend (not just initial entries). |
Configure the on-chart panel that shows real-time EA status, balance, equity, grid levels, and more. Each row can be individually toggled.
| Parameter | Default | Description |
| Show_Panel | true | Master switch for the entire panel. Disable to hide it completely. |
| Show_Status | true | Show current EA status (TRADING, PAUSED, LIMIT HIT, etc.). |
| Show_Time | true | Show server time. |
| Show_Balance | true | Show account balance. |
| Show_Equity | true | Show account equity. |
| Show_DailyPnL | true | Show today's profit/loss for this symbol. |
| Show_GridLevel | true | Show current grid level count. |
| Show_PyramidLevel | true | Show current pyramid level count. |
| Show_NextStep | true | Show the price level of the next grid entry. |
| Show_Spread | true | Show current spread. |
| Show_HedgeStatus | true | Show whether hedge is active. |
| Show_DailyProgress | true | Show daily target and drawdown progress bars. |
| Show_Exposure | true | V11 Show total lot exposure. |
| Panel_Corner | Left Upper | Which corner of the chart to display the panel. |
| Panel_X / Panel_Y | 20 / 40 | Pixel offset from the corner. |
| UI_Scale | 1.0 | Scale factor for the panel. Increase for 4K/Retina displays (1.2-1.5). |