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

RE: [amibroker] Automatic Analysis of different stocks & rules



PureBytes Links

Trading Reference Links

Sorry, I just read you request for different tickers. I assumed you knew
what you wanted with timeframes. I would try TimeFrameSet around the 15
minute Buy/Sell and see if that works. I have never tried this so it may
not be correct. If not, you could create Buy15/Sell15 variable inside a
timeframeset and then use those in your buy/sell along with the Name()
== "desiredticker";

--
Terry

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of Richard Jay
Sent: Thursday, May 25, 2006 16:59
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Automatic Analysis of different stocks & rules

I'm not sure I follow you Terry - how does this take account of the 
different timeframes??

Terry wrote:

>Buy = Cross( Close, EMA( Close, 100 )+20 ) AND Name() == "INDU.X";
>Sell = Cross( Close, EMA( Close, 100 )-20 ) AND Name() == "INDU.X"; 
>
>based on a 1 minute chart, whereas on the S&P (SPX.X0) I want:
>
>Buy = Cross( Close, MA( Close, 36 ) ) AND Name() == "SPX.XO";
>Sell = Cross( Close, MA( Close, 36 ) ) AND Name() == "SPX.XO";
>--
>Terry
>
>-----Original Message-----
>From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
>Behalf Of Richard Jay
>Sent: Thursday, May 25, 2006 05:34
>To: amibroker@xxxxxxxxxxxxxxx
>Subject: [amibroker] Automatic Analysis of different stocks & rules
>
>I'm trying to figure out how I can run a continuous Automatic Analysis
>of different rules on different stocks. For example on the Dow
>(INDU.X) I want:
>
>Buy = Cross( Close, EMA( Close, 100 )+20 );
>Sell = Cross( Close, EMA( Close, 100 )-20 ); 
>
>based on a 1 minute chart, whereas on the S&P (SPX.X0) I want:
>
>Buy = Cross( Close, MA( Close, 36 ) );
>Sell = Cross( Close, MA( Close, 36 ) ); 
>
>based on a 15 minute chart. How would my AFL look ?
>
>  
>




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 --------------------~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/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/