Discord

Grid Settings

Complete reference for all Grid EA parameters.

Direction Control

ParameterDefaultDescription
AllowBuytrueEnable BUY orders
AllowSelltrueEnable SELL orders
AutoFirstOrdertrueAutomatically open the first order when EA starts
EnableRemotetrueAllow admin to pause/resume EA remotely

Trend Filter

ParameterDefaultDescription
TrendFilterMAFilter mode: OFF, MA, RSI, or MA+RSI
CloseOnTrendChangefalseClose all positions when trend reverses
TrendStrictModefalseOnly trade in ONE direction based on trend
TrendStrictBullishfalseAllow BUY only on bullish trend (if StrictMode)
TrendStrictBearishfalseAllow SELL only on bearish trend (if StrictMode)
TrendStrictBuffer1000Buffer zone around MA (points) - no trade if price too close
TrendMA_Period100Moving Average period
TrendMA_MethodSMAMA calculation method (SMA, EMA, SMMA, LWMA)
TrendTimeframeH1Timeframe for trend calculation
RSI_Period14RSI indicator period
RSI_Oversold40RSI level below = oversold (bullish)
RSI_Overbought60RSI level above = overbought (bearish)

Trend Filter Modes

ModeDescription
OFFNo trend filter, trade both directions
MAUse Moving Average for trend
RSIUse RSI for trend
MA+RSIBoth must agree

Grid Parameters

ParameterDefaultDescription
GridModeFixedGrid type: Fixed, S/R Levels, or Order Blocks
GridStep1100Distance between grid levels (points)
GridStepMultiplier1.0Multiplier for progressive grid (1.0 = fixed)
GridDelayedAfter0Add extra distance after X levels (0 = off)
GridDelayedExtra0Extra points to add after delayed level
FirstOrderDistance600Distance from price for first pending order
MoveStep60Step size when moving pending orders
GridFollowDistance100Distance for grid trailing entry
GridFollowStep30Step size for grid trailing
SR_Lookback50Bars to look back for Support/Resistance
SR_Strength3Minimum touches to confirm S/R level
SR_Tolerance100Tolerance for S/R level detection (points)
OB_Lookback30Bars to look back for Order Blocks
OB_MinMove500Minimum move to confirm Order Block

Grid Modes

ModeDescription
FixedFixed distance between levels
S/RGrid at Support/Resistance levels
Order BlockGrid at Order Block zones

Lot Size & Martingale

ParameterDefaultDescription
UseAutoLotfalseCalculate lot size based on balance
AutoLotPercent0.1Percentage of balance for auto lot
StartLot0.01Starting lot size
LotMultiplier2.0Multiply lot by this for each grid level
LotIncrement0.0Add this to lot for each level (alternative)
MaxGridLevels0Maximum grid levels (0 = unlimited)

Lot Progression Example (StartLot=0.01, Multiplier=2.0)

  • Level 1: 0.01
  • Level 2: 0.02
  • Level 3: 0.04
  • Level 4: 0.08
  • Level 5: 0.16

Profit Targets

ParameterDefaultDescription
TakeProfit_1Dir600TP when trading ONE direction (points)
TakeProfit_2Dir500TP when trading BOTH directions (points)

Trailing Stop

ParameterDefaultDescription
TrailingTypeOFFTrailing mode: OFF, Points, or Bars
TrailingActivation800Profit to activate trailing (points)
TrailingPoints500Trailing distance (points)
TrailingTFM15Timeframe for bar-based trailing
TrailingBars10Number of bars for trailing

Risk Management

ParameterDefaultDescription
MaxLossUSD0Max loss in USD before closing all (0 = off)
MaxDrawdownPct0Max drawdown % before closing all (0 = off)

Dynamic TP & Degressive Martingale

Dynamic Take Profit

Reduces TP when grid gets deeper to help recovery.

ParameterDefaultDescription
UseDynamicTPtrueEnable dynamic TP
DynamicTP_Level13After X levels, first reduction
DynamicTP_Value1250New TP after Level1 (points)
DynamicTP_Level25After X levels, second reduction
DynamicTP_Value2100New TP after Level2 (points)
DynamicTP_Level37After X levels, third reduction
DynamicTP_Value350New TP after Level3 (points)

Degressive Martingale

Reduces multiplier at deeper levels.

ParameterDefaultDescription
UseDegressiveMartingalefalseEnable degressive martingale
DegressiveAfter3After X levels, reduce multiplier
DegressiveMultiplier11.5Multiplier after DegressiveAfter
DegressiveAfter25After X levels, reduce more
DegressiveMultiplier21.2Multiplier after DegressiveAfter2

End of Day Management

ParameterDefaultDescription
UseEndOfDaytrueEnable end of day management
EOD_CloseHour23Hour when market closes (server time)
EOD_NoNewGridMinutes60Stop new grids X minutes before close
EOD_ForceCloseMaxGrid2Force close if grid ≤ X levels before close

⛔ OTHER - DO NOT CHANGE

🔴 WARNING

Do not modify these settings unless you know what you're doing. Changing these can cause issues with order management and license validation.

ParameterDefaultDescription
Magic888Magic number - unique identifier for EA orders
Comment_Filtred_eaComment attached to orders
⚠️ Magic Number

If you change this, the EA will not recognize its own orders. Only change if running multiple instances on same account.

⛔ DISPLAY - DO NOT CHANGE

🔴 WARNING

These settings control the overlay position. Changing them may hide the overlay or cause display issues.

ParameterDefaultDescription
Display_X20Overlay X position (pixels from left)
Display_Y30Overlay Y position (pixels from top)
Display_FontSize11Font size
Display_FontConsolasFont name
💡 Tip

Only change Display_X and Display_Y if the overlay is hidden behind another element.