Weighing Position Size as a function of Global Position scores .

I would like to be able to weigh position size of buy candidates with a ten bar percentage of the best positionscore of all buy candidates of that time frame.

For instance, if the best positionscore of all buy candidates in the last ten bars was 100 and the current best positionscore of a buy candidate is 33, I would like to the buy position size to be 33% of normal position size.

How would one code a dynamic best positionscore of all buy candidates of the last ten bars?

thanks,

RBuck

Here is the quick touch that I am currently using. . .

In the regular code add the value of the highest rank in the last 13 days(EOD data).
Then add the percentage value of the current Score by the highest Score in the last 13 days.
Now in the code I can fish for the percentage buy based on how good the current score is. RBuck

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.