Claim this free MQL source through your B123 account
Create an account or sign in first. After registration, you will return to this source page to add the zero-total claim and complete checkout.
Need a ready-to-use alternative?
Compare BBTrading products selected from this source page metadata. Use them when you want setup notes, private delivery, or backtest evidence where available instead of editing source code yourself.
Comparison options only; this is not a claim that the products use identical logic.
Atrpivot is a MetaTrader 5 Indicator source file. Static analysis documents ATR, Custom Indicator, 52 exposed input declarations, and 1 include dependency.
Source-code analysis only. No backtest or live-performance claim is provided.
Source code overview
- Platform: MT5
- Resource type: Indicator
- File format: .mq5
- Event handlers:
OnInit,OnDeinit,OnCalculate,deinit
Detected code components
- ATR
- Custom Indicator
Input parameters
| Parameter | Type | Default | Code comment |
|---|---|---|---|
PivotPeriod |
ENUM_TIMEFRAMES | PERIOD_D1 |
ATR indicator time frame |
CountBar |
int | 1 |
Calculation bar |
ATRPeriod |
int | 18 |
ATR period |
Mult_Factor05 |
double | 0.8 |
First levels ratio |
Mult_Factor10 |
double | 1.6 |
First levels ratio |
Mult_Factor15 |
double | 2.4 |
First levels ratio |
Mult_Factor20 |
double | 3.2 |
Second levels ratio |
Mult_Factor25 |
double | 4.0 |
First levels ratio |
Mult_Factor30 |
double | 4.8 |
Third levels ratio |
MA_SMethod |
Smooth_Method | MODE_SMA |
Smoothing method |
MA_Length |
int | 10 |
Smoothing depth |
MA_Phase |
int | 100 |
Smoothing parameter |
IPC |
Applied_price_ | PRICE_CLOSE |
Price constant |
Color_R30 |
color | DodgerBlue |
R30 level color |
Color_R25 |
color | DodgerBlue |
R25 level color |
Color_R20 |
color | DodgerBlue |
R20 level color |
Color_R15 |
color | DodgerBlue |
R15 level color |
Color_R10 |
color | DodgerBlue |
R10 level color |
Color_R05 |
color | DodgerBlue |
R05 level color |
Color_P |
color | DarkOrchid |
P level color |
Color_S05 |
color | DarkOrange |
S05 level color |
Color_S10 |
color | DarkOrange |
S10 level color |
Color_S15 |
color | DarkOrange |
S15 level color |
Color_S20 |
color | DarkOrange |
S20 level color |
Color_S25 |
color | DarkOrange |
S25 level color |
Color_S30 |
color | DarkOrange |
S30 level color |
Style_R30 |
STYLE | SOLID_ |
R30 level line style |
Style_R25 |
STYLE | DASHDOTDOT_ |
R25 level line style |
Style_R20 |
STYLE | SOLID_ |
R20 level line style |
Style_R15 |
STYLE | DASHDOTDOT_ |
R15 level line style |
Style_R10 |
STYLE | SOLID_ |
R10 level line style |
Style_R05 |
STYLE | DASHDOTDOT_ |
R05 level line style |
Style_P |
STYLE | DASH_ |
P level line style |
Style_S05 |
STYLE | DASHDOTDOT_ |
S05 level line style |
Style_S10 |
STYLE | SOLID_ |
S10 level line style |
Style_S15 |
STYLE | DASHDOTDOT_ |
S15 level line style |
Style_S20 |
STYLE | SOLID_ |
S20 level line style |
Style_S25 |
STYLE | DASHDOTDOT_ |
S25 level line style |
Style_S30 |
STYLE | SOLID_ |
S30 level line style |
Width_R30 |
Width | Width_1 |
R30 level line width |
Dependencies and package notes
SmoothAlgorithms.mqh– matched_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
- 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 Atrpivot?
Atrpivot is a MetaTrader 5 Indicator source file. Static analysis documents ATR, Custom Indicator, 52 exposed input declarations, and 1 include dependency.
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 MT5 Indicator 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.
- SPYDER USDJPY M5 EA V6.1 MT5 – Profitable backtest
- Gold Hunter EA_fix – Profitable backtest
- Alpha AI EA – 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


