CREDITS to @HPotter for the orginal code.
CREDITS to @Yo_adriiiiaan for recently publishing the UT Bot study based on the original code -

I just added some simple code to turn it into a strategy. Now, anyone can simply add the strategy to their chart to see the backtesting results!

While @Yo_adriiiiaan mentions it works best on a 4-hour timeframe or above, I am happy to share that this seems to be working on a 15-minute chart on e-mini S&P 500 Index (using the KeyValue setting at 10)! You can play around with the different settings, and may be you might discover even better settings.

Hope this helps. Btw, if any of you play with different settings and discover great settings for a specific instrument, please share them with the community here - it will be rewarded back multiple times!

Script open-source

Dans le plus pur esprit de TradingView, l'auteur de ce texte l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur ! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par les règles internes. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


How do I use this? Do I translate the code to a coding platform to read it?... Thx.
+18 Répondre
Thank you for updating the code.
+5 Répondre
Good day. 1.Can you. add a function: set the testing time 2. And the taik profit function, If the price has reached + 10% + 11% + 12% .., set the take profit at 5%, 5.5%, 6 .... That would help a lot, thanks.
+3 Répondre
Hi. Great work! Could you publish it as an indicator with alerts as well? That would be really great since the other indicator doesn´t has so many settings (where you can set RSI, MACD etc.) like yours. Thx!!
Tested this on a gazzilion different eqities from different markets and in different timeframes. It does not work
KirillNET matzero
@matzero, ust for fun, what doesn't work for you? Everything works here, it is clear that the script is laid out here not for beginners, I’ve added a little, changed the parameters and the fire works like. This script, for those who understand, at least a little bit. I consider it to be the most effective trade view today. However, yes, it needs to be adjusted a little, otherwise tomorrow everyone will run to use it.
KirillNET matzero
just for fun I’ll write: script efficiency on sentries for 2019 + 127%, percentage of profitable 64.29%, drawdown 5.37% btc/usdt binance
matzero KirillNET
@KirillNET, I'm on market for 5 years and profitable so maybe know something. This script works on random equities in random situations. I can find four you hundreds of tickers and timeframes where it will simply eat all of your money