fxDreema

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

    "Open Parenthesis Expected" compiling error in MT5

    Questions & Answers
    @mt5 error code parethesis compile
    2
    4
    2103
    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.
    • R
      rafaels919 last edited by rafaels919

      Hi Everyone,
      Can anybody help me out with the following code for MT5. I'm not a programmer, but I think it solves the issue of having different pip values for brokers that have different number of digits in their charts (e.g. 0.0001 or 0.00001)

      //++++ These are adjusted for 5 digit brokers.
      double  pips2points;    // slippage  3 pips    3=points    30=points
      //double  dPips2dbl;       // Stoploss 15 pips    0.0015      0.00150
      //int     Digits.pips;    // DoubleToStr(dbl/pips2dbl, Digits.pips)
          if (Digits == 5 || Digits == 3)
      		{    // Adjust for five (5) digit brokers.
            	dPips2dbl    = Point*10; pips2points = 10;   //Digits.pips = 1;
      		} 
      	else 
      		{  dPips2dbl    = Point;    pips2points =  1;   //Digits.pips = 0;
      		}
      

      It compiles fine in MT4 - but I'm getting the following error when compiling it for MT5. Could it be a sintax issue?:

      e59bd728-e6bc-48e8-95f9-c9a0e060e176-image.png

      1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà last edited by

        Are you compiling a fxDreema project?

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        R 1 Reply Last reply Reply Quote 0
        • R
          rafaels919 @l'andorrà last edited by

          @l-andorrà yes

          1 Reply Last reply Reply Quote 0
          • l'andorrà
            l'andorrà last edited by

            Then this goes beyond my knowledge, sorry. Maybe roar can help.

            (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

            (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

            (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

            Online Users

            F
            R
            S
            D
            V
            O

            17
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors