Forum: ThinkOrSwim
June 13th, 2011, 08:55 AM
|
Replies: 10
Views: 14,909
Try this:
# Time Segmented Value (TSV)
...
Try this:
# 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 ) )...
|
Forum: ThinkOrSwim
May 28th, 2011, 08:07 AM
|
Replies: 10
Views: 14,909
Here is my implementation.
# Time...
Here is my implementation.
# 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));
|
Forum: ThinkOrSwim
May 28th, 2011, 07:51 AM
|
Replies: 10
Views: 14,909
|