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

[amibroker] Re: Intraday data importing from myFile.txt



PureBytes Links

Trading Reference Links




Hi Willem,
 
Add this to your sell/short 
conditions:
 
add this to your buy and short conditions: 
AND (timenum()<<FONT 
color=#ff00ff>1600<FONT 
color=#ff00ff>00 and Dayofweek()==<FONT 
color=#ff00ff>5) 
add this to your sell and cover conditions:
OR (timenum()><FONT 
color=#ff00ff>160000 and <FONT 
color=#0000ff>Dayofweek()==5) 
 
You may need to adjust the time depending on what time frame you're 
using.
 
Regards,
Stewart
 
<FONT face=Arial 
size=2> 
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=w.j.a.struyck@xxxxxxxxxxxxxx 
  href="">willem1940 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Thursday, January 22, 2004 1:02 
  AM
  Subject: [amibroker] no position over the 
  weekend
  For my intraday trade system I would like to build in the 
  formula a method to have no position over the weekend, so quit Friday at 
  the end of the trade (or earlier if the systems indicates to do so) and 
  return to the trade Monday morning (or late is the system indicates to 
  do so.I can't formulate the conditions that work.Any 
  suggestions?Willem JanSend 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 
  
  
  Yahoo! Groups Links
  
    To visit your group on the web, go to:<A 
    href="">http://groups.yahoo.com/group/amibroker/  

    To unsubscribe from this group, send an email to:<A 
    href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx  

    Your use of Yahoo! Groups is subject to the <A 
    href="">Yahoo! Terms of Service. 
  


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 the Yahoo! Terms of Service.