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 SalmaTrader, 07-07-2026, 10:26 PM
          0 responses
          24 views
          0 likes
          Last Post SalmaTrader  
          Started by CarlTrading, 07-05-2026, 01:16 PM
          0 responses
          14 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 06-17-2026, 10:32 AM
          0 responses
          9 views
          0 likes
          Last Post CaptainJack  
          Started by kinfxhk, 06-17-2026, 04:15 AM
          0 responses
          10 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by kinfxhk, 06-17-2026, 04:06 AM
          0 responses
          17 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Working...
          X