Coloring a Moving Average with Oscillator Conditions
Summary
This indicator plots a selected moving average and colors it according to one chosen oscillator: CCI, RSI, Stochastic, Cycle, or Directional Index. The user can configure the moving-average period and type, oscillator periods, and which oscillator controls the color. The color values are calculated from the oscillator reading, so the moving average’s visual appearance changes with the selected indicator’s state. This provides a way to display trend direction and oscillator information together on a price chart.
The supplied implementation is an indicator for charting software, not a trading system: it specifies no entry or exit rules, risk controls, or performance evidence. Only one oscillator branch is used at a time, and the description does not explain how to interpret every resulting color or calibrate it across markets. The tool therefore offers a configurable visualization rather than evidence that oscillator-colored averages improve decisions or returns.
Key ideas
- The indicator overlays a configurable moving average on the chart and colors it using an oscillator reading.
- Available color sources include CCI, RSI, Stochastic, Cycle, and Directional Index.
- Users can set the average type and period along with parameters for the selected oscillator.
- The indicator combines visual trend and oscillator context but does not define trade rules.
- No tests or results are provided to show that the visualization improves trading performance.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.