|
Dougal
 New User
Posts: 3
Joined: 1/5/2017
Location: Newcastle, Australia
User Profile |
Hi
No idea how to do this? How would you write a scan that looks for stocks that have broken trend and are now basing / making right side?
thank you
David
|
|
EYEGUY
 Icon
   Posts: 1543
Joined: 12/12/2003
Location: BALDWINSVILLE, NEW YORK
User Profile |
Dougal:
While this is non-directional, you might just want to look for stocks in a squeeze.
Try this and see if it fills the bill:
SMA(Typical(),20)+SMA(ATR(1),20)*1.5 > BOL_UPPER(20,2) AND SMA(Typical(),20)-SMA(ATR(1),20)*1.5 < BOL_LOWER(20,2)
Tom Helget
|
|
Dougal
 New User
Posts: 3
Joined: 1/5/2017
Location: Newcastle, Australia
User Profile |
Thank you Tom, that has produced many charts that I am looking for.
|
|
EYEGUY
 Icon
   Posts: 1543
Joined: 12/12/2003
Location: BALDWINSVILLE, NEW YORK
User Profile |
Dougal:
Wanting to reply to your request quickly I just grabbed an old scan from my MarketScans.
This might not produce any different results but it substitutes the close for the Typical() price;
SMA(C,20)+SMA(ATR(1),20)*1.5 > BOL_UPPER(20,2) AND SMA(C,20)-SMA(ATR(1),20)*1.5 < BOL_LOWER(20,2)
And I am glad to hear it helps!
Tom Helget
|
|
Dougal
 New User
Posts: 3
Joined: 1/5/2017
Location: Newcastle, Australia
User Profile |
Thanks a million Tom. Really helped.
|