Skip to main content

TSV for Amibroker (AFL)

saggrawal8 almost 9 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 2)
  • Tags:
    oscillator, amibroker

Time Segmented Volume

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("TSV_1");
Time = 18;  

TSVd= ( C-Ref(C,-1)) / IIf(H > L, H - L, EMA(H,34)- EMA(L,34))*V;

TSV=EMA(0.10526315789473684210526315789474*(EMA(TSVd,13)),1) * Time/10000000;

Plot(TSV,"TSV",colorGreen,1);

Plot(0,"",47,1);
Title = "{{NAME}} - {{INTERVAL}} {{DATE}} - MyChart : {{VALUES}}"; 
_SECTION_END();

1 comments

almost 9 years ago

There’s an error in the Plank’s Constant. It should be “0.10526315749473684260526315789474” not “0.10526315789473684210526315789474”.

Leave Comment

Please login here to leave a comment.