SmartAssTrade V2 is a MetaTrader 4 Expert Advisor source file. Static analysis documents Moving Average, RSI, Trend, 22 exposed input declarations, and 2 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
- RSI
- Trend
- Trailing Stop
Input parameters
| Parameter | Type | Default | Code comment |
|---|---|---|---|
SmartAssTradeV2 |
string | "Copyright © 2014 3RJ ~ Roy Philips-Jacobs" |
|
SmartAssTradeV2TF |
string | "SmartAssTrade-V2 EA's Only Use on M30 Timeframes" |
|
SmartAssTradeV2Period |
int | PERIOD_M30 |
|
FridayTrade |
bool | True |
If True, EA still trading at Friday |
OptimizationLots |
string | "Set LotsOptimization=True" |
|
LotsOptimization |
bool | True |
If True, Lots wil calculation by EA, default Lots size = 0.01" |
Lots |
double | 0.01 |
If LotsOptimization=False, Lots adjusted by user |
MaxOpenOrder |
int | 12 |
Maximum Allowed for Open Order (Maximum Pairs to Trade = 12 pairs) |
AutomaticSystemTP |
string | "Set AutomaticTakeProfit=True or False" |
|
AutomaticTakeProfit |
bool | True |
TP will calculation by EA and Automatic TP by EA |
NoMinimumTakeProfit |
bool | False |
True or False -> If Set True, 100% TP by EA not use minimum TP. |
MinimumSystemTP |
string | "If Set NoMinimumTakeProfit=False" |
TP by EA on minimum TP values |
MinimumTP |
double | 27 |
Minimum TP by EA on the AutomaticTakeProfit=True function, default value 27 |
ManualSystemTP |
string | "If Set AutomaticTakeProfit=False" |
TP by Terminal MT4 (same as manual trading) |
TakeProfit |
double | 35 |
TP by System, values can adjust by user, default value 35 |
AutomaticSystemSL |
string | "Set AutomaticStopLoss=True" |
|
AutomaticStopLoss |
bool | True |
SL will calculation by EA |
ManualSystemSL |
string | "If Set AutomaticStopLoss=False" |
SL values can adjusted by user |
StopLoss |
double | 62 |
SL adjusted by user, default value 62 |
UseTrailingStop |
bool | False |
Use Trailing Stop, True (Yes) or False (Not) |
TrailingStop |
double | 30.0 |
If Use Trailing Stop True, input Trailing Stop Value, default value 30 |
TrailingStopStep |
double | 1.0 |
Input Trailing Stop Step Value (default 1.0) |
Dependencies and package notes
stderror.mqh– not_in_supplied_librarystdlib.mqh– not_in_supplied_library
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
- One or more include files were not matched in the supplied MQH library. They may be standard MetaTrader includes or external dependencies.
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 SmartAssTrade V2?
SmartAssTrade V2 is a MetaTrader 4 Expert Advisor source file. Static analysis documents Moving Average, RSI, Trend, 22 exposed input declarations, and 2 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?
Install the listed include files and any custom indicators or DLL dependencies, then compile in an isolated MetaEditor data folder.
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.
- Sigma Trend Protocol EA V1.0 MT4 – Profitable backtest
- Gold ISIS EA – Profitable backtest
- NSA Prop Firm Robot – Profitable backtest
Want this source checked or fixed?
Diagnostic status: dependency_missing. 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




