GrantPeace

Random Walk Simulation

Understanding the Random Walk Simulation

This indicator randomly generates alternative price outcomes derived from the price movements of the underlying security. Monte Carlo methods rely on repeated random sampling to create a data set that has the same characteristics as the sample source, representing examples of alternate outcomes. The data set created using random sampling is called a “random walk”.

First, every bar in the time stamp is measured and put into a logarithmic population. Then, a sample is drawn at random from the population and is used to determine the next price movement of the random walk. This process is repeated fifteen times to visualise whether the alternative outcomes lie above or beneath the current market price of the security.

Random Walk Utility

The random walk generator allows users of the Monte Carlo to further understand how the Monte Carlo projection is generated by creating a visual representation of individual random walks. Trends that occur on the random walks may correlate to the historical price action of the underlying security.

You can find the Monte Carlo Simulator here:
Input Values

Select the “Format”, button located next to the indicator label to adjust the input values and the style.

The Random Walk indicator only has one user-defined input value that can be changed.
The Random_Variable randomises a set of random walks. If this variable is changed, it will run a fresh set of 15 random walks which will result in a slightly different outcome.

Adding the indicator to your chart multiple times using many different random variables will allow you to achieve a more accurate reading. Ideally, the Monte Carlo Simulator takes an average of these to be interpreted.

For more information on this indicator, the full PDF can be found here: www.kenzing.com/product/random-walks/


Kenzing trading indicators for TradingView perform advanced real-time analysis of stock price trends and display alerts that are easy for the average Trader to interpret.


www.kenzing.com
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact GrantPeace for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?

Warning: please read before requesting access.