fxDreema

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

    Custom Value - Trailing Stop and Trailing Step (Please advise)

    Questions & Answers
    2
    18
    760
    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.
    • John Doe
      John Doe last edited by John Doe

      Hi Team...

      I have put a trailing stop and step in my project. I am trying to create a custom value for the Trailing Stop and Trailing Step as input for these values (Not typed in a constant)

      I have created a formula and added the value to a variable. The problem is that when I select this variable (as input for the Stop or Step) is produces the variable value allocated not the produced formula value.

      Can someone please advise?

      E 1 Reply Last reply Reply Quote 0
      • E
        ehsan1362 @John Doe last edited by

        @John-Doe
        use value as pips

        John Doe 2 Replies Last reply Reply Quote 0
        • John Doe
          John Doe @ehsan1362 last edited by

          @ehsan1362 But of course, that's what is there by default. The algorithm still picks up the value of the variable number on the menu not the produced formula value.

          1 Reply Last reply Reply Quote 0
          • John Doe
            John Doe @ehsan1362 last edited by John Doe

            @ehsan1362 Screenshot_20230702_120547.jpg

            It pics up the values highlighted in orange NOT the values of the Trailing Stop and Trailing Step highlighed Green (These variables produced are the pip values produced/allocated as per formula)

            John Doe 1 Reply Last reply Reply Quote 0
            • John Doe
              John Doe @John Doe last edited by

              @John-Doe

              E 1 Reply Last reply Reply Quote 0
              • E
                ehsan1362 @John Doe last edited by

                @John-Doe
                If I understand correctly, the problem is how you fill your variable. In order for the new numbers to sit in the variable, the variable must be stored in itself

                E 1 Reply Last reply Reply Quote 0
                • E
                  ehsan1362 @ehsan1362 last edited by

                  @ehsan1362
                  means you should have a variable and put it in to another variable for new update numbers . and use the second variable for trailing not the one

                  John Doe 1 Reply Last reply Reply Quote 0
                  • John Doe
                    John Doe @ehsan1362 last edited by John Doe

                    @ehsan1362 That's exactly what I've done. The output variable stored should equate to (as per formula which is correct) let's say 30 value (pips) Trailing Stop as per VARIABLE. The value derived from these variables are NOT picked up by the algorithm, the variable NUMBER assigned is picked up instead (as I've highlighted in orange). I don't know what to do to get those produced values as input into the stop and step.

                    So in other words I've used the formula block and created the output assigned to a variable (trailing stop).

                    This output variable (trailing stop) is then selected as the trailing stop value (pips).

                    The algorithm picks up the variable number and not the variable value calculated (let's say 30)

                    John Doe 1 Reply Last reply Reply Quote 0
                    • John Doe
                      John Doe @John Doe last edited by

                      @John-Doe

                      E 1 Reply Last reply Reply Quote 0
                      • E
                        ehsan1362 @John Doe last edited by

                        @John-Doe
                        maybe its better to use block comment and check your strategy step by step and see What is the output of each step?
                        or even you can share your block ( The desired part or the whole) for checking .

                        John Doe 1 Reply Last reply Reply Quote 0
                        • John Doe
                          John Doe @ehsan1362 last edited by John Doe

                          @ehsan1362 I don't know how to do this but I'm determined, I will look into it after work. I will share better the formula and input blocks later (can't do it from my mobile). Appreciate your help thank you.

                          E 1 Reply Last reply Reply Quote 0
                          • E
                            ehsan1362 @John Doe last edited by

                            @John-Doe
                            You don't need a mobile phone, you can use sharing right here from the top bar of where your block : the project section, create a shared copy ( web link)

                            E 1 Reply Last reply Reply Quote 0
                            • E
                              ehsan1362 @ehsan1362 last edited by

                              @ehsan1362
                              I am a newbie, I just tried to help as much as possible, although I am not fluent enough in English😀 good luck

                              John Doe 1 Reply Last reply Reply Quote 1
                              • John Doe
                                John Doe @ehsan1362 last edited by

                                @ehsan1362 please check your private messages

                                John Doe 1 Reply Last reply Reply Quote 0
                                • John Doe
                                  John Doe last edited by

                                  @ehsan1362 I used the pass blocks and connected them to the formula block. The formulated values are now picked (allocated as variables).

                                  Problem solved. Thank you so much for your help!!! 💪✌️

                                  1 Reply Last reply Reply Quote 0
                                  • John Doe
                                    John Doe @John Doe last edited by

                                    ![alt text](image url)

                                    John Doe 1 Reply Last reply Reply Quote 0
                                    • John Doe
                                      John Doe @John Doe last edited by

                                      Screenshot_20230703_222135.jpg

                                      E 1 Reply Last reply Reply Quote 0
                                      • E
                                        ehsan1362 @John Doe last edited by

                                        @John-Doe
                                        GREAT

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

                                        Online Users

                                        Q
                                        C
                                        T
                                        S
                                        A
                                        M
                                        R
                                        G
                                        G
                                        Y
                                        C
                                        S

                                        33
                                        Online

                                        146.7k
                                        Users

                                        22.4k
                                        Topics

                                        122.6k
                                        Posts

                                        Powered by NodeBB Forums | Contributors