ArchitectureStrategiesResearchWhy UsPricing
Momentum Oscillator Momentum Indicators

MACDEXT: MACD with controllable MA type

MACD with controllable MA type

Visual Rule Syntax: @MACDEXT(close)

Key Takeaways

  • Vectorized mathematical transform for advanced factor composition.
  • Executes at high performance within the Saral Engine runtime.
  • Essential for data normalization and non-linear factor modeling.

What It Means in Simple Terms

MACD with controllable MA type is a quantitative transform that evaluates cyclical frequencies, price ratios, or mathematical series transformations.

How It Helps You as an Investor

It provides a flexible building block for constructing custom indicators, non-linear factor scores, and composite filters in the Saral visual DAG.

Visual Node Rule Syntax & How to Plug in Values

Visual Node Expression No Code Required
@MACDEXT(close)

Parameter Tuning & Market Calibration

Plug the appropriate price field (such as close, high, low) and optional lookback parameters into the node rule.

Input Fields & Parameters

Field / Parameter Type Default Role & Description
close field Required Historical input price or volume series from market feed.
fastperiod int 12 Lookback period or tuning parameter for market calibration.
fastmatype int 0 Lookback period or tuning parameter for market calibration.
slowperiod int 26 Lookback period or tuning parameter for market calibration.
slowmatype int 0 Lookback period or tuning parameter for market calibration.
signalperiod int 9 Lookback period or tuning parameter for market calibration.
signalmatype int 0 Lookback period or tuning parameter for market calibration.

Mathematical Formulation

The mathematical definition of MACDEXT (MACD with controllable MA type) as evaluated within the Saral Engine execution pipeline:

MACDEXT(Xt)→Transformed Series\text{MACDEXT}(X_t) \rightarrow \text{Transformed Series}

Variable & Parameter Definitions

Mathematical transform applied element-wise across the series.

Systematic Strategy Applications

MACD with controllable MA type Rule Transform Rule
@MACDEXT(close) > 0

Evaluate MACD with controllable MA type in a composite rule.

Common Questions & Practical Considerations

How do I use @MACDEXT in a visual strategy?

Connect it inside a rule or ranking node to transform raw price values into standardized quantitative signals.