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...
Length Numeric 5 Number of bars used to determine the average true range.
NumATRs Numeric .75 Factor used to calculate a percentage of the average true range, used to
Long and short entry based on a percentage of price movement beyond the average range.
Profitable and simple strategy..