Skip to content
All library documents

Reading MACD Output Series and Comparing Indicator Values

Article FMZ forum · Author: 13957180801

Summary

The document shows a script requesting quarterly futures data at a 15-minute interval and passing the resulting records to a MACD function with the conventional fast, slow, and signal periods. It then reports the lengths of the returned arrays and formats the latest three values from each of the three output series, labeled DIF, DEA, and MACD. This illustrates how a user can inspect recent indicator values from an API rather than relying only on a chart.

The author asks why these values differ from those displayed by an exchange website and whether the calculation is incorrect. No reply or diagnosis is included, so the underlying cause remains unresolved. Differences could depend on the input price series, candle completion, initialization, or the platform's calculation and display conventions, but the document supplies no evidence identifying which applies. It is a debugging example, not a tested explanation of MACD discrepancies.

Key ideas

  • The example computes MACD from 15-minute futures records using standard periods.
  • It inspects the latest three values from each returned indicator series.
  • The author reports a mismatch with website values but does not resolve it.
  • Input data and platform conventions are possible comparison variables, not established causes.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.