- ago
Has Time Segmented Volume indicator been developed for WL? I'm finding it a useful indicator to identify entry points.
2
559
Solved
17 Replies

Reply

Bookmark

Sort
- ago
#1
Not yet but I could work on getting it included in the PowerPack.
0
- ago
#2
Great! Thanks for the quick response.
0
- ago
#3
As the real "Time Segmented Volume" (R) formula is trademarked (!) closed source, the many examples found on various discussion boards are unofficial. Therefore our version will be released under a different name to avoid legal issues - yet easy to find in WL.
0
- ago
#4
A 'Time Segment Value' is set to appear in PowerPack B33.
1
- ago
#5
Hi Eugene - happy new year. Do you have an ETA for Build 33?
0
- ago
#6
Hi Paul,

The "Time Segment Value" (a replica of the closed source indicator) has been released. Check out TSV in PowerPack's B32.

Happy New Year to you too.
1
- ago
#7
found it, thanks! Can you describe the calculation? I'm seeing different results than I see in other TSV charts.

Thanks
0
- ago
#8
It implements the following Metastock formula found somewhere:

TSV = (Sum(IIf(C > Ref(C, -1), V * (C - Ref(C, -1)), IIf(C < Ref(C, -1), -V * (C - Ref(C, -1)), 0)), period));

You're expected to see different results because I found different "TSV" derived formulas published by amateurs on the various boards.

Also since the calculation is cumulative, having set equal starting dates is the key for a proper comparison.
1
- ago
#9
What's "IIF" and "Ref" mean? Can you express the above formula in C# code and/or attach a URL to the WL indicator definition?
0
- ago
#10
QUOTE:
What's "IIF" and "Ref" mean? Can you express the above formula in C# code and/or attach a URL to the WL indicator definition?

@superticker, WL8 is closed source. This is a port of the unofficial indicator. If you're interested in Metastock's Ref and IIf definitions, you're welcome to search for them on the internet like I did before. Then you can create your own derivation and compare for yourself.
0
- ago
#11
Thanks, Eugene
0
- ago
#12
Hi Eugene - I've studied this a bit to understand why I'm getting different results. The TSV calculation I've seen returns a positive value if C > Ref(C,-1) and negative value if C < Ref(C,-1). Your calculation is showing them both positive since you are multiplying the negative result by -V. A key to this indicator is trending back and forth over the 0 baseline so that +/- is critical.

Also, the calculation is returning a number that follows the difference in C - C(Ref,-1) and is not multiplying by volume. Here's a sample of what I'm seeing - note the index. If Volume were included it would be a much larger number.

0
- ago
#13
QUOTE:
Also, the calculation is returning a number that follows the difference in C - C(Ref,-1) and is not multiplying by volume.

Hi Paul,
Thank you for pointing to this obvious flaw. Fixing it for PP's B37.

QUOTE:
Your calculation is showing them both positive since you are multiplying the negative result by -V. A key to this indicator is trending back and forth over the 0 baseline so that +/- is critical.

I see what you mean, let's make it oscillate by dropping the "-".
0
Best Answer
- ago
#14
excellent, thanks Eugene
0
- ago
#15
Just a follow up to say thanks for updating this indicator! I'm finding it does a good job to help improve both Sharpe ratios and drawdowns in my strategies.

I do find that it increases the backtesting time. I see the warning that it is processor intensive - would it be possible to explain why it has such an impact?
1
Glitch8
 ( 12.34% )
- ago
#16
We optimized the calculation for the next Build, is super speedy now!
1
- ago
#17
excellent, thanks Glitch! I just tested it and it works great.
0

Reply

Bookmark

Sort