NexusFi: Find Your Edge


Home Menu

 





TOS script


Discussion in ThinkOrSwim

Updated
    1. trending_up 3,526 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?
Ceasefire Collapse: Iran Fires 24 Missiles, Israel Hits …
Traders Hideout
June 15 Peace Odds Surge From 3.6% to 12.25% After Trump …
Prediction Markets & Event Contracts
Six Days to Kickoff: World Cup Prediction Markets Hit $1 …
Prediction Markets & Event Contracts
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
UMA Votes Tonight: Polymarkets $80M Strategy Bitcoin Bat …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
15 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 
Skidboot's Avatar
 Skidboot 
Houston, TX
 
Posts: 202 since Dec 2010
Thanks Given: 203
Thanks Received: 300

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: 300


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: 300


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