fxDreema

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

    Input for block Buy

    Questions & Answers
    2
    6
    1211
    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
      Dieter last edited by Dieter

      Hello,

      The following picture shows the block Buy. This contains an input. The input is -200 pips. Is the value -200 pips a string, integer, double?
      I need a way to optimize this expression -200 pips or to import the -200 pips from another block?
      The risk per trade must be the same.

      0_1516110410301_Input String.JPG

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by

        what happened when you tried as string?

        Between trading and gambling is a very small gap, be careful.

        D 2 Replies Last reply Reply Quote 0
        • D
          Dieter @miro1360 last edited by

          @miro1360 If I indirectly define a variable as a string and send it to the block buy, then the stop is placed under the candle. What I want is that the stop is put under the candle plus a pip value. For that I need help. I do not want to enter the string value directly into the block, but it should be optimized later with the optimizer.
          0_1516189982265_test_Buy adjustment.mq4

          1 Reply Last reply Reply Quote 0
          • D
            Dieter @miro1360 last edited by

            @miro1360 .... Even if I send directly with a constant, which is defined as a string in the block buy, I do not get the Ergebenis that is the stop -200 pips below the candle.

            0_1516190916860_test_Buy adjustment2.mq4

            1 Reply Last reply Reply Quote 0
            • M
              miro1360 last edited by miro1360

              in that case it is not working and you need to do something another ... this is working

              0_1516201891322_250ae988-c930-4ffb-a7c6-8bd34568f780-image.png

              Between trading and gambling is a very small gap, be careful.

              D 1 Reply Last reply Reply Quote 0
              • D
                Dieter @miro1360 last edited by

                @miro1360
                Hi Miro, you are God,
                great, have been fumbling for quite a while. Is working!!!!
                Thank you for your help!

                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

                14
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors