OPEN-SOURCE SCRIPT

MACD crossover while RSI Oversold/Overbought

已更新
This indicator draws signals on the chart when a Bullish MACD Crossover occurs at the same time RSI is "oversold", and also when Bearish MACD Crossover occurs at the same time RSI is "overbought"


Indicators are drawn on the chart in the following scenarios:

1. Bullish signal
a. MACD bullish crossover occurs on a single bar
b. RSI was below the Oversold threshold (29 by default) within the prior 5 bars

2. Bearish signal
a. MACD bearish crossover occurs on a singnle bar
b. RSI was above the Overbought threshold (71 by default) within the prior 5 bars
發布通知
Removed other distractions off sample chart to give a better idea of the overlay indicators
Moving Average Convergence / Divergence (MACD)macdcrossmacdcrossingmacdcrossoverRelative Strength Index (RSI)

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明