Yidu_A_S_O_T_L_J_C

The Perfect Support & Resistance

Support & Resistance drawn based on overbought & oversold RSI . where the overbought acts as resistance and oversold acts as support.

It has 2 levels (for support and resistance - i call them level_n_high or level_n_low) for each lookback period. it checks the highest pivot and the lowest pivot based on the lookback period then we compare if rsi is higher than the highest pivot or the lowest pivot and we also check if rsi is overbought or oversold and if the statement is true, then we assign the high to the variable level_n_high or level_n_low. n being the number of levels. in total there are 5 levels with both high & low for 5 lookback periods. This is basically how the code works.

these levels can be accessed at any timeframe. the defaults are 5m and 30m.

RSI settings: (default)
-------------------
  • length - 14
  • source - close
  • overbought - 70
  • oversold - 30

lookback settings: (default)
---------------------
  • lookback_0 - 200
  • lookback_1 - 100
  • lookback_2 - 50
  • lookback_3 - 20
  • lookback_4 - 10

Timeframe Settings: (default)
-------------------
  • htf1 - 5m
  • htf2 - 30m
Enjoy!

Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?