I tried to search for this answer in the forum but with no luck. Is it possible to set an amount of money in the stop loss function with other currencies than € and $?
I found in the documentation that it should be written like this:
1
SET STOP$LOSSx
I want to use the currency SEK (Sweden’s currency)?
The stoploss in money is always calculated according to the current instrument currency and not with your own account currency.
We can’t get other instrument to get the exchange rate (with EURSEK for instance), so the sole possibility is to use a fixed rate set in a variable to automatically convert the SEK into EUR.
I’m trying to backtest the Swedish OMXS30 index and it uses SEK as their currency.
I tried writing the following code “SET STOPLOSS 1000″ and was hoping it would set the stoploss to 1000 SEK, but I get much bigger losses than that when looking in the Detailed report -> Closed positions list.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.