Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Stochastic - OR condition issue Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
heathhoyes
Posted : Friday, November 13, 2015 11:47:24 AM
Registered User
Joined: 4/25/2012
Posts: 10

2nd time posting this.. usually get a response within a couple hours.   So, I'm submitting again.

I am trying to create the formula that will pick up a decreasing stochastic signal line of  18.5,8 OR a  recent crossover in the last 6 bars of Stochastic 18%K5  %D8

Here is what I have, but I getting formula error -

 

(avg(stoc18.5,8)<avg(stoc18.5.1,8)

OR

stoc18.5,6>avg(stoc18.5.6,8) and stoc18.5 <avg(stoc18.5,8))

- not sure if this last part covers any crossover in the last 6 bars?

Can someone please help?

Thank you.

StockGuy
Posted : Friday, November 13, 2015 11:56:33 AM

Administration

Joined: 9/30/2004
Posts: 9,187

Try this 

(avg(stoc18.5,8)<avg(stoc18.5.1,8) OR (avg(stoc18.5,6)>avg(stoc18.5.6,8) and stoc18.5 < avg(stoc18.5,8)))

 

You were missing the AVG( after OR

Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.