theheirophant

Trendgetter: Trend Detection, Regime Change, Bias Filter by [CR]

Trendgetter: Trend Detection, Regime Change, Bias Filter by Cryptorhythms

“If you are not a trend setter, at least be able to exploit the ones you see.”
― Jeffrey Fry

Intro
Cryptorhythms back again with a members only indicator for trend capture this time! Trendgetter is not crypto specific and can be applied to a variety of timeframes, markets, and tickers. Its meant to be a general purpose trading aid and bias filter, providing reliable trend, bias and regime change information.

Introduction
This indicator relies upon various methods related to probabilities/statistics, digital signal processing and data science to predict optimal fair local price given any financial time series data. The goal was to create a tool that isolates trends and captures their bias, making it easier to follow a noisy market. The focus is making high hit rate uncorrelated returns to your base market.  The way in which this indicator is constructed is not based upon any previous public work, and was researched and refined over a period of 6 months of trading and testing based on my own personal trading experiences and observations of the market.  I use novel techniques I developed in house to denoise the data and determine a local fair price.

Description
The parameters in this indicator are mostly fixed and do not lend themselves to overfitting. So when you find good settings, its probably legit and not a false positive.  They were pre-determined based on my own testing and research to handle almost all possible combinations of price action for determining trends.  By fixing some parameters, you automatically reduce the chances of overfitting to historical data.  The pre determined levels were carefully chosen after many options were considered.

Not just a bias filtooor, fair price predictooor and regime change detectoooor though! TG also provides a price envelope feature which shows a likely fair price range that price will distribute itself upon. Above or below the envelope indicates the presence of a very strong trend. Within the envelope indicates consolidation, but still conforming to the bias.  TG then uses a statistics-based approach to display a likely range that price could potentially travel over the near term which we called a price envelope.

An additional option provides background coloration when there is the potential for a regime change on the trend bias. This can be used as a feature to help you manage your trades risk.  This is simply measured by an internal (non exposed) script value returning to a mean which triggers the color to appear.

Further Explanation of Settings
-Timeframe:  Change the timeframe the indicator is calculated on allowing you to for instance use the 15m Trendgetter output while remaining on the 5 minute chart.

-Trend Capture:  This is the "type" of trend you are trying to follow.    The different options will attempt to find the trends at various levels of noise cancellation within the lookback period you specify.  "Reactive" means it will quickly change its bias and capture smaller trends.  "Slow" means it will filter more noise and capture larger trends.   "Adaptive" is completely in its own class of behavior and was my attempt to mix both a slow and reactive profile into one setting, it uses a few market metrics like volume and volatility to adjust parameters on the fly.

-Sample Length: Bars to consider in the calculation.  Using large numbers here is not going to help, but rather hurt your results.    Generally 10-100 is the range you should use for the best results. The exact value will depend on the timeframe, volatility and market/asset you are trading, and you should experiment to find it. (There is no "one size fits all" for potential trading situations)

-Source:  Data series used for calculation.  I recommend hlcc4 or hl2 or hlc3 instead of just "close."  This will help to pre process a noisy data series for the rest of the algo.

-Certainty Level:  This setting effects how easily the indicator will confirm a new trend and change its bias. " Reactive" does just as it says and will confirm new regimes faster, but can also lead to false signals or "flip flop" in certain types of price action.  "Slow" will change biases less frequently or in conjunction with large moves - but this level of certainty requires the sacrifice of reactivity meaning its a bit laggy  (but thats ok when you are following a larger trend). "Medium" is as you would expect the middle ground between reactive and slow.  Lastly "Adaptive" tends to fall between reactive and medium in its behavior typically, but it will somewhat adjust itself to suit the variability of market conditions.

-Price Envelope:
-----My own personally created price distribution spread (not monte carlo based)
-----Above or below the envelope indicates the presence of a very strong trend.  You should not be fading a trend when its in this position!
-----Within the envelope indicates consolidation, but still conforming to the bias.

User Requests:
Of course we also listen to the needs of our members and added these features upon request.
-Added dark mode and light mode themes.
----Dark Mode is for dark/black charts and uses lighter colorations
----Light mode is for light/white charts and uses darker colorations
-More updates to display and color selection options such as background colors and fill colors.

Twitter - www.twitter.com/cryptorhythms
Cryptorhythms Group Chat - t.me/cryptorhythms
Endast inbjudanskript.

Tillgången till detta skript är begränsat till användare som har godkänts av författaren och kräver vanligtvis betalning. Du kan lägga till det till dina favoriter men du kan bara använda det efter att ha begärt och fått författarens tillstånd. Kontakta theheirophant för mer information eller följ författarens instruktioner här under.

TradingView rekommenderar inte att du betalar för ett skript och använder det om du inte litar till 100% på författaren och förstår hur skriptet fungerar. I många fall kan du hitta ett bra alternativ med öppen källkod gratis i våra Community skripts .

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Författarens instruktioner

Indicator is reserved for members to prevent decay as long as possible. You can view my signature at the bottom of this post for more information on membership. Membership seats are also capped each year so its FCFS basis (as of 3/20/2023: 7/10 filled)

Vill du använda det här skriptet i ett diagram?

Varning:Var god läs innan du begär åtkomst.