Forex Blog

First-hand Forex trading experience and information about foreign exchange market that will be useful to traders

Archives

Switch ATR Timeframes and Move SL/TP Lines Freely in New PSC

July 8, 2019 by

Version 2.22 of Position Size Calculator fixes two minor bugs and introduces three cool new features:

You can set the input parameter UseCommissionToSetTPDistance to true and then the Take-profit button will use the entered commission when calculating the TP line location:

Position Size Calculator takes into account commission when positioning take-profit level

If you leave UseCommissionToSetTPDistance = false (default), the behavior of the button will be the same as before — TP will equal SL (or multiplied by a given multiplier).

Now, even if set UseFixedTPDistance and UseFixedSLDistance to true, you will still be able to move the SL and TP lines manually, which can be very handy to set them to some important chart levels:

Position Size Calculator allows moving SL/TP lines even when fixed pips distance is used

When I introduced ATR stop-loss and take-profit setting back in version 2.18, it limited you to use ATR of the same period as the chart was set to. You had to switch chart timeframe to change the ATR’s calculation timeframe, which was not a very good way to handle this. Now you can switch ATR timeframe separately with a special button and set a default timeframe when attaching the PSC indicator to a chart:

Switch ATR timeframe easily independent on the current chart's timeframe

A complete list of changes is available in the changelog.

If you prefer not to use MetaTrader, you can opt for the web version of the position size calculator. Despite differing significantly from the MetaTrader version, it will let you calculate position size easily.

If you have any suggestions or wish to report a bug in this MetaTrader indicator, please use our official Github repository or the commentary form below.

2 Responses to “Switch ATR Timeframes and Move SL/TP Lines Freely in New PSC”

  1. Ben

    I just downloaded this indicator (ver. 2.26), and it looks promising. However, when i load it onto a chart where the quote currency is not in my account currency (USD), i get the following message several times a second in the experts tab or the terminal: Error. Cannot detect proper currency pair for adjustment calculation. Have you seen this before, or do you know how to fix this? Your help is appreciated.

    Reply

    Andriy Moraru Reply:

    It means exactly what it says. You need to add the currency pair that has your account currency and USD to the Market Watch. If this doesnt help, please let me know more details: your account currency, what broker you are with, and what version of MetaTrader you are using.

    Reply

Leave a Reply

required
required (will not be published)