Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 10/2/2005 Posts: 30
|
Hi,
Would it be possible to code for a bounce off the 50 period SMA anytime within the past week?
Thanks! Kaveh
|
|
Registered User Joined: 10/2/2005 Posts: 30
|
... can I amend that?
Either a bounce off the 50SMA, and/or the price simply breaking above the 50SMA, within the past week.
Thanks.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You may wish to try the following:
C > AVGC50 AND (C1 / AVGC50.1 < 1.01 OR C2 / AVGC50.2 < 1.01 OR C3 / AVGC50.3 < 1.01 OR C4 / AVGC50.4 < 1.01)
I'm not sure if it will meet your needs or not. It verifies that Price is currently above the 50-Period Simple Moving Average but either below or within 1% at least once during the rest of the week. This should return True for all bounces that got within 1% and anything that was below, but could also return True for a symbols where the Price was neither below nor significantly above the Moving Average.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |