OPEN-SOURCE SCRIPT

SMA Sell Signal

This is a basic visual showing a sell-signal based on two simple moving averages, intended for daily chart on individual stocks. Two plots show the percent gap of the closing price from the 50d and 10d simple moving averages. A threshold is set for 20% above the 50d and 2% below the 10d.

The sell signal is determined when a stock rises 20% above the 50d simple moving average, and then drops 2% below the 10d moving average within a 10 day window. The moving average, thresholds and window are all configurable.

The sell signal often aligns to an MACD sell signal, however this visualizes the more specific rule as described above.
Moving Averages

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?


Ngoài ra, trên:

Thông báo miễn trừ trách nhiệm