fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Division by Zero Bug

    Questions & Answers
    2
    2
    283
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yoloyacht last edited by

      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

      M 1 Reply Last reply Reply Quote 0
      • M
        miki @yoloyacht last edited by

        @yoloyacht are you using a multicurrency ea?

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        M
        T
        E
        A
        P
        V
        R
        M
        G
        H
        J

        21
        Online

        146.6k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors