The name of the variable is PositionScore.

http://www.amibroker.com/guide/h_portfolio.html

Mike

--- In [email protected], "shaunpms" <shaun...@...> wrote:
>
> Hi - I was searching for a way to control the priority ordering of new Buy 
> signals versus ScaleIn signals on the same bar, such that Cash is used to 
> satisfy ScaleIns first and then new Entries next (or vice versa). E.g. I sort 
> of assumed that if a system got 2 Buy signals and 2 ScaleIn signals on the 
> same bar, that ScaleIns would be used first in the backtester by using cash 
> to satisfy the ScaleIns and whatever left over cash is available after that 
> could be used for the new Buy entries.  But looks like my assumption may have 
> been wrong as I see new Buy signals getting ordered first.  
> 
> Made me wonder if there's a variable or setting to control this that I 
> missed, or if you need to control those type assumptions in your own code 
> within the portfolio backtester interface.
> 
> Any advice or pointers is very much appreciated.
> 
> thank you,
> shaun
>


Reply via email to