EL: SetStopLoss Calulations

Discussion in 'Automated Trading' started by futlapperl, Jan 26, 2008.

  1. Hi there,

    anybody know which Price is used in the calculation of the "setstoploss" or setpercenttrailing commands in Easy Language? Per Definition it's the execution price given by the strategy. But in Real Trading it should be the price your order was filled.

    Example: Strategy sends market buy order on "next bar open" which is, lets say 8100.

    The Market executes my order with price 8101.

    Which number is now used for calculating the SL or SetPercentTrailing - 8100 or 8101 ?