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.