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

[amibroker] Apply Buy and Short signals to ranked symbols in watchlist



PureBytes Links

Trading Reference Links

I have a system that applies signals generated by a series of rules to
a given symbol. Since I am using this rules bases system of entry for
buys and shorts I can't test across a relative strength watchlist with
rotational testing.

Is there a way I can generate my entry signals and then buy or short
the weakest or strongest symbol in a watchlist on that entry and then
run the backtester and see the portfolio results?

I think pseudo code would be something like this:

get watchlist symbols;
create rel strength scores for each symbol in watchlist;
create ranking arrays for strongest and weakest each period;
create buy and short signals;
apply buy signals to strongest ranked symbol;
apply short signal to weakest ranked symbol;
view portfolio results;

Does this sound right?

STtC



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

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/