Random Walk Index

Here you can post and download custom indicators written in JavaScript.

Moderator: admin

Random Walk Index

Postby Alexander.Gettinger » Fri Jun 23, 2017 3:02 pm

The random walk index (RWI) is a technical indicator that attempts to determine if a stock's price movement is random or nature or a result of a statistically significant trend.

RANDOM WALK INDEX FORMULA:
High = MAX((High - Low(n)) / (ATR(n) * SQRT(n)))
Low = MAX((High(n) - Low) / (ATR(n) * SQRT(n)))

The random walk index (RWI) by E. Michael Poulos is a measure of how much price ranges over N days differ from what would be expected by a random walk (randomly going up and down).
A bigger than expected range suggests a trend.
RWI_JS.PNG


Download:
RWI_JS.jsl
(2.52 KiB) Downloaded 576 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Return to JavaScript Indicators and Strategies

Who is online

Users browsing this forum: No registered users and 6 guests