Gevorg Hakobyan: It's an indicator. Why would he need permission to trade?
Not for it, but for the symbol. If there is no trade on the symbol on the server from which you are taking the data, then Point() may not be given there either.
Artyom Trishkin: Not him, but the symbol. If there is no trade on the symbol on the server from which you are taking the data, then Point() may not be given there either.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Check if there is a symbol in the market overview. It cannot be zero.
I'm sure it can't be, but here's the moderator's response.2017.01.17 12:09:36.871 CMB2 EURNZD,Daily: zero divide in 'CMB2.mq4' (196,77).
And this is actually line 196 from the code: (iOpen('GBPNZD',p,b)-iClose('GBPNZD',p,b))/MarketInfo('GBPNZD',MODE_POINT)+
I'm sure it can't be, but here's the moderator's response.2017.01.17 12:09:36.871 CMB2 EURNZD,Daily: zero divide in 'CMB2.mq4' (196,77).
And this is actually line 196 from the code: (iOpen("GBPNZD",p,b)-iClose("GBPNZD",p,b))/MarketInfo("GBPNZD",MODE_POINT)+
Is this symbol allowed to trade?
I'm sure it can't be, but here's the moderator's response.2017.01.17 12:09:36.871 CMB2 EURNZD,Daily: zero divide in 'CMB2.mq4' (196,77).
And this is actually line 196 from the code: (iOpen('GBPNZD',p,b)-iClose('GBPNZD',p,b))/MarketInfo('GBPNZD',MODE_POINT)+
Is trading allowed on the symbol?
Point is usually multiplied by, there's a number about 0.00001 why you would divide by it, it's possible to round and divide by zero.
It's an indicator. Why would he need permission to trade?
It's an indicator. Why does it need permission to trade?
Not him, but the symbol. If there is no trade on the symbol on the server from which you are taking the data, then Point() may not be given there either.
Then what should be done?
Is there such a symbol in the server symbol list that the indicator stands on?