Skip to content
Typed Trader

Dual Moving Average (DMA)

Compares two moving averages. When the short MA crosses above the long MA, it signals a potential buy opportunity.

Live Demo

Pick a market regime to see how DMA(9) reacts:

Usage

import {, } from 'trading-signals';
 
// DMA yields results once 9 inputs have been added
const  = new (5, 9, );