OPEN-SOURCE SCRIPT

IBD PowerTrend

This IBD PowerTrend indicator is designed to help traders identify strong market uptrends based on the IBD Market School's Power Trend methodology. It is intended to be added to daily charts on major indexes.

Concept and Methodology

The IBD PowerTrend helps traders identify strong market uptrends. Markets generally exist in three states: uptrends, downtrends, and rangebound motion. This methodology focuses on:

  • Downtrends: Stay out of the market.
  • Rangebound markets: Often frustrating, best avoided.
  • Uptrends: Identify the strongest uptrends early.


This indicator uses IBD's research on historical uptrends to help traders get in and stay in during robust market phases.

How It Works

A PowerTrend starts when the following four conditions are met simultaneously on a major index:

  1. 10-Day Low Above 21-Day EMA: The market's low must be above the 21-day exponential moving average (EMA) for at least 10 consecutive days.
  2. 21-Day EMA Above 50-Day SMA: The 21-day EMA must be above the 50-day simple moving average (SMA) for at least five consecutive days.
  3. 50-Day SMA Uptrend: The 50-day SMA must be in an uptrend (one day is sufficient).
  4. Market Closes Up: The market must close higher than the previous day's close.


A PowerTrend typically ends when the 21-day EMA crosses back below the 50-day SMA. However, there are rare cases where a PowerTrend can end early due to a circuit breaker or a follow-through day failure. In this script, a circuit breaker is defined as a break of the 50-day line and being more than 10% below recent highs (interpreted as three months).

How to Use

When the PowerTrend is active, the indicator will plot green circles, signaling a strong market uptrend. During these periods, traders might observe opportunities in growth stocks breaking out of sound bases and consider the use of margin. Conversely, during downtrends, the indicator suggests a more defensive approach.

It is recommended to use on daily timeframe.

Chart Description

Main Chart:

- EMA 21 (blue): The 21-day exponential moving average.
- SMA 50 (red): The 50-day simple moving average.

First Panel:

- IBD PowerTrend Indicator: Plots the PowerTrend status with green circles indicating an active PowerTrend.

Second Panel:

- Volume Bars

breadthBreadth Indicatorsfyntradeibdpowertrendtrend_analysisTrend Analysis

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?


他のメディア:

免責事項