// Downloaded From https://www.WiseStockTrader.com _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();