Login Page - Create Account

Support Board


Date/Time: Tue, 21 May 2024 19:37:58 +0000



Post From: Slow Stochastic Alert Question

[2017-03-14 01:56:45]
zzzzz - Posts: 14
I am presently using Stochastic - Slow as an indicator and am only using Slow %D (ID1.SG1 in this instance.) with Auto-Coloring based on slope. I am using it in conjunction with the DMI.

If I setup an alert for just the Stochastic using "Simple Alert Condition Formula for Change of Slope or New Slope of a Study Subgraph Line" formula, it works great. But because I add in a match condition for the DMI, it fails because the Stochastic might not have changed slope on that candle that the DMI condition matches.

Here's what I am trying to do:

If the DMI crosses up, then I would like an alert that tells me if the Stochastic is pointing up and below 70. If the DMI crosses down, I would like an alert that tells me if the Stochastic is pointing down and above 30.

Knowing that my DMI condition already works, is it possible to put a condition in that meets my stochastic criteria? I read through the study alerts page and could not find one that matches well.

Thanks!

Here are my working formulas independently:

WORKING DMI
=OR(SG1 = SG2, SG2 = SG1)

WORKING STOCHASTIC
=OR(AND(SG1[0]>SG1[-1],SG1[-1]<=SG1[-2],SG1 < 70), AND(SG1[0]<SG1[-1],SG1[-1]>=SG1[-2], SG1 > 30))

Here is my failed attempt to combine them:

DMI+STOCHASTIC
=OR(AND(OR(SG1 = SG2, SG2 = SG1),(ID1.SG1[0]>ID1.SG1[-1],ID1.SG1[-1]<=ID1.SG1[-2],ID1.SG1 < 70), AND(OR(SG1 = SG2, SG2 = SG1),(ID1.SG1[0]<ID1.SG1[-1],ID1.SG1[-1]>=ID1.SG1[-2], ID1.SG1 > 30))
Date Time Of Last Edit: 2017-03-14 01:57:00