OPEN-SOURCE SCRIPT

4x Stochastic and 1x RSI Buy and Sell Signals

Mis à jour
Buy signal (green), when Stochastic 9, 14, 40 and 60 are bellow 20.
Sell signal (red), when Stochastic 9, 14, 40 and 60 are above 80.
Buy signal is larger, when RSI is also bellow 30.
Sell signal is larger, when RSI is also above 70.
Using RSI is optional and can be disabled.
Use this signals when confirmed by another indicators, like support and resistance levels, EMAs and fundamental analysis.
Notes de version
The script was created to simplify the analysis of four Stochastic indicators and one RSI simultaneously, combining them into a single coherent buy or sell signal. The script is suitable for trading any asset: stocks, futures, currencies. The goal is to identify a local price low or high to indicate a potential moment for buying or selling (long or short positions).

The intended use of the script assumes the simultaneous utilization of four Stochastic indicators on four different timeframes. By default, these are 9, 14, 40, and 60. The indicator helps identify price lows or highs if all four Stochastic indicators are below 20 or above 80.

  • Buy Signal (green rectangle at the bottom of the screen): Triggered when all four Stochastic indicators are below 20.
  • Sell Signal (red rectangle at the bottom of the screen): Triggered when all four Stochastic indicators are above 80.


An additional optional parameter is the RSI, which serves to strengthen the signal from the Stochastic indicators. If the Stochastic indicators show a buy or sell signal and the RSI simultaneously indicates oversold or overbought conditions, the buy or sell signal is displayed as a larger rectangle at the bottom of the screen.

Usage Strategy:
Looking for deeper price lows or highs should be supplemented with confirmation from other methods. Recommended tools include Price Action analysis, support and resistance analysis, and fundamental analysis of the company.
Relative Strength Index (RSI)Stochastic Oscillator

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité