Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Hi all - I've been searching around for a thread on how to code in ThinkorSwim and I've not having much luck ... If anyone would be willing to help type out a script, it would be much appreciated!
30 day low is lower than the 200 day moving average
30 day high is greater than 50 day moving average
30 day high is greater than 200 day moving average
So basically I want the scanner to show me any stocks that have had a 30day low AND high that are LOWER than the 50 and 200 day SMA and HIGHER than the 50 and 200 day SMA, respectively, over the past 30 days only.
I'm unable to post picture, but if you go to this website (delete spaces inbetween): https :// imgur .com/ a/QFwR5z7 , then you can see the type of picture I'm trying to create. The white line is the 50 day SMA and the blue line is the 200 day SMA, so you can see that the 2 circled areas are above and below, respectively, each of these lines.
Thanks in advance guys!
TTH
Can you help answer these questions from other members on NexusFi?
#Scan 30d Low< 50MA and <200Ma and 30dHigh < 50MA and <200Ma
Lowest("data" = low, "length" = 30) is less than SimpleMovingAvg("length" = 50)."SMA" and Lowest("data" = LOW, "length" = 30) is less than SimpleMovingAvg("length" = 200)."SMA" and Highest("data" = HIGH, "length" = 30) is greater than SimpleMovingAvg("length" = 50)."SMA" and Highest("data" = HIGH, "length" = 30) is greater than SimpleMovingAvg("length" = 200)."SMA"