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

[amibroker] Re: Single Signal for Two Symbols



PureBytes Links

Trading Reference Links

Mike - thanks for your suggestions.  I'll play around with them.



--- In amibroker@xxxxxxxxxxxxxxx, "Mike" <sfclimbers@xxx> wrote:
>
> What you are requesting is very similar to how pairs trading is handled.
> 
> Put Symbol-1 and Symbol-2 in a watchlist, then run your AFL over that watchlist.
> 
> In your AFL, use either of Foreign or SetForeign/RestorePriceArrays to calculate your "significant move" of the index. Then simply do a Name() compare when deciding whether or not to buy each of Symbol-1 and Symbol-2.
> 
> Many examples of the technique in practice can be found in the forum, including one by Tomasz here:
> 
> http://finance.groups.yahoo.com/group/amibroker/message/134492
> 
> Mike
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "spi_maker" <jarea@> wrote:
> >
> > I have been experimenting with AB for the past several weeks and it is a very impressive system.  There is one thing I would like to try and do and I am not sure whether I can get there with Amibroker.
> > 
> > My trading calculation watches the performance of a specific index and if it moves in one direction at a certain level of significance, I want to execute a buy of Symbol-1, but when I register a significant move in the other direction, I want to execute a buy of Symbol-2.
> > 
> > Any pointers on how to accomplish this with Amibroker would be greatly appreciated.
> >
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

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

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/