OPEN-SOURCE SCRIPT

Refined Entries with Alerts

Updated
HELLO? this is an indicator that uses, different strategies to find you some nice entries, you can try using it and also feel free to help me add more on it to make it easy, to trade.
Release Notes
The **Refined Entries with Alerts** indicator is a comprehensive tool designed to assist traders in making informed decisions based on a combination of technical analysis techniques. This indicator identifies buy and sell signals while also incorporating multiple filters for reliability. Here's a breakdown of its features and how it works:

### Key Features:

1. **Multiple Price Action Patterns**:
- The indicator looks for **bullish** and **bearish price action patterns** such as:
- **Bullish Pin Bar**: A candlestick pattern signaling a potential reversal or continuation to the upside.
- **Bearish Pin Bar**: A candlestick pattern signaling a potential reversal or continuation to the downside.
- **Bullish and Bearish Engulfing**: Candlestick patterns where the current bar engulfs the previous bar, indicating a change in trend.
- **Doji Pattern**: A neutral pattern where the open and close are very close, signaling indecision.
- **Morning Star**: A bullish reversal pattern that indicates a potential change from a downtrend to an uptrend.

2. **RSI (Relative Strength Index) for Confirmation**:
- The **RSI** is used for confirming buy and sell signals:
- A **bullish signal** occurs when the RSI crosses above the **oversold level** (default 30).
- A **bearish signal** occurs when the RSI crosses below the **overbought level** (default 70).

3. **Support and Resistance Levels**:
- The indicator automatically detects **support** and **resistance** levels using **pivot points**. These are levels where price has historically reversed or consolidated.
- **Support Bounce**: A buy signal is generated when the price bounces off a support level.
- **Resistance Bounce**: A sell signal is generated when the price is rejected at a resistance level.

4. **Moving Averages for Trend Detection**:
- The **Moving Averages (MAs)** (Short-term, Long-term, and Main) are used to confirm the prevailing market trend.
- **Bullish Trend**: A signal is confirmed when the price is above the main moving average, and a short-term moving average crosses above the long-term moving average.
- **Bearish Trend**: A signal is confirmed when the price is below the main moving average, and a short-term moving average crosses below the long-term moving average.

5. **RSI Divergence for Confirmation**:
- Divergence between the RSI and price action is checked to confirm the reliability of signals:
- **Buy Divergence**: Occurs when the RSI forms lower lows while the price forms higher lows.
- **Sell Divergence**: Occurs when the RSI forms higher highs while the price forms lower highs.

6. **Volatility Filter (ATR)**:
- The **Average True Range (ATR)** is used to filter signals based on market volatility. Signals are only generated when the volatility is above a minimum threshold, ensuring that only high-confidence signals are considered.

7. **Cooldown Period**:
- A cooldown period is implemented between signals to prevent multiple entries too close to each other. This helps reduce overtrading and ensures signals have a higher probability of success.

8. **Alerts and Notifications**:
- The indicator generates alerts when buy or sell signals are triggered. These alerts include the relevant details, such as entry price, support/resistance levels, and market direction.
- Notifications are sent directly to the trader, ensuring that they do not miss important trading opportunities.

### Visual Features:
- **Signal Plotting**:
- **Buy signals** are represented by **large green upward triangles**, which are plotted below the bar on the chart.
- **Sell signals** are represented by **large red downward triangles**, which are plotted above the bar on the chart.
- **Support and Resistance Levels** are plotted as red (resistance) and green (support) crosses on the chart.

### Benefits:
- **Comprehensive Entry Signals**: The combination of multiple price action patterns, RSI, moving averages, and volatility filters ensures reliable entry signals.
- **Trend Confirmation**: Signals are only triggered when the overall market trend aligns with the signal, adding further confidence to the trades.
- **Improved Risk Management**: The use of support and resistance levels helps to define risk and potential rewards more clearly.
- **Customizable Parameters**: Traders can adjust the lookback period, RSI length, moving average lengths, and volatility filters to fine-tune the indicator to their preferred trading style.
- **Clear and Large Visuals**: The indicator uses large, visually distinct shapes to ensure that signals are easily noticeable on the chart.

### Ideal For:
This indicator is perfect for **trend-following** traders who prefer a more systematic approach to identifying entry points. It is useful for both **beginners** and **experienced traders** who want to automate part of their analysis and focus on more reliable signals. The inclusion of RSI, moving averages, and price action patterns makes it highly versatile and suitable for a wide range of markets and timeframes.
Chart patternsforecasting

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer