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.
|
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
|