NexusFi: Find Your Edge


Home Menu

 





TOS script


Discussion in ThinkOrSwim

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




 
Search this Thread
  #1 (permalink)
TradingForALiving
Miami Florida US
 
Posts: 16 since Oct 2015
Thanks Given: 6
Thanks Received: 1

Does anyone have a script that would allow me to do an On Balance Volume scan that would find stocks where the OBV indicator reached a 20 bar high. Thanks in advance to anyone that can help me.


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)
 
Skidboot's Avatar
 Skidboot 
Houston, TX
 
Posts: 202 since Dec 2010
Thanks Given: 203
Thanks Received: 299

Give this a shot - https://tos.mx/zzTUYWd


Reply With Quote
  #3 (permalink)
TradingForALiving
Miami Florida US
 
Posts: 16 since Oct 2015
Thanks Given: 6
Thanks Received: 1


Thank you for your reply but that link doesn't give me the option to scan for stocks where the on balance volume indicator is making a new 20 bar high.


Reply With Quote
  #4 (permalink)
 
Skidboot's Avatar
 Skidboot 
Houston, TX
 
Posts: 202 since Dec 2010
Thanks Given: 203
Thanks Received: 299


TradingForALiving View Post
Thank you for your reply but that link doesn't give me the option to scan for stocks where the on balance volume indicator is making a new 20 bar high.

It scans for current OBV value >= last 20 period OBV values. Isn't that what you wanted?


Reply With Quote
  #5 (permalink)
TradingForALiving
Miami Florida US
 
Posts: 16 since Oct 2015
Thanks Given: 6
Thanks Received: 1

Thanks again for your reply but I need the script for finding stocks that have an OBV making a 20 bar high.

For example if I wanted to find stocks that are making a 20 bar high in volume I would write the following:
(volume) > highest(volume, 20)


My question is how do I write that for the "on balance volume indicator".

Thanks


Reply With Quote
  #6 (permalink)
 
Skidboot's Avatar
 Skidboot 
Houston, TX
 
Posts: 202 since Dec 2010
Thanks Given: 203
Thanks Received: 299


TradingForALiving View Post
Thanks again for your reply but I need the script for finding stocks that have an OBV making a 20 bar high.

For example if I wanted to find stocks that are making a 20 bar high in volume I would write the following:
(volume) > highest(volume, 20)


My question is how do I write that for the "on balance volume indicator".

Thanks

Try that -

OnBalanceVolume() is greater than or equal to Highest("data" = OnBalanceVolume(), "length" = 20)


Reply With Quote
Thanked by:
  #7 (permalink)
TradingForALiving
Miami Florida US
 
Posts: 16 since Oct 2015
Thanks Given: 6
Thanks Received: 1

That is exactly what I was looking for. Thank you so much for taking the time to help me out, it really is appreciated.


Reply With Quote




Last Updated on July 18, 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