fxDreema

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

    Stop Loss according to the Max, Min of the day.

    Questions & Answers
    2
    6
    1166
    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.
    • tcanuto
      tcanuto last edited by

      Hi fxDreema

      I would like to know how I do for the trailing stop of buy follow the maximum of the day, and vice versa to sell.

      I would like to calculate the distance between the maximum and the minimum of the day. This result will be the value of the pips away from the trailing stop.

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

        You can get the maximum and the minimum in different ways. High - Low from the Daily candle or Highest/Lowest price somewhere in Condition. But you should know this, so I guess this is not the problem.

        In the Trailing stop block you have different options for Trailing Stop, I think price fraction would work: http://prntscr.com/eq3vrc But maybe you need to put the difference into a Variable and use that variable there.

        But if you find the difference from the current day, don't forget that at 00:00 all the levels (O, H, L and C) are equal and the difference between High and Low would be very small for some minutes, if not for long hours.

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

          Almost worked. Still with flaws.

          Look here: shared/JuO9OfHWb

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

            For me the above project seems to be right, but it does not work the way I need it. Where should I be going wrong?

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

              @tcanuto, please, take some time to learn how to make things easier! What you are showing me is an example that I need to see... that's ok. But do you think that this example should contain both, Buy and Sell blocks + 2 blocks of TS...

              Here I simplified it a bit. I just want to see the calculated value actually, that's why I added this "Comment" block. But are you sure you want it to be that value? From what I see, in "Formula" block you are calculating the half of the size of the Daily candle. And again, the current candle has 0 size when created and starts to grow from there. I don't think you want to work with that candle.

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

                @fxDreema said in Stop Loss according to the Max, Min of the day.:

                @tcanuto, please, take some time to learn how to make things easier! What you are showing me is an example that I need to see... that's ok. But do you think that this example should contain both, Buy and Sell blocks + 2 blocks of TS...

                Oops .. Truth! I'd forgotten about this.

                Here I simplified it a bit. I just want to see the calculated value actually, that's why I added this "Comment" block. But are you sure you want it to be that value? From what I see, in "Formula" block you are calculating the half of the size of the Daily candle.

                I need the total value of the daily candle for the TS value. Only that.

                And again, the current candle has 0 size when created and starts to grow from there. I don't think you want to work with that candle.

                Okay. Corrected too.

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

                Online Users

                E
                R
                F
                ح
                H
                J
                P
                B

                14
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors