PROTECTED SOURCE SCRIPT
YUSUF KARA YZLM Moving Average and Buy/Sell Signals

This indicator is a comprehensive technical analysis tool that combines dynamic trend tracking and a multiple moving average system. It offers four different moving average lines along with pivot points and an ATR (Average True Range) based trailing stop system.
Features
1. Dynamic Trend Following System
Center calculation based on pivot points (high/low)
Adjustable trailing stop levels with ATR factor
Automatic BUY and SELL signals
Colored line according to trend direction (Green: Uptrend, Red: Downtrend)
2. Multiple Moving Average System
4 different periods (default: 10, 50, 100, 200)
4 different calculation methods:
EMA (Exponential Moving Average)
SMA (Simple Moving Average)
WMA (Weighted Moving Average)
HMA (Hull Moving Average)
Same calculation method or source selection for all periods
Parameters
Trend Following Settings:
Pivot Point Period (2): Calculation period of pivot points
ATR Factor (3): ATR multiplier that determines the trailing stop width
ATR Period (10): ATR calculation Period
Moving Average Settings:
Period Type: Select EMA, SMA, WMA, or HMA
Period Type: Data source (Close, Open, High, Low, etc.)
Periods 1-4: Moving average periods
How to Use
Trend Signals:
BUY tag: Beginning of an uptrend (green)
SELL tag: Beginning of a downtrend (red)
The trend line shows the trailing stop level
Moving Averages:
Blue (10), Black (50), Orange (100), Red (200)
Can be used to identify support/resistance levels and trend direction
Crossovers are important signal points
Strategy Suggestions
BUY signal + price above moving averages = Strong buy
SELL signal + price below moving averages = Strong sell
The trend line can be used as a stop-loss level
Moving average crossovers confirm trend changes
Warnings
Each signal means a profitable trade It will not come.
Risk management should always be applied.
It is recommended to use it together with other indicators and analysis methods.
Past performance does not guarantee future results.
Features
1. Dynamic Trend Following System
Center calculation based on pivot points (high/low)
Adjustable trailing stop levels with ATR factor
Automatic BUY and SELL signals
Colored line according to trend direction (Green: Uptrend, Red: Downtrend)
2. Multiple Moving Average System
4 different periods (default: 10, 50, 100, 200)
4 different calculation methods:
EMA (Exponential Moving Average)
SMA (Simple Moving Average)
WMA (Weighted Moving Average)
HMA (Hull Moving Average)
Same calculation method or source selection for all periods
Parameters
Trend Following Settings:
Pivot Point Period (2): Calculation period of pivot points
ATR Factor (3): ATR multiplier that determines the trailing stop width
ATR Period (10): ATR calculation Period
Moving Average Settings:
Period Type: Select EMA, SMA, WMA, or HMA
Period Type: Data source (Close, Open, High, Low, etc.)
Periods 1-4: Moving average periods
How to Use
Trend Signals:
BUY tag: Beginning of an uptrend (green)
SELL tag: Beginning of a downtrend (red)
The trend line shows the trailing stop level
Moving Averages:
Blue (10), Black (50), Orange (100), Red (200)
Can be used to identify support/resistance levels and trend direction
Crossovers are important signal points
Strategy Suggestions
BUY signal + price above moving averages = Strong buy
SELL signal + price below moving averages = Strong sell
The trend line can be used as a stop-loss level
Moving average crossovers confirm trend changes
Warnings
Each signal means a profitable trade It will not come.
Risk management should always be applied.
It is recommended to use it together with other indicators and analysis methods.
Past performance does not guarantee future results.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.