PROTECTED SOURCE SCRIPT

MACD modulated RSI

Updated
The main oscillator is the RSI modulated by the MACD (default). The RSI mode can be disabled to revert to a normal MACD oscillator for the main oscillator.
When the main oscillator (thicker line) is > 0, it is green; and if it is < 0, it is red.

The MACD can be re-scaled and whenever its value > 100, a background fill between the oscillator and the zeroline appear to indicates overbought condition; and < -100 indicates oversold condition. The user can tweak the scaling factor to optimize this for a given chart and timeframe.

A proprietary asymmetric differential oscillator (ADO) is also implemented, which is modulated by the main oscillator. When this (thinner line) secondary oscillator is > 0, it is yellow; and when it is < 0, it is lavender. The user can select the order of the differential (i.e. Order 1 = Momentum, Order 2 = Acceleration, Order 3 = Jerk, Order 4 = Snap, Order 5 = Crackle, Order 6 = Pop). This oscillator provides details of the more subtle underlying/hidden trends that is emerging or brewing, and may hint of an incoming move ahead of time. Divergence in the sign and slope of this secondary oscillator with respect to the main oscillator may provide a useful edge for trade setup.

A (thick transparent light blue) volume oscillator is also provided. An increase in volume trend provides confirmation of (or solidifies) the movements in the main oscillator over that period. A falling volume oscillator trend raises doubts on the main oscillator trend, and hints of the possibility of a counter-trend (also look at the secondary ADO oscillator for clues).

The novel aspects and principles of this indicator and this source code are the property of © cybernetwork.
This indicator and script is free for the TV community to use.
Release Notes
Added oscillators titles.
Release Notes
Corrected typo.
Release Notes
  • Introduced purple Main-Osc Moving Average (MA) line (VWMA-mode is set as the default, but user can choose to switch to SMA-mode).
    The crossing of the P-Oscillator into its MA-line signals a significant turn in the P-Oscillator, similar to how the cross between MAs are being used to signal a golden/death-cross (example: P-Oscillator crossing down its MA-line indicates a probable shift into the bearish phase).
Release Notes

Implemented STOCHs:
users can enable/disable the plot, as well as select the source modulating it.
Release Notes
Implemented bullish/bearish-cross markers for the main-osc line vs. its MA line.
Release Notes
Inputs reordered.
Release Notes
Changed "MAJ" to "ADO" in inputs and oscillator labels for accuracy in naming.
Release Notes
Implemented STOCHs oversold/overbought test.
Release Notes
Corrected minor bug.
Release Notes
MACD Rescale default changed to 100%
Release Notes
Significant tweaks.
Release Notes
Added divergence and hidden divergence indicators.
Release Notes
Reordered settings.
Release Notes
Updated divergences detection settings.
accelerationADOasymmetricdifferentialoscillatordifferentialdifferentialoscillatorjerkMoving Average Convergence / Divergence (MACD)macrsMomentum OscillatorsOscillatorsprismRelative Strength Index (RSI)

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?

Disclaimer