Support Board
Date/Time: Sat, 10 May 2025 06:46:47 +0000
[User Discussion] - Code request: Body < 50% of Candle's Range
View Count: 1161
[2015-11-11 21:33:53] |
tobi - Posts: 351 |
Hello programmers, could anyone code me (ACSIL) the following condition: I would like to color the body of a candle, if the body is < 50% of the candle's range. Mathematically this would translate into: ABS(Open - Close) < (High - Low) * 0,5 If the 0.5 (50%) would not be fix, but be a variable set as Input Value it'd be perfect. Attached is a screenshot of how this should look like. I'd be very thankful and willing to pay, if anyone could help! Date Time Of Last Edit: 2015-11-11 21:35:25
|
![]() |
[2015-11-11 21:47:37] |
infpz - Posts: 826 |
Have you tried the color bar based on study? See the image. If you want, send me an email and I'll send the chartbook to you. Code: ABS(O-C)<(H-L)*.5 -Patrick Zielbauer pz@infinityfutures.com |
[2015-11-12 08:49:47] |
tobi - Posts: 351 |
Working perfect! Thanks a lot Patrick!
|
[2015-11-12 11:17:30] |
infpz - Posts: 826 |
Sure! Come to some of my webinars on Mondays. I am not a developer but I enjoy teaching regular people how to use these features in SC.
|
To post a message in this thread, you need to log in with your Sierra Chart account: