RWi & RVI
Forums › ProRealTime English forum › ProBuilder support › RWi & RVI
- This topic has 6 replies, 2 voices, and was last updated 2 years ago by Erem.
Tagged: random walk index, relative volatility index, rvi, rwi
Viewing 7 posts - 1 through 7 (of 7 total)
-
-
01/16/2020 at 2:44 PM #11698801/16/2020 at 5:11 PM #117001
As to RWI I think this should be the correct interpretation of its formula (give me some feedback):
Random Walk Index (RWI)1234567891011121314151617181920// Random Walk Index (RWI)//// https://tradingsim.com/blog/random-walk-index/// https://www.investopedia.com/terms/r/random-walk-index.asp// http://www.traderpedia.it/wiki/index.php/Formula_Random_Walk_Index// https://rtmath.net/helpFinAnalysis/html/934563a8-9171-42d2-8444-486691234b1d.htm////p = 10 //number of periodsRWIhi = 0RWIlo = 0FOR n = 1 TO p DOATRdiv = AverageTrueRange[n](close[1]) * sqrt(n)//RWIhiX = (high - low[n]) / ATRdivRWIhi = max(RWIhiX,RWIhi)//RWIloX = (high[n] - low) / ATRdivRWIlo = max(RWIloX,RWIlo)NEXTRETURN RWIhi AS "RwiHIGH",RWIlo AS "RwiLOW"As to RVI, I found this one here https://www.prorealcode.com/prorealtime-indicators/builderrvi/, do you think it’s the one you are looking for?
04/16/2021 at 2:36 PM #167261I just realized that the RWI formula above is incorrect, you will find the correct one at https://www.prorealcode.com/topic/rwi-random-walk-index/.
04/20/2022 at 3:41 PM #19197404/20/2022 at 5:18 PM #191981No, thanks. I must have overlooked some details.
04/20/2022 at 10:27 PM #191994Any way it misses ,1 at the end as well. I’ve added it below to make ik complete.
1234567891011121314151617181920// Random Walk Index (RWI)//// https://tradingsim.com/blog/random-walk-index/// https://www.investopedia.com/terms/r/random-walk-index.asp// http://www.traderpedia.it/wiki/index.php/Formula_Random_Walk_Index// https://rtmath.net/helpFinAnalysis/html/934563a8-9171-42d2-8444-486691234b1d.htm////p = 10 //number of periodsRWIhi = 0RWIlo = 0FOR n = 1 TO p DOATRdiv = AverageTrueRange[n](close[1]) * sqrt(n)//RWIhiX = (high - low[n]) / ATRdivRWIhi = max(RWIhiX,RWIhi)//RWIloX = (high[n] - low) / ATRdivRWIlo = max(RWIloX,RWIlo)NEXTRETURN RWIhi AS "RwiHIGH",RWIlo AS "RwiLOW",104/20/2022 at 10:28 PM #191995Thanks for your quick replies, till next time.
1 user thanked author for this post.
-
AuthorPosts
Viewing 7 posts - 1 through 7 (of 7 total)
Find exclusive trading pro-tools on
Similar topics: