Registered User Joined: 4/9/2011 Posts: 12
|
I found this formula in the discussion topics. The description is:
"In this one the ETF must be above its 200 day MA, and has dropped below its 5 day MA.
It has dropped four out of the last five days, so the closing prices were
lower than the day before for four out of the last 5 days."
How would I reverse it so closing prices are higher than the day before for 4 out of the last 5 days.
C > AVGC200 AND C < AVGC5 AND ABS(C < C1) + ABS(C1 < C2) + ABS(C2 < C3) + ABS(C3 < C4) + ABS(C4 < C5) >= 4 AND C5 > AVGC5.5 AND C4 < AVGC5.4 AND C3 < AVGC5.3 AND C2 < AVGC5.2 AND C1 < AVGC5.1
Thanks again for all your help.
Richard
|
Registered User Joined: 10/2/2008 Posts: 14
|
C > AVGC200 AND C < AVGC5 AND ABS(C > C1) + ABS(C1 > C2) + ABS(C2 > C3) + ABS(C3 > C4) + ABS(C4 > C5) >= 4 AND C5 > AVGC5.5 AND C4 < AVGC5.4 AND C3 < AVGC5.3 AND C2 < AVGC5.2 AND C1 < AVGC5.1
I didn't not make any changes to the above 200 day ma and below 5 day MA.
|
Registered User Joined: 4/9/2011 Posts: 12
|
Thanks
RR
|