fxDreema

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

    How put Profit amount in Variable?

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

      i want put profit amount of sell trades in Variable 1 and profit amount of buy trades in Variable 2, and in next ,condition this Variables 1,2 ...
      how can do it?

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

        Take a look at these blocks https://fxdreema.com/examples#Bucket-of...

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

          i did not understand anything. can draw diagram?

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

            Oo, I think the link doesn't work correctly, it should contain those ... at the end. But it shows Bucket blocks The idea is that one "Bucket..." block finds multiple trades and loads them, creates a list of their tickets. Later, in Condition you can collect some data using these trades - their count, total (min, max, average) profit and other values... and use these values for something. Otherwise in other blocks you can check the profit, but you can't get the value of the actual profit out of the block.

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

              thanks you,
              its true?

              0_1551432593934_bucket.JPG

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

                Not exactly. I expect this to fail the first time it runs, because the order of the blocks is like this - 147, 148, 149. After that it may work most of the time, but better connect the bucket blocks one after another.

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

                Online Users

                A
                T
                M
                E
                C
                B

                18
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors