Sofien-Kaabar

Mega Pendulum Indicator

The MPI (Mega Pendulum Indicator) is a fusion between the Pendulum Indicator and the Swing Indicator and is used with specific trading rules.

The MPI is a semi-bounded oscillator comprised of two lines. The first bounded line is the Pendulum Indicator which oscillates between 0 and 100 but generally oscillates between 20 and 80. The second semi-bounded line is the Swing Indicator which generally oscillates between -10 and 10.

The conditions for trading the Mega Pendulum Indicator are as follows:

* Buy: Whenever the Pendulum indicator crosses over its signal line (a 5-period moving average) and at the same time, the Swing Indicator must cross over -10 after having been below it.
* Sell: Whenever the Pendulum indicator crosses below its signal line (a 5-period moving average) and at the same time, the Swing Indicator must cross under -10 after having been above it.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?