Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Donchian

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

    Donchian

    Hi Guys
    I'm looking to plot on the current bar the previous upper/lower value of the donchian channel.
    It seems to be stupid but I'm unable to do!
    In fact I'm trying to plot the trigger between the actual close and upper/lower channel.

    It should be something like donchian channel displaced by 1.

    I've read the post on donchian BO but i really did not understand

    Thanks for your help
    Marce

    #2
    Does this not work?

    double upperValue = DonchianChannel(20).Upper[1];
    RayNinjaTrader Customer Service

    Comment


      #3
      Hi Ray, it simply doesn't plot anything.
      I'm really confused!
      Code:
      This plots 
      double upperValue = DonchianChannel(length).Upper[0];
      Plot0.Set(upperValue);
      
      This doesn't plot
      double upperValue = DonchianChannel(length).Upper[1];
      Plot0.Set(upperValue);
      Marce
      Last edited by MrBaffalo; 09-03-2007, 11:14 AM.

      Comment


        #4
        You are going to kick youself for this...

        RayNinjaTrader Customer Service

        Comment


          #5
          Done with if(CurrentBar>1)

          uhm
          Marce

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          579 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          334 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          554 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          551 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X