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

[amibroker] Help - PositionScore and WorstRankHeld us in CBT



PureBytes Links

Trading Reference Links

Does anyone know how do I get CBT to report the Top 10 PositionScore tickers for market days where PositionScore is scorenorotate?

In rotational afl, it seems that CBT can only report (via _TRACE) the
Top 10 PositionScore tickers when:
(1) 10 is WorstRankHeld, and,
(2) PositionScore is positive or negative, but not zero or scorenorotate.

Assuming this to be the case, I can not figure out how to:
(a) Set PositionScore to something like the following which allows rotation only on the first of the month, 

firstofmonth = Month() != Ref( Month(), -1 );
Rank = 1/RSI(14);
PositionScore = IIf( firstofmonth, IIf( rank > 0, rank, 0 ), scoreNoRotate );

(b) AND, have CBT report (via _TRACE) the top 10 tickers in a watchlist.

Help / example appreciated.

...





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

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