Login Page - Create Account

Support Board


Date/Time: Sat, 30 Nov 2024 05:32:26 +0000



[User Discussion] - Help with Trading from Alert study syntax

View Count: 281

[2022-12-13 15:49:03]
Dean Roberts - Posts: 79
Hi All
I'm trying to write a simple check to enter a short but only if one study level is BELOW the study line I am trying to enter at;

Can someone tell me where I am going wrong please?

=OR(CROSSFROMBELOW(C,ID1.SG3)>ID2.SG3)

So I am trying to get an entry if ID1.SG3 is higher than ID2.SG3 - but I am getting syntax error.

Much appreciated
Cad
[2022-12-13 15:55:08]
Sawtooth - Posts: 4123
Try this:
=AND(CROSSFROMBELOW(C,ID1.SG3),ID1.SG3>ID2.SG3)
[2022-12-13 16:27:57]
Dean Roberts - Posts: 79
perfect, thank you Tom.

I'd actually got to this but now I presume I am overcomplicating!?!?!

=AND(CROSSFROMBELOW(C,ID19.SG3), O,ID19.SG3>C,ID15.SG3)

Much appreciated
Cad

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

Login

Login Page - Create Account