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

[amibroker] Put Ranking Position in Title



PureBytes Links

Trading Reference Links

All:  I have been experimenting with using PositionScore[x] to try and
capture a ranking number that could be put in a Title statement.
 
Dan Clark shared some gifs of some plots of various Industry averages and
the Title statement showed the Industry name and its rank.  I thought this
was very useful and wanted to see if I could come up with something similar.
 
I can not get off of first base (maybe better is striking out at the plate).
 
PositionScore is used on the left side of the equal sign, although there is
an example ranking code in the Library which uses PositionScore[z] on both
the left and right side of the = sign.  I tried variations on this approach
and did not get anything that looked like a ranking (position) code.  
 
I put in a ranking equation, say, PositionScore = ROC(12);
 
I then tried a AddColumn for PositionScore[Barcount-1] as well as another
AddColumn for ROC(12), and did an explore on a WL.  Both columns displayed
the same values of the ROC, while I expected the PositionScore[z] column to
have integers from 1 to the number of items in the watchlist.
 
Is what I am describing possible?  and if yes, what approach will work?
 
Any comments or pointers to past messages from anyone?
 
Thanks,
 
Ken