Moving averages and trend indicators—measuring direction and strength in Forex
Price stays where it was, but the moving average rises. Nothing is wrong: an older, lower price has just left the window. That small example explains much of what follows. We will calculate SMA, EMA and WMA on the same prices, compare their responses, and separate a crossover from the decision to trade it. Real EUR/USD charts then show how the same settings behave during a directional move and repeated changes of side.

A moving average is a rule for carrying prices forward
Begin with the question you want the line to answer. A moving average can provide a reference for recent price, or compare shorter and longer histories. It cannot choose the amount at risk or promise a price for an order. First specify the instrument, timeframe, input price, period and average type. “The price is above the average” becomes reproducible only after those choices are fixed.
Use four hypothetical, completed H1 closes for EUR/USD: 1.2000, 1.2012, 1.2006 and 1.2024 USD per EUR. For this teaching model choose n=3, Close, no shift, and seed EMA(3) with the first three closes’ arithmetic mean. The short period makes the arithmetic visible; it is not a recommended trading setting. The MetaQuotes formula reference distinguishes the weighting methods.
| Completed candle | Close | SMA(3) | EMA(3), α=0.5 |
|---|---|---|---|
| 1 | 1.2000 | No reading | No reading |
| 2 | 1.2012 | No reading | No reading |
| 3 | 1.2006 | 1.2006 | 1.2006: seed |
| 4 | 1.2024 | 1.2014 | 1.2015 |
The first SMA is (1.2000+1.2012+1.2006)/3=1.2006. At candle 4, replace the oldest close: (1.2012+1.2006+1.2024)/3=1.2014. EMA uses α=2/(3+1)=0.5, so 0.5×1.2024+0.5×1.2006=1.2015. Both calculations use exactly the same available prices. Different weights explain the difference; neither result supplies the fifth close.
Changing a setting requires a new calculation
Now test a second specification on the same four prices: EMA(2), with α=2/3 and its own first-two-close SMA seed of 1.2006. At candle 3 it remains 1.2006; at candle 4 it becomes 1.2018. The last close receives two-thirds of the update rather than one-half. Keep the unrounded recurrence internally and round only the displayed result.
There is a useful trap here: both seeds happen to equal 1.2006. This numerical coincidence does not authorise carrying an old EMA state into a new period. On another sequence, their seeds differ. To compare settings, rerun each specification from its declared start, and record which early rows are unavailable. An empty cell means insufficient data under this rule, never a zero price.
Write the interpretation separately from the calculation. At candle 3, Close equals EMA(3); at candle 4, Close is above it. Under a rule requiring previous Close≤EMA and current Close>EMA, candle 4 is an upward crossing. If candle 5 also stays above, that is continued state, not a second crossing. A different rule using intrabar touches would count different events.
Turn the reading into a question before adding another indicator
Ask what information is still missing. MACD built from two EMAs overlaps their price input; agreement with those same averages is not independent evidence. ADX addresses directional strength without selecting the direction. Adding a line is useful only if its role is explicit and you can explain what would change when its reading changes.
The most common practical mistake is to treat a completed-candle condition as an execution at that candle’s close. The condition is available only after the candle is complete and the data arrive. An order then needs a later tradable quote, the appropriate Bid or Ask side, sufficient size and a handling rule for rejection or slippage. A crossing count alone cannot establish profit after spread and fees.
For practice, save a small close series and calculate two adjacent readings manually before inspecting a long chart. If your numbers differ from a platform, compare the raw prices and candle boundaries before changing the formula. Then check period, applied price, seed, shift and gaps. A daily average on feeds with different daily cutoffs is not necessarily the same input series. The detailed cases below show why one favourable window cannot rank the methods for every market path.
Three exercises with worked answers
The exercise data are hypothetical. Choose an answer, then check the calculation.
From a short calculation to full trend analysis
Continue with the formulas and chart examples to compare other weightings, lag, MACD, ADX and Ichimoku. Use the downloadable series and practice tools to check an explicit rule. The full contents lets you return directly to the point you need.
1. What trend indicators are
In the article on trend, support and resistance, we discussed how to identify market direction visually—higher highs and lows in an uptrend, lower ones in a downtrend. Trend indicators describe direction differently: through a mathematical transformation of a price series, rather than a swing rule. They take historical prices, pass them through a formula and plot a line or set of lines which smooths noise and shows the dominant direction.
Indicators describe different relationships in the data. Moving averages help filter trend direction, while ADX measures the strength of directional movement without specifying its side. RSI compares smoothed gains and losses, stochastic the Close position within the High–Low range, and CCI typical price's deviation from its average in mean-absolute-deviation units. They do not require a shared assumption about a “normal” price. The next article covers oscillators. Here, we focus on tools for direction and trend strength.
These indicators use prices already observed. Smoothing changes how a reading responds when new prices arrive; it does not reveal the next price. Measure that response for the formula and condition you use. A line can help you describe the data without deciding an entry, target or position size.
2. Moving averages—the foundation
A moving average (MA) smooths a selected price series. For each successive period, move the window or update the recurrence state. The result is a line whose response depends on period length and weights. The calculation price need not be the close; unless stated otherwise, this article uses Close.[1]
SMA—simple moving average
SMA (Simple Moving Average) is the arithmetic mean of prices over the last n periods:
SMAt = (Ct + Ct−1 + … + Ct−n+1) / n—where C is the calculation price (the close by default; platforms also allow open, median (H+L)/2 or typical price (H+L+C)/3—the applied price).
Each price in the SMA window has weight 1/n. A move 19 candles ago affects SMA(20) as much as the latest close. When it drops out of the window, the average may change despite an unchanged current price. The exact identity SMAt−SMAt−1 = (Ct−Ct−n)/n separates the new-price change from the old-price removal effect. The average observation age is (n−1)/2 candles; this measures weights, rather than promising detection of a turn after that many candles.
EMA—exponential moving average
EMA (Exponential Moving Average) gives newer prices larger weights, decaying exponentially into history. The full recursive formula:
EMAt = Ct · k + EMAt−1 · (1 − k), where k = 2 / (n + 1). For n = 5: k = 2/6 ≈ 0.3333. The series needs a starting value—conventionally, the first EMA value is SMA(n) of the first n candles; two platforms starting EMA at different points can therefore initially display slightly different values (the difference decays exponentially).
SMA(5) and EMA(5) calculation on one series (hypothetical EUR/USD, H1, USD per EUR). Closes of 1.1000; 1.1010; 1.1030; 1.1020; 1.1040 give SMA = 5.5100/5 = 1.1020. This is also the EMA seed adopted here. The sixth close at 1.1090 is 50 pips above the preceding one. SMA = 1.1038, an 18-pip increase. EMA = 1.1090/3 + 1.1020·2/3 = 1.104333333…, an increase of 23 ⅓ pips. If the seventh candle also closes at 1.1090, SMA = 1.1054 and EMA = 1.105888889…. Continue calculations from the full recurrence value, rounding only the displayed reading. Rounding 1.104333… to 1.1043 before the next step would change the result.
WMA (Weighted Moving Average) is a third variant: weights decline linearly—the newest price has weight n, the preceding price n−1 and so on: WMAt = (Ct·n + Ct−1·(n−1) + … + Ct−n+1·1) / (n + (n−1) + … + 1), with denominator n(n+1)/2. On our series: WMA(5) = (1.1000·1 + 1.1010·2 + 1.1030·3 + 1.1020·4 + 1.1040·5) / 15 = 16.5390 / 15 ≈ 1.1026—above SMA (1.1020), because recent, higher prices received greater weights. WMA gives newer prices more weight than SMA and has finite memory: a price n periods ago stops counting entirely. A fourth variant, RMA/SMMA (Wilder smoothing), is EMA with k = 1/n—slower than classic EMA(n), and used in classic Wilder smoothing within RSI, ATR and ADX (published MetaQuotes ATR code uses SMA instead, calculated in 5.8); MetaTrader calls it “Smoothed”. Article 5.8 details its oscillator role.
One series, four smoothing methods
The data below model ten successive closed H1 candles, rather than recording the market. We use Close prices in USD per EUR, n=5, αEMA=1/3 and αRMA=1/5. EMA and RMA start from the first five prices' SMA. WMA assigns weights 1,2,3,4,5 from oldest to newest. The first four rows have no value: we neither shorten the window nor insert zeros.
| H1 candle | Close | SMA | EMA | WMA | RMA |
|---|---|---|---|---|---|
| 5 | 1.1040 | 1.1020000 | 1.1020000 | 1.1026000 | 1.1020000 |
| 6 | 1.1090 | 1.1038000 | 1.1043333 | 1.1049333 | 1.1034000 |
| 7 | 1.1090 | 1.1054000 | 1.1058889 | 1.1066667 | 1.1045200 |
| 8 | 1.1080 | 1.1064000 | 1.1065926 | 1.1075333 | 1.1052160 |
| 9 | 1.1060 | 1.1072000 | 1.1063951 | 1.1074000 | 1.1053728 |
| 10 | 1.1050 | 1.1074000 | 1.1059300 | 1.1066667 | 1.1052982 |
RMA/SMMA in this model is RMAt = (4·RMAt−1+Ct)/5. Its multiplier is 1/n, compared with EMA’s 2/(n+1). Now look at candles 6 and 7: both close at 1.1090, yet SMA rises from 1.1038 to 1.1054. The seventh price replaces 1.1010 in the window, so the change is (1.1090−1.1010)/5 = 0.0016, or 16 pips. EMA also keeps rising because its older state is below 1.1090. The averages are carrying earlier prices forward; price has made no new gain between these two closes.
The moving-average model CSV contains full values, including prices before the seed. The table displays seven decimal places for comparison, rather than suggesting this precision in an executable quote. All prices were specified for the example.
Average derivatives: envelopes and Bollinger Bands
Bands can be constructed from an average. Envelopes shift the average by a fixed percentage on both sides: upper band = MA · (1 + k), lower band = MA · (1 − k), for example k = 1%—the distance is fixed relative to the price level, regardless of current volatility. Bollinger Bands replace the fixed percentage with price's standard deviation around the average: centre = SMA(20), bands = SMA(20) ± 2σ over the same 20 periods (20 and 2 are the default convention). The construction difference is fundamental: envelopes have a predetermined width; Bollinger Bands expand and contract with volatility—which is why the latter, rather than envelopes, are read as a compression measure. Article 5.8 covers band interpretation (touches, squeeze, %B) and limitations; here, the construction suffices: both tools are built around an average and calculated exclusively from historical data—Bollinger Bands add a volatility component (standard deviation), inheriting the average's delay and adding their own.
EMA reacts more strongly to the first jump in this example because the new close gets one-third of the weight, rather than SMA’s one-fifth. “Faster on this jump” does not mean faster on every path. The step, steady-move and single-spike examples below show why.
Which should you choose? First name the function: smoothing direction, comparing two scales or providing a reference for distance from price. Type, period, input price and initialisation method should remain fixed in the measurement being compared. Lines looking similar on one D1 chart does not prove they will give the same crossovers on another series. Examine not only the line, but also its difference from price and when that difference changes sign.
Step and steady movement: what “faster EMA” means
For n=5, the newest price has weight 1/5 in SMA, 1/3 in EMA and 5/15=1/3 in WMA. In steady movement rising 10 pips per candle, SMA sits 20 pips behind current price. EMA with α=1/3, after the seed's influence decays, also sits 20 pips behind it: average data age (1−α)/α = 2 candles. WMA has age (n−1)/3 = 4/3 candles, giving a 13 ⅓-pip difference; RMA with α=1/5 has age 4 and a 40-pip difference. This is a result for a linear model, rather than the delay at every market turn.
After a single spike in a flat series, SMA immediately gives it weight 1/5, retains it for five rows and then removes that price entirely. EMA initially assigns 1/3, then 2/9, 4/27 and so on. This difference explains SMA's sharp change when an observation drops out and EMA's longer tail. One path's chart does not establish that one line will always cross an arbitrary threshold earlier.
Bands: five prices, two different denominators
Use the table's first five prices. Their mean is 1.1020 and sum of squared deviations 0.000010. With divisor n=5, standard deviation is 0.001414214; with n−1=4, it is 0.001581139. For SMA ± 2σ bands, this gives:
| Variant | Lower band, USD/EUR | Upper band, USD/EUR |
|---|---|---|
| σ with n=5 | 1.0991716 | 1.1048284 |
| σ with n−1=4 | 1.0988377 | 1.1051623 |
MetaQuotes Standard Deviation documentation specifies divisor N.[12] The sample variant is not a “more accurate correction” of the same indicator: it creates another band. For the classic Bollinger construction, record the average, number of prices and standard-deviation multiplier. Two standard deviations do not automatically imply that 95% of future prices will lie within the bands; Bollinger explicitly advises against this distribution assumption.[6]
Which periods make sense
The period sets how much history a reading includes. The familiar 20, 50 and 200 are conventions, not demonstrated best settings for Forex. Popularity may influence behaviour around a line, but that explanation needs evidence beyond the line itself.
- MA(200) — a long-window reference. A rule may label Close above it bullish and Close below it bearish. On D1 it contains 200 available daily candles; it does not turn the line into a guaranteed support level.
- MA(50)—a medium-term trend filter. MA(50) crossing MA(200) is a “golden cross” (bullish) or “death cross” (bearish)—signals discussed in every textbook. More in the next section.
- MA(20–21) — a shorter-window reference, roughly one trading month on a five-day D1 feed. A pullback toward it can be a location to inspect under a defined rule. The chart alone does not show how many traders watch it or have orders there.
- MA(8–10) — a short window on the chosen timeframe. It gives a close more weight than a longer average of the same type. Count crossings and costs on your series instead of assuming the extra responsiveness is useful.
Why 200? An established convention, rather than mathematical optimisation. D1 SMA(200) covers 200 available daily candles; on H1, 200 hourly candles. Neither “long-term” nor conversion into months replaces a description of the feed's calendar and daily boundaries. We have no source here assigning period 200 one certain historical origin.
Seed, missing data and comparing two platforms
Two EMAs with identical α and subsequent prices, but different starting states, retain a difference Δk = (1−α)k·Δ0. For EMA(5), with a starting difference of 0.0010, or 10 pips, ten updates leave 10·(2/3)10 = 0.1734153 pips. After twenty, 0.0030073 pips remain. This measures seed-influence decay; “a few candles suffice” specifies nothing without n and a tolerance.
A missing H1 in an export is not a close equal to its predecessor. Insert an artificial flat candle and EMA and RMA receive another update; omit it and they do not. SMA may cover five available observations with a different duration. In this model, a missing price means no reading until the interruption is explained, without interpolation. This is an explicit data policy, rather than a claim about every platform. Substituting zero for a missing price would destroy the calculation.
When comparing exports, record: symbol, Bid/Ask/mid or another price, timeframe, time zone, first-observation date, seed, MA type and missing-data rules. Check raw Close prices first, then averages. Feed differences and algorithm differences are two separate problems.
Is it worth changing an indicator's default parameters?
Default parameters are conventions, rather than optimal solutions. A change is permissible if its purpose is described and the settings version retained. Choosing the best result from many attempts requires allowance for selection and assessment on data not used for choosing; retaining defaults does not guarantee an edge either.
3. Signals from moving averages
Moving averages generate signals in three ways, each with its limitations.
1. Price crosses the average. A close above MA is a bullish-side reading; below is bearish-side. In a range, the relationship can change repeatedly. A filter such as “consider longs only above MA(200)” differs from an entry rule such as “buy at each upward cross”. The latter also needs an execution time, exit rule and costs.
2. Crossover of two averages. MA(50) crossing above MA(200) is a golden cross; the reverse is a death cross. On closed candles, an upward cross is defined as: MA50t−1 ≤ MA200t−1 and MA50t > MA200t. The shorter average remaining above the longer is not another cross. This describes a change in the relationship between two smoothings. It determines neither a future execution price nor trading effectiveness.
3. MA as dynamic support/resistance. In a strong trend, price often reacts near D1 MA(21) or MA(50). A popular explanatory hypothesis is that many participants watch the same averages and place orders in similar areas—the chart alone cannot confirm this. In practice: if EUR/USD is in an uptrend and pulls back to D1 EMA(21), where a reversal candlestick pattern appears (hammer, bullish engulfing), many traders build an entry around that setup. The average alone is insufficient; average + price action in the zone is something specific.
Whipsaw calculated—a round-trip cost model. Assume eight complete entries and exits at unchanged mid, a constant EUR 100,000 notional, a 1-pip spread for the round trip, 0.6-pip round-trip commission and 0.2-pip slippage on each of two executions. One round trip costs 1 + 0.6 + 2·0.2 = 2 pips; eight cost 16 pips. For this EUR/USD notional, a pip is USD 10, so cost = USD 160; in an illustrative multi-currency account conversion (at 0.92 EUR/USD and 0.79 GBP/USD), that equals EUR 147.20 or GBP 126.40. Do not count the spread again on both sides: comparing Ask entry and Bid exit already includes one full spread. Eight round trips are an assumption, rather than a measured crossover frequency.
Interactive calculator: SMA, EMA, WMA, RMA & whipsaw cost
Test how the four smoothing formulas respond to any closing price series (pre-filled with the 10-bar model above) alongside round-trip whipsaw spread, commission and slippage drag (see also the trading-costs calculator and expectancy calculator).
Averages on real data: directional movement and whipsaw
The charts below use closed EUR/USD Bid records from the ICMarketsSC-Demo account, exported from MT5. We retain the original MT5 time labels; the server time zone has not been independently verified, so we label them neither UTC nor local time. Cases were selected retrospectively to explain explicit rules, including their limitations. They are not a random sample, an edge test or a record of our trades.
Both windows show identical settings: SMA(20) and EMA(20) of Close, α=2/21, with no shift. SMA always contains 20 available closes. EMA starts from the first 20 exported records’ SMA, then updates through the full prefix from 3 November 2025, rather than from the chart’s left edge. Intermediate values are not rounded. Outside the window we retain available bars without inserting flat H1 bars into interruptions; the indicator updates on successive export records. We do not claim pixel-for-pixel agreement with a platform’s default seed.
Price and averages in a directional move
The window 2026-08-19 00:00–2026-08-20 11:00 contains 36 closed H1 bars. Close changes by 125.1 pips. A change of EMA20 side means previous C≤EMA and current C>EMA, or previous C≥EMA and current C<EMA; equality alone is not a new side. There is one event, marked by a circle. This counts conditions met, rather than trades or losses. The last SMA20=1.1674865, EMA20=1.1668003; these readings are known only after 2026-08-20 12:00. Before the chart’s left edge, 4899 EMA updates after the seed have already occurred.
Download the displayed records and calculations (CSV).
The same averages, repeated side changes
The window 2026-02-26 07:00–2026-02-27 18:00 contains 36 closed H1 bars. Close changes by 2.3 pips. A change of EMA20 side means previous C≤EMA and current C>EMA, or previous C≥EMA and current C<EMA; equality alone is not a new side. There are 12 events, marked by circles. This counts conditions met, rather than trades or losses. The last SMA20=1.1802625, EMA20=1.1803426; these readings are known only after 2026-02-27 19:00. Before the chart’s left edge, 1931 EMA updates after the seed have already occurred.
Download the displayed records and calculations (CSV).
The window with repeated side changes was selected specifically to illustrate whipsaw; the directional window illustrates the difference between current price and smoothing. This selection measures neither regime frequency nor trading profitability. A positive move in one chart and twelve side changes in another do not compare strategies; execution, exits and actual costs would need to be specified in advance.
Complete source OHLC export (CSV) · Method, provenance and calculation trace (JSON). The CSV also contains the provider’s spread_points field, but we do not use it to reconstruct costs or execution prices. Original time labels are not converted into a verified time zone.
Calculations and charts use EUR/USD’s declared 0.00001 quote grid: nearest-point rounding removes only numeric CSV-serialization tails. Raw OHLC is retained in the downloadable exports; the JSON method records the details and tolerance.
Download all 6,000 prefix records with SMA20 and EMA20 (CSV).
4. MACD—Moving Average Convergence Divergence
MACD compares two exponential averages. With classic periods 12 and 26, its sign says which is higher. Zero MACD means equality; crossing zero means a crossover. The signal line and histogram add another smoothing of the same price information.[2]
- MACD line = EMA(12) − EMA(26). The difference between the shorter and longer exponential averages. MACD above zero means EMA(12) is above EMA(26); below zero means the reverse (conventionally, bullish/bearish readings).
- Signal line—an additional MACD average. EMA(9) is a common variant; standard MT5 documentation specifies SMA(9). Record the average type together with the periods.[2]
- MACD histogram = MACD − signal line. A signed difference; the distance between lines is its absolute value. Moving from −0.003 to −0.001 increases the histogram by 0.002 but reduces distance from 0.003 to 0.001. When interpreting momentum change, distinguish sign, increasing value and change in absolute value.
Why is MACD popular? It combines two functions: trend detection (MACD above/below zero) and momentum measurement (histogram). It is a hybrid—part trend indicator, part oscillator.
Divergence compares price extremes with MACD readings. A higher price high with a lower matched MACD reading describes a smaller difference between the two EMAs at those points. It does not identify when a reversal will occur. A zone or candle condition can define a separate response rule, which must be tested as a whole.
Reading context. H1 and D1 MACD(12,26) cover different horizons. Positive MACD does not mean the last candle rose: the shorter EMA can remain above the longer during a decline. The momentum article calculates the line, signal and histogram, including the difference between MT5's SMA signal and an EMA variant. Here, the trend-measurement consequence matters: MACD and the crossover of those same EMAs are not two independent confirmations.
Download the complete MACD model (CSV)
The parameters (12, 26, 9) are established defaults. The often-repeated six-day-week explanation is not documented in Appel’s writings cited here. Keep a settings record when changing periods: a different result on the past does not establish a better result on new data.
5. ADX—trend strength without direction
ADX (Average Directional Index) was created by J. Welles Wilder.[3] It smooths the separation between +DI and −DI. A high value can accompany either rising or falling prices; direction must be read separately.
The ADX system consists of three lines:
- +DI (Positive Directional Indicator)—measures upward movement strength.
- −DI (Negative Directional Indicator)—measures downward movement strength.
- ADX—the Wilder-smoothed value of DX, the normalised absolute difference between +DI and −DI relative to their sum. It measures trend strength independently of direction.
ADX derives from directional moves and True Range. Up Move = Ht−Ht−1, Down Move = Lt−1−Lt. +DM is positive Up Move only when it exceeds Down Move; −DM is analogous. On a tie, both are zero. TR = max(H−L, |H−Ct−1|, |L−Ct−1|). In Wilder's version, +DI = 100·RMA(+DM)/RMA(TR), −DI is analogous, DX = 100·|+DI−(−DI)|/(+DI+(−DI)), and ADX = RMA(DX). These are two smoothing stages. Rising ADX does not select direction and need not appear only after a DI crossover. MetaQuotes ADX Wilder code also distinguishes zero-denominator cases.[3]
Reading:
- ADX below 20 — a conventional low band for measured directional movement. A rule may exclude it, but the threshold alone does not establish how often a crossover will fail.
- ADX20–40—a conventional middle band; the level alone does not say whether ADX is rising.
- ADX above 40—a high reading; assess its significance relative to the instrument's history, rather than a universal scale.
- ADX above 60—an extremely strong trend. Rare; some practitioners see such high readings as grounds for caution, but research confirming an “exhaustion” threshold is absent. A D1 currency pair can maintain ADX > 60 for weeks during strong macro trends. Treat this as grounds for increased caution, rather than an automatic reversal signal.
+DI crosses −DI from below—the directional reading shifts to the bullish side; the reverse crossing indicates the bearish side. ADX separately describes the strength of smoothed directional movement.[3] A filter can be defined permitting DI crossovers only at a selected ADX level. This convention requires a test with explicit threshold and costs; it does not prove that every trend crossover produces a good outcome.
For example, a procedure may permit MA conditions only when ADX exceeds 25. This is a chosen threshold, not a measurement that the current trend is stronger than “usual”. Record how many candidates the filter removes, then compare the complete procedure after costs. Falling ADX likewise means a lower smoothed DX reading, not a date for the trend to end.
ADX and timeframes. Strong D1 ADX does not mean H1 also trends—different-timeframe readings describe different movement scales and can “disagree” without contradiction (illustrative values: D1 ADX = 42 and H1 ADX = 18 represent a daily trend during an hourly correction). Article 5.11 explains combining multiple-timeframe readings. Falling ADX means weakening measured directional movement; it settles neither the trend's end nor direction.
6. Parabolic SAR—briefly
SAR (“Stop And Reverse”) plots dots on one side of price; price crossing the calculated level may change the indicator's side under the implementation rule.[14] AF (acceleration factor) determines the weight with which an update brings SAR toward the movement's extreme. An example configuration is start 0.02, step 0.02 and maximum 0.20; check the parameters of the version used. AF may increase at new extremes, rather than merely as candles pass. With identical preceding SAR and extreme, larger AF produces a larger update step, but reversal numbers depend on subsequent prices and algorithm constraints. There is no fixed pip distance between dots and price.
SAR can provide a reference for a mechanical position-management rule. In a sideways market, successive prices may switch the dots' side; there is no fixed candle count between reversals. A gap can carry price through SAR, but not every gap crosses it, and update timing depends on implementation. An indicator point is not an order and guarantees no exit price.[14] Combining SAR with a DMI/ADX filter can be recorded as your own rule to test on the complete sample after costs. Position management and exit-rule selection belong to section 9.
Download SAR OHLC and calculations (CSV)
7. Ichimoku Kinko Hyo—briefly
Ichimoku is a system, rather than one indicator—a Japanese construction from the 1960s, popularised outside Japan much later.[4] Its name means “at a glance” and captures the idea: a complete picture of trend, support, resistance and momentum on one chart.
Five lines—in everyday reading, price relative to the cloud matters most. Definitions (note: these are range midpoints, rather than moving averages of closes):
- Tenkan-sen = (highest High + lowest Low over 9 periods) / 2—the short range's midpoint, rather than an average of prices.
- Kijun-sen = (highest High + lowest Low over 26 periods) / 2; Ichimoku practitioners interpret it as a reference to which price “returns”—a reading convention, rather than a market property.
- Senkou Span A = (Tenkan + Kijun) / 2, plotted 26 periods forward.
- Senkou Span B = (highest High + lowest Low over 52 periods) / 2, also shifted 26 periods forward.
- Chikou Span (lagging span)—the current price shifted 26 periods backward; comparison with the price then provides a broader momentum measure.
The space between Senkou Span A and Senkou Span B is Kumo, the cloud. When comparing today’s Close with the cloud at the same chart position, use the values plotted there from 26 periods earlier. The cloud values newly calculated today are drawn 26 periods ahead. Those are different points on the chart.
Both cloud edges are calculated from current and preceding ranges, then plotted 26 periods forward. A point calculated after candle t closes is available at t, although its axis position is t+26. A point from an unfinished candle can still change with its High and Low. A historical closed point does not depend on future price; its shift is not a forecast. In a backtest, distinguish calculation time from plotting position. Chikou does the reverse: it plots price from t at t−26; that price was not yet known at the older candle.[4]
Reading:
- Price above the cloud — labelled bullish under this reading convention. A later return to its boundary is a separate event, not guaranteed support.
- Price below the cloud — labelled bearish under the same convention. The cloud boundary is a reference, not guaranteed resistance.
- Price within the cloud—sometimes interpreted as no unambiguous direction.
- A thick cloud—sometimes interpreted as a wider zone; a thin cloud as narrower and easier to break. These are reading conventions, rather than market properties.
- Tenkan crosses Kijun from below, above the cloud — traditionally called a “strong” bullish reading; the same crossing below the cloud is called “weak”. These labels classify location, not measured FX win rates.
Ichimoku's distinctive feature is plotting the cloud ahead: the chart shows where the zone, in the indicator's terms, will fall in subsequent periods. This is a constructional projection from historical data—a map of the indicator itself, rather than a price prediction.
Parameters. (9, 26, 52) are conventional Ichimoku settings. Changing to (7, 22, 44) changes ranges and shifts, requiring separate description and comparison. We provide no evidence that setting popularity ensures effectiveness or that one version is optimal for Forex.
Ichimoku's Japanese origins do not reveal what percentage of USD/JPY participants watch Kumo. Analysing a JPY pair involves the same questions as EUR/USD: which feed supplied High and Low, what timeframe is used, and which values were already available? Commentary on popularity does not replace those answers.
Is Ichimoku too complicated?
Start with one comparison: is Close above, below or inside the cloud at that chart position? Then add Tenkan/Kijun or Chikou only if your rule needs it. MA + ADX is another way to organise readings, not a proven superior alternative. Choose a construction you can explain and reproduce.
8. Trend indicators in Forex—specific features
Much of the classic trend-indicator toolkit arose in exchange-market conditions, with one daily close and central volume (individual origins differ: Wilder worked with commodities, Ichimoku with Japanese equities). Forex works differently (decentralised OTC, daily turnover measured in trillions of USD under the BIS Triennial Central Bank Survey[7], no centralised order book), affecting indicator behaviour.
No unambiguous “trading day”. The NYSE day is clear: 09:30–16:00 New York time. In Forex, the “daily close” depends on the broker's server. A daily candle at a broker using a London server (00:00 GMT close) differs from one using New York Close (17:00 New York). Consequently, D1 MA(200) differs between brokers—a different daily boundary produces a different candle series and average (the difference's scale depends on the pair and feed; the article on chart construction explains the mechanics).
The pair's direction must be measured. We do not assume equities have “clean” trends while Forex mainly consolidates. Classification depends on timeframe and a defined rule. ADX, average slope and swing sequence describe different properties; they can classify the same series differently. To compare pairs, use the same definition, window and data, rather than a general market belief.
Time of day is a data characteristic. Two H1 EMA(21) crossovers can have similar geometry but different spreads and executable sizes. Time alone does not determine continuation. Record UTC and server time zone, basing execution-condition comparison on observed quotes for that pair and order size.
Tick volume and transaction volume describe different data. MA, MACD and ADX do not use volume. A tick counter concerns a particular feed's activity, rather than lots traded across all spot FX. Volume from one exchange or platform covers its instrument sample. Comparison requires retaining source, symbol and time divisions; the Elliott article provides a fuller description.
A chart signal does not price execution. Around a major release, spread or available size may change, and the current candle's reading may cross a threshold repeatedly. There is no universally applicable pip spread widening for NFP or CPI. Test a response to a closed signal using the appropriate quote side, amount and separate fees; a constant model spread does not describe every session.
Feed and execution price are separate objects. Daily boundaries and quote sources can change D1 and MA, SAR and Ichimoku values. Compare specific OHLC records, server zone and applied-price setting. A line difference alone proves neither manipulation nor the broker's risk-booking model. The reaction's result separately depends on Bid/Ask side, amount and execution terms.
Same condition, different execution. Compare prices and indicator state first, then costs and quote availability. A journal may contain the candle's UTC close time, EMA reading, latest Bid/Ask and actual execution price. Different results by time of day do not themselves prove that an indicator predicts better in a particular session.
The article on liquidity measures explains daily condition distribution. For indicators, distinguish two measurements: price relationships in closed candles, and the price and size available when reacting. An active window does not guarantee cheaper execution during a shock.
The fundamental analysis section covers positioning context (COT, usually released Friday for Tuesday's position and therefore delayed); for trend indicators, it is background rather than part of the reading.
9. What the research says
Research is not a collective indicator certificate. Lo, Mamaysky and Wang studied automatically recognised patterns in US equities during 1962–1996; information about conditional return distributions does not prove EMA+ADX profitability on EUR/USD.[5] Menkhoff and Taylor describe widespread technical-analysis use in FX and arguments concerning its utility.[8] Assess your configuration on a later sample not used to choose parameters, including costs and signal availability time. The number of configurations tested also forms part of the methodology.
What does this mean in practice? Three conclusions:
- Menkhoff and Taylor's review describes technical-analysis use in the currency market and competing explanations for its popularity. It does not establish an edge for an arbitrarily chosen pair of averages. A study of another rule, market and period does not replace your own test of a frozen definition after costs.[8]
- A crossover alone should not be treated as a proven universal edge. Results depend on market, period, costs and execution rules. Systematic CTA funds use families of trend-following signals close to crossover logic, but usually within a broader framework—with volatility filters, correlation, diversification across dozens of instruments and rigorous risk control. A retail trader with one MA(50)/MA(200) crossover has no such construction—only one signal on one instrument. An average can provide an explicit, repeatable directional filter—a descriptive function; whether adding it improves a particular system is determined by testing the entire system, rather than the indicator's construction. MA(200)'s popularity is sometimes explained by a possible, unmeasured self-fulfilling hypothesis.
- Fewer parameters limit the risk of fitting the past. This does not guarantee out-of-sample results, but the more parameters are optimised, the easier curve fitting becomes—fitting historical data at the expense of future effectiveness.
A final point—an edge and its realisation. Even if an MA + ADX system has a statistical edge in raw data, account results can differ. Reasons are mundane: costs (spread, commission, swap and slippage during fast moves), overtrading (clicks in consolidation despite ADX < 20), poor execution (entry after an extended candle, overly tight SL, overly ambitious TP) and emotions (panicked plan changes after two successive stops). Ultimately, results mix system quality and execution quality—both count together.
10. Most common mistakes
Confusing a low reading with a ban on use. Crossovers can occur in sideways movement. Low ADX does not invalidate MA as a measurement; it changes the series' description. If the rule requires ADX > 25, its absence means no signal from that rule, rather than an indicator calculation error.
Too many indicators on one chart. MA(20), MA(50), MA(100), MA(200), MACD, ADX, Ichimoku and Bollinger Bands can obscure price. They use overlapping data but measure different relationships. Add a tool if you need its particular function; agreement among several lines is not automatically as many independent confirmations.
Optimising parameters to historical data. “I tested 200 combinations and found EMA(13) with EMA(34) performed best on EUR/USD in 2024.” The result is a system fitted to data you will not see again. This is curve fitting. Record every configuration tried, explain the change and check it on data not used to select it. Keeping defaults avoids one tuning choice, but does not itself establish an edge.
Ignoring timeframe. D1 and M15 cover different horizons. We do not assign greater value to daily signals in advance. A reading should include timeframe and daily boundaries; a rule comparison should include costs and signal counts. The name golden cross does not remove these differences.
Treating an indicator signal as certainty. “MA(200) indicates an uptrend, so I buy.” A crossover or MA break tells you only that something already happened. Trading requires knowing why price might continue—which needs context: the nearest higher-timeframe S/R zone, reward-to-risk ratio after costs and whether a macro release is imminent. A crossover says only that the relationship between two averages changed.
Omitting candle state and release conditions. A crossover on an open H1 can disappear before the close. Quotes can change quickly around data, but not every release causes the same spread jump. Record whether you assess an intrabar signal or a close; the former needs a history of changes within the candle, which an OHLC chart alone cannot reconstruct.
Omitting execution costs with frequent signals. Every entry and exit incurs spread, commission and possible slippage—the more frequent the signals (lower timeframe, more responsive average), the greater the share of results consumed by trading itself (section 3's whipsaw calculation). The sections on execution and risk cover order types and execution technique.
11. Practical approach
There are dozens of trend indicators. You need not know all of them. You must understand three or four and be able to combine them with context.
A minimalist set
If you had to choose only three tools from this article:
- D1 EMA(21) and EMA(200) can record price relative to two horizons. Price above both does not demonstrate the strength of a future rise; between them simply means these filters give different answers.
- ADX(14)—strength filter. A reading above the conventional 25 threshold can be treated as a condition for trend-following signals; below 20, as its absence. Thresholds are working conventions (section 5).
- MACD (12, 26, 9)—describes the relationship between averages and its changes (position relative to zero, histogram). It uses the same prices as other averages, but at different periods may describe another series characteristic. Agreement does not automatically provide independent confirmations; an additional filter's utility needs testing.
This set organises readings; an entire layer covered in sections 6 and 9 separates it from a complete trading plan (entry, exit and size rules). Price reaction needs separate observation—a candlestick pattern, level break or another price action signal.
Reading sequence—without constructing a strategy
- D1: classify direction. Price relative to EMA(200) and EMA(21) provides an explicit, repeatable classification of market side—a description, rather than a trading instruction.
- D1: record strength. ADX and its classification under the chosen method; 25 is a popular convention, rather than a universal signal-usefulness boundary.
- H4: observe reaction. Pullbacks to an average or S/R zone are where an average reading meets price reaction (patterns—article 5.5); remember that MACD and averages use the same prices, so “confirmation” is not independent.
- Invalidation boundary. Record what invalidates the reading before deciding—most naturally, a candle close on the opposite side of structure (a confirmed swing) or a key average. Protective-order distances, volatility buffers (ATR), position size and reward-to-risk relationships belong to section 9; here, the distinction suffices: invalidation is an analysis-validity boundary, while a protective order is an execution decision.
- Windows where the reading loses value—minutes around major data, thin sessions and the weekend break—are described in sections 8 and 10; the fundamental analysis section provides macro background for multi-day positions.
Treat the rest—Ichimoku, Parabolic SAR and additional averages—as extensions, rather than the foundation. The foundation is being able to state directly: what regime the strength filter shows, which directional side structure supports and what invalidates that reading.
The strategies section shows step by step how to combine these filters into a complete trading plan—with entry, protective order, position size and management; section 9 discusses holding costs (swap) and their effect on results. This article ends where indicator interpretation ends.
12. Trend indicator overview—table
Comparison of commonly used trend indicators—their strengths, limitations and typical applications.
| Indicator | Type | What it measures | Timeframe (conventions) | In a trend | In consolidation | Complexity |
|---|---|---|---|---|---|---|
| SMA | Overlay (on price) | Direction (smoothed) | D1, H4 | Directional filter (convention) | Frequent crossovers | Low |
| EMA | Overlay (on price) | Direction; greater newest-observation weight than SMA of the same period >1 | D1, H4, H1 | Directional filter (convention) | Crossover count depends on series, periods and rule | Low |
| MACD | Below the chart | Direction + momentum | D1, H4 | Describes direction and phase | Oscillates around zero | Medium |
| ADX | Below the chart | Trend strength | D1, H4 | Confirms strength | Below a chosen threshold = filter not met | Medium |
| Parabolic SAR | Overlay (dots) | Direction + trailing stop | D1, H4 | Mechanical management rule | Frequent side reversals | Low |
| Ichimoku | Overlay (cloud + lines) | Direction + S/R + momentum | D1, weekly | Multiple reading layers together | Price inside the cloud = no unambiguous direction | High |
These indicators describe prices already observed. “Overlay” means displayed on the price chart; “below the chart” means a separate panel. The timeframes listed are common conventions for major FX pairs, not a ranking established by this table.
FAQ—Moving averages and trend indicators
EMA or SMA—which is better?
EMA gives a new price more weight; SMA gives equal weights within a finite window. EMA can respond faster to a step, but in steady linear movement, the average data age of EMA with α=2/(n+1) equals SMA's. Choose a construction consistent with the measurement function; record the type and seed in the settings.
How many trend indicators should I have on the chart?
There is no confirmed optimal number. MA, MACD and ADX can answer different questions, although they use overlapping prices. Choose readings needed for a defined rule and check whether another truly changes the information measured. Line count alone does not determine analysis quality.
What should I do when trend indicators give conflicting signals?
EMA(21), MACD and ADX describe different price relationships. Price above EMA, negative MACD and ADX below 25 can coexist. This is neither a data error nor a ready-made action signal. If your explicit rule requires all three conditions together, failing them means no signal from that rule.
Do trend indicators work on M15 and below?
Yes, but N means the candle count for the specified timeframe. H1 SMA(20) is not the same series as D1 SMA(20). No evidence here establishes that indicators are best on D1 or H4. Each application needs a separate description of data, candle close and execution conditions.
Does a golden cross really work?
A golden cross means a specific crossover, rather than a promise of further gains. Trade results depend on the entire rule, parameters, data and costs. The shorter average being above the longer is not another golden cross. Historical research on other markets does not replace testing this configuration on the selected FX pair.
Is MACD divergence a certain reversal signal?
No. MACD divergence (price makes a new high/low, MACD does not confirm) says only one thing: momentum is weakening. Weakening momentum is not a trend reversal. The market can continue rising for weeks with progressively shallower divergences before turning—or continue without turning. Divergence is a warning, rather than an activation signal. Operationally, it makes sense combined with another confirmation: an HTF resistance zone, candlestick pattern or trendline break. In isolation, it is grounds for increased attention, rather than opening a position.
Sources
Main sources
- MetaQuotes: Moving Average. Scope: SMA, EMA, SMMA and linear WMA; applied price. Accessed: 3 October 2026.
- MetaQuotes: MACD. Scope: MACD = EMA12−EMA26; SMA9 signal in MT5. Accessed: 3 October 2026.
- MetaQuotes: ADX Wilder code. Scope: selection of the larger positive DM, both zero on a tie; correct TR; smoothing and zero-denominator handling. Accessed: 3 October 2026.
- MetaQuotes: Ichimoku Kinko Hyo. Scope: range midpoints and 26-period line shifts. Accessed: 3 October 2026.
- Lo, Mamaysky, Wang (2000), the authors' original article. Scope: automated recognition of selected patterns in US equities, 1962–1996; conditional information does not prove FX-indicator profitability. Accessed: 3 October 2026.
Supplementary reading
- John Bollinger: Bollinger Band Rules. Scope: default 20 and 2; a touch is not a standalone signal; no assumption of normally distributed prices. Accessed: 3 October 2026.
- BIS: Triennial Central Bank Survey 2025, final annex. OTC-market scope; no central tick volume. Accessed: 3 October 2026.
- Menkhoff, Taylor (2007), American Economic Association. Scope: review of technical-analysis use in FX; does not prove an edge for a particular configuration. Accessed: 3 October 2026.
- BIS: The sterling flash event of 7 October 2016. Scope: historical GBP jump and liquidity conditions; no calculation of MA/MACD values from an unavailable series. Accessed: 3 October 2026.
- SNB: announcement of 15 January 2015. Scope: removal of the CHF 1.20 per EUR floor; no attribution of indicator readings. Accessed: 3 October 2026.
- RBA: The Recent Japanese Yen Flash Event. Scope: JPY appreciation against USD on 3 January 2019; the event is not an indicator test. Accessed: 3 October 2026.
- MetaQuotes: Standard Deviation. Standard deviation with divisor N. Accessed: 3 October 2026.
- TradingView: Moving Averages. EMA multiplier 2/(n+1), initial SMA in the described example. Accessed: 3 October 2026.
- MetaQuotes: Parabolic SAR. SAR recurrence, acceleration parameter. Accessed: 3 October 2026.
- MetaQuotes: Price Data. OTC OHLC from Bid, tick volume of received ticks; Last and real volume for exchange-traded instruments. Accessed: 3 October 2026.
- CME Group: About Volume. Volume in contracts for the specified date and execution-venue scope. Accessed: 3 October 2026.