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 bmartz, 03-12-2024, 06:12 AM
          4 responses
          31 views
          0 likes
          Last Post bmartz
          by bmartz
           
          Started by Aviram Y, Today, 05:29 AM
          4 responses
          12 views
          0 likes
          Last Post Aviram Y  
          Started by algospoke, 04-17-2024, 06:40 PM
          3 responses
          28 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by gentlebenthebear, Today, 01:30 AM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by cls71, Today, 04:45 AM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X