Login Page - Create Account

Support Board


Date/Time: Tue, 01 Jul 2025 14:10:55 +0000



Post From: Multiple stochastics crossing over the 50 line

[2015-11-11 23:01:39]
Sawtooth - Posts: 4231
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.