drg86

PowerX Strategy Backtest

This script implements the Power X trading strategy by Markus Heitkoetter and Rockwell Trading. The strategy is described in detail in "The PowerX Strategy: How to Trade Stocks and Options in Only 15 Minutes a Day" written by Markus Heitkoetter.

The Power X trading strategy uses RSI, Slow Stochastic and MACD indicators. When RSI and Slow Stochastic are both greater than 50 and MACD crosses up the signal line, it signals an up-trend. If RSI and slow stochastic are both less than 50 and MACD crosses down the signal line, it signals a down-trend. Other conditions signal no trend. There is an official version of this indicator available: PowerX Strategy Bar Coloring OFFICIAL VERSION.

This script opens a long entry with an up-trend momentum and a short entry with down-trend momentum. Trades are exited when profit target or stop loss is reached. Profit target and stop loss are calculated based on 7 days Average Daily Range (ADR). If the momentum is lost, a trade is exited the next day. The quantity of assets to buy/sell is calculated based on the stop loss to limit the risk to a user defined percentage of the initial capital.

There is another implementation of the Power X trading strategy available by therealhaolu: Power X Strategy Back-test. However, according to the comments this script seems to have some flaws.
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?