PROTECTED SOURCE SCRIPT

HalfTrend with Cross Signals

45
Key Features:
HalfTrend Calculation:

Uses amplitude value (default 100)

Calculates based on highest/lowest prices and smoothed moving averages

Includes volatility adjustment using ATR

Signal Detection:

Buy signals when price closes ABOVE HalfTrend line

Sell signals when price closes BELOW HalfTrend line

Uses actual candle close prices for reliable signals

Visual Elements:

Plots HalfTrend line in blue

Shows green "BUY" labels below bars

Shows red "SELL" labels above bars

Alerts created for both signal types

Input Customization:

Adjustable amplitude parameter

Min value constrained to 1

Usage:
Apply to any chart

Signals appear at the close of the candle that crosses the HalfTrend line

Alerts can be set for automated notifications

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.