NexusFi: Find Your Edge


Home Menu

 





Scan by comparing SMAs within 5 mins


Discussion in ThinkOrSwim

Updated
    1. trending_up 2,092 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
The following 2 users say Thank You to Xebec for this post:

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
NexusFi Journal Challenge - April 2024
Feedback and Announcements
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Request for MACD with option to use different MAs for fa …
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
58 thanks
Battlestations: Show us your trading desks!
50 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #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