I have two questions about the value area (Volume profile)
1. Since the calculation of the value area is based on yesterday session I want to see only the value area of today.
In today session I see the right calculation of value area but it is ended in yesterday session and today I see irrelevant lines (see screenshot).
I want to extend the lines to today's session where the value area is relevant.
I've tried to "tweek" all options but I don't know how to do it.
How can I do it ?
2. I want to build an indicator that will plot only the value area (that are relevant for today) and also fill the background between the VAH and VAL with a specific color.
Can I use the volume profile in a custom indicator ?
If so how can I do it (I've tries to call it from the code but with no success).
Thanks in advance
Showing only the value area (Volume profile) of today
Showing only the value area (Volume profile) of today
- Attachments
-
- Screenshot.JPG
- Screenshot
- (169.83 KiB) Downloaded 421 times
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Showing only the value area (Volume profile) of today
Hello jorsde,
1) Value area is the area (specified in %) of most traded volume of the profile (100%). It is calculated on the current session data in realtime. It cannot be extended to the next trading session.
2) Volume profile cannot be accessed directly and modified from the code. That is possible to create your own study that will be based on the data used by the volume profile.
Please check IDataLoaderResult - Data2.
1) Value area is the area (specified in %) of most traded volume of the profile (100%). It is calculated on the current session data in realtime. It cannot be extended to the next trading session.
2) Volume profile cannot be accessed directly and modified from the code. That is possible to create your own study that will be based on the data used by the volume profile.
Please check IDataLoaderResult - Data2.