OPEN-SOURCE SCRIPT
Aggiornato

HEK Dinamik Fiyat Kanalı Stratejisi v1

969
HEK Dynamic Price Channel Strategy
Concept

The HEK Dynamic Price Channel provides a channel structure that expands and contracts according to price momentum and time-based equilibrium.
Unlike fixed-band systems, it evaluates the interaction between price and its balance line through an adaptive channel width that dynamically adjusts to changing market conditions.

How It Works

When the price reacts to the midline, the channel bands automatically reposition themselves.

Touching the upper band indicates a strengthening trend, while touching the lower band signals weakening momentum.

This adaptive mechanism helps filter out false signals during sudden directional changes, enhancing overall signal quality.

Advantages

✅ Maintains trend continuity while avoiding overtrading.
✅ Automatically adapts to changing volatility conditions.
✅ Detects early signals of short- and mid-term trend reversals.

Applications

Directional confirmation in spot and futures markets.

A supporting tool in channel breakout strategies.

Identifying price consolidation and equilibrium zones.

Note

This strategy is intended for educational and research purposes only.
It should not be considered financial advice. Always consult a professional financial advisor before making investment decisions.

© HEK — Adaptive Channel Approach on Dynamic Market Structures
6 gün önce
Sürüm Notları
HEK Dynamic Price Channel Strategy
Concept

The HEK Dynamic Price Channel provides a channel structure that expands and contracts according to price momentum and time-based equilibrium.
Unlike fixed-band systems, it evaluates the interaction between price and its balance line through an adaptive channel width that dynamically adjusts to changing market conditions.

How It Works

When the price reacts to the midline, the channel bands automatically reposition themselves.

Touching the upper band indicates a strengthening trend, while touching the lower band signals weakening momentum.

This adaptive mechanism helps filter out false signals during sudden directional changes, enhancing overall signal quality.

Advantages

✅ Maintains trend continuity while avoiding overtrading.
✅ Automatically adapts to changing volatility conditions.
✅ Detects early signals of short- and mid-term trend reversals.

Applications

Directional confirmation in spot and futures markets.

A supporting tool in channel breakout strategies.

Identifying price consolidation and equilibrium zones.

Note

This strategy is intended for educational and research purposes only.
It should not be considered financial advice. Always consult a professional financial advisor before making investment decisions.

© HEK — Adaptive Channel Approach on Dynamic Market Structures
Note di rilascio
# **v2 Update Notes – (v1 → v2)**

### **Upper & Lower Proximity Ratios Added**

Instead of requiring direct band touches, v2 introduces:

* **Upper Proximity Ratio (ustOran)**
* **Lower Proximity Ratio (altOran)**

allowing the user to define how close the price must get to the band to trigger signals.

This significantly increases flexibility and signal precision.

---

### **Proximity Calculated Relative to Channel Width**

Limits are now defined as:

```
upperLimit = upperChannel - channelWidth * upperRatio
lowerLimit = lowerChannel + channelWidth * lowerRatio
```

This ensures:

* Stable behavior during tight channels
* Accurate signals during strong trends
* Reduced noise in low-volatility conditions

---

### **Improved Trade Permission Logic**

The alIzin (long permission) and cikIzin (exit permission) system was adapted to the new limit-based structure.

* Approaching the upper limit → **Long Entry Only**
* Approaching the lower limit → **Exit Only**

Repeated signals are blocked automatically.

---

### **Improved Stability & Signal Quality**

* Smoother adaptive channel calculations
* Better approach-based signal zone
* Enhanced direction filtering

Overall, v2 is significantly more robust and stable than v1.

---

## **Note**

This strategy is for educational and research purposes only.
It should not be considered financial advice. Please consult a certified financial advisor before making investment decisions.

© HEK
Note di rilascio
## **HEK Dynamic Price Channel Strategy v3 + Sentiment**

The **HEK Dynamic Price Channel Strategy** is a hybrid trend–momentum model that uses a dynamic price channel based on the highest and lowest values within a selected period.
Version **v3** introduces major upgrades in filtering, sentiment modeling, dynamic weighting, and signal precision.

---

## **What’s New in v3**

### **1️ Rebuilt Sentiment Engine**

The strategy now calculates separate sentiment scores for:

* Stock
* Sector Index
* Main Index
* Futures Contract

Each score uses four analytical components:
**RSI, ROC, Volume Change, and ATR Change**, normalized to ±25/±20 scale.

---

### **2️ Dynamic Volatility-Based Weighting (New)**

A new module allocates weights based on real-time volatility:

* More volatile components receive higher influence.
* In stable conditions, stock sentiment dominates.
* Minimum-weight protection prevents skewed results.

Users may switch to manual weights instantly.

---

### **3️ Stronger & Cleaner Trade Logic**

* Upper/lower channel bands adjusted with dynamic offsets.
* Buy signal only when price approaches the upper limit.
* Exit signal only when price approaches the lower limit.
* Buy signals occur **only when no position is open**,
Exit signals occur **only when a position is open**
→ prevents repeated or ghost signals.

---

## **Purpose of the Strategy**

This hybrid model aims to:

* Capture trend continuation using dynamic channel breakouts,
* Filter false entries using multi-layer sentiment confirmation,
* Automatically adapt weighting to market regime shifts.

---

## Disclaimer

This script is for educational purposes only and does not provide financial advice.

© HEK

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.