fxDreema

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

    PARTIAL TAKE PROFIT

    Questions & Answers
    4
    8
    4467
    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.
    • S
      shomefun last edited by

      Hi,
      I know you are still working on updating the site. But i have a few issues i will like to remind you.

      1. Condition blocks is not working as expected. example: https://fxdreema.com/shared/0pWUbSRCc
        http://i.prntscr.com/ab6314dd92954d688e ... 7e9303.png

      2. partially take profit is not working as usual.

      3. Block numbers have changed.

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

        Is it possible to set multiple partial take profit levels? If so please explain how. thanks

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

          This was asked before and I don't really know solution. The problem is that if you partially close a trade, the result is a new trade with new ticket number, but with the same OpenPrice as the "mother" trade. At the moment I can't give you solution, because I have some health issues, but I will write to myself to look at this problem, because I was asked for this thing few times already

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

            Ok, I made some updates and here is what we have now:

            partial close at every 10 pips - https://fxdreema.com/shared/q1mwIcAQc
            add to volume at evry 10 pips - https://fxdreema.com/shared/qrTOdbC0b

            There is one big issues as well. Each "pips away" level is calculated from the open price of the previous trade that was made, levels may shift a little bit. I mean, let's say you want 5 levels with 10 pips in between... well, those 10 pips may not be exactly 10 pips

            1 Reply Last reply Reply Quote 1
            • S
              shomefun last edited by shomefun

              Hi,

              i have been working on this for about 2 weeks and still no headway. need your help. What do i do?
              i have attached a snapshot of what i am trying to do.

              once per trade/order
              close partially every 10 pips and stop at 50 pips away from open price.

              is there a way i can get order numbers of each trade and put in a memory for the once per trade/ order block to check before executing.

              Note: it works sometimes and most times it does not.

              Thanks. 😎

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

                Always try to stay away from working with variables (temporary memory). EAs are made to open/modify/close trades and orders, and those trades and orders exist in the database of MetaTrader on the PC and on the server with all their values - SL, TP, OpenPrice, ClosePrice and so on... It's better to work only with those values and stay away from temporary local values that would be deleted forever in case of EA restart.

                https://fxdreema.com/shared/0pWUbSRCc
                http://i.prntscr.com/ab6314dd92954d688e ... 7e9303.png

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

                  Wow. Great.

                  That works fine for me. I will definately stay away from using the temporary memory as recommended.

                  Thank You.

                  1 Reply Last reply Reply Quote 0
                  • ndt113
                    ndt113 @shomefun last edited by ndt113

                    @shomefun

                    omg shomefun. Thats a lot of blocks. What are you trying to accomplish? Can you explain your strategy a little? Looks very interesting by the way.

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

                    Online Users

                    E
                    N
                    N
                    F
                    M
                    A
                    L
                    O
                    S

                    25
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors