UT Bot indicator was inially developer by @Yo_adriiiiaan
Idea of original code belongs @HPotter
I can't update my original UT Bot Strategy so I publishing new strategy with backtesting range included.
I just took code of Yo_adriiiiaan, cleaned it, deleted all useless pieces of code, transformet to v4 and created a strategy from it.
Also I added an input that...
Adapted ATR that i am using in BTC 15M charts. It is an usual ATR-Stop smoothed by a VWAP and a VWMA.
This crazy config i am using only for BTC, but i found others configs with others assets, like brlusd contracts.
You can turn off the barcolor function and change the lenght of the VWAP and VWMA.
The old adage goes "Cut losers fast and let the winners run"
With this in mind, this will plot a dynamic trailing stop by subtracting any multiplier of the Average True Range (ATR) from the SMA of your choice.
This script takes advantage of the Pearson's R attribute of the data set you provide.
Pearson's R attempts to find how correlated data is with a potential pattern. If the number is negative the correlation is upwards. If it's positive the correlation is downwards. Pearson's R can only be a number between -1 and 1. It should be impossible to ever reach -1 or...