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

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
2010.03.09 21:12:54 PriceHistogram (#DD,MN1) There is no accessible history PERIOD_D1
Wonderful counsellor! Was...
The problem appeared since 251 build. Now on newer builds is not reflected at all, although the log says that it is loaded.
Something may need to be changed, moved to another directory?
Thanks for your attention, I really made a mistake. Fixed. Wait for an update.
PS
There was an error in the search for max/min arrays, after fixing it, a bug appeared in the EA code
in ClassPriceHistogram.mqh lines 188,189 and 205 it is necessary to fix WHOLE_ARRAY to 0.
2010.03.09 21:12:54 PriceHistogram (#DD,MN1) There is no accessible history PERIOD_D1
Thanks for pointing that out, I did make a mistake. It's fixed. Wait for the update.
PS
There was an error in the search for max/min arrays, after fixing it a bug appeared in the Expert Advisor's code.
in ClassPriceHistogram.mqh lines 188,189 and 205 it is necessary to correct WHOLE_ARRAY to 0.
Thanks for the tip(WHOLE_ARRAY), I was already tired of looking for the error.
PriceHistogram.mq5 does not work on chart. Meta editor error messages are in attached file.
Replaced the included file ClassPriceHistogramA.mqh:
- reduced the number of attempts to copy price data AMOUNT_OF_ATTEMPTS=2;
- added PrintErrorOnCopyFunction() function to output messages when an attempt to execute CopyXXX() function fails.
It would be more correct to check for available history before CopyXXX() operations, analyse the number of bars on the chart using theand make an attempt to swap the data (if it makes sense) as in the example Organising access to data
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.
Everything works now. Please download the updated files.
Added documentation to the source codes given in the article: Market_Profile_Help.rar
The documentation was created with the help of Doxygen programme.
Details in the article Automatic creation of documentation for MQL5 programmes.
Everything works now. Please download the updated files.
It doesn't work, can't handle the timing of the first bar and gives a warning when compiling. "implicit conversion from 'number' to 'string' ClassPriceHistogram.mqh 404 10"
build 256 I attach the log.