Need hint in developing flexible volume profile indicator

 

Hi, I just want to know how does this guy was able to develop such an indicator that can be inserted as an object, and also how can he move the object(volume profile indicator) like this?

https://www.youtube.com/watch?v=rH1wUSO1iXo

(I know he did it in mt4 but I'm using mt5 and want to do it in mt5)

I went through Createobject documentation but I didn't find how to insert an indicator as an object.

I already developed my own volume profile indicator but it's fixed and can't be dragged.

any hint or suggestion on how to do it like the one in the video above.

thanks

 
SixtoRod: Hi, I just want to know how does this guy was able to develop such an indicator that can be inserted as an object, and also how can he move the object(volume profile indicator) like this?

It's not really anything as fancy as "an Indicator as an Object". It is just standard graphical objects.

Possibilities that come to mind, are that It could be either just a simple bitmap object (aka a "Canvas"), or maybe multiple stacked rectangles (to make up each histogram).

The bitmap is probably the easiest to implement and to manipulate in the way it is shown in the video. To move it around, simply use the Chart Events.

Here's one such example of manipulating the "canvas" (have a look at other publications and posts by the same author)...

Code Base

Easy Canvas (iCanvas)

Nikolai Semko, 2018.12.25 01:33

The library and iCanvas class simplify writing programs using Canvas.

You may also want to look at some Volume Profile publications in the CodeBase as well ...

Code Base

Volume Profile + Range v6.0 - indicator for MetaTrader 5 (Fixed iBarShift Issue)

TheCoder, 2020.04.01 03:57

Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram. The width of the histogram at the level means the number of transactions carried out on it. All Credits of this Amazing indicator to Olexiy Polyakov. I have just fixed the iBarShift and iTime issues, since this is such a great indicator for traders ! Now it is working fine with this files.
 
Can ANYONE here write a code for a FIXED RANGE VOLUME PROFILE Indicator for MT5 please????????????????????????
 
Anton du #:
Can ANYONE here write a code for a FIXED RANGE VOLUME PROFILE Indicator for MT5 please????????????????????????

Yes, we can, but it wont be free. Log a job in the freelance section. No one codes for free unless its interesting enough, or if we can see you tried it yourself, and need assistance. Don't use generators, we will know, and you will not be helped