Support Board
Date/Time: Tue, 26 Nov 2024 08:37:30 +0000
How do I see if price moved 1R from a prior bars range difference?
View Count: 331
[2023-12-10 05:06:30] |
User664207 - Posts: 9 |
I want to paint bar green for instance once a bars distance achieves 1R in next 1 or more bars. So I need the bar difference plus 2 ticks and then reference that to see if next bar achieves that same number of ticks or difference. Thank you |
[2023-12-11 16:40:08] |
John - SC Support - Posts: 36286 |
To color a bar based on a condition, use the "Color Bar Based on Alert Condition" study. Refer to the following: Color Bar Based on Alert Condition For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2023-12-11 16:45:11] |
User664207 - Posts: 9 |
Thank you, but how do you reference, for instance, the prior bars range (H-L) plus two ticks, and then compare the currently forming bar to see if it has met that range difference?
|
[2023-12-11 19:35:14] |
John - SC Support - Posts: 36286 |
All of the information for this is on the "Alerts and Scanning" page at the following link: Study/Chart Alerts And Scanning To test if the current bar range is more than the previous bars range plus two ticks would be the following: =ABS(H - L) > ABS(H[-1] - L[-1]) + 2 * TICKSIZE 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: