There are 2 alerts, one for a long condition and one for a short condition.
CRITERIA FOR ALERTS:
Long condition happens when the k value of the Stochastic RSI crosses above the d value AND the Rate of Change formula shows we are not going sideways
Short condition happens when the k value of the Stochastic RSI crosses below the d value AND the Rate of Change formula shows we are not going sideways
I have altered the plotting slightly to better suit an indicator.
Green background = long signal
Red background = short signal
White background = no trade/sideways zone
發行說明
Added bar colors to identify signals on the chart - blue = long, yellow = short, grey = sideways
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. 您可以收藏它以在圖表上使用。