![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Update 31 Dec, 2022
Forex Calculators v.2.60
Fix to handle situations where the terminal (broker) has no direct or indirect exchange rate for the profit/account currency pair.
Thanks Sabino Martiradonna for the code to calculate the cross rate as:
(profit/account) rate = (profit/USD) rate * (USD/account) rate
Update 2 Jan, 2023
Forex Calculators v.2.61
Accelerated the GetSymbolByCurrencies() function by caching all the forex currency pairs available on the terminal during the first run, in order to speed up further (or repetitive) search operations.
Update 3 Jan, 2023
Forex Calculators v.2.66
Fixed automatic minimization of the calculator's dialog box on chart change.
Fixed display colors of result values. Now, green color means a good value and red means a bad one.
Added an option to calculate a position size using the account equity.Update 7 Jan, 2023
Forex Calculators v.2.70
Added an optional boolean parameter isProfit to the mTickValue() function, to control the return value. By default, the function returns the SYMBOL_TRADE_TICK_VALUE_PROFIT value of the symbol. If isProfit is false, it returns the SYMBOL_TRADE_TICK_VALUE_LOSS.Update 21 Jan, 2023
Forex Calculators v.2.75
Adjust position volume to the account free margin, considering opposite open positions on the same symbol - the hedged margin.
Update 23 Sept, 2023
Forex Calculators v.2.82
Fixed issue of wrong calculation of tick values on some indices.
Update 27 Sept, 2023
Forex Calculators v.2.83
Added automatic restore of the previous dialog's position on the chart upon program launch, timeframe switch or terminal restart.
Hello Amrali,
I would ask you for a small variation about "Profit calculator" dialog, I don't think it's complicated for you.
The way I think, the stop/profit points are the first elements to decide, and then conseguently calculate the "close price". Is it possible to make the "P/L Points" field editable, and consequently calculate the read-only "Close Price" field?
It would be great if the "Open Price" field also changed depending on the current price change.
What do you say ? Thanks for the attention.
Sincerely, Sabino.