To trade with the trend, define the trend by a rule you can check on every bar, enter in its direction on a breakout or a pullback, and size the position from the distance to an exit that trails the move. Expect a run of small losses paid for by occasional large gains, because no rule can tell in real time exactly when a trend begins or ends.

Choose One Definition

Higher confirmed highs and lows can define an uptrend; lower highs and lows can define a downtrend. A moving-average rule or a breakout above a prior range, such as the highest high of the previous 20 days, is an alternative. These definitions can disagree because their lookbacks and timing differ.

For example, “close above the 50-bar moving average” is an observable condition, not proof that the next bar will rise. Keep the bar interval and session fixed. If a swing requires two later bars for confirmation, record it only after those bars exist.

ADX measures the strength of a trend, not its direction. On TradingView, the ADX indicator shows only the ADX line; the Directional Movement Index (DMI) indicator shows ADX together with the +DI and -DI lines that give direction. TradingView's page, citing the indicator's creator Wilder, describes readings below 20 as weak or trendless and readings above 25 as showing the most strength, and its worked calculation uses 14 periods. Such a threshold is a chosen filter rather than a certification that a profitable trend exists. Check your platform's length and smoothing settings before comparing readings across platforms.

Breakout and Pullback Entries Differ

A breakout rule enters after price crosses a prior boundary, such as that 20-day high. A pullback rule waits for a retracement and a specified recovery signal. The pullback may offer a better entry price but never arrive; it can also become a reversal, while a breakout entry pays a worse price and is exposed to false breaks. Neither entry is automatically safer or more profitable.

If you add to a position, calculate combined exposure. The first entry's unrealised gain does not make an addition free. See scaling calculations.

Define an Exit That Can Be Followed

A trailing price distance, a multiple of ATR or a moving-average condition can be an exit rule. Specify when it updates and whether decisions use closed bars. With an entry at 100 and an ATR of 2, for instance, a trail of three ATR starts at 94 and rises to 104 after a high of 110, if the ATR is held at 2. Distinguish an actual working protective order from an alert that still requires action.

Partial exits change the average payoff and remaining quantity. They do not guarantee that the complete position finishes in profit. Monitoring frequency must fit the instrument and account obligations; a weekly check is not suitable for every intraday or leveraged position. On a prop firm account, a wide trailing exit must also fit inside the daily loss limit and maximum loss.

Evaluate the Entire Sequence

A market can repeatedly cross a signal without continuing. Record those losses and the occasional large winner using the same rules. There is no universal 40–50% loss rate, and a few historical winners do not prove they will recur.

Judge the rule by its expectancy rather than its share of winners. With hypothetical figures of 35% winners averaging three times the planned loss (3R) and 65% losers averaging the planned loss (1R), the expectancy is 0.35 × 3 − 0.65 × 1 = 0.40R per trade before costs, although almost two trades in three lose. If costs and slippage take 0.1R from every trade, the same rule earns 0.30R. Our article on profit factor explains a related measure.

Include spreads and commissions, overnight financing on positions held for weeks, drawdown and missed fills; costs differ between brokers, so compare them in the CFD broker comparison. Compare separate market periods and keep a period aside from rule selection. Retrospectively labelling every successful trade a trend and every failure a range makes the test circular.

The moving-average crossover guide gives a more specific rule family to study. Treat any chosen variant as a hypothesis to evaluate, not a guarantee that following price will pay.