Logo Gf Dma Health Index

Gf Dma Health Index

Cộng đồng
haskaomni
gf-dma-health-index

Chấm điểm sức khỏe định giá/xu hướng hiện tại của một cổ phiếu bằng GF-DMA Health Index, kết hợp tốc độ tăng trưởng cơ bản, tốc độ xu hướng 20/50/100/200DMA, độ lệch giữa giá và DMA, độ lệch ATR, tỷ lệ bứt phá và các điều chỉnh dự báo. Dùng khi người dùng cung cấp mã cổ phiếu hoặc hỏi về chấm điểm GF-DMA, sức khỏe định giá, sức khỏe xu hướng, đà tăng lành mạnh, nguy cơ quá nóng/bứt phá hoặc liệu cổ phiếu tăng/giảm có được yếu tố cơ bản hỗ trợ hay không.

Add to TypingMind

Tổng quan

Nhà phát hànhhaskaomni
Kho mãserenity-skill
Tên kỹ nănggf-dma-health-index
Sao
633
Bản fork
97
Tệp đi kèm
2
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được haskaomni công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Gf Dma Health Index trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/haskaomni/serenity-skill/tree/main/skills/gf-dma-health-index
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/haskaomni/serenity-skill.git /tmp/serenity-skill
mkdir -p .claude/skills
cp -r /tmp/serenity-skill/skills/gf-dma-health-index .claude/skills/gf-dma-health-index
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Gf Dma Health Index trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Gf Dma Health Index ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Gf Dma Health Index với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

GF-DMA Health Index

Core Idea

Evaluate whether a stock's current price trend is supported by fundamental speed and moving-average structure.

Use the index to answer:

text
Is the current price trend supported by revenue growth, profit growth, estimate revisions, and the 20/50/100/200DMA system?

Treat results as research analysis, not investment advice. For latest/current scoring, verify data from current sources before calculating.

Required Inputs

Collect the newest available data before scoring:

  • Price/technical data: latest price, 20DMA, 50DMA, 100DMA, 200DMA, ATR20, 5-day price change, and 20/50/100/200-day price changes or historical prices.
  • Fundamental data: latest quarterly revenue, EPS, gross margin or gross profit, next-quarter company guidance, consensus revenue/EPS estimates, and 30-day estimate revisions.
  • Preferred sources: company IR releases/presentations, earnings calls, Yahoo Finance historical prices/analysis, TradingView technicals/estimates, Barchart technical analysis, Seeking Alpha estimates, Koyfin, FactSet, Bloomberg, TIKR, or Visible Alpha.

For U.S.-listed companies, SEC filings can improve the fundamental side of the score. edgartools is an optional helper for retrieving the latest 10-K, 10-Q, 8-K, XBRL financial statements, filing text, insider transactions, and ownership filings.

If the environment does not already have it, install with pip install edgartools or uv pip install edgartools. The import package is edgar, not edgartools. SEC access requires an identity; set EDGAR_IDENTITY="Name email@example.com" in the environment or call from edgar import set_identity; set_identity("name@example.com") before requests.

Minimal usage pattern:

python
from edgar import Company

company = Company("AAPL")
financials = company.get_financials()
income = financials.income_statement()
filings = company.get_filings(form="8-K")

Use SEC data for:

  • reported quarterly revenue, gross profit, EPS, cash flow, balance sheet, share count, and historical trend baselines
  • management language on demand, backlog, pricing, capacity, inventory, customer concentration, and risks
  • 8-K earnings releases or guidance disclosures when they contain the newest company-provided numbers

Do not use SEC data for the technical module or revision module. Price, 20/50/100/200DMA, ATR20, 5-day price slope, consensus estimates, and 30-day estimate revisions still require market-data and estimate sources. When SEC data is used, state the filing form and filing date so the user can judge freshness.

If a required field is unavailable, say which field is missing and use the simplified formula only when appropriate.

Calculation Workflow

1. Fundamental Speed

Calculate:

text
G_f = 0.35G_Revenue + 0.25G_GrossProfit + 0.30G_EPS + 0.10G_Revision

Where:

  • G_Revenue = next-quarter revenue guidance / latest-quarter revenue - 1
  • G_GrossProfit = next-quarter gross profit / latest-quarter gross profit - 1
  • G_EPS = next-quarter EPS guidance / latest-quarter EPS - 1
  • G_Revision = 30-day consensus estimate revision

Fallbacks:

  • If gross profit or EPS is missing: G_f = 0.5G_Revenue + 0.5G_EPS
  • If only revenue guidance is available: G_f = G_Revenue

2. DMA Speed

Calculate quarterly annualized-equivalent moving-average speed for each DMA:

text
G_DMAx = ((SMA_x(t) - SMA_x(t-k)) / SMA_x(t-k)) * (63 / k)

Use k = 5 or 10 trading days by default. If only price-change data is available, approximate:

text
DailySlope_x ~= (P_t - P_t-x) / x
G_DMAx ~= DailySlope_x * 63 / P_t

Compute G_DMA20, G_DMA50, G_DMA100, and G_DMA200.

3. Fundamental-DMA Match

Calculate:

text
R_x = G_DMAx / G_f

Interpret R_50 and R_100 first:

R_xStatus
< 0.5Trend clearly below fundamental speed
0.5-0.8Under-reflected or cheap versus trend
0.8-1.3Healthy match
1.3-2.0Hot but potentially explainable
> 2.0Overheated / FOMO escape risk

Core DMA emphasis:

Stock typeKey DMA
Mega-cap growth leaders like NVDA, AVGO, MSFT50DMA
Memory/cyclical semis like MU, SNDK100DMA
High-elasticity optical names like LITE, AAOI20DMA + 50DMA
Industrial AI/power names like ETN, VRT, TEL100DMA + 200DMA
Small-cap hard-manufacturing names like SIVE, CPSH20DMA + ATR divergence
Semiconductor ETFs like SOXX, SMH50DMA + 100DMA

4. Price-DMA Divergence

Calculate:

text
D_x = P_t / SMA_x(t) - 1
Z_x = (P_t - SMA_x) / ATR20

Interpretation:

SignalStatus
0%-5% above 20DMAHealthy close-to-line trend
5%-12% above 20DMAStrong trend, mild valuation stretch
12%-20% above 20DMAHot; divergence score should fall
>20% above 20DMAShort-term escape; divergence score should fall sharply
>30% above 50DMAMedium-term overheat
>50% above 100DMAMajor repricing
>100% above 200DMAExtreme long-cycle repricing
0%-5% below 20/50DMA with stable fundamentalsHealthy pullback; divergence score can rise
5%-15% below 50DMA with stable/improving fundamentalsBetter valuation entry, but verify trend damage separately
Below 100/200DMA with deteriorating fundamentalsTrend damage; do not treat as cheap automatically

ATR divergence is asymmetric:

Z_xStatus
0 to 2Healthy
2 to 3Hot
3 to 4Very hot
>4Escape; reduce divergence score sharply
-1 to 0 with stable fundamentalsMild pullback; can improve valuation-health score
-3 to -1 with stable/improving fundamentalsDiscounted pullback; score can be high, but check trend parallelism
< -3 or below key long DMA with estimate cutsPossible breakdown; score should fall

Important: S_Divergence is a valuation-health score, not a pure momentum score. Upward price-DMA divergence lowers the score because the stock is more stretched. Downward divergence raises the score only when fundamental speed and revision confirmation are stable or improving; if fundamentals are deteriorating, downward divergence is trend damage rather than an opportunity.

5. Trend Parallelism / Escape Ratio

Calculate:

text
EscapeRatio = 5-day price slope / 50DMA daily slope

Interpretation:

EscapeRatioStatus
0.8-1.2Price and 50DMA are parallel; healthy
1.2-1.8Short-term acceleration; acceptable
1.8-2.5Clearly hot
>2.5FOMO escape
0-0.5Momentum decay
<0Short-term reversal; trend damage

6. Revision Confirmation

Score estimate revisions:

Revision stateScore
Revenue and EPS estimates rising; company guide above consensus85-100
Mild upward revisions; guide slightly above consensus70-85
Stable expectations; limited upward revision55-70
Revisions starting to fall35-55
Guide below consensus; analysts cutting estimates<35

Divergence Module Scoring

Use asymmetric scoring for S_Divergence:

StateScore
Price close to 20/50DMA, above 100/200DMA80-95
Stable/improving fundamentals; price below 20DMA but near 50DMA85-100
Stable/improving fundamentals; price 5%-15% below 50DMA while long DMAs remain healthy75-95
Price 5%-12% above 20DMA65-80
Price 12%-20% above 20DMA50-70
Price >20% above 20DMA or >30% above 50DMA25-55
Price below 50DMA with weakening fundamentals or estimate cuts35-60
Price below 100DMA with estimate cuts15-45
Price below 200DMA with fundamental deterioration0-30

When price is below key DMAs, explicitly state whether the lower price is a healthy pullback or a breakdown. The deciding gate is fundamental speed plus revision confirmation.

Final Scoring

Calculate total score out of 100:

text
HealthScore = 40S_GrowthMatch + 25S_Divergence + 20S_Parallel + 15S_Revision

Module scoring:

ModuleWeight
Fundamental speed match40%
Price-DMA divergence / pullback opportunity25%
Trend parallelism20%
Revision confirmation15%

Final interpretation:

ScoreStateMeaning
85-100Healthy MomentumHealthy main uptrend
75-85Strong but WatchStrong trend; continue monitoring
65-75Hot but SupportedHot, but fundamentals can still support it
55-65Damaged / OverheatedTrend damage or local overheat
40-55High RiskRisk clearly rising
<40Broken / EscapingBroken trend or post-escape pullback

Mermaid Visualizations

For a full report, include 2-4 Mermaid diagrams when they materially improve comprehension. A short answer or data-limited analysis may use fewer. Do not create a diagram merely to meet a quota.

Prioritize these views:

  1. An xychart-beta comparing latest price with 20/50/100/200DMA values, with the source values preserved in the adjacent table.
  2. An xychart-beta of the four 0-100 module scores, clearly separated from their percentage weights.
  3. A compact flowchart explaining why a below-DMA state is a healthy pullback or a breakdown, using fundamental speed and revision confirmation as the gate.

Apply these rules to every diagram:

  • Use fenced mermaid blocks, match the report language, keep node IDs in simple ASCII, and keep labels short.
  • Prefer broadly supported flowchart, pie, and stateDiagram syntax. Use xychart-beta, quadrantChart, or timeline only as progressive enhancement and retain the adjacent Markdown table as the fallback.
  • Use only evidence and values already stated in the report. Keep price currency, periods, scores, weights, and units consistent with the surrounding tables; never fill missing data for visual completeness.
  • Place each diagram beside the analysis it explains and follow it with a one-sentence takeaway. Keep citations, URLs, dates, and detailed caveats outside the diagram.
  • Keep a diagram focused: normally no more than 12 nodes or 8 plotted values. Diagrams supplement rather than replace calculations, score tables, caveats, and source trails.

Output Format

Use this structure for every ticker:

markdown
# TICKER: GF-DMA Health Index 评分

最终评分:XX / 100
状态:Healthy Momentum / Strong but Watch / Hot but Supported / Damaged / High Risk / Broken

一句话判断:
...

1. 基本面速度
- 最新季度营收:
- 下一季度营收指引:
- 营收 QoQ:
- EPS QoQ:
- 毛利润 QoQ:
- Fundamental Speed:

2. 均线速度匹配
| 均线 | 季度化斜率 | 相对基本面速度 | 判断 |
|---|---:|---:|---|
| 20DMA | | | |
| 50DMA | | | |
| 100DMA | | | |
| 200DMA | | | |

若价格和四条均线数据完整,在表后加入 Mermaid xychart;表格继续作为数值和兼容性回退。

3. 股价-均线背离
| 指标 | 当前背离 | 判断 |
|---|---:|---|
| P / 20DMA - 1 | | |
| P / 50DMA - 1 | | |
| P / 100DMA - 1 | | |
| P / 200DMA - 1 | | |

4. 趋势平行度
- Escape Ratio:
- 判断:

5. 预期上修确认
- 公司指引 vs 市场预期:
- 过去 30 天预期变化:
- 判断:

6. 综合评分
| 模块 | 权重 | 分数 |
|---|---:|---:|
| 基本面速度匹配 | 40% | |
| 股价-均线背离 | 25% | |
| 趋势平行度 | 20% | |
| 预期上修确认 | 15% | |

在表后加入四个模块分数的 Mermaid xychart,不要把模块分数与模块权重混画在同一坐标轴。

结论:
...

当价格位于关键均线下方时,可加入 Mermaid flowchart,展示健康回撤与趋势破坏的判断门槛。

Detailed Reference

Read references/original-framework.md when a task needs the full Chinese framework text, examples, source priority list, or scoring tables in their original form.

When the reference format differs, preserve its analytical intent but follow this SKILL.md's current output and visualization rules.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Gf Dma Health Index làm được gì?

Chấm điểm sức khỏe định giá/xu hướng hiện tại của một cổ phiếu bằng GF-DMA Health Index, kết hợp tốc độ tăng trưởng cơ bản, tốc độ xu hướng 20/50/100/200DMA, độ lệch giữa giá và DMA, độ lệch ATR, tỷ lệ bứt phá và các điều chỉnh dự báo. Dùng khi người dùng cung cấp mã cổ phiếu hoặc hỏi về chấm điểm GF-DMA, sức khỏe định giá, sức khỏe xu hướng, đà tăng lành mạnh, nguy cơ quá nóng/bứt phá hoặc liệu cổ phiếu tăng/giảm có được yếu tố cơ bản hỗ trợ hay không.

Vì sao nên dùng Gf Dma Health Index trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Gf Dma Health Index là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Gf Dma Health Index trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/haskaomni/serenity-skill/tree/main/skills/gf-dma-health-index. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Gf Dma Health Index?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Gf Dma Health Index với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Gf Dma Health Index với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Gf Dma Health Index có miễn phí không?

Có. Kỹ năng này được haskaomni phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇