PROTECTED SOURCE SCRIPT
已更新

xGhozt EVWMA Cross Strategy

52
This strategy leverages a single **Elastic Volume Weighted Moving Average (EVWMA)** to identify trend-following opportunities. It generates trade signals when the asset's **closing price crosses the EVWMA**.

### **How it Works**

* **Entry**: After a price-EVWMA cross (above for long, below for short), the strategy waits for a customizable number of `Bars to Wait After Cross` as a confirmation filter before entering a trade.
* **Exit (Take Profit)**: Once a position is open, it automatically exits the trade if the price achieves a customizable `Take Profit at Price Change (%)` relative to the entry price.

### **Specs & Inputs**

* **Indicator Type**: Trend-following strategy based on EVWMA.
* **Slow Sum Length**: EVWMA calculation period.
* **Bars to Wait After Cross**: Confirmation delay in bars after a cross before entry.
* **Take Profit at Price Change (%)**: Percentage gain from entry at which to close the position.

### **Purpose**

Designed for backtesting and automated trading, this strategy aims to capture directional price movements with a built-in confirmation delay and a fixed profit target.
發行說明
This modification dynamically colors the EVWMA line green when the price crosses above it (bullish signal) and red when the price crosses below it (bearish signal).
發行說明
This update fixes the Take Profit logic for short positions, ensuring the strategy now correctly exits short trades for profit at the specified percentage target.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。