Login Page - Create Account

Support Board


Date/Time: Sun, 29 Dec 2024 15:36:05 +0000



Ichimoku Alert

View Count: 1388

[2016-01-22 12:03:32]
Halco - Posts: 92
I'm trying to create an alert for the Ichimoku study that triggers when these conditions are met:

1 - Close is above both Senkou Span A (ID23SG1) & Senkou Span B (ID23SG2)
2 - Tenkan-Sen (ID26SG1) is above Kijun-Sen (ID27SG1)
3 - Chikou Span (ID28SG1) is above the close.

Here's my formula:

=And((ID23.SG1<C),(ID23.SG2<C),(ID26.SG1>ID27.SG1),(ID28.SG1>C))

I think my syntax is right but the alerts aren't showing up correctly on the chart. Maybe it has something to do with Span A and Span B being plotted 26 periods into the future and Chikou Span plotted 26 periods in the past?

Is there a way to do this? Thanks much.
[2016-01-22 16:47:09]
Halco - Posts: 92
I tried this:

=And((ID23.SG1[-26]<C),(ID23.SG2[-26]<C),(ID26.SG1>ID27.SG1),(ID28.SG1>C[-26]))

That's not working right, either.
[2016-01-22 17:42:49]
Sawtooth - Posts: 4143
Your formula in post #1 works for me. What is it not doing?
If you can give me the symbol, bar period, and datetime & timezone when it doesn't do what you expect, I'll take a look.
[2016-01-23 18:41:01]
Halco - Posts: 92
Hey Tom. I think I've got it now. Thanks.

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

Login

Login Page - Create Account