Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 17:40:47 +0000



[Programming Help] - dvp - alert on point of control change

View Count: 1143

[2020-02-16 17:24:05]
User474744 - Posts: 22
I'm trying to figure out if it's possible to alert if the point of control changes on the draw volume profile tool. For example, when a profile is drawn on the chart and it encompasses the last x bars and the current bar, if the point of control is currently 65.10 and price is trading around 65.00 and then the point of control switches to 65.00, is it possible to alert on that change?
[2020-03-01 22:45:16]
User474744 - Posts: 22
Bump...

Anyone know if this is possible?
[2020-03-01 23:22:35]
Ackin - Posts: 1865
Everything is possible ... I have a similar study (history of POC pivot levels)
This could also be realized as an ACSIL study.




If you want to do it yourself I can advise you the studies that are in the default list of Sierrachart.

This could be done through:

Study subgraph Reference (For visualization)
Study Subgraph Reference

+

Color Bar Based on Alert Condition
Color Bar Based on Alert Condition
Date Time Of Last Edit: 2020-03-01 23:32:27
imagePOC ref.png / V - Attached On 2020-03-01 23:22:30 UTC - Size: 103.46 KB - 365 views
[2020-03-02 07:56:05]
User474744 - Posts: 22
Cheers for the reply, I thought it might have somehow been possible using a forumla on the alerting on the study itself, I can get it to alert if it crosses a hardcoded price but that's all.

I tend to have several DVP's on the chart so I don't think using subgraphs would be suitable.

I'll look at the ACSIL study, time to brush up on my C++

Thanks
[2020-03-02 09:27:14]
Ackin - Posts: 1865
I thought it might have somehow been possible using a forumla on the alerting on the study itself
I'm not sure this is possible. Check if the information about the past values remains in the profile (in that object). Then you could use alert.

....... so I don't think using subgraphs would be suitable.
In good ... This answer doesn't make sense to me ..... Volume profile is a closed object without the ability to edit it. If you make your own profile object so yes ... then you're right. But if you use the default volume profile from Sierrachart, you will always use SG or store the calculation in an array ... again it will be similar to SG.

The Sierra Chart has a well-developed interconnection of studies with each other. Many people think that their own study will speed up or improve something. Yes...accessibility in own need or self-enhancement will improve ... Speed rather vice versa ....


However, I wish you a lot of patience at work ... ;)
[2020-03-02 10:51:21]
User474744 - Posts: 22
In good ... This answer doesn't make sense to me ..... Volume profile is a closed object without the ability to edit it. If you make your own profile object so yes ... then you're right. But if you use the default volume profile from Sierrachart, you will always use SG or store the calculation in an array ... again it will be similar to SG.

My knowledge of studies is limited, I think I misunderstood what you are suggesting.

I've added an SG to my chart, referencing a DVP and put an alert on it =SG1<>SG1[-1] and this gives me an audio alert when the vpoc switches which achieves exactly what I want, so that's fantastic.

I draw DVP's throughout a session, so my next question is, is there a way to attach the SG to a new drawn DVP automatically without me manually having to add the study and select the DVP etc? If that can be done then it's case closed and I'm buying you a beer :-)

Thanks for your patience Ackin!
[2020-03-02 11:34:27]
Ackin - Posts: 1865
is there a way to attach the SG to a new drawn DVP automatically without me manually having to add the study and select the DVP etc?
There is nothing like that, but it could be made ....

I have lots of promised beers all over the world. ;)
[2020-03-02 14:05:17]
User474744 - Posts: 22
There is nothing like that, but it could be made ....

oh man, so close! :-)

So would that be made using ACSIL study? If you can't point me in the right direction I'll go ahead and do some research and see what I can work out.

Thanks again!
[2020-06-01 09:18:52]
User837624 - Posts: 16
Hi guys,

Post #6 here mentions trying to get a sound alert when Point Of Control changes up or down. I'm using the standard Volume By Price study and adding a similar formula on the Alert tab does not work. No sound at all when the PoC jumps.

Do I need to install some special version of the VbP study to make this alert work? I'm happy with the standard study and just want to add the alert sound.

Thanks,
Andrei
[2020-06-01 09:27:10]
Ackin - Posts: 1865
Post #3 + Colorbar study based on alert condition =OR(IDxx.SG1>IDxx.SG1[-1],IDxx.SG1<IDxx.SG1[-1])
[2020-06-01 09:46:58]
User837624 - Posts: 16
Thanks Ackin,

Not sure I understand this correctly. Do I need to have 2 studies (from the standard Sierra list):
- Volume by Price
- Colorbar study based on alert condition

And then add an Alert formula that references the Point of Control?

I think the problem is that PoC exists "right now" and when it jumps there's no "previous value" like for many other studies.

Am I missing something here?

Thank you,
Andrei
[2020-06-01 10:48:03]
Ackin - Posts: 1865
Am I missing something here?

Study subgraph Reference (For visualization)
Study Subgraph Reference



Look on this >>>>> https://www.sierrachart.com/Download.php?Folder=SupportBoard&download=36335
[2020-06-01 13:28:31]
User837624 - Posts: 16
Thanks Ackin!

I never used "Study Subgraph Reference" but it's ingenious. It creates a "trail" of PoC's previous values so we can test for SG1<SG1[-1] and so on.

I gave it a quick test by replaying the chart at high speed. Seemed to work most of the time except small changes. Which probably get missed because I bunched up a few DAX points into a single VbP bar. This seems to speed up calculation and makes the histogram easier to read. I can live with this. Now testing on the live chart.

Thanks a lot
[2020-06-01 13:49:43]
Ackin - Posts: 1865
ok...

If you have a volume profile fixed for a period or session, you can also perform a POC calculation without replay or connection status. I have a request for this from several people, I will probably create a study for it in the near future.
[2020-06-01 14:15:54]
User837624 - Posts: 16
Hi Ackin,

This is how I use the VbP study - calculated for the day and PoC highlighted.

http://www.sierrachart.com/image.php?Image=159102073760.png

The PoC moves up/down during the day and I pay attention to this. Hence wanting to make it audible.

Thanks,
Andrei

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account