fxDreema

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

    Creating additional trade to existing trade coding issue

    Questions & Answers
    2
    9
    2162
    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.
    • L
      lbnewbie40 last edited by

      Hi Everyone,

      Having trouble with my EA when adding a further single trade to the initial trade once a condition (pips away from open) is met.

      Here is the set-up so far:

      0_1495514933891_upload-fc5706d9-26bf-4c48-bb3d-2917d746713a

      Any suggestions would be greatly appreciated 🙂

      Thanks, Lindsay

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

        try this for additional trade:

        0_1495551631399_upload-6fb92efe-6c55-4545-886b-61950ecf7ec3

        (Pass block replace with your additional trade block)

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

        1 Reply Last reply Reply Quote 0
        • L
          lbnewbie40 last edited by

          Thanks Miro,

          Made the change as you mentioned above but no success as yet.

          Does the pass block that replaced the additional trade block still trigger a new trade?

          Here is the EA itself:

          shared/LUyN8PNOd

          Thanks, Lindsay 🙂

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

            😄 no no ,,, pass block you replace with your "additional trade" block, because I dont know which block is this additional trade block, I have not found this name so it must be something (maybe add to volume?) ...

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

            1 Reply Last reply Reply Quote 0
            • L
              lbnewbie40 last edited by

              Thanks Miro,

              Tried that but still no success with the add volume chain. Here is the revised EA:

              shared/FoA2d0g3

              After looking thru past posts on this I tested a different chain with the same strategies but still not the desired outcome 😞

              shared/egIDqBMOc

              I've hit a brick wall in trying to correctly link the initial trade to a potential additional trade should a condition (pips-away-from-open) be met.

              Thanks for the continued help and support
              Lindsay

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

                actually, I tried it and it is working in opening this second trade:

                0_1495592846101_upload-3f82503f-e411-4dbe-9226-2fc85c43d1a0

                but I disabled this close (only for testing purpose if this open is working, because 200pips in pips away distance is too much, you need enable it or set TP, or set this 200pips to lower value):
                0_1495592874251_upload-dbeea2da-3086-40c3-ab38-f921f3ba79ca

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

                1 Reply Last reply Reply Quote 0
                • L
                  lbnewbie40 last edited by

                  Thanks again Miro. I did the same and disabled the close and the additional trade started working though I lowered the pips-away from open to 50 and you suggested yet the second trade doesn't trigger till several bars later when the price has far exceeded the pips-away price. Any idea what's happening here?

                  I saw from your table that the first trade happened at 186.299 but the second trade was triggered at 185.502 which is 797 pips not the 200 that was originally set. It also looks like this is a short trade rather than the long only trade that this EA is set-up for. Again not sure what's happening here whether it's my chain set-up or something else? 😕

                  shared/puDbYZ7ad

                  Thanks

                  Lindsay

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

                    look closer into that table ... first trade was closed at SL, so forget it ...
                    important are second and third trades ... they are opened together in distance 200pips ...
                    second at price 105.502 and third at 107.502, difference is 2000points and it is equal to 200pips (points are not the same as pips, 1pips=10points) ...

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

                    1 Reply Last reply Reply Quote 0
                    • L
                      lbnewbie40 last edited by

                      Ok thanks got it. Didn't notice the difference before 😬

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

                      Online Users

                      E
                      H

                      10
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors