double _high = iHigh(Symbol(), Period(), 0);
double _low = iLow(Symbol(), Period(), 0);
double result = _high - _low;
Excuse my limited English.
The type of result is a double
number, and I want to convert the double number to an integer number, but the number of digits after the decimal point of the result corresponding to each symbol is uncertain.
I really don't know what to do other than doing it differently depending on the symbol.