===========================
_SECTION_BEGIN("Relative Performance");
_N( TickerList = ParamStr("Tickers", "^DJI,MSFT,GE") );
NumBars = 20;
fvb = Status("firstvisiblebar");
Plot( 100 * ( C - C[ fvb ] ) / C[ fvb ], Name(), colorBlue );
for( i = 0; ( symbol = StrExtract( TickerList, i ) ) != ""; i++ )
{
fc = Foreign( symbol, "C" );
if( ! IsNull( fc[ 0 ] ) )
{
Plot( 100 * ( fc - fc[ fvb ] )/ fc[ fvb ], symbol, colorRed + ( (2*i) % 15 ), styleLine );
}
}
PlotGrid( 0, colorYellow);
_N( Title = "{{NAME}} - Suc manh tuong quan [%]: {{VALUES}}" );
_SECTION_END();
_N( TickerList = ParamStr("Tickers", "^DJI,MSFT,GE") );
NumBars = 20;
fvb = Status("firstvisiblebar");
Plot( 100 * ( C - C[ fvb ] ) / C[ fvb ], Name(), colorBlue );
for( i = 0; ( symbol = StrExtract( TickerList, i ) ) != ""; i++ )
{
fc = Foreign( symbol, "C" );
if( ! IsNull( fc[ 0 ] ) )
{
Plot( 100 * ( fc - fc[ fvb ] )/ fc[ fvb ], symbol, colorRed + ( (2*i) % 15 ), styleLine );
}
}
PlotGrid( 0, colorYellow);
_N( Title = "{{NAME}} - Suc manh tuong quan [%]: {{VALUES}}" );
_SECTION_END();
============================
Không có nhận xét nào:
Đăng nhận xét