ma-dma-rules

Classify market states from six moving averages using MA and DMA rule definitions.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Junxwan/agoG --skill ma-dma-rules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ma-dma-rules
Source: https://github.com/Junxwan/agoG/tree/main/.claude/skills/ma-dma-rules
Command: npx skills add https://github.com/Junxwan/agoG --skill ma-dma-rules

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users systematically interpret six moving-average based rules (MA5/MA10/MA20 and MA60/MA120/MA240) to classify market states and track convergence and transitions in price data.

Core Features & Use Cases

  • Rule-definition based state classification for MA/DMA systems.
  • Daily outputs including current state, interval start, and any crossing or touching events with each MA.
  • Use Case: A trader can feed daily closes and corresponding MA values to receive a structured state history and guidance for potential transitions.

Quick Start

Provide a data series with daily close prices and six MA values, and ask the system to output the current MA/DMA state and any recent transitions.

Frequently Asked Questions about ma-dma-rules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I classify market states using moving averages?

To classify market states using moving averages, you need to feed daily close prices alongside six specific MA values (MA5, MA10, MA20, MA60, MA120, MA240) into a rule-based system that outputs a structured state history, interval starts, and cross events.

What is moving average convergence and how do I track its state transitions?

Moving average convergence is the alignment and spacing of multiple moving averages. You can track its state transitions by applying rule definitions to daily price data, which generates per-day records of long/short rankings, convergence stages, and crossing or touching events.

Can I use DMA rules for intraday price data?

Yes, DMA rule definitions can be applied to both intraday and daily price data. The system processes the provided close prices and MA values to output current states, transition intervals, and event logs across different timeframes.

What inputs are required to calculate moving average state transitions?

Calculating moving average state transitions requires a data series with daily close prices and six specific moving average values: MA5, MA10, MA20, MA60, MA120, and MA240. These inputs enable the system to identify long/short rankings and convergence stages.

How do I detect moving average cross and touch events in daily data?

To detect moving average cross and touch events in daily data, process your close prices and MA values through an automated rule interpretation system. This yields a structured per-day record logging each event alongside the current market state and interval start.