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

[amibroker] Backtesting when trades last 1 bar???



PureBytes Links

Trading Reference Links

I'm seeing some too good to be true results when doing backtesting and the
trade lasts just one bar.

Here is one example of the stop logic on 5 minute bars of YM with random
entries:

StopPoints = Optimize("StopPoints",2,1,25,1);
ApplyStop( stopTypeTrailing, stopModePoint, Stoppoints, 1);

When I optimize, StopPoints 1 to 3 are very profitable while 4+ are losing
strategies.  Maybe not so coincidentally StopPoints of 1 to 3 result in
trades that are 1 bar long.  Stoppoints of 4+ are trades greater than 1 bar
on average.

If could be that the AB stop evaluation logic is giving misleading results.

Would appreciate any thoughts on this and how to correct/allow for it ...

Thanks.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/DldnlA/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/