fxDreema

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

    auto place stops

    Questions & Answers
    4
    16
    1556
    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.
    • Zackry
      Zackry last edited by

      i know there is a block to modify stops but is it require the trade to already have stops in order to modify them
      my question is , is there a way for the ea to place the stops automatically ?
      i mean if i open a trade manually , the ea places the stops accordingly.

      A 1 Reply Last reply Reply Quote 0
      • A
        ambrogio @Zackry last edited by

        @zackry Hi, maybe this way? I have not tried

        0_1586632886878_Cattura.JPG

        Zackry 1 Reply Last reply Reply Quote 0
        • Zackry
          Zackry @ambrogio last edited by

          @ambrogio I already tried that but it does not work...
          The " modify stops " block can only modify the stops if the trade is opened with a stop, but what I am trying to do is when the trade is opened manually without any sl or tp, the ea places the stops on that particular trade...

          1 Reply Last reply Reply Quote 0
          • l'andorrà
            l'andorrà last edited by

            You need to add a 'For each trade' block between both of them for it to work.

            (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

            (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

            (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

            Zackry 2 Replies Last reply Reply Quote 0
            • Zackry
              Zackry @l'andorrà last edited by

              @l-andorrà I don't think "for each trade" block will work, because in the end their is still that "modify stops" block, which will only modify the already placed stops, I don't think this block has the capability to place a stop if there is no stop

              X 1 Reply Last reply Reply Quote 0
              • X
                Xfire @Zackry last edited by

                @zackry i did with another way.

                I put 2 buttons for buy and sell on the chart and if I need open position manually I using them. then EA knows what happened and can control the positions.
                i created with a separate group just for manually position

                IN GOD WE TRUST

                Zackry 1 Reply Last reply Reply Quote 0
                • Zackry
                  Zackry @Xfire last edited by

                  @xfire yeah i thought about that but the problem is my main objective is to open trade on my phone cuz its more convenient , and keep the ea running on my laptop , so even if i am outside i can place the trade from my phone and the ea automatically places the sl and tp
                  modifying the stops is easy once there is a stop on the chart but the problem is if there isnt any stop with a trade then what ? how do we place a stop for a manually opened trade ?

                  X 1 Reply Last reply Reply Quote 0
                  • X
                    Xfire @Zackry last edited by

                    @zackry ok, i understand. you need a Pro programmer created a phone app for you 🙂

                    please try this way
                    0_1586683047679_Annotation 2020-04-12 191629.png

                    IN GOD WE TRUST

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

                      i did find this mql4 version of an ea which does something similar, 0_1586683050024_RoNz Auto SL-TS-TP.mq4

                      if someone good in coding can take a look at the code and help me put it in fxdreema i will highly appreciate it , cuz when i try it on my own , i get lots of errors

                      1 Reply Last reply Reply Quote 0
                      • Zackry
                        Zackry @Xfire last edited by Zackry

                        @xfire hmmmm interesting but isnt the bucket of trade used for getting the information from the trades , instead of adding the information to the trade?
                        but according to my understanding , modify stops block will only work if there is a stop already placed with the trade , if there is no stoploss that block can not modify it
                        "modify stop " block can not modify something that does not exist
                        in order for it to modify , it needs the sl or tp already placed
                        or am i wrong

                        X 1 Reply Last reply Reply Quote 0
                        • X
                          Xfire @Zackry last edited by

                          @zackry no Modify stop can add or remove or change SL and TP
                          if you put 0 it means to remove

                          you try with bucket i think it working

                          IN GOD WE TRUST

                          1 Reply Last reply Reply Quote 0
                          • Zackry
                            Zackry @l'andorrà last edited by

                            @l-andorrà

                            @l-andorrà said in auto place stops:

                            You need to add a 'For each trade' block between both of them for it to work.

                            so i was wrong , modify stops do place the stops even if there is no stops initially

                            but there seem to be an issue , the ea places the stop most of the times , but sometimes it doesnt place the the stop https://fxdreema.com/shared/TX3Uhmjsc can you have a look and see whats going on ?

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              ambrogio @Zackry last edited by

                              @zackry Oh yes, I've seen this flaw on mt5 several times, I've remedied by putting the conditions in the "on tick" section like "if position" once per position "modify stop", if i remember well

                              Zackry 2 Replies Last reply Reply Quote 0
                              • Zackry
                                Zackry @ambrogio last edited by

                                @ambrogio well looks like I'll have to do it on tick as well, because if I leave it on mt5 mercy then it's gonna mess up whole thing 😂

                                1 Reply Last reply Reply Quote 1
                                • Zackry
                                  Zackry @ambrogio last edited by

                                  @ambrogio yep its now working like a charm , apparently the "on tick" tab is much more effective then the on trade

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    ambrogio @Zackry last edited by ambrogio

                                    @zackry good!! 🙂

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

                                    Online Users

                                    R
                                    F
                                    S
                                    D

                                    17
                                    Online

                                    146.7k
                                    Users

                                    22.4k
                                    Topics

                                    122.6k
                                    Posts

                                    Powered by NodeBB Forums | Contributors