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

Re: [amibroker] Fixed Buy Dates



PureBytes Links

Trading Reference Links




Graham,
 
Your suggestion worked great until I got to a symbol that 
I wanted to define multiple buy dates for.  When I defined more than 1 
BuyDate for a given symbol, AmiBroker did not open either of the 
positions. 
 
Any ideas how to get around this?
 
Linda
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=gkavanagh@xxxxxxxxxxxxx 
  href="">Graham 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: September 10, 2003 6:05 AM
  Subject: RE: [amibroker] Fixed Buy 
  Dates
  You cou8ld try thisBuyDate = (name()=="A" )*1030808 
  + (name()=="X")*1030815;Buy = 
  datenum()==BuyDate;Cheers,Graham<A 
  href="">http://groups.msn.com/ASXShareTrading<A 
  href="">http://groups.msn.com/FMSAustralia-----Original 
  Message-----From: wilmarthl [mailto:smart@xxxxxxxxxx] Sent: Wednesday, 
  10 September 2003 8:50 AMTo: <A 
  href="">amibroker@xxxxxxxxxxxxxxxSubject: 
  [amibroker] Fixed Buy DatesI want to test a trading strategy in 
  which I already know the Buy Dates of the various stocks I will be 
  trading, and just want to optimize the sell strategy. For example, 
  I may already know that I want to buy A on 8/1/03 and buy X on 
  8/15/03.  Then I will write code for my sell strategy, as 
  usual.Is there a way to fix the buy dates for each stock in a 
  group?Linda------------------------ Yahoo! Groups 
  Sponsor ---------------------~--> BuyInk Cartridges or Refill Kits for 
  Your HP, Epson, Canon or Lexmark Printerat Myinks.com. Free s/h on orders 
  $50 or more to the US & Canada.<A 
  href="">http://www.c1tracking.com/l.asp?cid=5511<A 
  href="">http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM---------------------------------------------------------------------~->Send 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at:<A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to <A 
  href="">http://docs.yahoo.com/info/terms/ 
  Send 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












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



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.