Indicators · Momentum pane · explained simply
AreaTarget H 1.1.1
Copy the full Pine script and paste it into TradingView’s Pine Editor. Or copy this explanation, open Grok, and paste it with your question.
AreaTarget H is the lower-pane companion to AreaTarget 1.3.2. It plots the PMO momentum line, learned high and low lines that show when momentum is stretched, triangles for AreaTarget’s momentum-shift (MS) marks, and optional divergence dots. A table shows structure, the last MS, the PMO, and the nearest support and resistance. It is a chart-reading tool: it does not mark buys or sells. It works on any timeframe, just like AreaTarget.

Six questions this page answers
Use the guide below the same way you would judge any tool on a chart:
- What state is the market in?
- What should I do, and at exactly what price?
- How sure is it?
- What proves it wrong?
- Has it worked before on this chart?
- What can’t it tell me?
What it tells you
What state is the market in? The pane shows whether momentum agrees with AreaTarget’s structure map, and whether the PMO is stretched. What should I do, and at exactly what price? It does not tell you to buy or sell. The triangles are the same MS marks as on the price chart, not buy or sell arrows.
The pane uses a Price Momentum Oscillator (PMO) built like PrimoX and AreaTarget: a one-bar rate of change, smoothed with lengths 35 and then 20, multiplied by 10, with a 10-bar EMA as the signal. The PMO is the blue line. The signal is the red line. A dashed zero line sits in the middle.
The high and low lines are, by default, the 84th and 16th percentiles of the PMO over the last 252 bars. The plotted lines are anchored to the previous closed bar, so they do not move with the forming bar. When the PMO is at or above the high line it is stretched up. When it is at or below the low line it is stretched down. Otherwise it is in the middle. Until enough bars have printed, the table may say “still learning.”
The triangles
Green and red triangles sit on the PMO line. They are AreaTarget’s MS markers, from the same “MS source” setting, and they use the same colors as the MS labels on the price chart.
- Green triangle: MS up at that confirmed close (a close above the last swing high while structure was bearish, if you left the source on Structure).
- Red triangle: MS down at that confirmed close.
You can also set the source to a PMO cross, or turn the triangles off. The default MS swing length is 20. On weekly charts, try 8 to 10. MS prints on confirmed closes only.
Divergence
Divergence is calculated on turns of the PMO line, in the same way as PrimoX:
- Yellow dot: bullish divergence. Price made a lower low, but the PMO made a higher low.
- White dot: bearish divergence. Price made a higher high, but the PMO made a lower high.
A turn is confirmed after “Pivot right bars” (default 3), and the dot is then drawn back on the pivot bar. Optional lines connect the two PMO pivots. You can show dots on the PMO pane, on the price bars, on both (default), or turn them off. Divergence is for display and alerts only.
The table
The header reads “AreaTarget H 1.1.1” plus the chart timeframe. AreaTarget H copies AreaTarget’s zone engine and uses it only for this table. It does not draw zone boxes; use AreaTarget on the price chart to see those.
- Structure: BULLISH, BEARISH, or a dash, at the last closed bar.
- Last MS: UP or DOWN, and how many bars ago. A dash means none yet.
- PMO: the PMO value and its zone against the learned lines (high zone, low zone, middle, or still learning).
- Resistance: the nearest zone above the close, with the wick level, a touch count when needed, “flip” if it has flipped, and the room to the zone as a percent.
- Support: the same for the nearest zone below the close (the percent is shown as a negative number).
- Zone: where the close sits, such as TESTING SUPPORT, NEAR RESISTANCE, MID-RANGE, or NO ZONES.
Settings
Momentum shift (match AreaTarget): MS source (Structure, PMO cross, or Off) and MS swing length (default 20).
PMO learned lines: learning window (default 252 bars), high line (default 84th percentile), low line (default 16th percentile), and whether to draw the lines (on by default).
Zones for the table (match AreaTarget): swing length, zone depth cap, merge within, delete count, and forget length. Use the same values as AreaTarget on the overlay so the resistance and support rows match.
Divergence: dots on Both / PMO pane / Price bars / Off, divergence lines (on), pivot left bars (default 5), pivot right bars (default 3), max bars between pivots (default 90), and the price window (default 15).
Table: on by default, position Bottom Right, text size Small.
With AreaTarget
Both scripts work on any timeframe. Put AreaTarget on the price chart and AreaTarget H in a lower pane. AreaTarget draws the zones and the MS labels on price. AreaTarget H shows whether momentum agrees, whether the PMO is stretched, and whether a divergence has confirmed.
Match these settings on both scripts: MS source and MS swing length, plus zone swing length, depth cap, merge, delete count, and forget length.
Alerts
- MS up and MS down: a momentum shift at the confirmed close.
- Bullish Divergence and Bearish Divergence: a PMO divergence confirmed.
The Data Window lists the last MS (1 up, −1 down), divergence at confirmation (1 bull, −1 bear), structure (1 bull, −1 bear), zone position (−1 support, +1 resistance), and the build number 1.11.
What it can’t tell you
How sure is it? There is no confidence score. What proves it wrong? An MS the other way can change the structure reading, and a divergence can fail. Has it worked before? This script keeps no scorecard or pretend account. Nothing in it is tested as a trading edge.
- An MS structure pivot is not known until “MS swing length” bars after the pivot. Once it confirms, it does not repaint. Because 1.1.1 now uses bars on both sides, MS markers can land a bar or so differently than they did in 1.1.
- MS triangles, structure in the table, and zone updates wait for a confirmed close.
- A divergence dot is placed back on the pivot bar after the right-side confirmation (3 bars later by default). The alert fires at that confirmation bar, not at the earlier pivot bar.
- The plotted learned lines are anchored to the previous closed bar and do not move with the forming bar. The PMO and its signal do update on the forming bar, as any oscillator does.
- The Zone and PMO rows in the table can change while the current bar is still open.
- Zones are not drawn in this pane; they appear only as table rows.
- AreaTarget H is a TradingView indicator. MystTrades does not show live AreaTarget H readings.
Version
AreaTarget H 1.1.1 by TheurgyLabs (build of Nov 22, 2026). This build uses TradingView’s built-in swing pivots, with bars on both sides, for the MS marks. MS markers can land a bar or so differently than they did in 1.1. It is the companion pane for AreaTarget 1.3.2.