Amphibiantrading

Market Stop Light

Amphibiantrading מעודכן   
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. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?