Bestsellers in the Market:
The most popular forum topics:
- Machine learning in trading: theory, practice, trading and more 103 new comments
- Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes 28 new comments
- Let's be friends 22 new comments
The most popular forum topics:
- From theory to practice 90 new comments
- Interesting and Humour 33 new comments
- Machine learning in trading: theory, practice, trading and more 31 new comments
Bestsellers in the Market:
Most read articles this week

Controlled optimization: Simulated annealing
The Strategy Tester in the MetaTrader 5 trading platform provides only two optimization options: complete search of parameters and genetic algorithm. This article proposes a new method for optimizing trading strategies — Simulated annealing. The method's algorithm, its implementation and integration into any Expert Advisor are considered. The developed algorithm is tested on the Moving Average EA.

LifeHack for traders: Blending ForEach with defines (#define)
The article is an intermediate step for those who still writes in MQL4 and has no desire to switch to MQL5. We continue to search for opportunities to write code in MQL4 style. This time, we will look into the macro substitution of the #define preprocessor.

LifeHack for traders: Fast food made of indicators
If you have newly switched to MQL5, then this article will be useful. First, the access to the indicator data and series is done in the usual MQL4 style. Second, this entire simplicity is implemented in MQL5. All functions are as clear as possible and perfectly suited for step-by-step debugging.
Most downloaded source codes this week
- TradePanel Simple one click trade panel, typically useful for scalpers and day traders.
- Daily Pivot Points shifted for different day start time This indicator is another implementation of daily pivot points that allows the time for pivot point calculation to be advanced or delayed from the server time. It considers any Saturday trading to be Friday and any Sunday trading to be Monday.
- RSI Slowdown The indicator is based on the idea that before the price and the indicator itself turn, the indicator rate slows down first and only then turns.
The most popular forum topics:
- From theory to practice 54 new comments
- Machine learning in trading: theory, practice, trading and more 42 new comments
- Is there a universal system? 29 new comments
Bestsellers in the Market:
The most popular forum topics:
- Machine learning in trading: theory, practice, trading and more 134 new comments
- From theory to practice 48 new comments
- Errors, bugs, questions 27 new comments
The most downloaded free products:
Bestsellers in the Market:
The most popular forum topics:
- Machine learning in trading: theory, practice, trading and more 88 new comments
- From theory to practice 51 new comments
- Optimise an EA and get the best of the optimised ones. 41 new comments
Bestsellers in the Market:
The most downloaded free products:
Bestsellers in the Market:
New publications in CodeBase
- Renko 2.0 Offline This non-trading utility generates custom symbol information on 1M chart. Configure using Tick Size, Pip Size, Points or R. Now with Asymetric Reversals!
- ErrorDesc Printing GetLastError() and MqlTradeResult retcode as text description.
- Schaff Trend Cycle The Schaff Trend Cycle (STC) indicator detects up and down trends long before the MACD. It does this by using the same Exponential Moving Averages (EMAs), but adds a cycle component to factor currency cycle trends. Since currency cycle trends move based on a certain amount of days, this is factored into the equation of the STC indicator to give more accuracy and reliability than the MACD.
- MACD of average This is a MACD that can use average for input price instead of using "pure" price. That can help in filtering some false signals, but the main purpose of this code is to show how simple some things can be done using MetaTrader 5. In addition to all usual options when it comes to this type of indicators, option to have color changes based on MACD slope change or MACD crossing signal line.
- RSI of average A very well known RSI of average is made with, all in all, 3 lines of a code in a main loop (color assignment on RSI slope change included in those 4 lines). This one can be used as template for some other indicator and can provide a simplicity solution for those that think that everything is very complicated in MetaTrader 5.
- Stochastic of T3 This version of Stochastic Oscillator reduces the number of false alerts by smoothing the price prior to be used in the stochastic calculation. That makes a nice smooth stochastic as a result that can easily be used for trend trading systems.
- MACD Expert Expert Advisor which trades signals from MACD indicator.
Bestsellers in the Market:
The most popular forum topics:
- Interesting and Humour 114 new comments
- Optimise an EA and get the best of the optimised ones. 64 new comments
- Machine learning in trading: theory, practice, trading and more 53 new comments
Most read articles this month

Automatic construction of support and resistance lines
The article deals with automatic construction of support/resistance lines using local tops and bottoms of price charts. The well-known ZigZag indicator is applied to define these extreme values.

Custom Strategy Tester based on fast mathematical calculations
The article describes the way to create a custom strategy tester and a custom analyzer of the optimization passes. After reading it, you will understand how the math calculations mode and the mechanism of so-called frames work, how to prepare and load custom data for calculations and use effective algorithms for their compression. This article will also be interesting to those interested in ways of storing custom information within an expert.

LifeHack for traders: Fast food made of indicators
If you have newly switched to MQL5, then this article will be useful. First, the access to the indicator data and series is done in the usual MQL4 style. Second, this entire simplicity is implemented in MQL5. All functions are as clear as possible and perfectly suited for step-by-step debugging.
Most downloaded source codes this month
- TradePanel Simple one click trade panel, typically useful for scalpers and day traders.
- Signal Candles Get entry signals from specific candles based on your rules.
- Daily Pivot Points shifted for different day start time This indicator is another implementation of daily pivot points that allows the time for pivot point calculation to be advanced or delayed from the server time. It considers any Saturday trading to be Friday and any Sunday trading to be Monday.
The most downloaded free products:
Bestsellers in the Market:
Published article "LifeHack for traders: Blending ForEach with defines (#define)".

The article is an intermediate step for those who still writes in MQL4 and has no desire to switch to MQL5. We continue to search for opportunities to write code in MQL4 style. This time, we will look into the macro substitution of the #define preprocessor.
Bestsellers in the Market:
Most read articles this week

LifeHack for traders: Fast food made of indicators
If you have newly switched to MQL5, then this article will be useful. First, the access to the indicator data and series is done in the usual MQL4 style. Second, this entire simplicity is implemented in MQL5. All functions are as clear as possible and perfectly suited for step-by-step debugging.

Controlled optimization: Simulated annealing
The Strategy Tester in the MetaTrader 5 trading platform provides only two optimization options: complete search of parameters and genetic algorithm. This article proposes a new method for optimizing trading strategies — Simulated annealing. The method's algorithm, its implementation and integration into any Expert Advisor are considered. The developed algorithm is tested on the Moving Average EA.

Automatic construction of support and resistance lines
The article deals with automatic construction of support/resistance lines using local tops and bottoms of price charts. The well-known ZigZag indicator is applied to define these extreme values.
Most downloaded source codes this week
- TradePanel Simple one click trade panel, typically useful for scalpers and day traders.
- Daily Pivot Points shifted for different day start time This indicator is another implementation of daily pivot points that allows the time for pivot point calculation to be advanced or delayed from the server time. It considers any Saturday trading to be Friday and any Sunday trading to be Monday.
- Hull MACD This version of MACD uses Hull Moving Average for MACD calculation instead of using EMA (as the original Gerald Appel version does). That makes it "faster" than the EMA version and suitable for scalping techniques as well as for trending techniques (if longer calculation periods are used).
The most popular forum topics:
- Interesting and Humour 166 new comments
- Optimise an EA and get the best of the optimised ones. 29 new comments
- Features of the mql5 language, subtleties and tricks 13 new comments
The most popular forum topics:
- Interesting and Humour 70 new comments
- 50k dollars a month 40 new comments
- Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes 30 new comments
Bestsellers in the Market:
The most downloaded free products:
The most popular forum topics:
- Interesting and Humour 72 new comments
- From theory to practice 54 new comments
- Do not bother yourselves/ Truth is annoying 38 new comments
Bestsellers in the Market:
The most popular forum topics:
- From theory to practice 84 new comments
- 50k dollars a month 77 new comments
- Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes 45 new comments