glenndub

Trend ID with early entry signals

glenndub Uppdaterad   
This script is a combination of two. Firstly a trend is identified as up down or sideways. Higher highs and higher lows makes for an uptrend, lower highs and lower lows similarly allows for a downtrend to be registered. Users can adjust the number of bars to include for detection of the pivot points to increase the accuracy of trend changes but this significantly reduces signals. Sideways movement is determined if the average candle price is within a variance of a short SMA. The SMA follows the close of each candle going back 6 candles by default. The variance is 1% by default so if the price is within 1% of the SMA it's considered sideways and no entries can be issued in this condition.

The indicator is designed to identify the trend for longing or shorting, and then provides the entries based on stochastics converging or diverging (not crosses). The convergence and divergence of stochastics is amalgamated into a short EMA which also has length 6 and can be tuned by the user.

The default values of this script best work on 1h and 2h timeframes for specific pairs like BTCUSD. For other time frames and pairs the settings will need to be tweaked but is possible to identify specific parameters for many different pairs and time frames.

I've written several scripts for personal use however this is my first published script so please use at your own risk! It's not perfect!
Versionsinformation:
Fixed some names of items to be more clear
Added higher timeframes for COINBASE:BTCUSD (4h and Daily) plotted as lines.
Added option to show/hide higher timeframe lines
Added green/orange dots to indicate if candle closes above/below the last Daily close
Added entry based on sup/res breaking and candle close is above/below daily in favor of trend
Added ability to disable Long2/Short2 entries if desired
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 glenndub 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.

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

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