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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          87 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          47 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          66 views
          2 likes
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          69 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          59 views
          0 likes
          Last Post CarlTrading  
          Working...
          X