NexusFi: Find Your Edge


Home Menu

 





ToS Scan for % change over time


Discussion in ThinkOrSwim

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




 
Search this Thread
  #1 (permalink)
briansanders
Roswell GA USA
 
Posts: 1 since Jul 2020
Thanks Given: 0
Thanks Received: 0

Hello, I want to create a scan that will provide % change over a defined period of time. For example, I want to see all stocks that have decreased by 20% or more over the last 60 days in comparison to last close.

Another example: xxx closed at $100 in the previous session. But the average close over the last 60 days 120. If I ran the scan that I am looking for xxx would come in as a result.

I think that it would look something like this:

close(“period” = AggregationPeriod.DAY) is greater than .95 * SimpleMovingAvg(“length” = 50).”SMA”

I think that I need to change the "greater than .95*" to a negative?

Here is another example and maybe a better one:
#The current stock price is trading above the 50-day moving average
close(“period” = AggregationPeriod.DAY) is greater than SimpleMovingAvg(“length” = 50).”SMA”
All I really want to be able to do is add the negative or positive percent variable to this.
#The current stock price is trading X% below the 50-day moving average



I then want to have column in the scan that shows me the actual % change over the 60 days for all of the stocks that meet the criteria.

I have been working on this for days and I just cannot seem to get it right. If anyone can help I would be most appreciative.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Without Pulisic, USA 61.5% Live vs. Australia -- France …
Prediction Markets & Event Contracts
CME Group CEO Calls CFTC-Approved Crypto Perps Dangerous …
Traders Hideout
June 15 Peace Odds Surge From 3.6% to 12.25% After Trump …
Prediction Markets & Event Contracts
$500M Riding on World Cup 2026: France/Spain Co-Favored …
Prediction Markets & Event Contracts
The June 15 Resolution Trap: Irans Agreed Text Still Pri …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 
Bermudan Option's Avatar
 Bermudan Option 
Chicago, Illinois
 
Experience: Beginner
Platform: TradingView
Broker: ThinkOrSwim
Trading: Forex, Stock & Options
Posts: 678 since May 2011
Thanks Given: 863
Thanks Received: 471

The only suggestion I have is to perhaps move the individual portions of your expected results into the 'Search Results' and then calc'ing the difference in a spreadsheet.

Some additional criteria such as price being below the Daily 200 SMA could help if you have too many results initially


Visit my NexusFi Trade Journal Reply With Quote




Last Updated on July 20, 2020


© 2026 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 - Downloads - Top
no new posts