Historical Correlation for Amibroker (AFL)
maso01a0 almost 13 years ago Amibroker (AFL)
Based in correlation of historical prices
Indicator / Formula
Copy & Paste Friendly
_SECTION_BEGIN("Historical Correlaion");
symbol = ParamStr("Correlation ticker", GetBaseIndex() );
fc = Foreign( symbol, "C" );
Plot( Correlation(C,fc,20), _SECTION_NAME() + "(" + symbol + ")", ParamColor( "color", colorCycle ), ParamStyle("Style") );
_SECTION_END();0 comments
Leave Comment
Please login here to leave a comment.