fxDreema

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

    Double Trailing Stop

    Questions & Answers
    2
    3
    984
    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.
    • J
      josecortesllobat last edited by

      Hello

      I am building an EA and I would want to use two trailing stops depending on the price level and the position profit.

      The first TS should work as it is. It means that the SL level is only modified according to its settings (pips and step). For this TS I would like to stop its job when a price level is reached (for example, open price) or the block "Break Event Point" has worked.

      The second TS should work over a threshold.

      I have built an example and I appreciate if somebody can take a look to give me opinion and suggestions because I am not sure this is correct as there are 2 TS blocks.

      0_1512678310401_8f2bec65-3445-4dd9-99fb-f809adf50840-image.png

      Thanks

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

        This block just does what it is supposed to do. When it runs, it works, and it works over any trade (there is a loop inside) that it could find. There is no connection between this block and any other block, its like a black box. So this block doesn't know anything outside its own world. And what it does is to check where is SL compared to the current price, and depending on the settings, to move it.

        1 Reply Last reply Reply Quote 0
        • J
          josecortesllobat last edited by

          Hello fxDreema

          Thanks for your answer. Now I understand better the behavior of the "Trailing Stop" block.

          So, if I have a TS block which is working properly and I have a condition that states: if the price reaches one level, the "modify stops" block move the SL to this level. Should the TS work as it was doing before but from that level?

          Like this

          0_1512822677523_8d760292-7c7b-44b7-bfb1-edb14c2e3af7-image.png

          0_1512823339410_0bac5b77-5cd0-4ee6-afbc-1b75328b374b-image.png

          Thanks

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

          Online Users

          A
          N
          S
          E
          A
          M
          T
          M
          A
          E

          21
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors