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

RE: [amibroker] How to code "Cover/Sell on Market Close"?



PureBytes Links

Trading Reference Links

Sell = Sell or TimeNum() >= 150000;

be careful as this could be filled after regular trading hours...

herman

  -----Original Message-----
  From: quexos0 [mailto:quexos0@xxxxxxxxxxxx]
  Sent: Thursday, September 30, 2004 8:28 AM
  To: amibroker@xxxxxxxxxxxxxxx
  Subject: [amibroker] How to code "Cover/Sell on Market Close"?


  Hi guys,

  How do I code automatic analysis to cover/sell when market close.
  Say I trade ES and the closing hour is 1500hrs on my data.
  I initial a long/short position some time in the day and wants
  automatic analysis to close it at 1500hrs.

  Thanks for any help!



  Check AmiBroker web page at:
  http://www.amibroker.com/

  Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html


        Yahoo! Groups Sponsor
              ADVERTISEMENT





----------------------------------------------------------------------------
--
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

    b.. To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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



[Non-text portions of this message have been removed]



------------------------ 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/