Support Board
Date/Time: Wed, 07 May 2025 16:06:54 +0000
Post From: Colour Bar based on Alert Condition for a non-time based chart!
[2024-11-26 15:03:39] |
John - SC Support - Posts: 39675 |
Since you are using Delta Volume bars with a volume of 25, this actually simplifies things, as you can do what you are suggesting. You would need to look at the last 16 bars to see if they are all in the same direction. You do have to do this individually for each pair of bars, so that part of the formula would look like the following for the Up bar situation: =AND(C > C[-1], C[-1] > C[-2], C[-2] > C[-3]) You would need to extend this out to the 16 bars. Then to test the time, use the same idea we gave above, but you would need to test the current bar against the bar 16 back. So this would look like the following to check against 400 milliseconds: =(BARENDDATETIME - BARDATETIME[-16]) * 24 * 60 * 60 * 1000 < 400 So then you need to combine these which would be the following: =AND(C > C[-1], C[-1] > C[-2], C[-2] > C[-3], (BARENDDATETIME - BARDATETIME[-16]) * 24 * 60 * 60 * 1000 < 400) For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |