Amphibiantrading

Market Stop Light

Amphibiantrading Mis à jour   
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
Notes de version:
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
Notes de version:
fixed a small bug in a function
Notes de version:
added color options for table background and text

Trusted Pine programmer. Send me a message for script development.
Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?