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

 
Could you please tell me which directories to place the files in? Thanks in advance!
 
Vovan-partizan писал(а) # :
Could you please tell me which directories to place the files in? Thanks in advance!

Create a separate catalogue in the folder of the client terminal\MQL5\Experts\, for example PriceHistogram, and copy all files to this catalogue.

For example:

C:\Program Files\MetaTrader 5\MQL5\Experts\PriceHistogram\ClassExpert.mqh
C:\Program Files\MetaTrader 5\MQL5\Experts\PriceHistogram\ClassPriceHistogram.mqh
C:\Program Files/MetaTrader 5\MQL5\Experts\PriceHistogram\ClassProgressBar.mqh
C:\Program Files/MetaTrader 5\MQL5\Experts\PriceHistogram\PriceHistogram.mq5.

Then open PriceHistogram.mq5 in MetaEditor5, compile it and run it. At the first launch, if there is not enough loaded history, you may get the following message: "There is no accessible history PERIOD_D1", when the history is loaded, everything will work normally.

 

Where can I find the same profile on the M4 ?

 
gogo:

Where can you find the same profile on M4 ?

there are other variants of market profile implementation in MQL4:

https://www.mql5.com/ru/code/9777
https://www.mql5.com/ru/code/8115
https://www.mql5.com/ru/code/8944
https://www.mql5.com/ru/code/8920
https://www.mql5.com/ru/code/7334

 

It is attached to the euro, but not to the pound. On the chart it says: "It may be necessary to increase the value of "maximum number of bars in the chart"".

And above is the error log. Please tell me what to do. Sorry for the stupidity.

 
gogo:

It is attached to the euro, but not to the pound. The chart says "It may be necessary to increase the value of "maximum number of bars in the chart".

and above is the error log. please tell me what to do. sorry for the stupidity.

Menu Service->Settings

After that restart the terminal !!!

If it doesn't help, switch on the minute chart and go through the history, where there will be holes by right-clicking UPDATE.

 
gogo:

It is attached to the euro, but not to the pound. On the chart it says: "It may be necessary to increase the value of "maximum number of bars in the chart"".

and above is the error log. please tell me what to do. sorry for the stupidity.

Thank you, your message helped me to find the data access error. Wait for updates.
 

Hi,

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 ?

ciao

Dario

 

1.Previously, I found an interesting MT4 indicator in the Internet, pasted it into the /Indicators folder, reloaded MT4 and found the indicator in the list.

Now I have found some MT5 indices, threw them into /MQL5/Indicators/Examples, where I found "standard" indicators, reloaded MT5, but found no new indicators in the list. How should I install a new indicator?

2. Looking for idyukov for MT5, came across the article "Price Histogram " https://www.mql5.com/ru/articles/17 and indicator for MT5 and said:

"The text of the Expert Advisor is in four files. The main file PriceHistogram.mq5, and three include (#include) files ClassExpert.mqh, ClassPriceHistogram.mqh and ClassProgressBar.mqh. In the included files, with the extension .mqh, there are descriptions of classes and methods of working with classes. All files must be located in the same catalogue, in my case it is ..\MQL5\Expert\PriceHistogram\".

I created a folder ..\MQL5\Expert\PriceHistogram\, threw there all 4 files: PriceHistogram.mq5, ClassExpert.mqh, ClassPriceHistogram.mqh and ClassProgressBar.mqh, taken from the article. After reloading I don't see PriceHistogram neither in indicators nor in Expert Advisors.

a)Are the ClassExpert.mqh, ClassPriceHistogram.mqh and ClassProgressBar.mqh files from the article I mentioned relevant today?

b) Please explain how to install new custom indicators for MT5.

c) Please explain how to install this very interesting indicator PriceHistogram.mq5 ?

Regards.

Инструмент «Ценовая гистограмма» (Рыночный профиль) и его реализация на MQL5
Инструмент «Ценовая гистограмма» (Рыночный профиль) и его реализация на MQL5
  • 2010.01.26
  • Dmitry
  • www.mql5.com
Рыночный профиль был разработан Питером Стидлмайером (Peter Steidlmayer), который предложил использовать альтернативное представление информации как о горизонтальном, так и о вертикальном движении рынка, что дает полностью отличный набор моделей. Он предположил, что у рынка существует основной рыночный пульс, или фундаментальная модель, которая называется цикл равновесия и неравновесия (cycle of equilibrium and disequilibrium). В данной статье я сделаю попытку дать общие понятия об упрощенной модели Рыночного профиля (Market Profile) – Ценовой Гистограмме (Price Histogram) и расскажу, как реализовал данный инструмент на MQL5.
 
SLADKY:

1.Previously, I found an interesting MT4 indicator in the Internet, pasted it into the /Indicators folder, reloaded MT4 and found the indicator in the list.

Now I have found some MT5 indices, threw them into /MQL5/Indicators/Examples, where I found "standard" indicators, reloaded MT5, but found no new indicators in the list. How should I install a new indicator?

2. Looking for idyukov for MT5, came across the article "Price Histogram " https://www.mql5.com/ru/articles/17 and indicator for MT5 and said:

"The text of the Expert Advisor is in four files. The main file PriceHistogram.mq5, and three include (#include) files ClassExpert.mqh, ClassPriceHistogram.mqh and ClassProgressBar.mqh. In the included files, with the extension .mqh, there are descriptions of classes and methods of working with classes. All files must be located in the same catalogue, in my case it is ..\MQL5\Expert\PriceHistogram\".

I created a folder ..\MQL5\Expert\PriceHistogram\, threw there all 4 files: PriceHistogram.mq5, ClassExpert.mqh, ClassPriceHistogram.mqh and ClassProgressBar.mqh, taken from the article. After reloading I don't see PriceHistogram neither in indicators nor in Expert Advisors.

a)Are the ClassExpert.mqh, ClassPriceHistogram.mqh and ClassProgressBar.mqh files from the article I mentioned relevant today?

b) Please explain how to install new custom indicators for MT5.

c) Please explain how to install this very interesting indicator PriceHistogram.mq5 ?

Regards.

In MT5 there is no automatic compilation of files, you need to manually compile the files in the editor so that they appear in the catalogue.