Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I saw by going to format instrument and volume profile that many values like Vpoc, Vah,Val etc. are avalaible when you activate the Volume option with TPO on a chart.
I made some search here and on google but I didn't find anything that helps me to obtain by code all those value and of course use them in a strategy.
There are some free indicators for this purpose (Like the most appreciated from ABCtrading) but they're all readonly so I cannot use those value in a strategy.
Is there any way to access to Vpoc, Vah,Val etc values built in with Multichart?
Thanks
Can you help answer these questions from other members on NexusFi?
thank you for your feedback. The value area indicator comes with a function to provide you with the values and documentation on how to call it in your own strategy or indicator.
as always thanks for your prompt answer. I don't know why I didn't pay attention to your DEMO function...you're right, I saw that's very easy to obtain all the values using your ABC_ValueAreas function.
As I'm new to the use of the Value areas and as I know the calculation should be made during the cash market hours... something like 9:00 to 17:30 here in europe.... in your ABC_ValueAreaPlots you use 9:30 to 16:15...
I know that choices are individual but based on your experience what is the best hour interval to set?
Also I noticed one thing that I cannot figure out. When I apply the Value are DEMO to the dax for example it calculate the same values as in the ABC_ValueAreaPlots, but even if the value numbers are the same the plots are made in a different price level... Am I missing something? Is this a MC bug?
This is the CORRECT ABC_ValueAreaPlots on dax (all correct) :
and this is the DEMO function with plot1 to plot6 enabled:
Can you see that for example the TPOVALo is 12567,50 (in data window) but on the chart I see it at 12500 ???
Here you have BOTH indicators on the same chart ..
I checked the scaling ... honestly I was just browsing all the available options and when pressed ok and closed the format indicator window levels are now correct... I don't even know How I made that eheh
I have a quick question related to the function ABC_ValueAreas.
First of all I succesfully used it inside my signal applied to the FDAX and now I'm trying to set up the strategy to work on the minidax (as I usual do).
So I added FDXM (minidax) on the chart as DATA1 and the FDAX as DATA2. I've added inside the signal "of data2" in every part of code in order to generate signals using the data2 (FDAX) datafeed.
After do that I realized that oDevelopingTPOVAHigh and oDevelopingTPOVALow are calculated on data1 .... and there's no way to keep calculate them on data 2 is it correct?
Of course the values of oDevelopingTPOVAHigh and oDevelopingTPOVALow for the minidax will be similar to the FDAX but I think that trigger signals directly from the FDAX and execute it pn minidax is a better solution...
it seems to work on back test anyway but it need more test for sure to made a comparison with the same strategy simply applied on the big DAX.
you can tie variables and functions to specific data streams. With that you can accomplish what you have in mind.
You can find some examples and further documentation in the FAQs: https://www.multicharts.com/discussion/viewtopic.php?t=6929
I know it was possibile and after saw the link that you provided above I think I was missing that I have to DECLARE the variables as data2 , it seems that doing something like this
should solve the problem.
Thank you!
Regards,
David
EDIT OF THE EVENING: (I would like to complete the answer)