Skip to main content

Advanced Intermarket Analysis AFL for Amibroker (AFL)

dendo over 14 years ago Amibroker (AFL)

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

Analyzing a variety of markets around the world can provide powerful insight into trading opportunities.

AmiBroker Indonesia – http://amibroker-4-bei.org

Screenshots

Indicator / Formula

Copy & Paste Friendly
//AmiBroker Indonesia - http://amibroker-4-bei.org

SetChartOptions(2, chartWrapTitle ); 
SetChartOptions(2, chartShowDates); 

_N( TickerList = ParamStr("Tickers", "^AORD,^BSESN,^HSI,^JKSE,^KLSE,^KS11,^N225,^NZ50,^SSEC,^STI^TWII,^FCHI,^FTSE,^GDAXI,^IXIC,^GSPC") );
NumBars = 20;
fvb = Status("firstvisiblebar");
JK = Foreign( "^DJI", "C" );
Plot( 100 * ( JK - JK[ fvb ] ) / JK[ fvb ],"^DJI", colorRed, styleThick| styleDashed );
for( i = 0; ( symbol = StrExtract( TickerList, i ) ) != ""; i++ )
{
 fc = Foreign( symbol, "C" );

 if( ! IsNull( fc[ 0 ] ) )
 {
   Plot( 100 * ( fc - fc[ fvb ] )/ fc[ fvb ], symbol, colorBlue + ( (2*i) % 100), styleThick );
 }
}
PlotGrid( 0, colorYellow );
_N( Title = " REGIONAL INDEX - {{VALUES}}" );

1 comments

1. ole
over 14 years ago

What is the contribution? This is the same code as in the Users Guide with the addition of a few more symbols.

Leave Comment

Please login here to leave a comment.