NexusFi: Find Your Edge


Home Menu

 





Time Segmented Volume from Worden Telecharts


Discussion in ThinkOrSwim

Updated
      Top Posters
    1. looks_one cbritton with 3 posts (6 thanks)
    2. looks_two nemo77 with 3 posts (2 thanks)
    3. looks_3 Big Mike with 2 posts (2 thanks)
    4. looks_4 platon with 1 posts (0 thanks)
      Best Posters
    1. looks_one optntdr13 with 3 thanks per post
    2. looks_two cbritton with 2 thanks per post
    3. looks_3 Big Mike with 1 thanks per post
    4. looks_4 nemo77 with 0.7 thanks per post
    1. trending_up 14,792 views
    2. thumb_up 13 thanks given
    3. group 4 followers
    1. forum 10 posts
    2. attach_file 4 attachments




 
Search this Thread

Time Segmented Volume from Worden Telecharts

  #1 (permalink)
 nemo77 
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.

Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Futures True Range Report
The Elite Circle
ZombieSqueeze
Platforms and Indicators
Ninja Mobile Trader VPS (ninjamobiletrader.com)
Trading Reviews and Vendors
Exit Strategy
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
44 thanks
NexusFi site changelog and issues/problem reporting
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
19 thanks
  #2 (permalink)
 
Big Mike's Avatar
 Big Mike 
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,399 since Jun 2009
Thanks Given: 33,175
Thanks Received: 101,541


nemo77 View Post
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

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
 nemo77 
Woodbridge, VA
 
Experience: Beginner
Platform: TOS
Trading: ES
Posts: 5 since May 2011
Thanks Given: 3
Thanks Received: 3



Big Mike View Post
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.

Started this thread Reply With Quote
  #4 (permalink)
 nemo77 
Woodbridge, VA
 
Experience: Beginner
Platform: TOS
Trading: ES
Posts: 5 since May 2011
Thanks Given: 3
Thanks Received: 3


Big Mike View Post
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.

Started this thread Reply With Quote
Thanked by:
  #5 (permalink)
 
Big Mike's Avatar
 Big Mike 
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,399 since Jun 2009
Thanks Given: 33,175
Thanks Received: 101,541


nemo77 View Post
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

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #6 (permalink)
 
cbritton's Avatar
 cbritton 
Atlanta, Georgia
 
Experience: Intermediate
Platform: NT
Broker: DDT
Trading: ZN, ZB
Posts: 230 since Mar 2010
Thanks Given: 152
Thanks Received: 256


Big Mike View Post
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
Reply With Quote
Thanked by:
  #7 (permalink)
 
cbritton's Avatar
 cbritton 
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
Attached Thumbnails
Click image for larger version

Name:	TSV-SPY.png
Views:	910
Size:	60.3 KB
ID:	39479  
Reply With Quote
Thanked by:
  #8 (permalink)
 optntdr13 
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
Click image for larger version

Name:	2011-06-06_2100.png
Views:	744
Size:	33.9 KB
ID:	40315  
Attached Files
Elite Membership required to download: TSV_DVRLSTUDY.ts
Reply With Quote
Thanked by:
  #9 (permalink)
 platon 
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.

Reply With Quote
  #10 (permalink)
 
cbritton's Avatar
 cbritton 
Atlanta, Georgia
 
Experience: Intermediate
Platform: NT
Broker: DDT
Trading: ZN, ZB
Posts: 230 since Mar 2010
Thanks Given: 152
Thanks Received: 256



platon View Post
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
Attached Thumbnails
Click image for larger version

Name:	tsv-spy-avg.png
Views:	743
Size:	58.8 KB
ID:	40862  
Reply With Quote
Thanked by:




Last Updated on December 7, 2021


© 2024 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 - Privacy Policy - Downloads - Top
no new posts