Amphibiantrading

Market Stop Light

This indicator shows two signals to help gauge the health of the market. The first is where the price of the Nasdaq is in relation to a selectable moving average (default is the 21 ema) and the second is based on the number of net new highs and lows on the Nasdaq.

Price vs MA
Price is above a rising moving average = 🟢
Price below a falling moving average = 🔴
Price above a falling moving average or below a rising moving average = 🟡

Net highs / lows signal
3 days in a row of net new highs = 🟢
3 days in a row of net new lows = 🔴
Between 3 days either way = 🟡

Configurable options:
- Which moving average to use
- Option to show signal history
- Where to display current data on the chart
- Table size
版本注释:
Version 2 updates
- Chose Nasdaq or SPX for market stop light
- Chose to show net highs / lows for Nasdaq, NYSE or combined NYSE and Nasdaq
版本注释:
fixed a small bug in a function
版本注释:
added color options for table background and text

Trusted Pine programmer. Send me a message for script development.
受保护脚本
该脚本是闭源发布的,您可以自由使用它。您可以收藏它以在图表上使用。您无法查看或修改其源代码。
免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?