Skip to main content

PVT & EMA for Amibroker (AFL)

sknarayana007 over 3 years ago Amibroker (AFL)

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

Price volume Trend & Moving average it helps to stay with trend

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("PVT");
function PVT()
{
	return Cum( Volume * ROC( C, 1 ) * 0.01 );
}

Plot( PVT(), _DEFAULT_NAME(), ParamColor( "Color", ColorCycle ) );
_SECTION_END();

PVTMA = Wilders( PVT(), 20 );
colOpn = IIf( PVTMA > Ref( PVTMA, -1 ), colorGreen, colorRed );
Plot( Wilders( PVT(), 20  ),"",colOpn,styleLine );

PVTMA = Wilders( PVT(), 10 );
colOpn1= IIf( PVTMA > Ref( PVTMA, -1 ), colorBlue, colorRed );
Plot( Wilders( PVT(), 10  ),"",colOpn1,styleLine );

3 comments

3. pankit
about 3 years ago

please help to contact author of this code
my mob 9898345124

Leave Comment

Please login here to leave a comment.