Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 23:21:36 +0000



[Programming Help] - alert for imbalance created at the wick of candles

View Count: 340

[2024-04-30 16:54:28]
User920524 - Posts: 1
hi there, trust all is well

i need assistance for an alert that triggers only when an imbalance is created at the wick of a candle, im using volume at price Threshold v2, and it displays the balance correctly,but i need an alert that does what i need mentioned earlier , i used this code for volume area study AND(ID0.SG9>ID3.SG1,C>O) that alerts me when an up candle volume area is at the bottom, but it does not work for imbalance at the wick, thanks

https://www.sierrachart.com/Download.php?Folder=SupportBoard&download=99554
image111.jpg / V - Attached On 2024-04-30 16:50:52 UTC - Size: 49.53 KB - 140 views
Attachment Deleted.
[2024-04-30 17:45:00]
John - SC Support - Posts: 36238
It's fairly straightforward to setup an alert if the imbalance is in wick at the bottom. This is because the "Volume at Price Threshold Alert V2" starts at the bottom, so the first trigger will always be the lowest. So you can just test that one subgraph to see if it is in the wick. The formula for this would be the following:
=IF(C < O, ID1.SG1 < C, IF(O < C, ID1.SG1 < O, 0))


To test if it is in the upper portion of the wick is more difficult, as you would have to add an OR() that tests multiple triggers to make sure you have the last trigger captured. It may be best to do this with a Spreadsheet Study instead.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account