Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Time Segmented Volume for Amibroker (AFL)
kaiji
almost 15 years ago
Amibroker (AFL)

Rating:
5 / 5 (Votes 1)
Tags:

TJ has helped me translate the metastock formula of TSV into AB language.

I thought I should share this formulas with other. This indicator uses volume and price, like OBV, but seems to be more reliable indicator then OBV.

In courtesy of The Wordens brothers I like to post the link for study on purpose and usage of this indicator. http://www.tc2000.com/privuser2/ii12118p.htm

By ntk98 – ntk98_2000 [at] yahoo.co.uk

Indicator / Formula

Copy & Paste Friendly
// 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);

3 comments

2. tsarvjit

I have added EMA in place of sum . See how it works for short term trading .

// Time segment value

TSV=(EMA( 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);

_SECTION_BEGIN("MA");
P = ParamField("Price field",-1);
Periods = Param("Periods", 13, 2, 300, 1, 10 );
Plot( MA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") ); 
_SECTION_END();
3. jeanmuller

Good Oscilator With EMA, i will backtest my system with this. Thx!

4. akerstkh

//Note: Time Segment Volume is a variation of OBV.
// It inherited the intention of detecting the
// Accumulation/Distribution of the stock.
// BUT, it segmentize it. That’s all.
// So, the simplest way is to use current day OBV
// minus the number of day backwards.
// Attached is the formula.
//
// Bless All
// KH Tang

Eg.
TSV = Current OBVOBV 16 day ago.

Leave Comment

Please login here to leave a comment.

Back