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

higher close 4 out of last 5 days Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
reeder1558
Posted : Friday, April 27, 2012 12:48:03 PM
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

pargo2
Posted : Friday, April 27, 2012 12:57:01 PM
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.

reeder1558
Posted : Friday, April 27, 2012 3:57:52 PM
Registered User
Joined: 4/9/2011
Posts: 12

Thanks

RR

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.