fxDreema

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

    true/false

    Questions & Answers
    2
    5
    1091
    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.
    • D
      Didble trader last edited by

      Hello

      I will try to explain myself in corect way in order to understand me:)

      so, for example:

      I have signal for "buy now" at particular time. so I want to programe somehow, I don't know, if one variable is "true" the the EA to open buy , but if variable is sent to false to open sell.

      hope you understood me:).

      1 Reply Last reply Reply Quote 0
      • D
        Didble trader last edited by

        I have signal for "buy now" at particular time. so I want to programe somehow, I don't know, if one variable is "true" the the EA to open buy , but if variable is *set to false to open sell.

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

          Signal? Variable? I'm confused, but if you want to check a Variable, then in Condition put that Variable... let's say in Value->Numeric and compare it with something similar. Value->Boolean also works.

          1 Reply Last reply Reply Quote 0
          • D
            Didble trader last edited by

            ok, let me try one more time:

            1. I have signal/conditional to enter the market(to open one trade) so,

            2. I want that if one parameter/constant is set to "true" to open buy position.

            3. if this parameter/constant is set to "false" to open sell position .

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

              Both Condition would work: http://prntscr.com/btf6cu

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

              Online Users

              F
              S
              R
              M
              U
              C
              V

              12
              Online

              146.8k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors