Support Board
Date/Time: Thu, 23 Jan 2025 18:22:00 +0000
[Programming Help] - Present bar < 0.318 of the average last 5 bars
View Count: 849
[2018-12-05 11:12:50] |
Calculus - Posts: 101 |
Just starting to get to grips with SC, to say it's powerful yet a touch fiddly would be about right. But then perhaps it needs to be a touch fiddly to be so powerful. Anyway, I like it! Can anyone help me please with a simple Color Bar Based on Alert Condition. What would be the code for - If the present bar (when open and/or closed) is less than 0.318 of the average of the previous 5 bars. Thanks. |
[2018-12-08 17:28:34] |
Calculus - Posts: 101 |
And I'll Paypal $40 to anyone who can program me a Color bar based on alert condition. (Or equivalent of Bitcoin at the current rate) If you know what you're doing, I doubt the formula will take more than 5 mins. |
[2018-12-08 17:36:57] |
Calculus - Posts: 101 |
File attached
|
UB404240-094.png / V - Attached On 2018-12-08 17:36:38 UTC - Size: 43.34 KB - 292 views UB404240-095.png / V - Attached On 2018-12-08 17:36:46 UTC - Size: 42.63 KB - 301 views |
[2018-12-08 17:39:14] |
Calculus - Posts: 101 |
The 2 images above are what the color bars should look like. The bars in question are purple. The first chart is a 30sec GBP-USD from Friday 7th Dec. Note, the time is London. The second chart is a 1m, same details as above. So the Sierra Chart color bar formula should match those purple bars. |
To post a message in this thread, you need to log in with your Sierra Chart account: