Basically you set any scores you don't want to zero.
Here is an example that I use:
ScoreVal = IIf(HEMI > 1.00 AND RSIHi > RSILo , PScore , IIf(PScore > 0, PScore, 0.00 )) ;
The IIF part is the key.
Reef Break
--- In amibroker@xxxxxxxxx ps.com, jim fenster <normanjade@ ...> wrote:
>
> I have a positionscore that is all positive. The system is only entering longs. I would like the lower rank of positive numbers to be shorted. How do I do this? I tried the seperatelongandshor t but still only longs...
>
> Thanks,
>
> Jim
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ____________ _________ _________ _________ _________ _________ _
> Get a sneak peak at messages with a handy reading pane with All new Yahoo! Mail: http://ca.promos. yahoo.com/ newmail/overview 2/
>