TradeReign
Back to HomeEducation HubCompatibilityAboutDisclosures
TradingView Futures Indicators

HalfTrend by everget on TradingView Compare Amplitude Settings on the Same MES Bars

A setting that skips an early reversal can also recognize the next turn later. This five-minute Micro E-mini S&P 500 (MES) example shows both effects on the same candles. Use it to decide what to record before testing your own chart.

Quick Answer

Open Indicators in TradingView, search for HalfTrend [everget], and verify the author. Start with Amplitude 2 and Channel Deviation 2. Compare Amplitude 2 and 4 on identical completed candles. Changing Channel Deviation widens or narrows the display without changing the reversal calculation in everget’s implementation.

Start 7-Day TrialSet up HalfTrendCompare the MES flipsRun your own Replay testVerify alerts at the close

What changes when you adjust HalfTrend’s settings?

In Supercharts, open Indicators and select the community script by everget. Open the indicator’s gear and choose Inputs. This guide uses the author’s linked source revision. Confirm that your copy shows the same inputs before comparing results.

Amplitude changes how many highs and lows the reversal calculation uses. A downward flip requires the average of those highs to drop below the tracked low threshold and the current price to close below the previous bar’s low. An upward flip uses the mirrored test with recent lows and a close above the previous bar’s high. A bar can cross the previous extreme without satisfying the average test.

Channel Deviation changes the distance from the trend line to the ATR bands. The reversal tests use price and the Amplitude window. To verify the difference, run both copies at Amplitude 2 and set Channel Deviation to 2 in one and 4 in the other. Compare the times of the completed-bar labels and use the ribbon width to tell the copies apart.

Compare Amplitude 2 and 4 on the same MES session

The chart shows 42 synthetic five-minute MES bars. Both runs use Channel Deviation 2 and the same 103 rising warm-up bars before the visible window, enough to initialize the 100-bar ATR. The letters mark completed-bar trend flips calculated from the linked source rules.

At Amplitude 2, the 10:15 ET downward flip reverses four bars later at 10:35. Amplitude 4 shows neither of those two flips. Both settings flip down at 11:05. Amplitude 2 flips up at 11:35 and Amplitude 4 flips up at 12:25, a 50-minute difference. The common 11:05 flip shows why you should compare timestamps before assuming every change is delayed.

These are indicator events. The example has no order rules, fills, fees or performance result.

HalfTrend on 42 synthetic MES candles

Synthetic MES 5-minute candles. Times are bar closes in ET.

Marked bars · 10:15 A / 10:35 B / 11:05 C / 11:35 D

A is the 10:15 downward flip. B is the 10:35 upward flip, four bars later. C is down at 11:05, and D is up at 11:35.

Score the settings before choosing one

Use one dated contract, one interval and the same session hours in TradingView Bar Replay. Load at least 100 completed bars before starting your scored window so the script can initialize its ATR. Add two copies of HalfTrend and change only Amplitude. Step through one bar at a time and write down each label’s close time and direction.

Pick a definition for a quick reversal before scoring. For example, an opposite flip within five completed bars counts as a quick reversal. In the synthetic example, Amplitude 2 had four flips and one quick reversal. Amplitude 4 had two flips and zero quick reversals. When comparing timing, pair changes that describe the same price turn and record earlier changes that the other setting skipped.

Repeat the comparison on a session you did not use to choose the settings. Include a directional session and a sideways one. If the lower flip count comes with a delay you cannot use, keep both results in your notes. To evaluate actual trading results, define entries, exits and costs separately.

Match a HalfTrend alert to the completed candle

In Create Alert, select the HalfTrend instance and its Buy or Sell condition. Choose Once Per Bar Close when you want confirmed signals. A label on the developing bar can disappear as price moves. Compare the alert log with the completed candle for the same contract, interval and time zone.

TradingView stores a copy of the script, inputs and chart context when an alert is created. If you change Amplitude on the chart, recreate the alert with the new input. Name it with the contract, interval and Amplitude so a later audit can distinguish the two copies.

Sources

Official References

Platform details on this page were checked against these official resources.

Original HalfTrend listing by evergetVerify which community indicator to add.Author’s HalfTrend source revisionCheck the defaults, reversal conditions and ATR ribbon.TradingView documentation on alert settingsCheck bar-close frequency and when to recreate an alert.
Related Guides

Keep Building the Rule System

Compare two Hull Moving Average lengths

Use identical MES candles to distinguish a price cross from a change in slope.

Compare with the Supertrend indicator

See how ATR enters the calculation of the Supertrend bands.

Step through TradingView Bar Replay

Practice recording the same candle closes for each setting.

Create an alert on a TradingView indicator

Choose the right script instance and confirm its settings.

FAQ

Common Questions

What are the best HalfTrend settings on TradingView?

Use the defaults of Amplitude 2 and Channel Deviation 2 as a baseline. Compare Amplitude 2 and 4 on matched sessions and track quick reversals and delayed flips. The preferred setting depends on the instrument, timeframe and how you use the signal.

Does Channel Deviation change HalfTrend signals?

In everget’s linked implementation it changes the ATR ribbon and the vertical placement of markers. It leaves the flip calculation and signal times unchanged.

Why did my HalfTrend alert disagree with the chart?

Check whether it fired before the candle closed and whether the alert was created with different inputs, a different contract or a different interval. TradingView saves these settings when you create the alert.

Risk Disclosure

Futures trading contains substantial risk and is not suitable for every investor. TradeReign is a trading-discipline and rule-enforcement application. It does not provide trading advice, trade signals, investment recommendations, or performance guarantees.

TradeReign is not a broker-dealer, futures commission merchant, or investment advisor.

Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Only risk capital - money that can be lost without jeopardizing financial security or lifestyle - should be used for trading. Past performance is not necessarily indicative of future results.