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

Re: [amibroker] DIFFERENT RESULTS IN ANALYSIS & GRAPH



PureBytes Links

Trading Reference Links

Hello,

The output is the same. It is differently formatted by YOU.

You just choosen in your formula to display numbers with different number of decimal places.
In your Exploration formula you specify that you want only 1 decimal digit - so output is displayed with one decimal digit (rounded
to 0.1).
Charts on the other hand use by default 2 decimal places.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Vinay Gakkhar." <vgakkhar@xxxxxxxxxxx>
To: "amibroker" <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, May 04, 2007 7:56 AM
Subject: [amibroker] DIFFERENT RESULTS IN ANALYSIS & GRAPH


> When I use the following formula, I get different values in columns by automatic analysis & in graphs  whereas logically values
> should be same.
>
> Can you please tell me what is wrong in my formula?
>
> gakkhar
>
> _SECTION_BEGIN("Prices");
> Cl1 = ( C ) ; // initialize Cl1
> Op2 = (MA(C, 1)) ; // initialize Op2
> Hi2 =  ((MA(C, 1))+(MA(H,1))-(MA(O, 1))) ; // initialize Hi2
> Lo2 = ((MA(C, 1))+(MA(L,1))-(MA(O, 1))) ; // initialize Lo2
> Cl2 = ((MA(C, 1))+(MA(C,1))-(MA(O, 1))) ; // initialize Cl2
> AddColumn ( Cl1 , "Cl1", 1.1) ;
> AddColumn ( Op2 , "Op2", 1.1) ;
> AddColumn ( Hi2 , "Hi2", 1.1) ;
> AddColumn ( Lo2 , "Lo2", 1.1 ) ;
> AddColumn ( Cl2 , "Cl2", 1.1 ) ;
> Plot ( Cl1 , "Cl1", colorBlack, styleLine ) ;
> Plot ( Op2 , "Op2", colorBlue, styleDashed ) ;
> Plot ( Hi2 , "Hi2", colorGreen, styleDashed) ;
> Plot ( Lo2 , "Lo2", colorViolet, styleDashed ) ;
> Plot ( Cl2 , "Cl2", colorRed, styleThick) ;
> Filter = C > 20 AND C < 100 AND V > 1500000 ;
> _SECTION_END();
>
>
> 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
>
>
>
>
>



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/