NexusFi: Find Your Edge


Home Menu

 





ToS Scan for % change over time


Discussion in ThinkOrSwim

Updated
    1. trending_up 2,473 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?
Strike Pause Holds, Oil Erases Monday Spike -- May CPI W …
Traders Hideout
Election Sunday Resolves: Peru Heads to Runoff at 42pct, …
Prediction Markets & Event Contracts
CME Cuts Precious Metals Margins Up to 21% Starting Toda …
Commodities
Post-Summit Market Verdict: ES -1%, NQ -1.5%, 10-Year Yi …
Traders Hideout
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 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