Discussion of article "The Price Histogram (Market Profile) and its implementation in MQL5"

 

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

 
The market is our teacher, we are its students!
 

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.

 
vdv2001 писал(а) :

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!

 
Rosh posted  :

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

http://paulsfxrandomwalk.blogspot.com/ 

Regularly emailing the status of an account
  • 2012.06.14
  • Paul
  • paulsfxrandomwalk.blogspot.com
Prompted by a query, I thought I'd post a useful little utility that I have used for ages which emails the status of the account every hour.  After lengthy deliberation I decided to call it .... EmailStatus.  With only a small modification it could be used to log the status to a file, and the time...
 

I downloaded the MQ5 file and get an error at ExtExpert.OnTick();

struct or class type expected

undeclared identifier.

-Jerry

 
netconuk:

I downloaded the MQ5 file and get an error at ExtExpert.OnTick();

struct or class type expected

undeclared identifier.

-Jerry


All files must be located in the same directory, My directory is: ..\MQL5\ Experts\PriceHistogram.

Please check up.

 
After update to build 245, PriceHistogram.mq5 is not working correctly. Seems to be in an infinite loop and Calculation % bar shows only 1%,
 

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? 

 
vdv2001:

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?