What’s new

Belkaglazer update

How to update Belkaglazer EA

1. Close MT4 and create a backup copy of the MT4 ‘profiles‘ folder (File-> Open Data Folder->profiles). This folder contains all settings and charts with set-files loaded.

2. Update the EA to the latest version: https://www.mql5.com/en/articles/498#update

3. If all settings are reset to default values (for example, Magic=50220), close MT4 and restore the ‘profiles‘ folder from the backup.


I recommend attaching the EA to a chart from the ‘Experts‘ folder. To do this, copy ‘Belkaglazer.ex4‘ file from ‘MQL4\Experts\Market‘ to ‘MQL4\Experts‘ folder. This will help avoid issues when updating the EA because MT4 will update the .ex4 file that is not used for live trading.


Version 1.74 – 2017.04.15

– Added ‘MaxRiskPerTrade%‘ parameter.
– Added ‘OrderMonth‘ parameter.
– Added ‘GMT_offset‘ parameter.
– Added ‘Daylight_Saving_Time‘ parameter.
– Fixed minor bugs.

Version 1.75 – 2017.05.18

– Added ‘SkipFirstTrade‘ parameter.
– Added ‘CloseOnOppositeSignal‘ parameter.
– Added ‘TradingPauseBar‘ parameter.
– Added ‘PreviousDay’s_Return%ATR‘ parameter.
– Added ‘OrderMonths‘ parameter.
– Fixed minor bugs.
– Added ‘IntradayMR and ‘PreviousDayHL‘  strategies.

Version 1.76 – 2017.06.13

– Fixed minor bugs.

Version 1.77 – 2017.07.20

– Added ‘MaxSlippagePip‘ parameter.
– Added ‘UseBrokenLevels‘ parameter.
– Added ‘MaxTakeProfitPip‘ parameter.
– Added ‘MaxStopLossPip‘ parameter.
– Added ‘StopProfitBar‘ parameter.
– Added ‘StopProfitPip‘ parameter.
– Fixed minor bugs.

Version 1.78 – 2017.09.04

– Added ‘OrderHours‘ parameter.
– Added ‘OrderMinutes‘ parameter.
– Added new strategies.
– Fixed minor bugs.

Version 1.79 – 2018.02.26

– Added ‘MaxLot_Per_Order‘ parameter.
– Added ‘StepBetweenOrdersPip‘ parameter.
– Added ‘MaxLot_OpenOrders_Filter‘ parameter.
– Added ‘MaxNumber_OpenOrders_Filter‘ parameter.
– Added ‘Disable_TP&SL_Control‘ parameter.
– Added ‘TradeDirection‘ parameter.
– Added a new PCh mode – ‘Inclined_Lines‘.
– Added ‘ExpirationBars‘ parameter.
– Added new strategies.
– Fixed minor bugs.

Version 1.81 – 2018.07.31

– Added ‘MaxSpreadToExitPip‘ parameter.
– Added ‘TrailingActivationPip‘ parameter.
– Added ‘DontUseMT4_SL‘ parameter.
– Added ‘VinceCalculator‘ parameter.
– Added ‘EMA_TimeFrame‘ parameter.
– If ‘Balance’ set to a negative value, then the EA calculates lot sizes based on the account equity.
– Fixed a lot of minor bugs.

Version 1.83 – 2018.11.15 – Bug-fix release

– Added ‘Graphics‘ parameter.
– Fixed a lot of minor bugs.

Version 1.85x – 2019.03.15

– Added NewsFilter: ‘UseNewsFilter, ‘DataProvider‘, ‘Symbols‘, ‘FilterEvents‘, ‘FilterCustomEvents‘, ‘FilteringAction‘,
BeforeEventMin‘, ‘AfterEventMin‘, ‘DisplayEvents‘ parameters. The News Filter allows you to backtest the impact of any news event and select various news data providers.

– Added ‘UsePercentagePips‘ parameter.
– Added ‘ReversalExpirationBars‘ parameter.
– Added ‘DaysOffBeforeAfterNY‘ parameter.
– Added ‘FixMajorBugs‘ parameter.

– Added ‘UseSettingsFile‘ parameter. Extra settings managed via belkaglazer.ini config file: ‘EAProtectionFilter‘, ‘ExportEquityToCSV‘, ‘ExportEquitySeparator‘, ‘AutoConstructionEquityCurve‘, ‘UseCustomParameterForOptimization‘, ‘DangerousMM‘.

– Added ‘Dangerous_MM‘ parameter. Allows you to add various dangerous types of Money Management (Anti-Martingale, Martingale, Pyramiding, Averaging) to any strategy. Dangerous MM is a position sizing method that calculates lot sizes based on the latest trading results. Added the related parameters: ‘MaxNumberOfSteps‘, ‘Multiplier‘, ‘CustomMultiplier&Steps‘, ‘MinStepValuePip‘, ‘ComputeDrawdown‘, ‘TP_Calculation_Method‘, ‘SL_Calculation_Method‘.
***All my signals, strategies and set-files do not use dangerous elements of Money Management.

– Fixed major bugs.

Version 1.86x – 2019.04.04

– Added backup URL to determine GMT offset.
– Fixed minor bugs.

Version 1.92x – 2019.11.05

– Added ‘CBOE_VIX_Filter‘ parameter.
– Added ‘AutoGMT_Detection‘ parameter.
– Added ‘Offset Mode‘ parameter.
– Added ‘ExecutionDelay(Sec)‘ parameter.
– Added ‘NegativeSwapFilterDays‘ parameter.
– Added ‘NegativeSwapFilterAction‘ parameter.
– Added ‘PriceActionFilter‘ parameter.
– Added ‘MinTakeProfitPip‘ parameter.
– Added ‘MinStopLossPip‘ parameter.
– Added ‘TakeProfitSwapCorrection‘ parameter.
– Added ‘EquityHardStop‘ parameter.
– Added ‘TradingFrequency (PRNG)‘ parameter.
– Added ‘None‘ model. Allows you to turn the models off and generate signals based on filters.
– Added ‘Random (PRNG)‘ model that randomly generates trading signals in a random direction.
– Added new Extra settings.
– Improved backtesting speed.
– Fixed bugs.

Version 1.94x – 2019.11.25

– GMT parser updated because the ‘https://time.is‘ website changed the page layout.
– Improved code quality and efficiency.

Version 1.95x – 2019.12.09

– Added a new parameter ‘AllowExtraTrades‘ – maximum number of additional trades that can be opened if the EA gets a new signal, and there are open positions. This option uses the orderID section of MagicNumber, so it can’t work together with the Dangerous MM, MaxLot_Per_Order, and StepBetweenOrdersPip parameters.
– Improved code quality.
– Fixed minor bugs.

Version 1.96x – 2019.12.14

– Added a new parameter ‘UseTailFilter‘ – allows you to automatically switch trading off together with me before/during rare and irregular high impact events (such as Brexit, elections, etc.) to protect portfolios at the times of tail risk events. Tail risk events may bring tail risk and damage or ruin portfolios.
– Added an opportunity to disable trading (opening new trades) by clicking on the comment text at the top of the info panel:
Belkaglazer EA

Version 1.97x – 2020.01.05 – Bug-fix release

– Fixed minor bugs.

Version 1.98x – 2020.02.06 – Optional update (You may skip this update)

– Added a new backup url to determine GMT offset: https://belkaglazer.com

– Added a new parameter – ‘Symbol‘. This parameter will be used in MultiSet mode that will be added soon. The new v2.0 of the EA will be able to work in 2 modes: SingleSet and MultiSet. In MultiSet mode, the EA loads several set-files (portfolio) from the specified folder and trade them on a single chart. In other words, the EA will support ‘one chart setup’. In addition, this mode will allow you to backtest a portfolio in MT5.

– Minor Improvements.

Version 1.998 – 2020.02.29 – Optional update (You may skip this update)

– Added a new parameter: ‘EventHandling‘ – how often to handle events: Once a minute (default) or Every tick (this may use too much CPU resources).

– Minor Improvements.

Version 1.999 – 2020.06.12 – The final release of Belkaglazer ver. 1.x (You can safely skip it)

– Added new parameters for compatibility with version 2.0:

EA Mode: ‘SingleSet‘ and ‘MultiSet‘. In MultiSet mode, the EA loads set-files (portfolio) from a specified folder and run them on a single chart. In other words, the EA supports ‘one chart setup’ and allows you to backtest portfolios in MT5. SingleSet(default) allows running only 1 set-file on 1 chart at the same time.
– ‘WorkTimeframe‘ – working timeframe (chart period the EA should be attached to) of the used set file. This parameter must be set if MultiSet is enabled.
DailyDataCorrection – how the EA should adjust the daily bars if the broker does not use New York Close 5 Day Charts: DeleteWeekend(default, fast) – delete weekend bars and recalculate daily data; RebuildData(high accuracy) – completely rebuild the daily data using lower timeframes; NoCorrection – do not correct the daily data.

– Minor Improvements.