Login Page - Create Account

Support Board


Date/Time: Sun, 12 Jan 2025 04:01:30 +0000



[Programming Help] - Creating study for Bar Minimum Size

View Count: 762

[2017-01-23 19:30:10]
CrunchFX - Posts: 13
Im trying to figure out the right code for a Color Bar on Alert condition for a bar size is greater than 20 pips. open to close. not High to Low.
[2017-01-24 05:28:16]
Sierra Chart Engineering - Posts: 104368
In general you would use something like this:
=ABS(O-C) > 20 * TICKSIZE
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2017-01-24 07:17:41]
CrunchFX - Posts: 13
Thank you very much that works great for what i need.
[2017-01-28 07:45:08]
CrunchFX - Posts: 13
One more question How would i code an color bar on alert condition for candles sticks where the Wick of the candle high or low is greater than the body of the candle by 45% or greater.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account