|
Rean
 Veteran
 Posts: 105
Joined: 8/30/2013
Location: Johannesburg, South Africa
User Profile |
Hallo good people
I'm trying to create a scan that scans for the following:
Stock price is 70% above the 52week low (showing that the stock as been improving)
Stock price is 5% lower than the 20-day high (showing that the stock has recently retraced)
These are my attempts, I'll appreciate if you can correct me where it's wrong:
h >= llv(250) [1]*.70
h >= hhv(20) [1]*.95
|
|
Jim Dean
 Sage
  Posts: 3022
Joined: 9/21/2006
Location: L'ville, GA
User Profile |
Should be:
H >= llv(250)[1] *1.70
L <= hhv(20)[1] *0.95
I removed spaces before the ['s, and changed the LLV formula multiplier.
I'd suggest using C >= and C <= rather than H's and L's ... up to you.
|
|
Rean
 Veteran
 Posts: 105
Joined: 8/30/2013
Location: Johannesburg, South Africa
User Profile |
You're the best, thanks Jim.
|