Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 futtrader, 04-21-2024, 01:50 AM
          4 responses
          41 views
          0 likes
          Last Post futtrader  
          Started by Option Whisperer, Today, 09:55 AM
          1 response
          11 views
          0 likes
          Last Post bltdavid  
          Started by port119, Today, 02:43 PM
          0 responses
          7 views
          0 likes
          Last Post port119
          by port119
           
          Started by Philippe56140, Today, 02:35 PM
          0 responses
          7 views
          0 likes
          Last Post Philippe56140  
          Started by 00nevest, Today, 02:27 PM
          0 responses
          7 views
          0 likes
          Last Post 00nevest  
          Working...
          X