fxDreema

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

    trade comment and comments on chart (two questions)

    Questions & Answers
    3
    7
    1975
    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.
    • P
      PipTheRipper last edited by

      Question 1:

      I would like to add a comment to the trade log when closing a position. Similar to using the comment field under "more settings", in the buy/sell blocks.

      So for example, if the trade hit stop loss, I would like to write a comment - position closed by stop loss
      or if the trailing stop loss closed the position, then comment - position closed by trailing stop
      or if position hit take profit target - position closed by take profit

      Is this possible from within fxdreema?

      Question 2:
      I would like to write a comment on the chart, where positions has been opened or closed, with information such as profit/loss, position size, slippage and spread etc.

      The comment should not be printed in a corner, but on the chart, for example above the candle where the position was opened or closed.

      The comment should stay on the chart, at least untill the terminal is closed by the user.

      Is this possible from within fxdreema?

      Cheers

      jstap 1 Reply Last reply Reply Quote 0
      • jstap
        jstap @PipTheRipper last edited by

        @piptheripper This is possible, what do you mean by trade log? There is a log message block that writes on journal/experts tab, condition above will only write when something happens. Printing info on screen is the same but with a draw block.

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        P 1 Reply Last reply Reply Quote 0
        • P
          PipTheRipper @jstap last edited by

          @jstap thank you again. Question 1 is solved. I am now trying to figure out how to draw/write a text on the chart when ever a position is closed. IN this text I want to write:
          1: Profit or loss in account currency
          2: Total pips of the trade (If the trade was a loss the number will be negative)

          I found the "draw text" block, but I cant figure out how to extract the profit/loss and total pips numbers. The "check profit" block does not seem to give an output of the profit or loss to put into a variable. I see the "bucket of positions" and "in loop" settings might be the place to find these values. I been messing around but cant get it to work. I have attached a screenshot of an example of how i would like it to look, and also a screen shot of where I am so far in fxdreema.

          and here is a link: https://fxdreema.com/shared/QmUoibHle

          1_1631034201141_text on chart.png 0_1631034201140_on chart comment.png

          jstap J 2 Replies Last reply Reply Quote 0
          • jstap
            jstap @PipTheRipper last edited by jstap

            @piptheripper Try this, MT4&5 optimising so can't test, if this does what I think you can use the variable in the draw block, you can use the same principle to save the money. You don't need the pass above pink as the (do something) logic is already in the block.

            0_1631035232257_ad3339f1-ce0e-4fbf-968e-db99a7647bd8-image.png

            Learn fxDreema Without the Wait!

            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

            Don’t miss out

            Click here➡️ https://mybook.to/fxDreema to get your copy today!

            Enjoy! 😊

            jstap 1 Reply Last reply Reply Quote 0
            • jstap
              jstap @jstap last edited by

              @jstap Looking again this is what you had done, let me know specifics if doesn't work.

              Learn fxDreema Without the Wait!

              My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

              The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

              Don’t miss out

              Click here➡️ https://mybook.to/fxDreema to get your copy today!

              Enjoy! 😊

              1 Reply Last reply Reply Quote 0
              • J
                jjtrader @PipTheRipper last edited by

                @piptheripper Can you share how you solved problem #1? I am tryin to do the same thing. Thank you!

                Also, here is a example of how I accomplish problem #2. I put this in the "on Trade" tab.

                0_1641397454506_4324705d-a0dd-4f80-8055-dd8322f592c9-0104 BBflat KC Renko TP1 runners .mq4

                0_1641397547547_2efb29e8-92d4-4551-8691-908e51b3d5db-image.png

                P 1 Reply Last reply Reply Quote 0
                • P
                  PipTheRipper @jjtrader last edited by

                  @jjtrader I actually never pursued this any further. Guess I got side tracked with other things:) Will have a look at your solution. looks promising:) Thanks for sharing!

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

                  Online Users

                  M
                  M

                  15
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors