StopLoss amount and its Base Currency conversion

Questions about MultiCharts and user contributed studies.
oppidum
Posts: 30
Joined: 16 Oct 2014
Has thanked: 31 times
Been thanked: 4 times

StopLoss amount and its Base Currency conversion

Postby oppidum » 20 Jan 2016

Hi,

In FX trading since using the Base Currency conversion will modify the SopLoss amount calculation depending on the evolution of the corresponding currency, is there a way to code a stopLoss as a fixed distance (entry price +/- x pips) and not as a money amount?

Let's say a stop loss was defined at 10/contracts after backtesting with no Base Currency conversion (it sounds more logical as it remain a fixed value). For a xxx/USD pair, the conversion to EUR would have make the stop Loss span from 11 to 15 between 2014 and 2016.

Thanks
Attachments
Strategy Properties.png
(26.94 KiB) Downloaded 751 times

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: StopLoss amount and its Base Currency conversion

Postby Henry MultiСharts » 22 Jan 2016

Hello oppidum,

In MultiCharts 9.1 we have added special orders that accept tick offset instead of money value: SetStopLoss_pt, SetProfitTarget_pt, SetBreakEven_pt, SetPercentTrailing_pt, SetTrailingStop_pt.

oppidum
Posts: 30
Joined: 16 Oct 2014
Has thanked: 31 times
Been thanked: 4 times

Re: StopLoss amount and its Base Currency conversion

Postby oppidum » 22 Jan 2016

Hello Henry,

Freshly released?! just perfect!!

Thank you for your answer and those continual improvements. Hard to believe there is always elements to add/complete in such an already powerful trading platform!

TW
Posts: 31
Joined: 14 Dec 2009
Has thanked: 5 times
Been thanked: 1 time

Re: StopLoss amount and its Base Currency conversion

Postby TW » 15 May 2016

Hello oppidum,

In MultiCharts 9.1 we have added special orders that accept tick offset instead of money value: SetStopLoss_pt, SetProfitTarget_pt, SetBreakEven_pt, SetPercentTrailing_pt, SetTrailingStop_pt.
Hello Henry,

I don't really understand the new features of SetStopLoss_pt, SetProfitTarget_pt, SetBreakEven_pt, SetPercentTrailing_pt, SetTrailingStop_pt.

Could please explain how they work, and what difference between them and without "_pt"?
Thank you.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: StopLoss amount and its Base Currency conversion

Postby Henry MultiСharts » 16 May 2016

Hello TW,

Regular SetStopLoss accepts money value as the Amount parameter.
SetStopLoss_pt accepts tick offset.
For more information please see the help file in the PowerLanguage Editor window.


Return to “MultiCharts”