Page 1 of 1

Point of Control as Indicator

Posted: Thu Sep 22, 2022 4:54 am
by hernandez
Based on the following rules, which defines the Market Profile with Point of Control (POC), taken from Trading View:
Calculation
How to Calculate Value Area (VA)

- Determine the total volume traded in the profile (total buys and sells).
- Take the number of total buys and sells and multiply it by .7 to determine what number is 70 percent of the total buys and sells. (70% is a typical example however
any percentage can be used by the trader).
- Start at the POC (The row in the profile with the greatest total volume) and record its total volume number. The POC will be the first profile row added to the Value
Area.
- Now look at the two rows above the POC (the initial value area) and add the total volume of both.
- Now look at the two rows beneath the POC (the initial value area) and add the total volume of both.
- Determine which of the total volume numbers is larger and add it to the total volume number of the POC found in step 3.
- Repeat steps 4 and 5 adding the larger of the two numbers to the Value Area.

Once the total volume of your Value Area matches or slightly surpasses the number found in step 2, the Value Area has been determined.
The highest row within the Value Area will be your Value Area High (VAH) and the lowest row within the Value Area will be your Value Area Low (VAL).
I wonder if it is possible in MT4 to do that. In particular how we can obtain the total volume exchanged for each price which has formed the candle (For total volume I mean the tick volume not the real volume).
My request comes from the fact that I would like to draw the POC for each candle as in tradingview with the indicator (Profile Volume Periodic) PVP, image below.
This is done for each timeframe by TradingView.

Re: Point of Control as Indicator

Posted: Thu Sep 22, 2022 5:31 am
by Beastie
Hey man,

I hope I'm understanding you right, but do you mean like this:

Re: Point of Control as Indicator

Posted: Sat Sep 24, 2022 5:26 am
by hernandez
Beastie wrote: Thu Sep 22, 2022 5:31 am Hey man,

I hope I'm understanding you right, but do you mean like this:
Image

Hey man, fantastic thanks this seems to be very good! I will take a look at the code.

Re: Point of Control as Indicator

Posted: Fri Nov 04, 2022 6:47 am
by hernandez
Beastie wrote: Thu Sep 22, 2022 5:31 am I hope I'm understanding you right, but do you mean like this:
Hey man, May I ask you how do you compute the price where there is the maximum number of tick volumes exchanged within a single candle? I do not understand it from code

Re: Point of Control as Indicator

Posted: Fri Nov 04, 2022 8:59 am
by Beastie
Hey Hernandez,

Unfortunately code isn't my experitise. I replied to your post because it looked similar to the experiment I had done with that particular indicator. Hopefully someone more knowledgable can chip in on this one.