Example execution of Monte Carlo Simulation applied to the markets(this is my interpretation of the algo so inconsistencys may appear).
- the algorithm is very demanding so performance is limited.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.
so let me ask you when do we know if its long or short?
I have noticed a potential issue that when new bars are loaded, the Monte Carlo stops predicting. Is there a way to reset calculations when a new bar is loaded ? the only other way it can start working is when it is deleted and re-added to the chart