1000+ Free MT4/MT5 EAs & Indicators
Email me the real download list

Get Update?

Join Telegram

Portfolio Modeller

Brand:

$0.00

Shipping calculated at checkout.
or

Portfolio Modeller is a MetaTrader 4 Indicator source file. Static analysis documents Grid, Trend, File Access, 83 exposed input declarations, and 1 include dependency.

Source-code analysis only. No backtest or live-performance claim is provided.

Source code overview

  • Platform: MT4
  • Resource type: Indicator
  • File format: .mq4
  • Event handlers: OnInit, OnDeinit, OnTimer, OnCalculate, OnChartEvent

Detected code components

  • Grid
  • Trend
  • File Access

Input parameters

Parameter Type Default Code comment
______GENERAL______ string "______GENERAL______"
Portfolio_Name string ""
Portfolio_Formula string ""
Generation_Type ENUM_MODE fours35
Import_File string ""
Downscaling_Total bool true
Multiplicator_Total double 1
Portfolio_Value double 0
______MODEL______ string "______MODEL______"
Model_Type ENUM_METHOD fixed
Model_Growth double 0
Model_Amplitude double 0
Model_Cycles double 0
Model_Phase double 0
Model_Absolute bool false
Model_Backward bool false
Target_RMSE double 0
______PERIOD______ string "______PERIOD______"
Timeframe ENUM_TIMEFRAMES PERIOD_D1
Use_Time bool false
Start_Time datetime D'2012.01.01 00:00'
Finish_Time datetime D'2035.01.01 00:00'
History_Shift int 100
Optimization_Length int 200
Movable_Lines bool false
Jump_Bars_Number int 1
Limit_History int 1000
Limit_Forward int 1000
Limit_Model int 100
Request_Bars int 2000
______FILTERS______ string "______FILTERS______"
Filter_Type ENUM_FILTER disabled
Filter_Shift int -10
Inversion_Mode ENUM_SIGN null
Highest_From int 1
Highest_To int 1
Lowest_From int 1
Lowest_To int 1
Position_Highest ENUM_SIGN positive
Position_Lowest ENUM_SIGN positive

Dependencies and package notes

  • MathAlglibalglib.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

  1. Place the source and required dependencies in the matching MetaTrader data folder.
  2. Compile it in MetaEditor and resolve every error before use.
  3. Inspect the inputs and code risks, then test only on a demo account or isolated chart.

Code and operational risks

  • The code accesses files in the MetaTrader sandbox. Inspect filenames, read/write behavior, and retained data before use.
  • Static analysis detects grid-related identifiers. Review spacing, maximum order count, and aggregate exposure before 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 Portfolio Modeller?

Portfolio Modeller is a MetaTrader 4 Indicator source file. Static analysis documents Grid, Trend, File Access, 83 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 MT4 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.

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

Related free MetaTrader libraries

Portfolio Modeller MT4 indicator source code download cover Portfolio Modeller

$0.00