|
wiseone
 Member
Posts: 13
Joined: 1/13/2004
Location: Prescott, AZ
User Profile |
I'd appreciate any help creating a new criteria rule that will filter for 3 trending weeks in a row on the weekly time frame.
for uptrend
current weekly close is higher than prior week;
prior week close is higher than 2nd prior week;
2nd prior week close is higher than 3rd prior week.
Thanks in advance!
|
|
Jim Dean
 Sage
  Posts: 3022
Joined: 9/21/2006
Location: L'ville, GA
User Profile |
C > C[1] and C[1] > C[2] and C[2] > C[3]
|
|
wiseone
 Member
Posts: 13
Joined: 1/13/2004
Location: Prescott, AZ
User Profile |
I'm looking for WEEKS; isn't this days?
|
|
Jim Dean
 Sage
  Posts: 3022
Joined: 9/21/2006
Location: L'ville, GA
User Profile |
You said you were using a Weekly timeframe. If that’s true, then OHLC applies to weekly bars. If you’re using a Daily timeframe but want a formula that analyses weeks, multiply all the [#] values by five.
C > C[5] and C[5] > C[10] and C[10] > C[15]
[Edited by Jim Dean on 10/14/2021 2:17 PM]
|
|
wiseone
 Member
Posts: 13
Joined: 1/13/2004
Location: Prescott, AZ
User Profile |
Perfect, thanks!!
|