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.
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.
I downloaded the MQ5 file and get an error at ExtExpert.OnTick();
struct or class type expected
All files must be located in the same directory, My directory is: ..\MQL5\ Experts\PriceHistogram.
Please check up.
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?
2010.03.09 21:12:54 PriceHistogram (#DD,MN1) There is no accessible history PERIOD_D1
PriceHistogram.mq5 does not work on chart. Meta editor error messages are in attached file.
Now it works perfectly. Please download the updated files.
The full documentation of source codes of the article is available now: The Price Histogram (Market Profile) and its implementation in MQL5
The documentation has been created by Doxygen.
See details in the article Auto-Generated
Documentation for MQL5 Code.
it's a good job, but is it possible that the histogram is produced during the day in real time ? It is possible to split it in Asian - European and American time ?