Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Time Segmented Volume from Worden Telecharts
Updated December 8, 2021
Top Posters
looks_one
cbritton
with 3 posts (6 thanks)
looks_two
nemo77
with 3 posts (2 thanks)
looks_3
Big Mike
with 2 posts (2 thanks)
looks_4
platon
with 1 posts (0 thanks)
Best Posters
looks_one
optntdr13
with 3 thanks per post
looks_two
cbritton
with 2 thanks per post
looks_3
Big Mike
with 1 thanks per post
looks_4
nemo77
with 0.7 thanks per post
trending_up
14,908 views
thumb_up
13 thanks given
group
4 followers
forum
10 posts
attach_file
4 attachments
Time Segmented Volume from Worden Telecharts
May 22nd, 2011, 06:38 PM
Woodbridge, VA
Experience: Beginner
Platform: TOS
Trading: ES
Posts: 5 since May 2011
Thanks Given: 3
Thanks Received: 3
Hi. Does anyone have the code for time segmented volume indicator from Worden for use in thinkorswim ? Thanks for your help.
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
May 22nd, 2011, 06:50 PM
Manta, Ecuador
Site Administrator Developer Swing Trader
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,469 since Jun 2009
Thanks Given: 33,247
Thanks Received: 101,669
nemo77
Hi. Does anyone have the code for time segmented volume indicator from Worden for use in
thinkorswim ? Thanks for your help.
You should post the source code if you want someone to port it.
Mike
May 24th, 2011, 03:13 AM
Woodbridge, VA
Experience: Beginner
Platform: TOS
Trading: ES
Posts: 5 since May 2011
Thanks Given: 3
Thanks Received: 3
Big Mike
You should post the source code if you want someone to port it.
Mike
Unfortunately, I do not have the source code. I was hoping someone had a similar indicator for TOS . Thanks.
May 24th, 2011, 03:22 AM
Woodbridge, VA
Experience: Beginner
Platform: TOS
Trading: ES
Posts: 5 since May 2011
Thanks Given: 3
Thanks Received: 3
Big Mike
You should post the source code if you want someone to port it.
Mike
Ok I found the code for Amibroker:
Formula:
// Time segment value
TSV=(Sum( IIf( C > Ref(C,-1), V * ( C-Ref(C,-1) ),
IIf( C < Ref(C,-1),-V * ( C-Ref(C,-1) ), 0 ) ) ,18));
Plot(TSV,"TSV",1,1);
Can someone please convert to TOS . Thanks for your help.
May 28th, 2011, 12:20 AM
Manta, Ecuador
Site Administrator Developer Swing Trader
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,469 since Jun 2009
Thanks Given: 33,247
Thanks Received: 101,669
nemo77
Ok I found the code for Amibroker:
Formula:
// Time segment value
TSV=(Sum( IIf( C > Ref(C,-1), V * ( C-Ref(C,-1) ),
IIf( C < Ref(C,-1),-V * ( C-Ref(C,-1) ), 0 ) ) ,18));
Plot(TSV,"TSV",1,1);
Can someone please convert to
TOS . Thanks for your help.
Looks simple enough. I'll call @cbritton for you, see if he is willing to do the conversion to ThinkOrSwim . He is our resident expert at converting code to TOS
Mike
May 28th, 2011, 07:51 AM
Atlanta, Georgia
Experience: Intermediate
Platform: NT
Broker: DDT
Trading: ZN, ZB
Posts: 230 since Mar 2010
Thanks Given: 152
Thanks Received: 256
Big Mike
Looks simple enough. I'll call @
cbritton for you, see if he is willing to do the conversion to
ThinkOrSwim . He is our resident expert at converting code to
TOS
Mike
Looks simple enough. Post a screen shot of this indicator in work. Preferably on a daily stock like SPY or QQQ.
Regards,
-C
“Strategy without tactics is the slowest route to victory. Tactics without strategy is the noise before defeat.” - Sun Tzu
May 28th, 2011, 08:07 AM
Atlanta, Georgia
Experience: Intermediate
Platform: NT
Broker: DDT
Trading: ZN, ZB
Posts: 230 since Mar 2010
Thanks Given: 152
Thanks Received: 256
Here is my implementation.
Code
# Time Segmented Value (TSV)
input length = 18;
# TSV=(Sum( IIf( C > Ref(C,-1), V * ( C-Ref(C,-1) ),
# IIf( C < Ref(C,-1),-V * ( C-Ref(C,-1) ), 0 ) ) ,18));
plot TSV = sum( if close > close[1] then volume * (close - close[1]) else if close < close[1] then -1* volume *(close - close[1]) else 0, length);
Copy/paste that to a new ToS script. Attached a screen shot of it in action on the SPY. Let me know if I there's an issue with it.
Regards,
-C
“Strategy without tactics is the slowest route to victory. Tactics without strategy is the noise before defeat.” - Sun Tzu
June 6th, 2011, 09:02 PM
Glyndon, Maryland, USA
Experience: Advanced
Platform: TOS
Trading: options
Posts: 24 since Sep 2010
Thanks Given: 6
Thanks Received: 49
Here's the closest approximation that I am aware of. I just wrote this really quickly for you so if you want an additional moving average like the real TSV let me know. The formula from Amibroker isn't even close unfortunately. Another way to approximate is to simply take a ROC and apply it to OBV.
Attached Thumbnails
Attached Files
Elite Membership required to download: TSV_DVRLSTUDY.ts
June 12th, 2011, 08:08 AM
Sweden
Experience: Intermediate
Platform: Multiple
Trading: Multiple
Posts: 52 since Jun 2009
Thanks Given: 89
Thanks Received: 54
Is it possible to have the code with additional moving average . Thanks.
June 13th, 2011, 08:55 AM
Atlanta, Georgia
Experience: Intermediate
Platform: NT
Broker: DDT
Trading: ZN, ZB
Posts: 230 since Mar 2010
Thanks Given: 152
Thanks Received: 256
platon
Is it possible to have the code with additional
moving average . Thanks.
Try this:
Code
# Time Segmented Value (TSV)
input length = 18;
input avgLength = 10;
# TSV=(Sum( IIf( C > Ref(C,-1), V * ( C-Ref(C,-1) ),
# IIf( C < Ref(C,-1),-V * ( C-Ref(C,-1) ), 0 ) ) ,18));
plot TSV = sum( if close > close[1] then volume * (close - close[1]) else if close < close[1] then -1* volume *(close - close[1]) else 0, length);
Plot TSVAvg = Average(TSV, avglength);
You can modify the averaging function to whatever you want.
-C
“Strategy without tactics is the slowest route to victory. Tactics without strategy is the noise before defeat.” - Sun Tzu
Last Updated on December 7, 2021