Zero Divide Error

[Deleted]  

Hi All


While compling my code, I encounter the error msg for this statement.


if (PRICE_CLOSE > 0) lots = lots / PRICE_CLOSE;


Please help. Thanks. ^_^

 
PRICE_CLOSE is just macro definition for constant 0. See https://docs.mql4.com/constants/prices
[Deleted]  

thank you ^_^


really stupid of me to make such mistake