Division by Zero Bug
-
I keep getting the zero divide bug. The return line is the error, and this is the function where it's at:
double PipValue(string symbol)
{
if (symbol == "") symbol = Symbol();return CustomPoint(symbol) / SymbolInfoDouble(symbol, SYMBOL_POINT);}
Please help
-
@yoloyacht are you using a multicurrency ea?