Support Board
Date/Time: Tue, 26 Nov 2024 06:48:08 +0000
Alert condition
View Count: 227
[2023-12-18 03:06:32] |
fish4trout - Posts: 99 |
I'm trying to create an alert condition where if volume of next bar is less than 40% of previous bar volume alert will trigger. I figured this could be done with Num Bar Calc Value study and writing a formula to take bar difference away from total and convert that to a percentage. I don't see a volume difference in percentage in that study which would make alert much easier to write. Any help is appreciated!
|
[2023-12-18 17:52:07] |
John - SC Support - Posts: 36286 |
You do not need the Numbers Bars Calculated Values to get the volume per bar. This is part of the Main Price Graph information, and the alert shortcut of "V" can be used for the volume. The the alert condition would be the following: =V < 0.4 * V[-1] If you are wanting a "Percent Difference", then the condition would be the following: =AND((V[-1] - V) / V[-1] < 0.4, (V[-1] - V) / V[-1] > 0) For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2023-12-19 01:50:09] |
fish4trout - Posts: 99 |
Works great, thanks!
|
To post a message in this thread, you need to log in with your Sierra Chart account: