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

[amibroker] Question about SetTradeDelays and purchase time.


  • Date: Wed, 17 Mar 2010 19:06:13 -0000
  • From: "fewy54" <fewy54@xxxxxxxxx>
  • Subject: [amibroker] Question about SetTradeDelays and purchase time.

PureBytes Links

Trading Reference Links

Hi, I have a question about using SetTradeDelays and if certain BuyPrice/SellPrice combinations are using future data.

For example the buy condition on EOD of the system is hit using the following code would result in using future data to purchase at the open price.

SetTradeDelays(0,0,0,0);
BuyPrice = Open;

But in the same scenario would this still be using future data to purchase?

SetTradeDelays(0,0,0,0);
BuyPrice = Close;

What I want to ultimately do is purchase on the following data open, and sell at the close when the sell signal is hit. Would this be considered using future information?

SetTradeDelays(1,0,0,0);
BuyPrice = Open;
Sell = Close;





------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

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