fxDreema

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

    Critical Error,array out of range

    Questions & Answers
    2
    5
    1167
    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.
    • M
      mpantogi last edited by

      Hello ,i need some help please.
      After i put the formula block in my Ea i get this error0_1508150154724_error.jpg
      Here is an example of a partition of my code: 0_1508150203669_WTF.jpg

      What i want to do is,to put in Variable TrailStopBuy the value 80% of the Take-Profit.
      In the main EA there is not fixed pips on Buy now,i putted here to be more simple.

      Thank you

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

        on Trade things can be used only in "on Trade" section, together with main on Trade blocks ...

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

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

          Thank's @miro1360 ,
          So, should i put the code on the trade section or is an other way ,which i can get the pips of take-profit(maybe save it in a variable) and use it.
          Also later i use that,to check the profit on pips with some variable0_1508171460406_Untitled.jpg
          Is that wrong too?

          I will appreciate your help.

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

            use Dark pink blocks because they select trade, when trade is selected, you can work with them (with light pink blocks or in Modify/Condition blocks) ...

            0_1508173117173_a36bc2be-3d73-41c3-a80c-541b2e470329-image.png

            here are 3 different dark pink blocks ...

            instead of them you can also use block Bucket of trades ...

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

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

              Now i get it. Thank you

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

              Online Users

              G
              R
              N
              S
              E
              E
              M
              O
              B
              M
              Z
              S
              S
              T

              27
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors