Discussion of article "The Price Histogram (Market Profile) and its implementation in MQL5"
Interesting article and very interesting and useful tool. I was just looking for a similar indicator in MQL.
Unfortunately, it has not worked for me yet. The ClassPriceHistogram.mqh file opens crookedly. There are errors in it when compiling.
I tried to fix it myself - I failed, I am only looking at mql5.
Linker:
Interesting article and very interesting and useful tool. I was just looking for such an indicator in MQL.
Unfortunately, it has not worked for me yet. The file ClassPriceHistogram.mqh opens crookedly. I tried to fix it myself but failed, I am only looking at mql5.
You don't need to fix anything, check the presence of mqh files in the ../\MQL5\Include\ChartObjects directory, this is the library of standard classes.
And I remind you that all 4 files must be in the same directory.
You don't need to fix anything, check if there are mqh files in the ..{\MQL5\Include\ChartObjects is a library of standard classes.
And I remind you that all 4 files must be in the same directory.
Everything worked!
Actually the files were in their places. I copied the code of the files from Opera-10 window, when clicking on the link they opened in text form, they opened normally all except ClassPriceHistogram.mqh - I don't know why but it doesn't matter. When you save it by clicking on the link, everything opened normally.
Very grateful, I will try to use it in practice!
New article The Price Histogram (Market Profile) and its implementation in MQL5 is published:
Author: Dmitry
Very interesting analysis, and clever coding. I also found reading the original article of use.
I have scanned through the MQL5.com article and the code but have not yet found out at what point the histogram is produced during the day? The original article seems to suggest this should be after the first hour. Obviously if it is produced at the end of the day the data will be highly accurate, but of greatly reduced use becuase it is retrospective.
Paul
- 2012.06.14
- Paul
- paulsfxrandomwalk.blogspot.com
I downloaded the MQ5 file and get an error at ExtExpert.OnTick();
struct or class type expected
undeclared identifier.
-Jerry
In several recent builds,It's working not stable,sometimes works normally,sometimes It seems dead at "calculation 0%".
Is it the issue of MT5?
presence of mqh files in the ..\MQL5\Include\ChartObjects is a library of standard classes.
And I remind you that all 4 files must be in the same directory.
Wonderful EA! Was...
The problem appeared since 251 build. Now on newer builds is not reflected at all, although in the log it says that it is loaded.
Something may need to be changed, moved to another directory?

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
New article The Price Histogram (Market Profile) and its implementation in MQL5 is published:
In this article I will consider Price Histogram - a simplified model of Market Profile, and will describe its implementation in MQL5.
Author: Dmitry