PureBytes Links
Trading Reference Links
|
Try adding
Buy = exrem(buy,sell);
to remove extraneous buy signals (or I believe Equity(1); does this as well)
Cheers,
Graham
http://e-wire.net.au/~eb_kavan/
-----Original Message-----
From: Collectable Images [mailto:telecard@xxxxxxxxxxxxxx]
Sent: Monday, July 05, 2004 3:42 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Not selling at correct time?
This one is very confusing. It should sell at a multiple of the high of day
of entry but is actually selling at a lower vale after a high has been
reached so its taking a lower selling price than the intermediate high.
Must be acting from a different Buy date???
Cond5 = L < ValueWhen(Buy, L, 1);
pt = Optimize("Proftarget", 3, 1.1, 3, 0.1);
Cond6 = H > pt * ValueWhen(Buy, H, 1);
Sell = Cond5 OR Cond6;
SellPrice = C;
Cond10 = ExRem(Cond10, Sell);
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/
|