Amphibiantrading

Market Stop Light

Amphibiantrading Uppdaterad   
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
Versionsinformation:
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
Versionsinformation:
fixed a small bug in a function
Versionsinformation:
added color options for table background and text

Trusted Pine programmer. Send me a message for script development.
Skyddat skript
Detta skript publiceras med stängd källkod och du kan använda det fritt. Du kan ange den som favorit för att använda den i ett diagram. Du kan inte visa eller ändra dess källkod.
Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?