ChaikinVolatility with pivot area for Amibroker (AFL)
galihwa over 12 years ago Amibroker (AFL)
ChaikinVolatility with pivot area.
this only simple idea to segregate the volatility by the area, to have some indicator on pivot regime
Indicator / Formula
Copy & Paste Friendly
_SECTION_BEGIN("Volatility");
function ChaikinVolatility( periods )
{
return ROC( EMA( High - Low, periods ), periods );
}
Plot( ChaikinVolatility( Param("Periods", 10, 2, 100 ) ),
_DEFAULT_NAME(), ParamColor( "Color", ColorCycle ) );
Plot(-50, _DEFAULT_NAME(), colorGreen,styleThick);
Plot(-20, _DEFAULT_NAME(), colorRed,styleThick);
Plot(9, _DEFAULT_NAME(), colorGold,styleThick);
Plot(33, _DEFAULT_NAME(), colorRed, styleThick);
Plot(75, _DEFAULT_NAME(), colorGreen, styleThick);
_SECTION_END();0 comments
Leave Comment
Please login here to leave a comment.