Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 13:30:27 +0000



[Programming Help] - Writting this Alert to color bars

View Count: 1036

[2017-12-12 10:30:27]
EuropeanTrader - Posts: 290
Hello everyone,

how can I write an alert that a bar would be colored blue when:

1. Price makes a new 30 bar high
2. Trades above upper Keltner channel
3. Oscilator line makes a new 30 bar high also

?

I would figure out opposite for shorts.

Thank you so much if anyone knows!!!
[2017-12-16 19:18:25]
EuropeanTrader - Posts: 290
I figured it out, thanks.
[2017-12-17 14:06:35]
nicktrader - Posts: 665
@EuropeanTrader

How did you manage that esp. #1? Did you use a Study (Color Bar...) or a spreadsheet. In some cases I do need similiar requirements but how to describe an area?

Many thanks
[2017-12-17 20:33:59]
EuropeanTrader - Posts: 290
Hi,

http://www.sierrachart.com/image.php?Image=1513542728442.png

see attached.

Yes, color bar with alerts, separate for highs:
=AND(H > ID1.SG1 , H > ID5.SG2 , ID4.SG1 > ID3.SG1)

and lows:
=AND(L < ID1.SG2 , L < ID5.SG3 , ID4.SG1 < ID3.SG2)
imageScreenHunter 892.jpg / V - Attached On 2017-12-17 20:33:55 UTC - Size: 78.95 KB - 316 views
[2017-12-18 06:20:24]
nicktrader - Posts: 665
@EuropeanTrader

Many thanks.

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

Login

Login Page - Create Account