fxDreema

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

    Take Profit price gets Modified

    Bug Reports
    2
    2
    1334
    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.
    • F
      fortham last edited by

      hi fxDreema

      I am sorry if this is not a bug but I think it is, I have spent many days trying to isolate the bug but I could not, I hope you can enlighten me.

      https://fxdreema.com/shared/P9isUx2ye

      in this EA I made two pending orders per condition because I want two different Take Profit (TP) price levels. The two TP price levels are correct when the block runs and the pending orders get put out correctly, with two different TP prices. However once it triggers, then one of the two TP prices will move and become identical to the other TP price. If I try to manually modify the TP price of one of the TP limit orders on the MT4, the other TP limit order follows suit. I am confused very much.

      Is this a bug?

      Interesting note: this does not happen in the Strategy Tester. In the strategy tester, the TP price levels stay the same after there is trigger entry ( stays correct).

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

        Because this does not happen in Strategy Tester, is there a chance that there is other EA working in background that you forgot about and probably contains blocks that modify SL or TP?

        Especially in this project, the only block capable of modifying SL or TP is that Trailing stop one. But it is set to move SL only and the opposite stop (TP in this case) is set to No change. If the problem happened in Strategy Tester, then maybe the problem would be somewhere in this block.

        By the way "For each Trade" is not needed there. You can place "Pass" instead or even connect block 16 to the yellow output of 1

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

        Online Users

        M
        M
        G
        A
        C

        16
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors