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

RE: [amibroker] How to combine a daily MA and a hourly MA?



PureBytes Links

Trading Reference Links

Rakesh, thanks. I will try it.

 

Clement

 

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Rakesh Sahgal
Sent: Tuesday, May 29, 2007 2:02 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] How to combine a daily MA and a hourly MA?

 

Timeframeset(indaily);

d_ma=ma(c,10);//this is your daily ma

timeframerestore();

d_ma=timeframexpand(d_ma,indaily);//this allows you to make the value of the d_ma usable on your hourly chart


On 5/28/07, Clement Chin <yitman@xxxxxxxxxxxxxx> wrote:

Hi,

 

I would like to take Buy signals from Hourly chart only if the Close is above moving average 10-SMA in daily chart.

 

i.e.          If C>MA(C,10) in daily chart, I would like to take and backtest all the Buy Signals [up trend only] such as cross(ema(c,5),ema(c,13)) on same 60-minute chart.

 

How can I do the above coding? Will the two timeframes interfere each other?

 

Thank you in advance.

 

Clement

 

 



__________ NOD32 2292 (20070525) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

__._,_.___

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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

JPEG image

JPEG image