Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 09:43:43 +0000



Post From: Studies question

[2023-05-15 16:32:32]
John - SC Support - Posts: 36350
Use the "Color Bar Based on Alert Condition" study. In the Alert, enter the following:
=OR(AND(H[-1] > H[-2], H[-1] > H[0]), AND(H[-1] < H[-2], H[-1] < H[0]))

Refer to the following:
Color Bar Based on Alert Condition

Note that you can put some kind of marker rather than coloring the bar. There is a section on this in the above documentation, but start with coloring the bar.

Note that since you are looking back one bar, you will actually get the coloring on the 3rd bar (not the middle one). You can change this with the "Displacement" option on the Subgraphs tab and set it to -1. But get everything else working first.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing