Thx for the codes; they will help to FX People :) and coders
Thanks
ENUM_CustometOpinion CodeBase::analiseArticle(int articleID);
if(CodeBase.analiseArticle(333365) == enum_Simple&Awesome)
{
mql5User.AddNewComment("Awesome Article :)");
}
ps.
Simple and Awesome. This will help many new coders.
My metatrading updation and investing is not working mode please it is verify modification.
Your post is nonsense.
Thank you for these very useful calculators. It is awesome tools!
Is it possible to set it so that it does not minimize automatically. It must stay open until I close it.
here is the information of the symbol:
string symbol = "#HongKong50"; double TickSize = SymbolInfoDouble(symbol, SYMBOL_TRADE_TICK_SIZE); double TickValue = SymbolInfoDouble(symbol, SYMBOL_TRADE_TICK_VALUE); double PointSize = SymbolInfoDouble(symbol, SYMBOL_POINT); double PointValue = TickValue * PointSize / TickSize; double volume = 1.0; double PointValueLots = PointValue * volume; // 0.01 Print(PointValueLots);
The point value is 0.01 for 1 lot. But it's 0.01 HKD.
My account currency is USD, the CurrencyProfit of #HongKong50 is HKD, so 0.01 / 7.75 (USD to HKD) is the real PointValueLots.
This is because the currency of TickValue for #HongKong50 is HKD, not USD.
But the currency of TickValue for USDJPY is USD, not CurrencyProfit(JPY).
So is this a mt5 bug?
(fxpro broker)
by the way, the layout is broken in my computer...
but the calculation code is helpful.
Hi Bro
Thanks you for sharing this valuable piece of code.
Kind regards,
Dinna
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Forex Calculators:
Margin Calculator, Point Value Calculator, Profit Calculator and Swap Calculator.
Author: amrali