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

[amibroker] Re: Candlestick code



PureBytes Links

Trading Reference Links

This example will buy on Monday and Tuesday and sell on Tuesday and
Wednesday.  All at open. Use settradedelays.

Buy=DayOfWeek()==1 OR DayOfWeek()==2;
Sell=Ref(Buy,-1);
SetTradeDelays(0,0,0,0);
BuyPrice=O;
SellPrice=O;


Cheers,
Graham
http://e-wire.net.au/~eb_kavan/

-----Original Message-----
From: Collectable Images [mailto:telecard@xxxxxxxxxxxxxx] 
Sent: Sunday, June 20, 2004 11:36 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Entering new trade on open with a close of previous
trade on open

I am trying to exit on open and at same time I sometimes initiate a new
position on open.

This is in futures mode and it is not letting me start a new position when
an existing position is being closed that day on open.

How can I make back tester open this new position?




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 --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/