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

Re: [amibroker] Re: A couple ?'s



PureBytes Links

Trading Reference Links

Glen you could try this after your buy condition statement and the flip
statement

Buy = Iif(v==0, ref(buy,-1),buy);

Cheers,
Graham
http://groups.msn.com/asxsharetrading
http://groups.msn.com/fmsaustralia 

-----Original Message-----
From: Glenn [mailto:glennokb@xxxxxxxxxxxx] 
Sent: Tuesday, 13 January 2004 2:51 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] No Data Days?


Hi,

I have a binary Index filter that is a ONE (Buy) or ZERO (Do not Buy) 
using Flip() that I use to tell me when to buy or stand aside from 
trading stocks.

If there is no data for a stock on the date when a ONE (Buy) occures 
then following bars also don't have Buy signals.

Is there a way to have the Buy signal occur in following bars until a 
ZERO occurs when there is no data on the day that the Index filter 
indicates a Buy?

Cheers Glenn


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.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/ 


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/