PureBytes Links
Trading Reference Links
|
If you test a system which buys on stop:
Buystop=ref(H,-1);
buy = [buyrules] and cross(H,Buystop);
and gives you nice results try changing to:
Buystop=ref(H,-1);
buy = [buyrules] and H > Buystop;
and you obtain more trades and worse results. I don't understand
this since once the day is gone I know the cross only happened if we
had a high above the buystop. In real life the 2 situations are
identical, the high exceeded the buystop.
from the help:
CROSS(ARRAY1,ARRAY2) Gives a "+1" or true on the day that ARRAY1
crosses above ARRAY2. Otherwise the result is "0".
What am I missing here, why do we have different results in
simulation?
do we have a "false" in the CROSS if at the end of the day the close
is below Buystop???
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
|