NexusFi: Find Your Edge


Home Menu

 





Scan by comparing SMAs within 5 mins


Discussion in ThinkOrSwim

Updated
    1. trending_up 2,106 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread

Scan by comparing SMAs within 5 mins

  #1 (permalink)
Xebec
Herriman, UT, United States
 
Posts: 2 since May 2020
Thanks Given: 1
Thanks Received: 1

I created a scan that is INTENDED to show stocks where the current sma20 is greater than the current sma200.

 
Code
SimpleMovingAvg("length" = 20)."SMA" is greater than SimpleMovingAvg("length" = 200)."SMA"
But the scan is showing some stocks where the sma200 is currently greater than sma20.

I've tried changing the time range box on the right to D as well as 5min. Still shows incorrect stocks.

Any idea how to accomplish my goal and/or why my criteria isn't giving me the expected results?

EDIT: I figured it out. I need to be on the same time chart as set in the scan. So, while I had the scanner set to 5 min, I was actually in the 2 min chart. When I changed my scan to the 2 min and was in the 2 min chart, I got the expected results.

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
What broker to use for trading palladium futures
Commodities
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
 
  #2 (permalink)
tmaccorm
east bay n.s.
 
Posts: 9 since Jan 2010
Thanks Given: 6
Thanks Received: 1


Xebec View Post
I created a scan that is INTENDED to show stocks where the current sma20 is greater than the current sma200.

 
Code
SimpleMovingAvg("length" = 20)."SMA" is greater than SimpleMovingAvg("length" = 200)."SMA"
But the scan is showing some stocks where the sma200 is currently greater than sma20.

I've tried changing the time range box on the right to D as well as 5min. Still shows incorrect stocks.

Any idea how to accomplish my goal and/or why my criteria isn't giving me the expected results?

EDIT: I figured it out. I need to be on the same time chart as set in the scan. So, while I had the scanner set to 5 min, I was actually in the 2 min chart. When I changed my scan to the 2 min and was in the 2 min chart, I got the expected results.

Another option for great scanning capabilities is finviz. Several youtube videos on how to do various scans. All for free, although there's a more sophisticated paid version as well.

Reply With Quote




Last Updated on July 20, 2020


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts