Page 1 of 1

stop loss evaluation

Posted: Feb 16 2017
by Mar
Hi,
I’m backtesting a stop loss that is recalculated each bar. I have two question about the way Multicharts calculate it:
Does it flag to exit before running the code, using the previous bar amount? In other word: the stoploss is evaluated before or after “reading” the code for the bar?
The amount inputted is transformed, as far as I know, in the price scale of the asset in this way:
Entryprice + (amount/contract)/BigPointValue and rounded to the next possible value considering the minimum price increment. Is that the way it is actually calculated? Does it take in this count the costs?
Thanks,
Marcela

Re: stop loss evaluation

Posted: Feb 21 2017
by Angelina MultiСharts
Hello Marcela,

For backtesting: first the stoploss is evaluated, then strategy is recalculated.

Yes, it is calculated as you’ve described. The calculations can also include commission if it is set in Strategy Properties.