OPEN-SOURCE SCRIPT

RSI + Divergences + Alerts [MisterMoTA]

Cập nhật
The indicator RSI + Divergences + Alerts by MisterMoTA is an RSI indicator that fills the RSI and RSI moving average with 4 different colors (growing up, falling up, falling down and rising down colors), users can customize colors from dashboard , also can be disabled the fill if the user want a standard RSI.

The dafault value of RSI is 14 and value of the moving average is 50 ( a dynamic 50 rsi line is better for trend identification than a standard 50 line) and users can change the values from indicator settings.

For detecting the divergences displayed in the indicator, I integrated in our script the default Divergences indicator from Tradingview, users can display, hide and change colors for regular and hidden divergences.

RSI indicator display also trend conditions for RSI and RSI MA, the RSI MA angle is calculated using ATR value, the slope of the RSI Noving Average can help to identify trend conditions too.
ảnh chụp nhanh

The script comes with 12 different alerts, if need different alerts please let me know in the comments and will update the script with your request:

  • Alert for Regular Bullish Divergence
  • Alert for Regular Bearish Divergence
  • Alert for Hidden Bullish Divergence
  • Alert for Hidden Bearish Divergence
  • Alert for RSI Overbought
  • Alert for RSI Extreme Overbought
  • "Alert for RSI Oversold
  • Alert for RSI Extreme Oversold
  • Alert for RSI Crossing Above RSI MA
  • Alert for RSI Crossing Bellow RSI MA
  • Alert for RSI Crossing Above 50
  • Alert for RSI Crossing Bellow 50


Please follow me for other script like this one.

Kind regards,
MisterMoTA
Phát hành các Ghi chú

  1. Removed plotshape function from the divergence script as was generating warnings after latest pine script updates and replaced with label.new.
  2. Set the RSI Moving Average length to default 14, user can change the value to any value they want from dashboard (old default value was 50).
  3. Set the fill to false, if you like to add fill to rsi and MA just click on the checkbox from dashboard
  4. Added trend colors for RSI and RSI MA
  5. Added an RSI lenght 2 and an RSI length 5 with for an extra confirmation for trend direction, users can disable the rsi plots from dashboard.
  6. Added to plots of divergences "display = display.pane", so on scale divergences info to be hidden.
Phát hành các Ghi chú

  • Deleted the moving average fill and the MA label from oscillator
  • Added 3 Higher Tmeframes RSI labels in oscillator
  • Added Input for second and third rsi (default they are hidden now)
  • Added Bullish and Bearish zones and replaced default 40-60 levels
  • Changed default MA type to RMA with a length of 7, as seems is the best setting for MA of the RSI, users can change it anyway to what values and types they want
Phát hành các Ghi chú

  • back to basic simple form as part of rebranding all our indicators and strategies
  • added ob and os fill areas
  • added fill to rsi/ma
  • changed rsi ma to default 14 ema
  • removed the other rsi values, only default 14 rsi value kept
Phát hành các Ghi chú
- added var keyword to table to be displayed in real time the fields of the table and not to wait for close of candles before table rows will be displayed
DivergencedivergencesmultitimeframeRelative Strength Index (RSI)rsi_divergencersidivergence

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm