In the part 1 we have developed a set of programming interfaces (abstract classes) constituting Optimystic library. In this part we'll implement all classes and embed the library into example EA. The library source code resides in the file Optimystic...
Are you ready for a very very long story? It will be probably most complicated and prolonged publication in the series of MQL OOP so far, but it's surely worth reading, because its main theme is automatic self-optimization of expert advisers on the fly...
Exception handling is a powerfull and useful mechanism of modern OOP...
Today we're starting a patchy subject, which will combine many different things. This is why I decided to split it into parts. Out final goal is exception handling, but before we can address it, we need to prepare a ground...
What's the #1 way to become wealthy in today's World? I'll give you a clue. It's 100% different from what it used to be. It's also become far easier. That's why I'm doing a LIVE Training, I'm going to reveal exactly how the new wave of Entrepreneurs are getting rich these days...
I analysed the profitability of expert advisor ichimoku for 6 months at Strategy Tester. GBPUSD trading test using expert advisor ichimoku showes the profit of $2576. - random delay - every tick based on real ticks - H1 timeframe...
MQL code performance is important in many aspects. For example, if your expert adviser is well optimized you could pay much less for it running in the cloud. Or you can eliminate a situation when your terminal becomes unresponsive for a while while it calculates a heavy indicator...
For Better or Worse, the Market Provides “Win or lose, everybody gets what they want out of the market. Some people seem to like to lose, so they win by losing” – Ed Seykota What’s yourrealaim when you trade? Most people would saymakingmoney, but most people don’t see the bigger picture...
For those who are not sure when you set Offset GMT. Therefore I will give several examples. Example 1: Time in the terminal = 14.00, and GMT=11.00; then GMT_offset = 3 Example 2: Time in the terminal = 9.00, and GMT=11...
When it comes to OOP, there should be an hierarchy of classes. And most of hierachies are built from a single base class. This is very powerful feature. It allows you to store objects in various containers, such as vectors, queues, lists, and process them consistently in batch tasks...
KillerTrend Ichimoku is an expert advisor based on ichimoku kinko hyo indicator. This trading robot finds a critical event about Kijun-sen and Senkou Span. Below is the test result and GBPJPY graph for last 6 months(2016.04.20~10.19...
Never test the depth of the river with both feet.Warren Buffett The hardest thing to judge is what level of risk is safe. George Soros Risk no more than you can afford to lose, and also risk enough so that win is meaningful. Ed Seykota...
KillerTrend Ichimoku KillerTrend Ichimoku is an Expert Advisor using a trend following strategy based on Ichimoku Kinko Hyo indicator. This trading robot finds a critical event about Kijun-sen and Senkou Span. Parameters...
Hi Mql World ! I've been developing business software for the last 25 years. My forex journey started 4 years ago. I was amazed by the automation possibilities metatrader offers. My contributions were exclusively on Forex Factory site, where I shared numerous Expert Advisors and Indicators...
When you first come to Forex community, you will hear the terms “Forex Trading” and “Forex Investing” used interchangeably by so many mentors and gurus. In fact, they are two very different activities...
As the title says this time we'll try to implement a simple object-oriented framework for trading. It's surely simple as a framework, but is probably most complex thing among all that we've discussed so far in the MQL's OOP notes...
MetaTrader 5 is not back compatible with MetaTrader 4 in many aspects. This is bad, but we can do nothing with this. Yet we can do something to simplify translation of MetaTrader 4 products into MetaTrader 5...
It has been a long time since MetaTrader 5 was released, but MQL products for MetaTrader 4 do still prevail on mql5.com site (both in the codebase, and in the market), and in the Internet in general...
Every expert and indicator in MetaTrader can have a timer. From time to time a novice MQL developer asks a question: what should I do if I need many timers? The answer is simple: use a single timer with lesser period to manage and dispatch all other timer events with larger periods...