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

RE: [amibroker] Re: how do I compare two or more symbol prices together



PureBytes Links

Trading Reference Links

Another way is to use Linear Regression.   Then you can compare Linear Regressions of Volume vs Price, Stock vs Index, some indicator vs Price, etc.   It works well.

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of voyager_3k
Sent: Saturday, March 11, 2006 6:12 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: how do I compare two or more symbol prices together

 

Terry appreciate your comments.  It is exactly what I was looking for.
Many thanks.
AP
--- In amibroker@xxxxxxxxxxxxxxx, "Terry" <MagicTH@xxx> wrote:
>
> QQQQ = Foreign("QQQQ","Close");
>
> myDivergence = sign(C - Ref(C,-1)) != sign(QQQQ - Ref(QQQQ,-1));
>

>
> Buy = Sell = Short = Cover = 0;
>
> //Change as you wish, but above allows Explore to run with no rules
>

>
> Filter = 1;
>
> AddColumn(myDivergence,"Divergence from QQQQ",1.0);
>
> //The above will be 1 for any ticker diverging between itself and the
> QQQQ.
>
> --
>
> Terry
>

>
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
> Behalf Of voyager_3k
> Sent: Saturday, March 11, 2006 15:21
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] how do I compare two or more symbol prices together
>

>
> In an explore, I want to see a divergence against another symbol.
>

>
> For example if my symbol (say AAPL) was down for the day, but QQQQ was
>
> up I want to show a divergence in an exploration. 
>

>
> Is this possible to do?
>

>

>

>

>

>

>

>
>

>
> 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 other support material please check also:
>
> http://www.amibroker.com/support.html
>

>

>
> Yahoo! Groups Links
>

>
>     http://groups.yahoo.com/group/amibroker/
>

>
>     amibroker-unsubscribe@xxxxxxxxxxxxxxx
>

>
>     http://docs.yahoo.com/info/terms/
>








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 other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS