Profit Calculator

Fixed deletion of extra TP lines when switching to a lower value in the ScriptTakeProfitsNumber input parameter. Fixed a bug in the MT5 version that prevented swap values to appear on the Swaps tab. Fixed a bug when dragging the stop-loss line or changing the default SL stopped working when UseFixedStopLoss was set top trading platforms 2020 to true. Renamed input parameters UseFixedSLDistance and UseFixedTPDistance to SLDistanceInPoints and TPDistanceInPoints for clarity. Fixed a typo in the ScriptTakeProfitsNumber input parameter. It may reset after you update to a new version — don’t forget to change it back to your preferred value if this happens.

CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. Added persistence of panel location, status, and parameters through chart profile changes. Fixed symbol leverage calculation for non-Forex symbols in MT5. Fixed a potential division by zero error when calculating symbol leverage. Changed the way file names for PSC settings are generated — all currently attached panels will be reset when upgrading to version 2.27. Take-profit button will now attempt to use profit pip value to calculate the appropriate distance from Entry.

Fixed multiple TP values on the Main tab when UseFixedTPDistance is set to true. Fixed a bug with position size calculation for futures instruments Fusion Markets Broker Review in MT5. Fixed portfolio risk calculation by adding existing swap values to it . All default parameters can be changed via the panel.

Input Parameters

Trading in CFDs carry a high level of risk thus may not be appropriate for all investors. Reinstated HideAccSize input parameter for compactness. MT5 version of PSC-Trader script 1.04 or older will not work with the calculator versions 2.08 and newer.

forex profit calculator

It will now get reset to the DefaultTP input parameter if given, or zero otherwise. Added a Max PS button to quickly set the position size to the maximum value allowed by the account’s margin. Nominal swaps — nominal swaps paid or charged by a broker for long positions.

Minimized Panel

If you set your risk via Risk money input, percentage risk will be calculated based on that input. ATR timeframe — timeframe to calculate ATR on. Click the button to switch between timeframes. ATR options are visible only if ShowATROptions input parameter is set to true. TP multiplier — multiplier for ATR-based take-profit. The ATR value is multiplied by this value to produce the actual take-profit distance.

Improved labeling of the DefaultCommission input parameter. Added possibility to edit the account balance field directly via the panel. Added the TAB key as a keyboard shortcut to switch the trade’s direction from long to short and vice versa. Minimizing the panel in one click makes it completely non-obtrusive and allows trader to easily see the entire chart.

Min Entry/SL distance — the script will not trade if distance between the Entry level and Stop-Loss level becomes less than this value. Max Entry/SL distance — the script will not trade if distance between the Entry level and Stop-Loss level becomes greater than this value. Fill take-profits outwards — a button to fill multiple take-profit fields equidistantly with the main Take-Profit level as the closest one. Fill take-profits inwards — a button to fill multiple take-profit fields equidistantly from Entry level to main Take-Profit level. Order commentary — commentary for orders and positions opened using the script.

Fixed a bug in MT4 that resulted in invalid stop-loss values when SL in pips was used and the chart’s symbol switch occurred. Added lot display for additional TP labels when multiple TP levels are in use. Changed how position size shares are distributed when total position size cannot be divided evenly due to minimum position size or minimum lot step. Fixed stop-loss value switching to -1 pip when switching the chart’s symbol to a symbol without loaded history in MT5. Fixed a bug that caused very large values in extra TP edit fields when switching TPDistanceInPoints to true. Added ATRCandle input parameter to control which candle is used for ATR calculation — the current one or the previous one.

Reward/risk ratio — reward result divided by risk result. Custom profiles restore panel’s location, status, and settings. Alternatively, you can set them as multiples of ATR . ATM Provides you best trading conditions which is very fast and flexible. We are the largest and respected firms in forex industry since 2010.

Trading Com Live Chat

Calculator’s display options and a number of default options are set via standard MetaTrader inputs. Reward in account currency is based on the position size calculated without taking into account platform’s restrictions. Risk input — you can set your tolerated risk in percentage of the account size.

forex profit calculator

If take-profit is given, the calculator shows the potential reward level and the risk-to-reward ratio. You should also remember that different account types employ different commissions, swaps and spreads. The above should be used as a guide alongside your other risk management techniques. For more details on terms for each account type, please click here. To determine the potential profit or loss of a trade, simply start by selecting the currency pair of your choice and choose if you’re are buying or selling.

How To Use The Calculator?

Added support for splitting the position into multiple trades with different take-profit levels when executing PSC-Trader script. Added input parameter to control whether position size and reward are rounded down or normally. Fixed an issue with TP value going too high or too low when switching the chart’s symbol.

forex profit calculator

Added advanced reference pair search for MT4 to find correction coefficient using two currency pairs for CFDs. For example, the PSC will now use both USD/SEK and USD/CHF rate to convert profit/loss for CAD/CHF trades if the account currency is SEK. You can set the size of commission (one-way) applied by your broker if you want your potential loss to be calculated including this cost of trading. If not, you can freely change the stop-loss — either by dragging the stop-loss line on chart or by entering the value into the stop-loss input in the panel. You can also set stop-loss as distance in points by turning on the respective input parameter. Attaching Position Size Calculator to a chart will automatically set an entry level to the current price, preparing for a market buy order.

Fixed SL and TP lines snapping back while dragging them to a new level. Do you have any suggestions or questions regarding this indicator? You can always discuss Position Size Calculator with other traders and MQL programmers in the forum.

  • Yearly swap per lot — swap paid or charged by a broker for long positions in account currency per lot.
  • The trading script can also divide the position into several trades with different take-profit levels.
  • Fixed symbol leverage calculation for non-Forex symbols in MT5.

Maximum position size by margin displays the biggest trade you can take with your currently available free margin and leverage. Potential portfolio reward — shows the reward in currency units as if you have already opened a position that is currently calculated by this indicator. Current portfolio reward — shows the reward in currency units without the position that is currently earnings on forex being calculated by this indicator. Fixed a bug when adding second position size calculator to the chart was not prevented properly by MetaTrader 4. Fixed a bug in the MT5 version of the indicator when hidden lines could reappear after changing one of the indicator’s input parameters. Added the CustomBalance input parameter to set account balance via input parameters.

Implemented a more accurate way to calculate risk and reward for portfolios that include currency pairs with the account currency as their base currency. Fixed division by zero error when calculating portfolio risk for trades with base currency same as the account currency. Optimized indicator’s performance by making portfolio risk/reward, margin, and swap data recalculate only when the respective tab is selected. Fixed a bug that prevented checkboxes from updating on the panel when their values were changed via input parameters.

Download The Script Ver 115, 2022

Auto-suffix — if checked, the script will append a unique suffix to the order commentary set up above. Disable trading when lines are hidden — a simple checkbox to prevent script from opening a position when you have chosen to hide the lines via the Main tab. The script tab serves to provide you with some control over the trading script. You may skip this tab if you are not using PSC-Trader.

Added a display of the current trade direction (long/short) as an arrow in the top-left corner of the panel or as a word in the panel’s caption . Black background color and chart grid do not interfere with the panel as you can see on this screenshot of the Risk tab. The risk outputs show Infinity as there is, apparently, a sell order without stop-loss.

Leave a Comment

Your email address will not be published. Required fields are marked *

Open chat
Our Certified Business Psychology CBPsychol® is duly registered with the Ministry of Trade and Investment, Commercial Law Department Office