Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 12:52:07 +0000



[Programming Help] - Delta Divergence Alert Formula

View Count: 2726

[2019-06-26 19:33:16]
User929084 - Posts: 60
Hi. I'm trying to get signal when there is divergence between price and cumulative delta. Where the price bar closes up and delta closes negative and when price bar closes down and delta closes positive. I'm trying to get simple alert with study "Color bar based on alert condition".

When I use this formula =AND(C<O,ID1.SG4>0) on ask/bid volume difference bars study it works fine. Where ID1 is ask/bid volume difference bars

But when I use the same formula =AND(C<O,ID1.SG4>0) on cumulative delta bars- volume study it gives me signal on every price bar that closes down.

Can this be accomplished with cumulative delta bars study by modifying this formula? I would like to get this done on cumulative delta, because I use it. And I do not use ask/bid volume difference bars.

P.S.
I found posts about the same thing, but no formula examples were provided, just custom studies that accomplish the same thing. And I would like to avoid that if I can.

Thank you.
[2019-06-27 13:21:48]
User657944 - Posts: 173
I suggest you to register and post your request on this forum
http://forum.obchodni-indikatory.cz/forum/ke-sta%C5%BEen%C3%AD
And see how they can help you
Alberto
Date Time Of Last Edit: 2019-06-27 13:22:14
[2019-06-27 20:04:57]
mkata - Posts: 103
On cumulative delta bars you are measuring against the open of the bar not zero.
It should be:
=AND(C<O,ID1.SG4>ID1.SG1)
[2019-06-28 03:36:40]
User929084 - Posts: 60
I figured it out today, but thank you for your help mkata.

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

Login

Login Page - Create Account