xLiquidex v2 mod1 is a MetaTrader 4 Expert Advisor source file. Static analysis documents Moving Average, Custom Indicator, Scalping, 53 exposed input declarations, and 0 include dependencies.
Source-code analysis only. No backtest or live-performance claim is provided.
Source code overview
- Platform: MT4
- Resource type: Expert Advisor
- File format: .mq4
- Event handlers:
OnInit,OnDeinit,OnTick
Detected code components
- Moving Average
- Custom Indicator
- Scalping
- Hedging
- Trailing Stop
Input parameters
| Parameter | Type | Default | Code comment |
|---|---|---|---|
DispEquityProtection |
string | "if true, then the expert will protect the account equity to the percent specified" |
|
EquityProtection |
bool | true |
if true, then the expert will protect the account equity to the percent specified |
AverageEquityProtection |
string | "percent of the account to protect on a set of trades" |
|
AccountEquityPercentProtection |
int | 75 |
percent of the account to protect on a set of trades |
UseMM |
bool | true |
enable/disable auto-calculation for size of lots: false = constant size of lots (value of parameter "Lots"); true = calculate size of lots by percent from FreeMargin (parameter "Risk") |
Lots |
double | 0.01 |
size of lots (used if UseMM = false) |
MinLots |
double | 0.01 |
|
MaxLots |
double | 100000.0 |
|
Risk |
double | 3.0 |
|
BarAndMA_Mode |
int | 0 |
2; // (0-3) mode for rule "bullish(bearish) bar should be above(below) MA": 0 = does not use this rule; 1 = Close of bar should be above(below) MA; 2 = body of bar should be above(below) MA; 3 = Low(High) of bar should be above(below) MA |
RangeFilter |
int | 10 |
(amount pips) minimum body of candle for trading signal |
StopLoss |
double | 0 |
(amount pips) stop-loss; 0 = without stop-loss |
TakeProfit |
double | 10 |
(amount pips) take profit; 0 = without take profit |
MoveToBE |
double | 5 |
(amount pips) profit when move the stop-loss level to opening price; 0 = without move to BE (option is disabled) |
MoveToBE_Offset |
double | 2 |
(amount pips) offset of the new level stop-loss from the opening price of order, positive_value = offset to side of profit, negative_value = offset to side of loss |
TrailingLimit |
int | 3 |
(amount pips) distance to pending order |
TrailingDistance |
int | 1 |
(amount pips) trailing stop; 0 = without trailing-stop |
MAPeriod |
int | 7 |
|
MAShift |
int | 0 |
|
MAMethod |
int | MODE_LWMA |
(0-3) |
MaxSpreadWithCommission |
double | 20.0 |
(amount pips) |
DefaultCommisionPoints |
double | 0 |
(amount pips) |
RangeFilterNote |
string | "H-S 0-0: 250 0-1: 300 1-0: 80 1-1: 250" |
|
MAMethodNote |
string | "SMA: 0 EMA: 1 SMMA: 2 LWMA 3" |
|
Slippage |
int | 3 |
(amount pips) maximum price slippage at open and close orders |
MagicNumber |
int | 41403 |
|
TradeComment |
string | "Liquidex_MKH-M15" |
|
ColorBuy |
color | clrLime |
color arrows of Buy-orders |
ColorSell |
color | clrOrange |
color arrows of Sell-orders |
ShowComment |
bool | true |
enable/disable show comment on chart |
WriteDebugLog |
bool | false |
enable/disable write to log the debug information |
___Keltner_Channel____ |
string | "---------------------------------------------" |
|
UseFilterKeltnerChannel |
bool | false |
true = use indicator "Keltner Channels"; false = does not use indicator "Keltner Channels" |
KC_Period |
int | 6 |
12; // parameter for indicator "Keltner Channels" |
partInRange |
string | "sur EURJPY par de trades entre 23h et 2 heures du mat" |
|
EntryHourFrom |
int | 2 |
|
EntryHourTo |
int | 24 |
|
FridayEndHour |
int | 22 |
|
part_iVAR |
string | " Ivar pour supprimer les fausses entrees periods = 5 par def " |
|
TimeFrameiVAR |
int | 1 |
Dependencies and package notes
- No include dependency was detected.
The downloadable derivative replaces non-runtime external URLs and contact details with the B123 site URL. Functional runtime endpoints remain unchanged to avoid breaking code.
Compilation and first test
- Place the source and required dependencies in the matching MetaTrader data folder.
- Compile it in MetaEditor and resolve every error before use.
- Inspect the inputs and code risks, then test only on a demo account or isolated chart.
Code and operational risks
- The source references custom-indicator logic. Confirm every required indicator file is installed before compilation or testing.
Download access
Registration and sign-in are required. WooCommerce grants the private file through a zero-total order. Each account may initially claim 3 distinct free source products per site day.
Questions
What is xLiquidex v2 mod1?
xLiquidex v2 mod1 is a MetaTrader 4 Expert Advisor source file. Static analysis documents Moving Average, Custom Indicator, Scalping, 53 exposed input declarations, and 0 include dependencies.
Does this source include verified performance results?
No. This page is based on static source-code analysis and does not provide a backtest, live result, profit, win-rate, or drawdown claim.
What is required before compiling this file?
Place the source in the matching MetaTrader folder and compile it in an isolated MetaEditor data folder before use.
Why are some external URLs retained in the code?
Only detected functional runtime endpoints are retained to avoid breaking WebRequest or network behavior. Non-runtime URLs and contact details are replaced with the B123 site URL.
Do I need an account to download the source?
Yes. Registration and sign-in are required. WooCommerce grants the private download through a zero-total order, with an initial limit of 3 distinct free source products per site day.
Need a ready-to-use EA instead of source code?
This free download is useful when you want editable MT4 Expert Advisor source code. If you want a cleaner ready-to-use path, compare it with the paid BBTrading products that already include private delivery, setup notes, and backtest evidence where available.
Paid BBTrading alternatives to compare
These products are selected by platform, detected code signals, and available catalog evidence. They are comparison options, not a claim that they use identical logic.
- EA Forex Scalper_fix – Parameters and setup
- EA Ice Cube Scalper_fix – Parameters and setup
- ORION GOLD SCALPER EA V4.4 – Parameters and setup
Want this source checked or fixed?
Diagnostic status: compile_not_run. If the file does not compile, has missing dependencies, or behaves differently on your broker, use the page details when contacting B123/BBTrading support. The free source is a starting point; fixed, compiled, or backtested alternatives may save time.
Common reasons a free source may need work
- missing MQH include files or custom indicators
- legacy MQL syntax written for an older compiler
- broker-specific symbols, digits, spreads, or execution modes
- inputs that need risk review before any demo test



