OPEN-SOURCE SCRIPT
Ashpi CVD + MACD Alert

MACD Crossing + CVD Support
Red arrows signal short entries above the MACD zero line.
Green arrows signal long entries below the zero line.
Blue arrows indicate a re-entry into an existing long trend (crossing above the zero line), typically on pull-backs.
Yellow arrows indicate a re-entry into an existing short trend (crossing below the zero line).
Time-Frame Setup
- Entry on the 15-second chart
- Confirmation on the 30-second chart
- Trade management on the 1-minute chart (or higher)
Always follow the primary trend: RED = Short, GREEN = Long.
Sequence
1. RED signal appears → enter short
2. During the trade, if a GREEN arrow appears on the pull-back → exit trade, or add to position on a YELLOW arrow if the trend continues
The same applies to long trades and BLUE arrows.
Using EMAs (20, 50, 200) can help you spot structural breaks more clearly.
Signal Strength (Delta Distance to Zero Line)
The strength of each signal is enhanced by displaying the distance (delta) to the zero line in the chart:
- Green numbers mean the delta is already above its 10-period moving average (MA10).
- Red numbers mean the delta is below its MA10.
Identifying Sideways Markets
Use a standard MACD as an additional filter to spot ranging phases.
If YELLOW and BLUE arrows occur frequently in succession, it indicates the two MACD lines are moving very close together—trading such conditions should generally be avoided.
Red arrows signal short entries above the MACD zero line.
Green arrows signal long entries below the zero line.
Blue arrows indicate a re-entry into an existing long trend (crossing above the zero line), typically on pull-backs.
Yellow arrows indicate a re-entry into an existing short trend (crossing below the zero line).
Time-Frame Setup
- Entry on the 15-second chart
- Confirmation on the 30-second chart
- Trade management on the 1-minute chart (or higher)
Always follow the primary trend: RED = Short, GREEN = Long.
Sequence
1. RED signal appears → enter short
2. During the trade, if a GREEN arrow appears on the pull-back → exit trade, or add to position on a YELLOW arrow if the trend continues
The same applies to long trades and BLUE arrows.
Using EMAs (20, 50, 200) can help you spot structural breaks more clearly.
Signal Strength (Delta Distance to Zero Line)
The strength of each signal is enhanced by displaying the distance (delta) to the zero line in the chart:
- Green numbers mean the delta is already above its 10-period moving average (MA10).
- Red numbers mean the delta is below its MA10.
Identifying Sideways Markets
Use a standard MACD as an additional filter to spot ranging phases.
If YELLOW and BLUE arrows occur frequently in succession, it indicates the two MACD lines are moving very close together—trading such conditions should generally be avoided.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。