Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Dinamic Fibo

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Dinamic Fibo


    Hello, I'm trying to draw a dynamically updating fibo based on the swing indicator. I attach the code. As you can see, it works perfectly for LONG, the end being set at the maximum set. However, for SHORT, applying the logic in the reverse direction, the fibo drags to the low of the last candle. Is there any solution? Thank you
    Last edited by kunkun80; 08-07-2020, 09:09 AM.

    #2
    Look at this code,

    Code:
                 // swing finalizado
                if (Low[0] < Swing1.SwingLow[0])
                {
                    LookMax = 0;
                }
    this code does not appear opposite,

    Code:
                 // swing end
                if (High[0] < Swing1.SwingHigh[0])
                {
                    LookMin = 0;
                }
    Is that a problem?

    Shouldn't that last code use the '>' operator?

    Comment


      #3
      To NT Support:
      This is an NT8 strategy, and should be moved to the NT8 forums.

      Comment


        #4
        Solved! Thanks!!!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by jerminedop, Today, 12:18 AM
        0 responses
        6 views
        0 likes
        Last Post jerminedop  
        Started by cnzaxtoil, Yesterday, 11:38 PM
        0 responses
        4 views
        0 likes
        Last Post cnzaxtoil  
        Started by cnzaxtoil, Yesterday, 11:37 PM
        0 responses
        3 views
        0 likes
        Last Post cnzaxtoil  
        Started by sukhob, Yesterday, 04:27 PM
        1 response
        14 views
        0 likes
        Last Post zacharydw00  
        Started by Bmnaiorwsd, Yesterday, 07:52 PM
        0 responses
        4 views
        0 likes
        Last Post Bmnaiorwsd  
        Working...
        X