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

[amibroker] Re: Signal based on another market



PureBytes Links

Trading Reference Links

Thanks for this but how do I express the Nasdaq and the Gold part.


--- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@xxxx> wrote:
>
> yes!
> 
> Use 
> Index1   = Foreign("SPX","C");
> Criteria1 = Index1 > MA(Index1,10);
> 
> 
> ----- Original Message ----- 
> From: "rizwankherati" <rizwankherati@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Tuesday, November 08, 2005 11:14 AM
> Subject: [amibroker] Signal based on another market
> 
> 
> > Is it possible to program entry criteria whereby a signal is 
issued 
> > based on an event in another security or market.
> > 
> > For example while trading S&P futures how do I program:
> > 
> > Buy 1 S&P futures contract on next open if:
> > 
> > Current bar close of S&P Futures is above its 10 bar moving 
average
> > 
> > and 
> > 
> > if Nasdaq close of the current bar is greater than the Nasdaq 
close 
> > of the previous bar
> > 
> > and 
> > 
> > gold is above its 200 day moving average
> > 
> > Many thanks
> > 
> > Regards
> > 
> > Rizwan
> > 
> > 
> > 
> > 
> > 
> > 
> > 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
> > 
> > 
> > 
> >  
> > 
> > 
> >
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

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

<*> 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/