RFC SYMBOL_VOLUME_DIGITS

 
#ifndef SYMBOL_VOLUME_DIGITS
#define SYMBOL_VOLUME_DIGITS ((uint)round(-log10(SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_STEP))))
#endif

uint LotDigits=SYMBOL_VOLUME_DIGITS;

When will SYMBOL_VOLUME_DIGITS be added and untyil then I use the above written macro in mql5.

Request For Change RFC

 

It doesn't need to be added, you just coded it.

Your macro fails, if step is not a power of ten, e.g. 0.05.