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

[amibroker] Possible Problem with Walk-Forward and Custom Metrics



PureBytes Links

Trading Reference Links

If you are using a Custom Metric as your Optimization target in the
Walk-Forward settings, you should hand-check your results. I am
frequently getting incorrect results, in that the highest value of the
Custom Metric is not the one selected by W-F for a date range.

I documented the problem in the 5.08beta to AB support on May 13th and
have not received a reply as yet.

This is the metric that is currently causing(?) the problem:
[code snippet]
ProfitMetric = ( NetProfitpc + RecFactor * 20 ) * 10 ;//make them
~equivalant
	if( 0 > NetProfitpc  AND 0 > RecFactor AND 0 < ProfitMetric )//if
both negative & result positive
		ProfitMetric = abs( ProfitMetric );

	bo.AddCustomMetric( "Profit", ProfitMetric );
[end code snippet]

Other of my metrics exhibit the same type of incorrect results in my
testing. I'm using Release 5.10.1 now, so I thought it was appropriate
to bring this to the attention of the group.

Good trading,

Joe


------------------------------------

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/