Registered User Joined: 3/2/2005 Posts: 120
|
(C > 20) AND (AVGV50 > 500) AND (C > MAXC5.1) AND (C > C1 + 1) AND (V > 1.5 * AVGV50)
I have the above formulae from some time back and want to adjust it to hold True say 5 days back. How do I do this ? Also I then want to test if price on the subsequent days upto current was <= to the price 5 days back.
many thanks
sgia
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You would add 5 to all of the bars ago parameters.
C5 > 20 AND AVGV50.5 > 500 AND C5 > MAXC5.6 AND C5 > C6 + 1 AND V5 > 1.5 * AVGV50.5
Checking for price to have closed at or lower than the closing price of 5 bars ago for all of the 5 more recent bars can be written as follows.
MAXC5 <= C5 AND C5 > 20 AND AVGV50.5 > 500 AND C5 > MAXC5.6 AND C5 > C6 + 1 AND V5 > 1.5 * AVGV50.5
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 3/2/2005 Posts: 120
|
Thank You Very Much.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|