Forum

Getting data from the Journal, Experts, Alerts tabs of the Toolbox -- indicator to replace Toolbox window

Due to the horrendous state of the MT5 Toolbox I'm looking to make an indicator that can act as an alternative. The Trade, History, and Calendar tabs should be easy enough. That data can all be accessed readily as far as I can tell. The problem lies with a couple of the other tabs I'm interested

The most important part of coding is not the coding, beginner contemplations

After just a couple months of doing this stuff with MQL5 working on indicators and an EA, time and time again I've seen that slowing down, contemplating, defining, planning, organizing is the most effective use of time to start off, and to regularly engage in, for any project . This is basically all

MetaQuotes demo server showing strange minimum volumes on NZD/CHF, NZD/CAD, and NZD/JPY (0.1 instead of 0.01)

I was working on my first EA in which I'm doing fixed (for now) position sizing and scalp piece-out volumes. I have it running on 14 symbols now just to monitor its behavior. Everything was functioning as expected until all hell broke loose and it kept generating non-stop errors on NZD/CHF and

Newbie contemplating making classes vs just sets of functions

I am seeking general commentary rather than hard answers. This is not a question about specific implementation or X > Y > Z, but rather about a general sense of the significant, or potentially significant differences, between organizing a bunch of programming into ordinary function sets, or classes

Putting take-profit partials on the order books with hedging mode

Let's say that I open a position which is cleanly dividable by 10, with a hedging account . Is it possible to place orders that sit on the trade server ready to be executed, in such a way, that there are 10 de-facto (or actual) take-profits at 10 different price targets, each being 1/10 of the

Adjusting the colors of the MT5/MetaEditor toolbox

I'm very happy that charts and the MetaEditor code windows can be changed in terms of color, but for monitoring/development I need to keep the MT5 toolbox open and expanded on a side monitor. I prefer working in a dark environment with low lighting on the desk, and for this I prefer black background

What does hitting "refresh" on a chart do to the indicator buffers?

I had a glitch on one of my indicator plotting lines which is meant only to be shown for the last 2 bars, which would sometimes show itself in historical bars when restarting MT5 after it was closed for a long time. Hitting refresh would fix it, but eventually I decided to head the problem off at

Performance implications of multiple chart object updating indicators on a chart

I'm new to MQL5/programming so forgive me in advance: In the process of modifying a clock indicator that gets updated in OnTimer() I found that I needed to do a ChartRedraw() in order to make sure it visually updated the label chart object in a timely manner. This got me to thinking... if there's a

MT4 putting more bars in charts than "Max bars in history" & "Max bars in chart" + Forex.com buggy data on AUD/USD daily

I'm using some MT4 installations with a Forex.com demo account either for historical analysis or market watching. For my live market watching setup I want to limit the number of bars to 800, which I set. I mainly did this because the AUD/USD daily chart has a rogue candle at 2016-10-11 (october 11)

Chart history gap in the H4 timeframe only of GBPAUD with Oanda Demo

I have tried a variety of methods to fix this problem. Before, it had been affecting all the lower timeframes as well. A gap from Oct 1 to 16:00 Oct 4. I was able to get the data filled in for the lower timeframes, including the H1, but the H4, no matter what I do, refuses to fill in the gap. Why