fxDreema

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

    How to move the TP when open orders move in negative

    Questions & Answers
    1
    1
    246
    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.
    • AlphaOmega
      AlphaOmega last edited by

      Hi Guys..

      Could someone please look at my problem and give advice. If I have several trades opened in negative, I would like the TP to move to the average TP of all opened sell orders or vica versa buy orders. Roar gave me a friendly hand and create the following blocks but he did not have time to test it, but there is problems..

      Firstly, The TP does not move

      Secondly, the code is based on random lots which I do not want

      https://fxdreema.com/shared/ucZlZvYcc

      Any help would be greatly appreciated as this problem is way beyond me

      Thank you in advance!

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

      Online Users

      S
      A
      I
      A
      E
      S
      E
      J
      2
      C
      R

      26
      Online

      146.7k
      Users

      22.4k
      Topics

      122.6k
      Posts

      Powered by NodeBB Forums | Contributors