OPEN-SOURCE SCRIPT
已更新

YCLK Al-Sat İndikatörü

RSI Period (RSI Periyodu): Adjustable RSI period (default is 14).
Overbought Level (RSI Aşırı Alım): Sets the RSI threshold for overbought conditions (default is 70).
Oversold Level (RSI Aşırı Satım): Sets the RSI threshold for oversold conditions (default is 30).
Take Profit Ratio (Kâr Alma Oranı): Percentage ratio for take-profit levels (default is 1.05 or 5% profit).
Stop Loss Ratio (Zarar Durdurma Oranı): Percentage ratio for stop-loss levels (default is 0.95 or 5% loss).
RSI Calculation: The script calculates the Relative Strength Index (RSI) using the defined period.
Buy Signal: Generated when RSI crosses above the oversold level.
Sell Signal: Generated when RSI crosses below the overbought level.
Buy/Sell Signal Visualization:
Buy Signal: Green upward arrow labeled as "BUY".
Sell Signal: Red downward arrow labeled as "SELL".
Dynamic Take Profit and Stop Loss Levels:
Entry Price: Tracks the price at which a Buy signal occurs.
Take Profit (TP): Automatically calculated as Entry Price * Take Profit Ratio.
Stop Loss (SL): Automatically calculated as Entry Price * Stop Loss Ratio.
These levels are plotted on the chart with:
Blue circles for TP levels.
Red circles for SL levels.
Fibonacci Targets: The script also calculates Fibonacci levels based on the entry price:
Fibonacci 1.236 Level: Shown in purple.
Fibonacci 1.618 Level: Shown in orange.
Additional Visual Details:
Displays the current RSI value at each bar as a yellow label above the chart.
How to Use:
Apply the indicator to your TradingView chart.
Adjust the input parameters (RSI period, overbought/oversold levels, profit/loss ratios) based on your strategy.
Use the Buy and Sell signals to identify potential trade entries.
Use the TP and SL levels to manage risk and lock in profits.
Refer to the Fibonacci levels for extended profit targets.
版本注释
YCLK Al-Sat İndikatörü (YCLK Buy-Sell Indicator)
This Pine Script indicator is designed to help traders identify potential buy and sell signals based on the Relative Strength Index (RSI) and includes additional features such as take-profit (TP), stop-loss (SL), and Fibonacci-based target levels. The indicator is overlaid on the price chart and provides visual cues for trading opportunities.

Key Features:
RSI-Based Buy/Sell Signals:

Buy signals are generated when the RSI crosses above the oversold level (default: 30).

Sell signals are generated when the RSI crosses below the overbought level (default: 70).

Take-Profit and Stop-Loss Levels:

The take-profit level is calculated as a percentage above the entry price (default: 5%).

The stop-loss level is calculated as a percentage below the entry price (default: 5%).

Fibonacci-Based Target Levels:

Two Fibonacci-based target levels are plotted:

1.236x of the entry price.

1.618x of the entry price.

Visual Alerts:

Buy signals are marked with a green "AL" (Buy) label below the price bar.

Sell signals are marked with a red "SAT" (Sell) label above the price bar.

Take-profit and stop-loss levels are displayed as circles on the chart.

Fibonacci levels are plotted as horizontal lines.

Input Parameters:
RSI Period: Length of the RSI calculation (default: 14).

RSI Overbought Level: Threshold for overbought conditions (default: 70).

RSI Oversold Level: Threshold for oversold conditions (default: 30).

Take-Profit Level (%): Percentage above the entry price for take-profit (default: 5%).

Stop-Loss Level (%): Percentage below the entry price for stop-loss (default: 5%).

How It Works:
The RSI is calculated based on the closing price and the specified RSI period.

Buy signals are triggered when the RSI crosses above the oversold level.

Sell signals are triggered when the RSI crosses below the overbought level.

Once a buy signal is generated:

The entry price is recorded.

Take-profit and stop-loss levels are calculated based on the input percentages.

Fibonacci-based target levels (1.236x and 1.618x) are calculated and plotted.

All signals and levels are visually displayed on the chart for easy interpretation.

Usage:
Use the buy and sell signals to identify potential entry and exit points.

Monitor the take-profit and stop-loss levels to manage risk and reward.

Use the Fibonacci levels as additional targets for profit-taking.

Customization:
You can adjust the input parameters (e.g., RSI period, overbought/oversold levels, take-profit, and stop-loss percentages) to suit your trading strategy.

Notes:
This indicator is for educational and informational purposes only. Always test and validate any strategy before using it in live trading.

Past performance is not indicative of future results.
版本注释
What's New in Version 2:

- **Timeframe Support:** The `input_timeframe` parameter allows RSI calculations on different timeframes. For example, you can use hourly RSI while working on a daily chart.
- **Alert Support:** The `alertcondition` function enables setting up alerts for buy and sell signals, useful for both automated and manual trading strategies.
- **Customizable Fibonacci Levels:** Users can now toggle Fibonacci levels on or off (`fib_levels`). A new 2.618 Fibonacci level has also been added.
- **Improved Chart Clarity:** Shapes and lines for buy/sell signals are now clearer, especially on mobile devices.
- **Increased Flexibility:** Users can fine-tune RSI overbought and oversold levels, as well as easily adjust take profit and stop-loss ratios.
版本注释
Description of New Features:

EMA Integration: EMA is used to determine the price trend direction. RSI signals are only taken when the price is above the EMA.
Risk/Reward Ratio: Users can see the risk/reward ratio based on take profit and stop loss levels.
Dynamic Fibonacci Levels: Users can customize the Fibonacci levels.
Information Panel: In the top right corner of the screen, the risk/reward ratio, TP (Take Profit), and SL (Stop Loss) values are displayed.
版本注释
New Features:

Dynamic Fibonacci Levels: Users can now set Fibonacci levels themselves.
Alarm Messages: Entry price, TP (Take Profit), and SL (Stop Loss) information has been added to alarm messages.
Fibonacci Levels in the Information Panel: Fibonacci levels are now displayed in the information panel.

免责声明