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!

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?