fxDreema

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

    how to re-open position after take-profit or stop-loss frist tick

    Questions & Answers
    5
    10
    3017
    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.
    • T
      tito78 last edited by

      hello i have make this ea but after take profit o stop loss no re-open position, i need reopen position after take profit or stop loss at frist tick direction condition ,
      thank you

      https://fxdreema.com/shared/BhvRbTvfc

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

        Your EA is a totoal mess. But once I was an absolute beginner too.
        simple mistakes are:

        1. Once per bar on top ? Than the EA will only act once every bar starts ... all other ticks are ignored.
        2. Left from the block title you have a number . For "once per bar" the block number is 20 in your example. You should change these number in a logic order that you want the blocks to execute. 1,2,3,4 etc from top to bottom for example.
        1 Reply Last reply Reply Quote 0
        • T
          tito78 last edited by

          hello thank you but solution not work
          this is ea the right one https://fxdreema.com/shared/uk8O20Xqc but situation non change
          this is reopen only when change direction frist candle ,
          but the problem is not reopen position after take profit or stop loss at frist tick direction condition,
          thank you

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

            I know much bigger messes, this project is still small and everything is ok.

            It's not mandatory to give sequential numbers to the blocks. Those numbers are normally not important - in this project they are not important for sure. Only when you have parallel blocks - when one block is connected to multiple other blocks and there are multiple possible paths - only then blocks with lower number get executed first.

            Once per tick - this block is not needed.

            I tried this EA, but I quickly get out of money. You have too big lot sizes, something like 10 lots. I don't know, maybe you are trying this on a different symbol or with another parameters, but this is what I got - errors that say "Not enough money to trade"

            1 Reply Last reply Reply Quote 0
            • T
              tito78 last edited by

              hi Admin problem is not lots, problem is i need reopen position after take profit or stop loss at frist tick direction condition
              do you have solution?
              thank you

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

                look for "on Trade" section ...

                Between trading and gambling is a very small gap, be careful.

                1 Reply Last reply Reply Quote 0
                • T
                  tito78 last edited by

                  hi Miro thank you but i have already try "on-trade " and not work
                  do you have solution?

                  Thank you

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

                    I don't understand what you mean by "i need reopen position after take profit or stop loss at frist tick direction condition". I see that the position is being closed by SL or TP... but I don't understand what happens next

                    1 Reply Last reply Reply Quote 0
                    • T
                      tito78 last edited by

                      Reopen the closed position immediately to the next and first tick,

                      timmyhanke 1 Reply Last reply Reply Quote 0
                      • timmyhanke
                        timmyhanke @tito78 last edited by

                        @tito78

                        On trade

                        Trade closed - buy / sell

                        You can even specify if it were closed by take profit or stoploss.
                        Like if it hit take profit you can specify that and let it have another shot ☺

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

                        Online Users

                        A
                        T
                        M
                        E
                        C
                        B
                        T
                        P

                        20
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors