Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 13:06:13 +0000



Alert for Rejection Bar

View Count: 341

[2023-08-14 17:36:04]
User135370 - Posts: 162
Hi Sierra

Can you help me with a formula please

Is there a way to write a formula on color background based on alert condition to show me wicks?
The part of the formula I am struggling with is

= Close of the bar is say 4 ticks less than the high (this should give me a pin bar or a rejection wick)

Can I do this? Can you help?
[2023-08-14 19:40:08]
John - SC Support - Posts: 36309
The formula for a bar that has a close that is 4 ticks less than the high is the following:
=C < H - 4 * TICKSIZE

Note that this is "Less Than". If you want to include the situation where it is also exactly 4 ticks, then you need to change the operator from "<" to "<=".
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-08-15 10:53:40]
User135370 - Posts: 162
Thanks John

I think my question was wrong but your answer was clear, I think I can do what I want now.

If I wanted a Bullish Pin Bar to highlight

=O>L+TICKSIZE*4

Open above Low by 4 ticks, is that correct?

And the opposite would be

=C<H - TICKSIZE*4
Close less than high by 4 ticks.
[2023-08-15 14:42:33]
John - SC Support - Posts: 36309
Those formulas will give you what you want.
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:

Login

Login Page - Create Account