Define Scale out Price

I would like to know How to -

  1. define scaleout price .
    Amibroker is just taking close of current candle. I would like to define it as an array.

should we sign to sellprice[i] ?

Both Scale In and Scale Out prices are taken from the entry price array (BuyPrice for long trades, ShortPrice for short trades), not the exit price array (SellPrice or CoverPrice). Similarly, sigScaleIn and sigScaleOut are both assigned to Buy and Short.