NexusFi: Find Your Edge


Home Menu

 





TOS scan for inside days


Discussion in ThinkOrSwim

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




 
Search this Thread
  #1 (permalink)
 RickW00716 
Richmond Virginia
 
Experience: Intermediate
Platform: Ninja Trader
Trading: ES
Posts: 318 since Feb 2013
Thanks Given: 306
Thanks Received: 163

I would like to build a scan that will scan for inside days, inside days with the narrowest range in 4 days, inside days with the narrowest range in 7 days.

Does such a scan exist? I am new to TOS and not sure how i could do this or if it does exist how I would import this into my scans.

I want to run this scan late in the trading day to see which stocks on my custom watchlist fit any of these criteria so that i may enter them before the close of the day.


Thank you


Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Post-Summit Market Verdict: ES -1%, NQ -1.5%, 10-Year Yi …
Traders Hideout
Hormuz Normalization Collapses to 19.5% -- Iran Regime F …
Prediction Markets & Event Contracts
Beijing Summit Closes: Xi Pledges Hormuz Help -- $1.14B …
Prediction Markets & Event Contracts
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
Post-Summit Scorecard: $36M in May 15 Bets Settle Near-Z …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
13 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 growex 
Trubchevsk
 
Experience: Beginner
Platform: tos
Trading: stocks
Posts: 61 since May 2011
Thanks Given: 40
Thanks Received: 79

Here it ts:

 
Code
                            
def count 4;
def range high low;
def inside_bar high <=high[1] and low >= low[1];
plot s inside_bar && lowest(range,count); 
there's a setting "count" in first line. This is the number of bars to search lowest range from


Follow me on X Reply With Quote
Thanked by:
  #3 (permalink)
 RickW00716 
Richmond Virginia
 
Experience: Intermediate
Platform: Ninja Trader
Trading: ES
Posts: 318 since Feb 2013
Thanks Given: 306
Thanks Received: 163


thank you very much


Started this thread Reply With Quote
  #4 (permalink)
 
DougN's Avatar
 DougN 
Scottsdale, Arizona, USA and Puerto Penasco, Mx
 
Experience: Intermediate
Platform: Ninja 7, TOS
Trading: YM, ES, GC, CL
Posts: 42 since Nov 2013
Thanks Given: 35
Thanks Received: 33

Thanks growex. This installed very nicely as a scan as well as a column in the watchlist.
Best, Doug


Follow me on X Reply With Quote




Last Updated on January 20, 2018


© 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