PureBytes Links
Trading Reference Links
|
Hello,
Hopefully someone can help me out with this. I'm pretty new to Amibroker.
if condition 1 and condition 2 is met today, then i would like to buy tomorrow
at today's low and exit at tomorrow's close.This is the code i have so far, i
ommited the conditions. But this doesnt seem to work. can anyone help me out?
Condition1=blah;
Condition2=blah;
BuyPrice=Ref(L,-1);
Buy=Condition1 AND Condition2;
Sell=ref(C,1);
-Ivan Kokos
------------------------ Yahoo! Groups Sponsor --------------------~-->
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/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/
|