Support Board
Date/Time: Wed, 27 Nov 2024 15:30:36 +0000
[User Discussion] - Alert Question
View Count: 1084
[2015-05-10 08:38:02] |
golan_82 - Posts: 24 |
Hi , I use a lot reversal bar chart. I would like to know how I can make alert to a bar that has X-tick tail or X-tick body and so forth. I want the alert to work only when the bar in completed and a new one has opened.. thank you |
[2015-05-10 13:50:20] |
Sawtooth - Posts: 4120 |
Each of these will alert if greater than 3 ticks: wick: =(H-MAX(O,C))/TICKSIZE>3 tail: =(MIN(O,C)-L)/TICKSIZE>3 body: =ABS(O-C)/TICKSIZE>3 You can combine them, like this: OR((H-MAX(O,C))/TICKSIZE>3,(MIN(O,C)-L)/TICKSIZE>3) |
[2015-05-11 07:33:36] |
golan_82 - Posts: 24 |
Thank you where should I write this formula? and I want this alert to highlight the bar itself. how to do it? |
[2015-05-11 14:08:01] |
Sawtooth - Posts: 4120 |
Add the Color Bar Based On Alert Condition study and put the formula on its Alerts tab. If you want separate colors for each separate formula, you'll need an instance of the Color Bar study for each color. |
[2023-08-15 10:42:37] |
User135370 - Posts: 162 |
Hi What does MAX mean? H-MAX(O,C) and then you divide? Can you explain this formula would appreciate it |
[2023-08-15 14:18:37] |
Sawtooth - Posts: 4120 |
What does MAX mean? H-MAX(O,C) and then you divide? Can you explain this formula would appreciate it
H-MAX(O,C) finds the difference between the High and the upper value of the candle body.MAX is an formula Function that means maximum. https://www.sierrachart.com/index.php?page=doc/SpreadsheetFunctions.html#MAX_Function H is the High of a price bar. O and C (Open and Close) are the extremes of a candle body. The maximum of the Open and Close is the upper value of the candle body. It could be the Open or the Close, depending on whether the candle is 'green' or 'red'. |
To post a message in this thread, you need to log in with your Sierra Chart account: