PureBytes Links
Trading Reference Links
|
Yes, just add conditions to your buy etc
The first/last week of month is a bit harder to define, but maybe something
along the lines
FirstWeek = Dayofweek()<=5 and day()<=7;
Lastweek = Dayofweek()>=1 and day()>23;
Buy = Conditions and Dayofweek()==1 and Month()==3 and timenum()>=150000 and
timenum()<=160000 and FirstWeek;
Short = Conditions and Dayofweek()==5 and Month()!=3 and timenum()<150000
and timenum()>160000 and Lastweek;
Cheers,
Graham
http://e-wire.net.au/~eb_kavan/
-----Original Message-----
From: rizwankherati [mailto:rizwankherati@xxxxxxxxx]
Sent: Monday, September 13, 2004 2:23 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Time,Day,Month?Basic Questions
Hi,
1) Is it possible to make a trading system in Amibroker which trades
only on selceted time of the day or days of the week or month, for e.g
a)Go long only on Monday and Short only on friday if the other
criteria are met.
b) Go long only in the first week of the month and short in the last
week of the month.
C) Go long only in the month of March and Short in any other month
d) Go long only from 3-4 P.M E.S.T, and short at any other time of
the day.
I am not looking for any help on coding the system. I only want to
know if these functions are easily possible in AmiBroker, as I am
evaluating Ami Broker for purchase. If some of these functions are
only possible in the Professional version please let me know.
Many thanks
Rizwan
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
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/
|