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

[amibroker] Re: Ranking by indicator?



PureBytes Links

Trading Reference Links

If you want to run a backtest; Just set the PositionScore to the indicator value, then in the settings (or via code) set the maximum number of positions to 2.

http://www.amibroker.com/guide/h_portfolio.html
http://www.amibroker.com/guide/w_settings.html
http://www.amibroker.com/guide/afl/setoption.html

Mike

--- In amibroker@xxxxxxxxxxxxxxx, "bretsmiles" <bretsmiles@xxx> wrote:
>
> 
> I just bought the software a couple of days ago and this has probably been discussed before, but does anyone know where I can find the code or how I should go about programming the code that would allow me to select stocks that qualify to be played on a certain day according to their rank.  I would like to rank on any indicator(s) value.  For example, if five stocks are possible plays for the day and I only want to play two, I want to rank them according to there ADX score and play the top two, I would need to find the max then loop through the array and rank from there I guess.  Any help is appreciated......thanks.
>




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

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/