UT Bot Strategy with Backtesting Range [QuantNomad]

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 allows you to swich to signals from Heiking Ashi. I saw that author uses HA for the indicator and on HA it look much nices then on real candles.
Do not add this strategy to HA candles, use usual candles and this checkbox.

Original script:

UT Bot
Skript med en öppen källkod

I sann TradingView-anda har författaren till detta skript publicerat det som öppen källkod, så att handlare kan förstå och verifiera det. Skål för författaren! Du kan använda den gratis men återanvändning av den här koden i en publikation regleras av våra Ordningsregler. Du kan göra den till favorit för att använda den i ett diagram.

Vill du använda det här skriptet i ett diagram?
Pine Programming: https://qntly.com/pineprog
Advanc. Pine Use-Cases: https://qntly.com/advpine

Access to Pro Indic.: https://qntly.com/proind

YouTube: https://qntly.com/youtube
Discord: https://qntly.com/discord
Telegram: https://qntly.com/tel


lLooks good, maybe someone is able to make it more acurate or to filter out signals in ranging market
+7 Svara
Looking Good! Will you be able to do Alerts in Pin4 for this? Thank you!
+4 Svara
ArgosyExponential Princecrypto
@Princecrypto, so far creating alerts based on this gives rewrite warnings, watching it for now and waiting for author input.
+3 Svara
Princecrypto ArgosyExponential
MarxBabu Princecrypto
@Princecrypto, i have something with alert please check them out
@MarxBabu, okay I will check it out!
how would you at buy and sell alerts for bot triggers?
is good for range markets thanks
how to add condition for intraday in this script? For example I want to trade only from 9:30AM to 3:00PM Indian Time(IST)??
QuantNomad vacabeg363
@vacabeg363, define a session something like this: session = input("0900-1700:1234567")
condition will be something like that: t = not na(time(timeframe.period, session))
now you can add this condition to entries to filter them