fxDreema

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

    Buy-Sell EA

    Questions & Answers
    3
    61
    15790
    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
      Satoriforex2k18 last edited by

      I have succesfully created an EA, which buys & sells when the SMA5 crosses above SMA10 & sells vice versa. However, the SL is not fixed, moves with price.
      0_1568041208744_4349c3e6-f985-4299-9d5b-00762dd6cb02-image.png

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

        @satoriforex2k18 Hi, remove the link from "trailing stop" block and let me know

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

          I will but i wanted the EA to have a trailing stop.

          A 1 Reply Last reply Reply Quote 0
          • S
            Satoriforex2k18 last edited by

            It still does move with the bars, its not fixed

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

              @satoriforex2k18 here you go

              0_1568055839005_img.JPG

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

                this is what i tried, i want TSL to move & stay 500 pips from buy/sell price when pricelevel hits 1000 pips from buy/sell
                0_1568063600109_ead1da3c-2b71-42a7-b0a1-e6a327b10abb-image.png

                T 1 Reply Last reply Reply Quote 0
                • T
                  trader.philipps @Satoriforex2k18 last edited by

                  @satoriforex2k18 I'd place a "if trade" block before the for each block. Are you sure about 1100 pips? That would be 11000 points!!! It may take a while till that condition is met if ever.

                  I like to share my knowledge, but expect the others to contribute as well.

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Satoriforex2k18 @trader.philipps last edited by

                    @trader-philipps

                    i want to use the EA on ViX 75, hence the 1100 pips. See below link as this is how i would like to see the TSL work
                    https://support.3commas.io/hc/en-us/articles/360010887654-Trailing-Stop-Loss-follow-the-trend

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

                      @satoriforex2k18 now it's clear, you should put the right setting of the pips value of the tool you want to trade in the project options

                      0_1568120747201_img.JPG

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

                        @ambrogio Thanks, but the minimum i would prefer is 100 pips, as you know how ViX75 moves. Would you advise of the format....

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

                          @satoriforex2k18 please, make a screenshot of marke watch like this, with your ViX75 and spread column

                          0_1568131691376_img.JPG

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

                            0_1568134826550_fb6a0f2f-504a-4f5b-8bab-652cf2b735d1-image.png

                            there you go. I really appreciate your support

                            A 1 Reply Last reply Reply Quote 0
                            • T
                              trader.philipps last edited by

                              @Satoriforex2k18 Coming back to your initial question. The link you provided shows from my perspective a regular trailing based on pips. You just have to specify the right numbers to the start and step values.
                              Or do I misunderstand you?
                              In that case you can use a regular trailing stop block. Assuming that your TSL should stay 500 pips away from last high (when in profit) you'd specify trailing start 1000 and trailing step 500. Hence price always has room for retracing 500 pips from last high. Is that correct?

                              I like to share my knowledge, but expect the others to contribute as well.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                Satoriforex2k18 @trader.philipps last edited by Satoriforex2k18

                                @trader-philipps that's right, please advise of the trailing stop block to use...

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  trader.philipps @Satoriforex2k18 last edited by

                                  @satoriforex2k18 From what you wrote I understood this:

                                  0_1568137396200_07325485-14ec-4b02-abc3-c39d00140152-image.png

                                  But be careful with the spread.

                                  That means:

                                  Trailing start: Price has to travel 1000 pips in order to start the trailing
                                  Trailing step: Price has to mover another 500 pips until next SL adjustment
                                  Trailing stop: distance from current price, when adjustment takes place

                                  I use Once per bar as a time filter as it is sufficient for my requirements. You may want to use a different time filter or don't use it.

                                  I like to share my knowledge, but expect the others to contribute as well.

                                  S 2 Replies Last reply Reply Quote 1
                                  • A
                                    ambrogio @Satoriforex2k18 last edited by

                                    @satoriforex2k18 what's the price 289829.......?

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

                                      @ambrogio yes

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

                                        @satoriforex2k18 i don't see the price, what's the price?

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

                                          @ambrogio 0_1568140491853_64bf5ae6-ca7e-43e0-a896-e69e26e44635-image.png

                                          A 1 Reply Last reply Reply Quote 1
                                          • S
                                            Satoriforex2k18 @trader.philipps last edited by

                                            @trader-philipps you advise i change my pink blocks to what you suggested as per screen shot?

                                            T 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post

                                            Online Users

                                            K
                                            E
                                            S
                                            I
                                            G
                                            F
                                            A
                                            I
                                            E
                                            D
                                            O
                                            A
                                            J

                                            24
                                            Online

                                            146.6k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors