Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Random Walk Index

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

    Random Walk Index

    Hello,


    i have a question about the RWI. Use RWI someone in NinjaTrader and can publish the code for it. I have try to understand how i must writing but its so hard. I have it in Prorealtime, but there i can only backtesting one Underlaying in NinjaTrader can backtesting complete Underlayings.

    It were so great. I use the follow code in Prorealtime.

    Code:
    b=0
    d=0
    for i=1 to n do
    	a=(high-low[i])/((averagetruerange[i](close[1]))/SQRT(i))
    	b=max(b,a)
    next
    for i = 1 to n do
    	c=(high[i]-low)/((averagetruerange[i](close[1]))/sqrt(i))
    	d=max(c,d)
    next
    if b<1 then
    	e=-1
    else
    	if d< 1 then
    		e=1
    	else
    	endif
    endif
    f=-2
    ligne=1
    return b as "rwi high",ligne as "ligne1",d as "rwi low",f coloured by e
    n = period (64)

    it were nice when can someone help.


    Silvio

    #2
    I would unfortunately not be aware of a direct port, but the Fractal Dimension might be a good starting point as it falls into the same category - http://www.ninjatrader.com/support/f...90&postcount=1

    Comment


      #3
      Hello,

      yes thank u then i have installed but is not so same. Because they plot not the RWI only the other on chart.


      Regards
      Silvio

      Comment


        #4
        Correct, they would not be the same, but perhaps a start for you - if you would like to get the RWI coded up / ported to NT you can consider contacting a consultant - http://www.ninjatrader.com/partners#...pt-Consultants

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        177 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        332 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        254 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        356 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        184 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X