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

Re: [amibroker] Intraday Scan



PureBytes Links

Trading Reference Links

Try plotting your green and red variables to see that they are being created as you intend.
----- Original Message -----
From: Tony Lei
Sent: Friday, September 30, 2005 11:45 AM
Subject: [amibroker] Intraday Scan

Hi,

I am trying to come up with an intraday scan but I am getting awkward signals.  Most of them at 4pm.  This is my code:

in10Minute = 15 * in1Minute ;

TimeFrameSet ( in10Minute ) ;
Green1 = LinearReg ( Close, 3 ) ;
Red1 = EMA ( Close, 3 ) ;

TimeFrameRestore () ;

Green = TimeFrameExpand (Green1, in10Minute) ;
Red = TimeFrameExpand (Red1, in10Minute) ;

Buy = Cross ( Green, Red ) ;
Short = Cross ( Red, Green ) ;

Any help is appreciated

thanks

tony


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