OPEN-SOURCE SCRIPT
Power Cross

The Power Cross indicator is a trend-following crossover system built using the 20 EMA and 50 SMA. The script calculates the 20-period Exponential Moving Average to track short-term momentum and the 50-period Simple Moving Average to identify the medium-term trend direction. A bullish signal is generated when the 20 EMA crosses above the 50 SMA, indicating strengthening upward momentum and a possible start of a new uptrend. A bearish signal occurs when the 20 EMA crosses below the 50 SMA, signaling weakening momentum and potential downside movement. The script visually highlights these crossover points by changing the candle color, plotting directional arrows, and applying subtle background shading for easier chart analysis. This system works best in trending markets and is mainly used for swing trading breakouts, pullbacks, and trend continuation setups. However, it may produce false signals during sideways or low-volatility market conditions.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.