Skip to content
All library documents

Market Monitoring Alerts for Moving Averages, Price Changes, MACD, and KDJ

Article Strategy library · Author: 6821281

Summary

This document describes a monitoring script that repeatedly checks several market conditions and logs alerts. It compares recent EMA readings with a configured level, measures the current ticker price against the previous hourly or daily close, and checks whether recent MACD values remain above or below a threshold. It also monitors K, D, and J values from the KDJ indicator across a selected timeframe. An RSI value can be calculated separately, though the main loop does not call that function.

These are alerting rules rather than a complete trading strategy: the script does not place or manage orders, and the document provides no backtest or evidence of predictive performance. Its thresholds and timeframes are configurable, but some labels and logic are inconsistent; for example, the price-decline alert logs the rise threshold. The material is most useful as an illustration of basic multi-indicator monitoring and its implementation limits, not as evidence that the alerts identify profitable trades.

Key ideas

  • The monitor logs when recent EMA values stay above or below a configurable threshold.
  • It compares the current buy price with the previous hourly or daily close to flag percentage moves.
  • MACD and KDJ readings can be checked against user-defined thresholds on selected timeframes.
  • The RSI calculation is present as a separate function but is not part of the main monitoring loop.
  • The script generates alerts rather than trades, and it supplies no backtest evidence of signal quality.

Tags

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