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

[amibroker] QT plugin, no data ??



PureBytes Links

Trading Reference Links

Yuki,
Did you plot the code? I believe it does exactly that. So to use it in a
buy/sell just add

"AND x"  to your condition

buy=bla,bla,bla AND X;

Regards,
Jayson


-----Original Message-----
From: Yuki Taga [mailto:yukitaga@xxxxxxxxxxxxx]
Sent: Wednesday, February 04, 2004 3:38 AM
To: Jayson
Subject: Re: [amibroker] modifying day()


Hi Jayson,

Wednesday, February 4, 2004, 2:22:45 PM, you wrote:

J> Yuki, You could use month() to find the first day of each month
J> and barssince to count them.....  
J> x=BarsSince(Month()>Ref(Month(),-1))<=3;

J> Plot(x,"",4,2);

Sorry, but you lost me . . . completely. <lol>

Maybe I didn't properly explain (good chance of this) what I'm after.
I want to test for buys on the first 4 *trading* days of each month,
as opposed to just calendar days, which may, or may not be, trading
days.  I have no idea.

Best,

Yuki


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/