[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: How to draw two or more charts together?



PureBytes Links

Trading Reference Links

Thank you very much!


--- In amibroker@xxxxxxxxxxxxxxx, "Prashanth" <prash454.ta@xxx> wrote:
>
> Hello,
> 
> RelStrength is the Syntax to be used.
> 
> // Example from Help File modified for Personal use. Change Tickers 
& Plot for your charts.
> _SECTION_BEGIN("Relative Performance");
> 
> _N( TickerList = ParamStr("Tickers", "Nifty-
I,BajajAuto,HeroHonda,TvsMotor,KineticMot") );
> 
> 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, colorLightOrange 
+ ( (2*i) % 15 ), styleLine );
> 
> }
> 
> }
> 
> PlotGrid( 0, colorYellow );
> 
> _N( Title = "{{NAME}} - Relative Performance [%]: {{VALUES}}" );
> 
> _SECTION_END();
> 
> Cheers
> 
> Prashanth
> 
> 
>   ----- Original Message ----- 
>   From: archstone2003 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Wednesday, November 14, 2007 6:15 AM
>   Subject: [amibroker] How to draw two or more charts together?
> 
> 
>   Like the "compare to" features in Yahoo Finance? When two or more 
>   charts are displayed together, I would want to draw their percent 
>   changes, not the absolute changes (as each symbol will have 
different 
>   values and the difference of the values are too big to be fit 
together).
> 
>   Thanks.
>




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/