fxDreema

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

    code won't compile due to warnings

    Questions & Answers
    2
    3
    535
    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.
    • J
      jagtrading last edited by

      possible loss of data due to type conversion bollingermacrossover (1).mq5 1256 18
      implicit conversion from 'number' to 'string' bollingermacrossover (1).mq5 1323 35
      possible loss of data due to type conversion bollingermacrossover (1).mq5 1503 18
      implicit conversion from 'number' to 'string' bollingermacrossover (1).mq5 1797 26
      return value of 'OrderCalcMargin' should be checked bollingermacrossover (1).mq5 1865 4
      possible loss of data due to type conversion bollingermacrossover (1).mq5 2781 28
      0 error(s), 6 warning(s)

      I get these warnings when I try and compile my program. The program is a simple ma crosses bollinger program with stop-losses and take profits. It also checks if the position is open. Can anyone help me with this?

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        Warnings are not fatal, errors are. These are only warnings... mostly annoying stuff.

        1 Reply Last reply Reply Quote 0
        • J
          jagtrading last edited by

          __Warnings are not fatal, errors are. These are only warnings... mostly annoying stuff.[/quote:fttfmvwh]

          never mind its working now 😄

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

          Online Users

          M
          M
          E
          M
          A
          H
          E
          E
          M
          S

          15
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors