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
stop loss evaluation
- Angelina MultiСharts
- Posts: 260
- Joined: Dec 28 2016
- Has thanked: 28 times
- Been thanked: 66 times
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.
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.