OPEN-SOURCE SCRIPT

Multi-Indicator Script

This script combines multiple technical indicators to provide buy and sell signals on the price chart. The indicators included are MACD, RSI, CCI, and SMI. Each indicator generates signals based on specific conditions:

MACD: Buy signals are generated when the MACD line crosses above the signal line. Sell signals are generated when the MACD line crosses below the signal line.
RSI: Includes a simple moving average (SMA) of length 14. Buy signals are generated when the RSI crosses above the SMA. Sell signals are generated when the RSI crosses below the SMA.
CCI: Buy signals are generated when the CCI crosses above -100. Sell signals are generated when the CCI crosses below 100.
SMI: Buy signals are generated when the SMI line crosses above the SMI signal line. Sell signals are generated when the SMI line crosses below the SMI signal line.
The script plots green upward triangles for buy signals and red downward triangles for sell signals on the price chart. Each signal is labeled with the corresponding indicator code (MACD, RSI, CCI, SMI) to identify which indicator generated the signal.
OscillatorsPivot points and levelsTrend Analysis

开源脚本

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

想在图表上使用此脚本?

免责声明