Support Board
Date/Time: Sun, 24 Nov 2024 20:59:25 +0000
[Programming Help] - alert for imbalance created at the wick of candles
View Count: 339
[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 |
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: