fxDreema

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

    Show initial deposit on the chart

    Questions & Answers
    5
    21
    1281
    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.
    • ItzShahzad.X
      ItzShahzad.X last edited by ItzShahzad.X

      Show initial deposit on the chart like I'm deposit 100 dollars so show on chart

      Not current balance only initial deposit

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

        According to ChatGPT this should do it, I haven't tested though: https://fxdreema.com/shared/CKLA9iHCb

        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! 😊

        ItzShahzad.X S 2 Replies Last reply Reply Quote 1
        • D
          Duelistking last edited by

          output & communication >> comment >> label >> trade statistic

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

            @jstap not warking Screenshot 2024-09-08 122622.png

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

              That would have only worked for MT5, not tested but this should do it: https://fxdreema.com/shared/crazi6ffc

              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
              • S
                s00071609 @jstap last edited by

                @jstap does this work for MT5, it gives zero result for deposit

                1 Reply Last reply Reply Quote 0
                • S
                  s00071609 last edited by s00071609

                  This seems to work - it gives the total deposits into the account up until now.

                  https://fxdreema.com/shared/9RWe7c9ne

                  M 2 Replies Last reply Reply Quote 0
                  • M
                    mohsen 2 last edited by

                    Hello, how should I do this? This code doesn't work for me.

                    I want to store the total of deposits into the account in a variable.

                    1 Reply Last reply Reply Quote 0
                    • M
                      mohsen 2 @s00071609 last edited by

                      @s00071609 Hello, how do we use this variable that holds the total deposit and perform comparison or calculations on it with blocks?

                      1 Reply Last reply Reply Quote 0
                      • M
                        mohsen 2 @s00071609 last edited by

                        @s00071609 Hello
                        Why does this result return zero? Can you please help?

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          s00071609 @mohsen 2 last edited by

                          @mohsen-2
                          it already saves the total deposits in variable totalDeposits
                          You need to check the expert tab, it should show the value for total deposits
                          It works

                          M 2 Replies Last reply Reply Quote 0
                          • M
                            mohsen 2 @s00071609 last edited by

                            @s00071609 I want to limit the robot to one deposit.

                            For example:
                            I want to limit the robot to work only on a balance of $1000.

                            And I want to check on each tick that if the user makes a new deposit or withdrawal while using the robot
                            the robot will be terminated

                            If possible, please give me a sample project to use
                            Thanks

                            1 Reply Last reply Reply Quote 0
                            • M
                              mohsen 2 @s00071609 last edited by

                              @s00071609

                              https://fxdreema.com/shared/imHGJxIze

                              This project works properly when it is in the On Init section.

                              I want this to be checked on every tick

                              But when it is in the On Tick section, it adds the deposit for every tick, it is added like this.

                              I want this to be checked on every tick

                              But when it is in the On Tick section, it adds the deposit for every tick, it is added like this.

                              I want the user to not be able to make any deposits or withdrawals, if he does, it will be terminated

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                s00071609 @mohsen 2 last edited by

                                @mohsen-2
                                https://fxdreema.com/shared/8vrPSkKyc

                                When you load the EA, it calculates the total depsits on init. Then on every tick it checks if new depsosit is made and then terminates the EA

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  s00071609 @s00071609 last edited by s00071609

                                  @s00071609
                                  this should work for both deposit and withdrawal. If the variable deposit saved during init is not equal to on tick deposit value, it terminates
                                  https://fxdreema.com/shared/H3I8zcqO

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    mohsen 2 @s00071609 last edited by

                                    @s00071609
                                    thanks

                                    07d83dde-ae58-4128-855a-70788966a99c-image.png

                                    It gives this message when saving.

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      s00071609 @mohsen 2 last edited by

                                      @mohsen-2
                                      check this one
                                      https://fxdreema.com/shared/H3I8zcqO

                                      M 2 Replies Last reply Reply Quote 0
                                      • M
                                        mohsen 2 @s00071609 last edited by

                                        @s00071609
                                        Thanks😍
                                        Correct

                                        Will it only be terminated if a sum is withdrawn from the account?

                                        I want the robot to be terminated if a sum is withdrawn.

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          mohsen 2 @s00071609 last edited by

                                          @s00071609
                                          How should this code be written for withdrawal?

                                          Because both deposit and withdrawal are important

                                          Now the deposit is done
                                          Does the same code work for withdrawal?

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            s00071609 @mohsen 2 last edited by

                                            @mohsen-2

                                            https://fxdreema.com/shared/3G9oBCClc

                                            this should terminate if withdrawal is detected as well

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

                                            Online Users

                                            B
                                            A
                                            J
                                            D
                                            E

                                            18
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors