OPEN-SOURCE SCRIPT

4x Stochastic and 1x RSI Buy and Sell Signals

已更新
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.
版本注释
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

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明