Login Page - Create Account

Support Board


Date/Time: Wed, 25 Dec 2024 06:09:07 +0000



Post From: Multiple stochastics crossing over the 50 line

[2015-11-11 23:01:39]
Sawtooth - Posts: 4142
For the two Stochastics crossing the 50 line, try this:
=OR(AND(50>ID1.SG1[-1],ID1.SG1>50,ID2.SG1>50),
AND(ID1.SG1>50,50>ID2.SG1[-1],ID2.SG1>50),
AND(50<ID1.SG1[-1],ID1.SG1<50,ID2.SG1<50),
AND(ID1.SG1<50,50<ID2.SG1[-1],ID2.SG1<50))

To only get an alert once when the Stochastics crosses a line, check 'Alert Only Once Per Bar' if you want an alert the first time it happens, or check 'Evaluate On Bar Close' if you want the alert at bar close.