Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

building my own Donchian

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

    building my own Donchian

    Could someone tell me method to build my own Donchian indicator? Essentially, there is a data stream that consists the trade prices (e.g. trade[0], trade[1], trade[2], and so on upto trade[n]). My period is j where j < n.

    For example - n = 7, j = 3

    Period - 2
    trade[0] = 100.01
    trade[0] = 100.03
    trade[0] = 100.05

    Period - 1
    trade[0] = 100.02
    trade[0] = 100.07
    trade[0] = 100.04

    Period - 0
    trade[0] = 100.05

    Thanks

    #2
    Hello NaviSharma,

    Thank you for your post and welcome to the forums!

    Could you please elaborate more on what you are looking to do?

    If you just looking to see how the Donchian is done within NinjaTrader you can peek at the code by going to Tools -> Edit NinjaScript -> Indicator... -> Donchian Channel
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

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