fxDreema

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

    Help with trailing of my ea [fixed] another question

    Questions & Answers
    2
    7
    1783
    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.
    • L
      Lou last edited by

      Hi Fxdreema, I've done a ea which do a simple list of checks and put a order with the blocks Buy now or Sell now. In detail the ea is composed by a 1st block: No trade/order exist. If that condition is verified the ea do a check list of conditions then it operate.
      Now I need that the ea trail at the same time the take profit and the stop loss, is it possible? maybe with two block Trailing stop (each trade) connect to the first block, one for take profit and one for stop loss?
      if I insert initial value of stop loss and take profit in buy now/sell now block the Trailing stop block will start by that value?
      if is not possible to trail at the same time stop loss and take profit, how can I trail only stop loss after a profit on X pips?
      thanks

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

        Two blocks are needed here. You can find the setting to trail SL or TP inside. Now I realize that I can add option "Both", but anyway. You can also find options for where to start trailing - "Trailing Start". If there is no initial SL (or TP) it will be created, otherwise it will be treated as existing... the same as when the trailing block moves it itself.

        1 Reply Last reply Reply Quote 0
        • L
          Lou last edited by

          thank's for the answer, I think to have undestand, I set to no stop loss in buy now and sell now block, then I set in trailing stop block the number of pips for stop loss and the number of pips from where it starts in trailing start

          1 Reply Last reply Reply Quote 0
          • L
            Lou last edited by

            Hi Fxdreema, thank's for the help about trailing, it works as I want. Now I need the ea, after close a order with the trailing wait that the price comes back to the middle value of the bollinger bands.i ve tried with a block of condition that improve that separate from the rest and a cuople of istructions after as a pass block, but the ea opens before that. I also tried to put the conditions after trailing stop block but it don t work too. So where i'm wrong?
            Another question:is possible to set a x number of order to open for every chart?

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

              I think you need to understand some basics like this one here: https://fxdreema.com/demo/mt4-wrong-closing-rule

              Such value is not collected, but with some Variable, why not.

              1 Reply Last reply Reply Quote 0
              • L
                Lou last edited by

                Hi Fxdreema, thank's for the answer. I've red the condition to close trades.
                I think I've not explain correcty my doubt (or I have not understand how to make ea work correctly).
                so my ea it's made by:
                1- no trade/order exists block (which is connected the trailing stop block, and these blocks works good)
                2- 3 conditions blocks (a block with conditions of price on the upper bands of the bollinger bands + a time bomb UP block + a new top on trend block) these are enter conditions
                3- once per bar block
                4- buy now block (with the initial stop loss)
                So the ea enter and walks on the upper bollinger bands.
                the condition to stop is the trailing stop one, which start from the "trailing start" parameter.
                I've no a closing rule by now. Now the price is near the upper bollinger bands and, if there's no a trend, the price comes back to the average value. Is not possible to make ea wait that the price cross or is equal to the average value, and only after that wait to verify the condition to open another trade?
                if I set a closing rule for the price equal to the average value the ea close immediately the order or the trailing stop block has more relevance?
                THank's again

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

                  Some picture maybe? 🙂

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

                  Online Users

                  M
                  F
                  C

                  9
                  Online

                  146.8k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors