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

RE: [amibroker] AFL



PureBytes Links

Trading Reference Links

Ian,

 

When you say “Today” and “Yesterday”…   Are you referring to the latest daily bar and the bar previous to the latest daily bar?  Or, are you referring to any day and the previous day?

 

The code below will fire when any daily low is lower than the previous day’s low.  It isn’t limited to today’s low.  

 

What are you trying to accomplish?

 

Regards,

 

Dan.

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of ianjw2
Sent: Thursday, October 06, 2005 11:06 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] AFL

 



What I am trying to do is write code where a sell occurs when today's
LOW is LOWER than yesterday's LOW. This is obviously not right.

Help please!!!

sell=Low<Ref(Low,-1);

Ian






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





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS