fxDreema

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

    MathSrand problem

    Questions & Answers
    4
    36
    6201
    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 @roar last edited by

      @roar ok .. I understand your logic... At the moment the average line is 0, so how to get plus say 10 pips more in profit with the Average line?

      roar 1 Reply Last reply Reply Quote 0
      • roar
        roar @AlphaOmega last edited by

        @alphaomega like this (for sell):
        0_1615076769633_025528d7-bfc9-437a-8406-0c3e608ec257-image.png

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

        AlphaOmega 2 Replies Last reply Reply Quote 0
        • AlphaOmega
          AlphaOmega @roar last edited by

          @roar Thank you Roar!!

          1 Reply Last reply Reply Quote 0
          • AlphaOmega
            AlphaOmega @roar last edited by

            @roar .. I am sorry Roar ... It is not working.. maybe I did something wrong ... will you check please?
            https://fxdreema.com/shared/gFP95nApc
            0_1615077339825_00b27379-22c7-4fcb-8907-da88779ffe27-image.png

            roar 1 Reply Last reply Reply Quote 0
            • roar
              roar @AlphaOmega last edited by roar

              @alphaomega remove that block, it messes up the correct average level:
              0_1615077526622_7e3998d2-84b2-4ad0-8c2c-b88195461904-image.png

              Need small help? Tag me in your post
              Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

              AlphaOmega 1 Reply Last reply Reply Quote 0
              • AlphaOmega
                AlphaOmega @roar last edited by

                @roar I removed it.... it still not working.. I am really sorry to nag you like this, but I can never crack this without your help.
                https://fxdreema.com/shared/t0TqvAGob

                roar 1 Reply Last reply Reply Quote 0
                • roar
                  roar @AlphaOmega last edited by

                  @alphaomega oh, there's one more change:
                  0_1615078069621_465992fc-baa7-462a-81d3-aa6dd7014079-image.png

                  Need small help? Tag me in your post
                  Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                  AlphaOmega 2 Replies Last reply Reply Quote 0
                  • AlphaOmega
                    AlphaOmega @roar last edited by

                    @roar You are the king!!! Thank you, it is working now.. Really appreciate your help!!!

                    1 Reply Last reply Reply Quote 1
                    • AlphaOmega
                      AlphaOmega @roar last edited by

                      @roar ... Hi Roar, Please I need your help again.... there is another bug I am struggling with. The first order gives a strange TP value:
                      0_1615100837561_04208ec6-c12f-4fef-96c1-3fd97f88a333-image.png

                      Where do I set this because I have tried modified the Sell block TP but it has no effect.. Thank you for your help in advance
                      https://fxdreema.com/shared/Aqlp07TYb

                      roar 1 Reply Last reply Reply Quote 0
                      • roar
                        roar @AlphaOmega last edited by

                        @alphaomega naturally your first TP cannot be the average open price, the trade would close immediately, you see...

                        Set something else for the first TP, and dont update the stops after first trade
                        0_1615145533384_a89b757a-9ab0-4d73-ac44-2e28e3daa673-image.png

                        Need small help? Tag me in your post
                        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                        AlphaOmega 2 Replies Last reply Reply Quote 0
                        • AlphaOmega
                          AlphaOmega @roar last edited by

                          @roar Thank you Roar.. it is working excellent!!! I very much appreciate your help.

                          AlphaOmega 1 Reply Last reply Reply Quote 1
                          • AlphaOmega
                            AlphaOmega @AlphaOmega last edited by AlphaOmega

                            @roar .... Hallo Roar.. I need your help again Please. I figured out how to make a counter to stop endless accumulating orders in one direction trend.. Will you please check it. It is working but something goes wrong with it now and again and then put more orders as what it should.

                            I am having a problem of how to Trail stop the last order only placed by expert for when there is a retrace. The idea is, if the last order placed comes in profit, to trail it till stop-out and if price action should continue in the original trend direction to replace similar order where it was original(and continue with the placement of the original negative tree) Check picture
                            Thank you in advance
                            0_1615808741394_Roar Retrace Trailing.PNG

                            https://fxdreema.com/shared/TDteANIYb

                            AlphaOmega 1 Reply Last reply Reply Quote 1
                            • AlphaOmega
                              AlphaOmega @AlphaOmega last edited by AlphaOmega

                              Hallo Roar... I found this thread... will go through it first Thank you

                              https://fxdreema.com/forum/topic/4858/total-profit-reduces-by-x-then-close-everything/9

                              Edit: Roar it only works with total Balance/Equity... I just want the Trail-stop the newest order if there is a retrace and then continue with the negative order tree?
                              Here is the code you suggested with Timmyhanke:
                              https://fxdreema.com/shared/D382vaNlc

                              1 Reply Last reply Reply Quote 0
                              • AlphaOmega
                                AlphaOmega @roar last edited by AlphaOmega

                                @roar Hallo Mr Roar... Have you given my problem some thought? The problem is that I do not want a stop-loss, I only want to trail the last(newest) order if it retrace.. All the threads I have read here deal with the whole account/balance or Equity. If I set the trailing stop and it hits the Stop-loss it also close all my trades in negative.. I do not want that... Thank you in advance

                                EDIT: Hallo Roar.. never mind... I found the problem... I never specified the child trade...

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  mr lenny @AlphaOmega last edited by

                                  @alphaomega why is it very slow on tester bro why

                                  AlphaOmega 1 Reply Last reply Reply Quote 0
                                  • AlphaOmega
                                    AlphaOmega @mr lenny last edited by

                                    @mr-lenny Mine test normal speed.. just check your blocks again

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

                                    Online Users

                                    N
                                    L
                                    A
                                    E
                                    B
                                    P
                                    S

                                    18
                                    Online

                                    146.6k
                                    Users

                                    22.4k
                                    Topics

                                    122.6k
                                    Posts

                                    Powered by NodeBB Forums | Contributors