Trading-Dojo ATH/ATL AlerterTrading-Dojo High-Low indicator with alerts.
Allows you to set popup or email alerts when price breaches historic highs or lows
Or chose Embed method to have it publish directly to a webhook in Discord!
Simply place the indicator on a chart, right-click the indicator lines and add alert. Choose the type of alert you want and that's it.
* Note: the indicator excludes the current candle so if you hit ATH yesterday and you're on the weekly timeframe , it won't fire off an alert. For better resolution use Daily or lower if the asset you are alerting on is very volatile.
Cari dalam skrip untuk "alert"
Volume & ATR Projection Tracker w/ Table & Alerts# README: Volume & ATR Projection Tracker (Pine Script Indicator)
## Overview
This Pine Script indicator for TradingView is designed to help traders analyze volume activity and potential short-term price volatility. It plots volume bars, calculates a moving average of volume, highlights unusual volume spikes (differentiating between up and down bars), and projects potential price ranges for upcoming hours based on Average True Range (ATR). It also provides a status table and configurable alerts.
**Disclaimer:** This indicator provides informational analysis and projections based on historical data and volatility. It does **not** provide guaranteed price predictions or financial advice. Trading involves substantial risk. Always do your own research and consult with a qualified financial advisor.
## Features
* **Volume Plotting:** Displays volume as a histogram in a separate panel.
* **Volume Moving Average:** Calculates and plots a configurable MA (SMA, EMA, WMA) of volume.
* **Unusual Volume Detection:** Identifies bars where volume significantly exceeds its moving average (based on a user-defined multiplier).
* **Differentiated Volume Analysis:**
* Colors volume bars differently based on whether unusual volume occurred on an up-bar (Close > Open), down-bar (Close < Open), or neutral bar (Close == Open).
* Plots different spike markers (up/down triangles) on the price chart for unusual volume on up/down bars.
* **ATR Volatility Projections:**
* Calculates the Average True Range (ATR) as a measure of recent volatility.
* Projects a potential price range (Close +/- ATR \* Multiplier) for a specified number of future hours.
* Plots these ranges as dashed lines and labels on the price chart.
* **Important:** These are volatility-based *ranges*, not directional predictions.
* **Status Table:** Displays a concise summary table on the chart including:
* Current Volume Status (Normal, High (Up), High (Down), High (Neut)).
* Current Volume compared to its MA (as a percentage).
* The projected ATR range for the next hour.
* **Configurable Alerts:** Provides alert conditions for:
* Unusual Volume detection.
* Volume crossing above its MA.
* Volume crossing below its MA.
* **Customizable Inputs:** Allows users to configure MA settings, volume threshold, ATR settings, projection hours, trading session times, and colors.
## How it Works
1. **Volume Analysis:**
* Calculates a Moving Average (SMA, EMA, or WMA) of the volume over a specified length (`MA Length`).
* Compares the current bar's volume to this MA. If `Volume > MA * Unusual Vol Multiplier`, the volume is flagged as "unusual".
* Checks if the unusual volume occurred on a bar where `Close > Open` (Up), `Close < Open` (Down), or `Close == Open` (Neutral).
* Colors the volume bars and plots spike markers based on this differentiated status.
2. **ATR Projections:**
* Calculates the ATR over a specified length (`ATR Length`).
* At the start of each hour *within the defined Trading Session*:
* Calculates an upper projection level: `Current Close + (Current ATR * ATR Multiplier)`.
* Calculates a lower projection level: `Current Close - (Current ATR * ATR Multiplier)`.
* Stores these levels for the specified number of `Projection Hours Ahead`.
* Draws dashed lines and labels on the price chart representing these hourly ranges for the future, but only if they are within TradingView's 500-bar drawing limit from the current bar.
3. **Status Table:**
* Updates on the last bar of the chart.
* Displays the current differentiated volume status, the percentage difference between current volume and its MA, and the calculated ATR range for the *next* hour.
4. **Alerts:**
* Uses `alertcondition()` to create trigger conditions based on `unusualVolumeBase`, `vol_cross_above`, and `vol_cross_below`. Users can create alerts based on these conditions in the TradingView UI.
## Input Settings
The indicator settings are organized into groups:
**Group 1: Volume Analysis Settings**
* **MA Length:** (Default: 20) Number of bars for the volume MA calculation.
* **MA Type:** (Default: SMA) Type of moving average (SMA, EMA, WMA).
* **Unusual Vol Multiplier:** (Default: 2.0) Threshold for detecting unusual volume (Volume > MA * Multiplier).
* **Show Volume Spikes:** (Default: true) Toggle visibility of triangle markers on the price chart.
* **Show Volume MA:** (Default: true) Toggle visibility of the MA line on the volume panel.
**Group 2: ATR Projection Settings**
* **ATR Length:** (Default: 14) Number of bars for the ATR calculation.
* **ATR Multiplier:** (Default: 1.5) Factor applied to ATR to determine the projection range width. Higher values create wider ranges.
* **Projection Hours Ahead:** (Default: 8) How many hours forward to calculate and display projections.
* **Show Projections:** (Default: true) Toggle visibility of projection lines and labels on the price chart.
**Group 3: Session & Colors**
* **Trading Session:** (Default: "0930-1600") Defines the hours during which projections are calculated. **Crucial:** Format is HHMM-HHMM based on the exchange timezone (see Timezone Note below).
* **Normal Vol Color:** (Default: blue) Color for volume bars when volume is not unusual.
* **Volume MA Color:** (Default: yellow) Color of the volume MA line.
* **Unusual Vol (Up Bar) Color:** (Default: light green) Color for unusual volume bars where Close > Open.
* **Unusual Vol (Down Bar) Color:** (Default: light red) Color for unusual volume bars where Close < Open.
* **Unusual Vol (Neutral Bar) Color:** (Default: light gray) Color for unusual volume bars where Close == Open.
* **Projection Line Color:** (Default: orange) Color of the dashed projection range lines.
* **Proj Label Bg Color:** (Default: semi-transparent gray) Background color for projection labels.
* **Proj Label Text Color:** (Default: white) Text color for projection labels.
## Timezone Note
The `Trading Session` input relies on a timezone setting within the `is_in_session` function in the code (currently hardcoded to `"UTC-4"` as an example for US Eastern Time). **You may need to edit the script code** to change this timezone string (e.g., `"America/New_York"`, `"Europe/London"`, `"Asia/Tokyo"`) to match the exchange time of the instrument you are trading. Consult Pine Script documentation for valid timezone strings.
## Limitations
* **Drawing Limit:** TradingView limits drawing objects (lines, labels) to a maximum of ~500 bars into the future from the current bar. On lower timeframes, the script automatically stops drawing projections that exceed this limit.
* **Projection vs. Prediction:** The ATR ranges are based on past volatility and are *not* price predictions. The market can easily move outside these projected ranges.
* **Alerts:** Alerts for price crossing the projected future levels are not implemented due to technical complexity in Pine Script.
## Disclaimer
Trading financial markets involves substantial risk of loss and is not suitable for all investors. The information provided by this indicator is for educational and informational purposes only and does not constitute financial advice, investment advice, trading advice, or any other sort of advice. You should not make any investment decision based solely on the information provided by this indicator. Past performance is not indicative of future results.
Min-Max | Buy-Sell Alert with LevelsMin-Max | Buy-Sell Alert with Levels
Description:
The Min-Max | Buy-Sell Alert with Levels indicator is a powerful tool designed to help traders identify key levels of support and resistance based on the previous day's high and low prices. It plots horizontal lines for the previous day's minimum (Min) and maximum (Max) prices, along with four intermediate levels (Stop Loss 1 to Stop Loss 4) calculated as equal percentage steps between the Min and Max.
This indicator is perfect for traders who want to:
Identify potential entry points when the price returns within the Min-Max range.
Set stop-loss levels based on the calculated intermediate levels.
Receive alerts for buy, sell, and stop-loss conditions.
Key Features:
Previous Day's Min and Max Lines:
Automatically plots the Min (red line) and Max (green line) of the previous day.
These levels act as dynamic support and resistance zones.
Intermediate Stop Loss Levels:
Calculates and plots four intermediate levels (Stop Loss 1 to Stop Loss 4) between the Min and Max.
Each level is equally spaced, representing potential stop-loss or take-profit zones.
Customizable Alerts:
Buy Alert: Triggered when the price returns within the Min-Max range after breaking below the Min.
Sell Alert: Triggered when the price returns within the Min-Max range after breaking above the Max.
Stop Loss Alerts: Triggered when the price reaches any of the four intermediate levels (Stop Loss 1 to Stop Loss 4).
Customizable Appearance:
Adjust the thickness, color, and style (solid, dashed, dotted) of the lines.
Customize the colors of the Stop Loss labels for better visualization.
Labels on the Chart:
Displays "Buy" and "Sell" labels on the chart when the respective conditions are met.
Labels for Stop Loss levels are also displayed for easy reference.
How to Use:
Add the indicator to your chart.
Customize the settings (line colors, thickness, and alert preferences) in the indicator's settings panel.
Use the Min and Max lines as dynamic support and resistance levels.
Monitor the intermediate levels (Stop Loss 1 to Stop Loss 4) for potential stop-loss or take-profit zones.
Set up alerts for Buy, Sell, and Stop Loss conditions to stay informed about key price movements.
Why Use This Indicator?
Simple and Effective: Focuses on the most important levels from the previous day.
Customizable: Tailor the indicator to match your trading style and preferences.
Alerts: Never miss a trading opportunity with customizable alerts for key conditions.
Settings:
Line Thickness: Adjust the thickness of the Min, Max, and intermediate lines.
Line Colors: Customize the colors of the Min, Max, and intermediate lines.
Line Style: Choose between solid, dashed, or dotted lines.
Stop Loss Label Colors: Customize the colors of the Stop Loss labels.
Alerts: Enable or disable alerts for Buy, Sell, and Stop Loss conditions.
Ideal For:
Day traders and swing traders.
Traders who rely on support and resistance levels.
Anyone looking for a clear and customizable tool to identify key price levels.
Disclaimer:
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always conduct your own analysis and trade responsibly.
Get Started Today!
Add the Min-Max | Buy-Sell Alert with Levels indicator to your chart and take your trading to the next level. Customize it to fit your strategy and never miss a key trading opportunity again!
Custom Time Alert with Vertical Line📌 Detailed Explanation of the Custom Time Alert with Vertical Line in Pine Script v5
This script is a time-based alert system designed for TradingView. It allows traders to set a specific hour and minute for alerts and provides visual indicators on the chart, including a marker when the alert triggers and a vertical line at the alert time.
🔹 Main Features
Custom Alert Time → Users can specify the exact hour and minute for an alert.
Time Zone Offset Support → Users can manually adjust their local UTC offset to ensure alerts trigger at the correct time.
Real-Time Alert Condition → When the market reaches the set time, an alert notification is triggered.
Chart Visualization → A red marker appears when the alert is activated, and a blue vertical line is drawn at the alert time.
Automated Calculation → The script adjusts the alert time based on the user’s time zone settings.
🛠️ How It Works
User Input for Alert Time
The script allows users to enter their desired alert hour (0-23) and minute (0-59).
This ensures the alert triggers at the exact specified time.
Time Zone Offset Handling
Users enter their UTC offset (e.g., New York is -5, Tokyo is +9).
This ensures alerts work correctly regardless of the user’s location.
Time Calculation
The script adjusts the TradingView time by adding the time zone offset in milliseconds.
This converts the UTC-based TradingView time into the user’s local time.
Checking for a Time Match
The script constantly checks if the current hour and minute match the user-defined alert time.
If they match, the script activates an alert.
Triggering Alerts
The script uses TradingView’s alertcondition() function to create an alert.
When the time matches, TradingView sends a notification (e.g., pop-up, sound, or mobile alert).
Chart Markers for Visual Alerts
A red marker is displayed on the chart when the alert triggers.
A blue vertical line is drawn at the exact alert time.
📌 Example Use Cases
📈 1. Forex Traders Monitoring Market Opens
A forex trader who trades the London session wants an alert when the market opens at 8:00 AM UTC.
The trader sets:
Alert Hour = 8
Alert Minute = 0
Time Zone Offset = 0 (for UTC)
When the market reaches 8:00 AM UTC, the script triggers an alert.
📈 2. Stock Market Open Alerts
A trader in New York (EST) wants an alert at 9:30 AM Eastern Time (New York Stock Exchange open).
New York’s UTC offset is -5.
The trader sets:
Alert Hour = 9
Alert Minute = 30
Time Zone Offset = -5
The script ensures the alert triggers at 9:30 AM EST.
📈 3. Crypto Trader Watching a Specific Time
A crypto trader wants an alert for a specific strategy at 3:00 PM in Tokyo (UTC+9).
Tokyo’s UTC offset is +9.
The trader sets:
Alert Hour = 15
Alert Minute = 0
Time Zone Offset = +9
The script ensures the alert triggers exactly at 3:00 PM Tokyo time.
Candle Size with Moving Averages and AlertsOverview
The "Candle Size with Moving Averages and Alerts" indicator is designed to provide traders with a visual representation of the size of each candle. This is useful for identifying periods of high volatility or significant price movements. The indicator also offers moving averages of the candle sizes and customizable alert thresholds to notify traders of unusually large or small candles.
Key Features
Candle Size Plot: Displays the size of each candle on a separate panel.
Moving Averages: Optionally plot moving averages of the candle sizes with customizable lengths and colors.
Alert Thresholds: Define thresholds to get alerted when candle sizes are unusually large or small.
Customizable Colors: Choose colors for different elements of the indicator.
Alerts: Visual and background color alerts for significant candle sizes.
How to Use the Indicator
Adding the Indicator to Your Chart
Open TradingView and navigate to your chart.
Click on the "Indicators" button at the top of the chart.
Search for "Candle Size with Moving Averages and Alerts."
Click on the indicator to add it to your chart.
Customizing the Indicator
Once the indicator is added to your chart, click on the settings icon (gear icon) next to the indicator's name in the chart legend.
This will open the settings panel where you can customize various parameters of the indicator.
Settings and Parameters
Show Moving Averages
Checkbox: Enable or disable the display of moving averages on the candle size plot.
MA Length 1
Input: Set the length of the first moving average (default is 14).
MA Length 2
Input: Set the length of the second moving average (default is 28).
Alert Threshold
Input: Define the threshold for alerts as a multiple of the average candle size (default is 1.5).
MA Color 1
Color Picker: Choose the color for the first moving average (default is blue).
MA Color 2
Color Picker: Choose the color for the second moving average (default is red).
Candle Size Color
Color Picker: Choose the color for the candle size plot (default is green).
Alert Threshold Color
Color Picker: Choose the color for the alert thresholds (default is orange).
Understanding the Plots
Candle Size Plot
The main plot shows the size of each candle (high minus low) in green by default.
This helps you visualize the volatility and identify significant price movements.
Moving Averages
If enabled, two moving averages are plotted on the candle size chart to help you understand the average candle size over different periods.
MA 1 (blue by default) and MA 2 (red by default) provide a smoothed view of the candle sizes.
Alert Thresholds
The upper and lower thresholds are plotted as dashed lines (orange by default).
The upper threshold indicates an unusually large candle size, while the lower threshold indicates an unusually small candle size.
Alerts and Background Colors
When the candle size exceeds the upper threshold, an alert is triggered, and the background color changes to a semi-transparent orange.
When the candle size falls below the lower threshold, an alert is triggered, and the background color changes to a semi-transparent orange.
These visual cues help you quickly identify significant candle sizes.
Example Settings
MA Length 1: 14
MA Length 2: 28
Alert Threshold: 1.5
MA Color 1: Blue
MA Color 2: Red
Candle Size Color: Green
Alert Threshold Color: Orange
First 15-Min Candle Detector [With Breakout Alerts]Indicator: First 15-Minute Candle Detector
Purpose
This indicator helps traders by identifying and marking the high, low, and mid-point of the first 15-minute candle of the market session. It also provides visual aids and alerts for price breakouts above or below these levels, making it ideal for intraday trading strategies.
This script is suitable for traders focusing on early session momentum or reversal strategies.
Key Features
Market Start Customization: Configure the market start time (hour and minute) to align with your trading session or exchange timezone.
Visual Aids:
Horizontal lines to mark the High , Low , and Mid-point of the first 15-minute candle.
Background highlighting to identify the first 15-minute candle.
Configurable colors and line widths for clear visuals.
Breakout Alerts:
Real-time alerts for breakouts above the high or below the low of the first 15-minute candle.
Customizable alert messages.
Alerts configured using alertcondition .
Dynamic Adjustments:
Adapts dynamically to timeframes of 15 minutes or lower.
Resets and recalculates at the start of each new session.
Inputs and Configurations
Market Settings:
Market Start Hour: Default is 9.
Market Start Minute: Default is 30.
Visual Settings:
Enable/disable background highlighting.
Set colors for the background, high line, low line, and mid-line.
Adjust line width (1 to 5).
Toggle the visibility of the mid-line.
Alert Settings:
Enable breakout alerts.
Set custom alert messages for high and low breakouts.
How It Works
// First 15-Minute Candle Detection
The indicator monitors the first 15-minute candle after the market opens based on the configured start time. It records the high , low , and calculates the mid-point of this candle.
// Visual Markings
Horizontal lines are drawn at the high, low, and mid-point of the first 15-minute candle, extending to the right for the rest of the session.
// Breakout Detection
The indicator checks for price breakouts above the high or below the low of the first 15-minute candle and triggers alerts if enabled.
// Dynamic Reset
The indicator resets values and deletes previous session lines at the start of each new session.
Conditions and Alerts
Breakout Conditions:
High Breakout: The closing price exceeds the high of the first 15-minute candle.
Low Breakout: The closing price falls below the low of the first 15-minute candle.
Alert Triggers: Configurable alerts notify you of breakouts in real-time.
Use Cases
Intraday Traders: Ideal for early-session momentum or reversal strategies.
Breakout Traders: Helps identify entry points when price breaks key levels.
Visual Clarity: Simplifies tracking important session levels.
Limitations
Works only on 15-minute or lower timeframes.
Requires accurate market start time configuration.
Cyato Grid Basic Buy & Sell [ALERTSETUP]Private indicator
This Grid bot strategy creates buy orders when the price goes down one level or more, and sell order when the price goes up one level or more.
To avoid useless trades, the lastest traded level is disabled until another level is crossed.
To create the grid, one upper level and one lower level is calculated. Those 2 levels are either given by the user using "MANUAL" mode or automatically calculated by an AI. The space between these two levels are then divided equally into several steps, creating the grid. The number of steps is choosen by the user, from 3 to 20.
How it Works
This is the Alert Setup version meaning this is the one you should use to create alerts (more below).
Select either "MANUAL" or "AI" mode.
When using "MANUAL", you have to configure an upper level and a lower level.
When using "AI", the upper and lower level are automatically calculated from last swing high/low.
Select the grid quantity, from 3 to 20.
Example with 3:
Example with 10:
Example with 20:
Creating the Alerts
When opening the alert popup, select "Cyato Grid" in the condition.
Make sure to use the option "Once per bar close" in order to stay in sync with the graphics on chart. (Only use "Once per bar" if you really know what you are doing).
Available alerts:
- BUY : Buy alert. Green label on chart.
- SELL: Sell alert. Red label on chart.
To get this indicator, use the link in my signature below, thanks!
Slark Signal - Telegram Alert---
Indicator Description: Slark Signal - Telegram Alert
The Slark Signal - Telegram Alert is a custom trading indicator designed to detect potential buy and sell signals based on pivots and trendlines. This indicator sends real-time alerts via Telegram when specific market conditions are met and provides automatic Stop-Loss (SL) and Take-Profit (TP) levels for better trade management.
---
What Does the Indicator Do?
Pivot-Based Signals: Detects significant pivot highs and lows to identify potential trend reversals.
Automatic SL and TP Levels: Projects customizable Stop-Loss and Take-Profit levels on the chart based on user-defined parameters.
Telegram Alerts: Sends buy or sell signals with relevant trade details (entry price, SL, and TP) to your Telegram channel when conditions are met.
Session-Based Signals: Limits the signals to a specific trading session (8:00 - 10:00).
---
How Does the Indicator Work?
Customizable Input Parameters:
- Pivot Detection Length: Defines the length used to detect pivot highs and lows.
- Slope Multiplier: Controls the slope of trendlines based on ATR.
- Session Start and End Hours: Specifies the time window during which signals can be generated.
- SL and TP Ticks: Defines the distance (in ticks) for Stop-Loss and Take-Profit levels.
- Telegram Chat ID: Input your Telegram chat ID to receive alerts in your Telegram channel.
Pivot Highs and Lows Detection:
- The indicator calculates pivot highs (PH) and pivot lows (PL) over the specified period, drawing trendlines for both based on the slope multiplier.
- Trendline Breakouts: When the price crosses above the upper trendline or below the lower trendline, it generates a buy or sell signal.
Signal Generation and Trade Levels:
- If a buy signal is detected, the indicator automatically sets and displays the entry price, Stop-Loss, and Take-Profit levels.
- The same applies for sell signals when a sell condition is met.
- Signals are valid only within the defined trading session (8:00 - 10:00).
Telegram Alerts:
- When a buy or sell signal is triggered, an alert with the trade details (entry price, SL, and TP) is sent to your Telegram chat via the chat ID you have provided.
---
How to Use the Indicator?
Set Up Input Parameters:
- Pivot Detection Length: Set the period for detecting pivot highs and lows (default: 5).
- Slope Multiplier: Adjust the slope multiplier for trendlines based on ATR (default: 0.4).
- SL and TP Ticks: Define the tick distance for SL and TP (default: SL = 100, TP = 300).
- Session Start and End Hours: Set the time window for signal generation (default: 8:00 - 10:00).
- Telegram Chat ID: Input your Telegram channel’s chat ID to receive alerts.
Interpreting Buy and Sell Signals:
- Buy Signal: When a buy condition is met, a label "COMPRA" is shown below the bar, and the system sends the signal to Telegram with all trade details.
- Sell Signal: When a sell condition is met, a label "VENTA" is displayed above the bar, and the system sends the corresponding alert to Telegram.
- The system ensures signals are only triggered during the defined session time (8:00 - 10:00).
Trade Planning and Risk Management:
- **Stop-Loss and Take-Profit:** Automatically drawn on the chart, use these levels to plan your trades.
- **Telegram Alerts:** Stay updated with real-time buy or sell signals in your Telegram channel for quick decision-making.
---
What Makes This Indicator Original?
Pivot and Trendline Logic: The indicator uses pivot highs and lows to draw dynamic trendlines, identifying key reversal points and breakouts.
Real-Time Telegram Alerts: Unique in its ability to send automatic alerts with detailed trade information directly to your Telegram channel, allowing you to act quickly on signals.
Built-In SL/TP Visualization: The system automatically calculates and displays SL and TP levels, making it easier to manage risk and reward.
Session-Based Signals: Helps traders focus on key trading hours by limiting signal generation to a specific time range.
---
Additional Considerations
Complement with Other Analysis: It is recommended to use this indicator in conjunction with other analysis tools to confirm trade setups.
Testing: Before using the indicator live, consider testing it on a demo account to fine-tune your settings.
Risk Management: Ensure that the SL and TP levels fit your trading strategy and risk tolerance.
Market Awareness: Stay informed about news and events that could impact market conditions during your trading session.
---
Example Configuration
To help you get started, here is an example configuration:
Pivot Detection Length: 5
Slope Multiplier: 0.4
SL Ticks: 100
TP Ticks: 300
Session Start Hour: 8
Session End Hour: 10
Telegram Chat ID: Input your unique Telegram chat ID here.
---
Conclusion
The Slark Signal - Telegram Alert indicator provides a highly customizable and automated solution for detecting buy and sell signals based on pivots and trendline breaks. By utilizing real-time alerts via Telegram, you can stay updated on key trading opportunities. It also offers automatic SL and TP levels, making trade planning and risk management straightforward.
Ready for immediate use in TradingView, this indicator can become a vital part of your trading strategy.
---
Didi index alertsThis is a script that helps traders automate the Needles hunt, by adding alerts to the Didi Index indicator. It also alerts for fake Long and Short signals.
To use it add an alert (alt+A) to the indicator.
Available alerts are:
Long Needles
Short Needles
Fake Short
Fake Long
Use the parameters "Minimum and Maximum needle distances" in the config window to calibrate the desired precision of a needle signal.
It is highly recommended that this indicator is used in conjunction with a trend indicator such as DMI, and with a volatility indicator as Bollinger Bands to filter the wrong signals.
-----------------
Esse script ajuda os caçadores de agulhadas a automoatizar a procura de sinais no Didi Index, pois inclui alertas que avisam quando uma agulhada acontece. Também inclui alertas para compra e venda falsas.
Para usar, basta criar um alerta (alt+A) no indicador.
Inclui os alertas:
Long Needles (Agulhada de Compra)
Short Needles (Agulhada de Venda)
Fake Short (Venda falsa)
Fake Long (Compra falsa)
Use os parametros "Minimum and Maximum needle distances" na janela de configuração do indicador para calibrar a precisão das agulhadas. Mais abaixo explico como as agulhadas são detectadas.
É altamente recomendado se use em conjunto com outros indicadores de tendencia (ex. DMI) e volatilidade (ex. Bollinger bands) para filtrar os sinais fora de contexto.
----------------
Sobre o cálculo do indicador
As agulhadas surgem quando os sinas de alerta e a confirmação do trade, dados pelas médias móveis no Didi Index, acontecem ao mesmo tempo ou quase simultanemante. Há também o famoso Beijo da Mulher Aranha, a Agulhada Queijo Minas e outras situações onde as médias não necessariamente se cruzam, mas as agulhadas acontecem.
Para resolver o problema, o cálculo da agulhadas usa além dos cruzamentos das médias, cálculos de trigonometria para determinar quando as médias se afastam simultaneamente da média normal (a linha reta do indicador).
Esse cálculo de trigonometria projeta retroativamente as médias e determina em quantas barras passadas o cruzamento aconteceu (ou teria acontecido). O alerta é disparado quando as projeções estão entre esses parametros "Minimum and Maximum needle distances". A precisão da agulhada é determinada por esses parametros que são configuráveis. As linhas pontillhadas amarelas no gráfico acima exemplificam as projeções.
Cyatophilum Swing Trader [ALERTSETUP]This is an indicator for swing trading which allows you to build your own strategies, backtest and alert. This version is the alertsetup which allows to create automated alerts hosted on TradingView servers that will trigger in form of emails, SMS, webhooks, notifications, and more. The backtest version can be found in my profile scripts page.
The particularity of this indicator is that it contains several indicators, including a custom one, that you can choose in a drop down list, as well as a trailing stop loss and take profit system.
The current indicators are :
CYATO AI: a custom indicator inspired by Donchian Channels that will catch each big trend and important reversal points .
The indicator has two major "bands" or channels and two minor bands. The major bands are bigger and are always displayed.
When price reaches a major band, acting as a support/resistance, it will either bounce on it or break through it. This is how "tops" and "bottoms", and breakouts are caught.
The minor bands are used to catch smaller moves inside the major bands. A combination of volume, momentum and price action is used to calculate the signals.
Advantages of this indicator: it should catch top and bottoms better than other swing trade indicators.
Cons of this indicator: Some minor moves might be ignored. Sometimes the script will catch a fakeout due to the Bands design.
Best timeframes to use it : 2H~4H
Sample:
Other indicators available:
SARMA: A combination of Parabolic Stop and Reverse and Exponential Moving Average (20 and 40) .
SAR: Regular Parabolic Stop and Reverse .
QQE: An indicator based on Quantitative Qualitative Estimation .
SUPERTREND: A reversal indicator based on Average True Range .
CHANNELS: The classic Donchian Channels .
More indicators might be added in the future.
About the signals: each entry (long & short) is calculated at bar close to avoid repainting. Exits (SL & TP) can either be intra-bar or at bar close using the Exit alert type parameter.
STOP LOSS SYSTEM
The base indicators listed above can be used with or without TP/SL.
TP and SL can be both turned on and off and configured for both directions.
The system can be configured with 3 parameters as follows:
Stop Loss Base % Price: Starting Value for LONG/SHORT stop loss
Trailing Stop % Price to Trigger First parameter related to the trailing stop loss. Percentage of price movement in the right direction required to make the stop loss line move.
Trailing Stop % Price Movement: Second parameter related to the trailing stop loss. Percentage for the stop loss trailing movement.
Another option is the "Reverse order on Stop Loss". Use this if you want the strategy to trigger a reverse order when a stop loss is hit.
TAKE PROFIT SYSTEM
The system can be configured with 2 parameters as follows:
Take Profit %: Take profit value in percentage of price.
Trailing Profit Deviation %: Percent deviation for the trailing take profit.
Combining indicators and Take Profit/Stop Loss
One thing to note is that if a reversal signal triggers during a trade, the trade will be closed before SL or TP is reached.
Indeed, the base indicators are reversal indicators, they will trigger long/short signals to follow the trend.
It is possible to use a takeprofit without stop loss, like in this example, knowing that the signal will reverse if the trade goes badly.
The base indicators settings can be changed in the "Advanced Parameters" section.
Configuration used for this snapshot:
ALERTS DEFINITION
Each alert correspond to the labels on chart.
01. LONG ENTRY (BUY) : Long alert
02. LONG STOP LOSS : Long stop loss event
03. LONG TAKE PROFIT : Long take profit event
04. SHORT ENTRY (SELL) : Short alert
05. SHORT STOP LOSS : Short stop loss event
06. SHORT TAKE PROFIT : Short take profit event
07. LONG EXIT : Long exit alert. Triggers on both Stop loss and Take Profit
08. SHORT EXIT : Short exit alert. Triggers on both Stop loss and Take Profit
09. ALL TAKE PROFITS : Long and Short Take Profits. Both directions.
10. ALL STOP LOSSES : Long and Short Stop Losses. Both directions.
11. ALL EXITS : Long and Short exits alert. Stop Loss and Take Profit both Long and Short.
Use the link below to obtain access to this indicator.
Cyatophilum H.A. Swing [BACKTEST]Hi guys, to celebrate the beginning of a new altcoins cycle, I created a Swing trade Indicator. (It's a joke, there will not be any altcoins cycle)
Cyatophilum Heikin Ashi Swing
This indicator will allow us to create one strategy for each pair and never miss those big swings ever again!
HOW BEAT BUY & HOLD WORKS
This kind of strategy is a safe long term investment , usually played in high timeframes such as 4H, 1D etc.
It is perfect for beginners in trading as the process is very simple: buy and sell when you receive the alert. The high timeframes allows to trade manually by receiving alerts on your phone or email, but you also can automate it if you prefer.
The primary goal of these strategies is to increase your capital faster than someone simply holding the asset .
The trades are made with no leverage and 100% equity . It is for those who want to grow their portfolio fast without risking to lose everything. You can use several strategies at once, in this case split your equity accordingly.
HOW DOES IT WORK?
The Heikin Ashi candles are very usefull. This strategy is built upon H.A. candles but is used on normal candles, because H.A. candles price are an average of real candles and we want to know the real price. I did the trick by recalculating the H.A. open, high, low and close with the original formula based on the real candles's ohlc. This allows me to use the strategy tester and backtest with real results.
HOW TO USE
Creating a signal is as simple as adding the indicator called to your chart and click "Set alert". Select "Once per bar close" for your alert options.
There are 3 alerts:
- BUY
- SELL
- BUY OR SELL (for free TV users)
Sample Backtest results
Bitcoin/Dollar
Ethereum/Bitcoin
Basic Attention Token/Bitcoin
> > Start using the indicator now < <
Note: This version is the BACKTEST. You can find the Alert version in my profile scripts.
EMA14 Second Time BUY/SELL AlertsEMA14 Crossover Strategy with Conditional BUY/SELL Alerts
This powerful script provides dynamic BUY and SELL alerts based on the interaction between price action and the EMA14 (Exponential Moving Average 14). Ideal for traders looking to capitalize on trend reversals and breakout patterns, this indicator helps you time entries and exits with precision.
Key Features:
Second-Time Crossover Alerts: The script tracks when the price crosses the EMA14 for the second time. This adds confirmation to price movements and helps filter out false signals.
Conditional BUY/SELL Alerts:
BUY Alert: Triggered when the price closes above the EMA14 after a previous SELL signal, indicating a potential trend reversal or breakout to the upside.
SELL Alert: Triggered when the price closes below the EMA14 after a previous BUY signal, signaling a possible shift to the downside.
Advanced Crossover Tracking:
The script counts each crossover of the price relative to the EMA14, generating a BUY or SELL signal on the second instance to provide additional confirmation of trend strength.
Visual Alerts: Labels are plotted directly on the chart to highlight when a BUY or SELL signal has occurred, providing immediate visual feedback for traders to react in real-time.
How It Works:
The script combines the simplicity of EMA14 with enhanced logic that tracks both crossovers and closes relative to the moving average. This ensures that the signals are based not only on quick movements but also on price confirmation, reducing noise and false breakouts.
This script is perfect for traders who rely on moving average strategies and want additional filtering to confirm trends and optimize trade timing.
MACD with Support and Resistance - Signals, Alerts, TP and SLMACD with Support and Resistance - Signals Alerts SL and TP by Tech Store On
The script uses MACD for entering/exiting trades and support/resistance lines to take TP1 (take profit 1). Both MACD and support/resistance lines are fully configurable to your preference, and you can back-test it via TradingView. Once TP1 is taken, you can either set the indicator to close the trade at the end of the US trading session day (4PM ET) or you can continue taking partial profits where you wish or just wait until reversal signal alert.
For example: If you will be day trading SPY and you wish to close your positions no matter what right before the market closes (3:45PM ET > 15min before closes): Make sure to checkbox “Intraday – Close Position Before Market Closes” in the strategy/indicator Settings, so that you are alerted soon before the market closes, if you wish to continue holding the position – leave this checkbox unchecked.
SL: SL is set to be slightly above/below the MACD signal candle, which is best suited for this strategy from manual backtesting.
Strategy Take Profit Approach
While the initial position open and SL hit is always based on a closed candle bar (can’t do otherwise, as otherwise you will have 10s of fake signal alerts), there are 2 ways on trading this strategy in terms of TP1 / TP1 taken > back to Entry, which is based off Alert type.
You can switch this as you like within the indicator settings, “Checked: TP1/TP1 taken > back to Entry per Price Touch | Unchecked: per Candle Close”.
Candle Close vs Price Touch: with the Default method - Candle Close for an alert for TP1 or if price comes back to Entry after TP1 is taken will only be triggered once candle bar fully closes crossing the area, while Price Touch will alert when price touches the area before candle bar closes.
For example: your trade is running well, you grab TP1 and the price reverses and hits your trade Entry area. With Price Touch – you are immediately alerted to close your trade with no loss and with TP1 profit. With Candle Close - you will receive an alert only once candle bar fully closes on top of the Entry crossing it backwards, meaning it may lower your TP1 profit or even completely reverse the trade into loss in case it will be a huge candle bar for any reason. However, it may touch the Entry area, looking like the price is reversing, but then continue per initial trade direction, sometimes becoming a trend. So, while Price Touch seem like a more conservative approach, Candle Close can give you much bigger profits if you catch a trend, but you can always change it via the Settings.
Note: TradingView back-testing engine does not have a feature to open/close orders IMMEDIATELY via Price Touch trigger, but only when the candle closes after price touches the scripted area/line/etc., so you for the most accurate results, test your strategy out via Candle Close setting. Otherwise, decide yourself. I personally like more Candle Close since I can test it out via back-testing with the most accurate results.
Note: If you will be observing the strategy LIVE, during LIVE candle bar movement – it will look weird, like it’s placing an order after order during any trigger – this seem like a TradingView bug, but is only observational, once the candle bar is closed and you refresh TradingView it will all look correct.
Back-Testing
If you wish to do some back-testing, just modify the strategy/indicator Settings:
-----1) STRATEGY: This is for back-testing/experimenting with the script inputs.
----------a. You can setup a start date (date, month, year) from which it will start opening back-test trades, select a position size and select TP1 size, the idea here is to close half (or whatever you choose) portion of the trade once you hit your TP1, then to either close at small profit or to catch a trend and close the second portion of the position long way ahead from Entry, otherwise it will alert you to close the position if price comes back to Entry, at reversal signal or at the end of US trading session if the option for it is checked. If you wish to close the whole position at TP1, just enter the same amount for TP1 to match backtest position size. Otherwise you can experiment with TP1 sizing – try it out!
-----2) Feel free to experiment with MACD settings and with S&R Left/Right bars, you may be amazed how results will differ and find some really cool combinations!
-----3) Make sure you select/de-select “Intraday – Close Position Before Market Closes” setting depending on what you are back-testing and on which conditions
-----4) Note: If you wish to do some deep back-testing (1+ years), use the “Deep Backtesting” feature within Strategy Tester on the TradingView as otherwise it may show wrong results or even fail to compute the results
Add the alerts
-----Right-click anywhere on the TradingView chart
-----Click on Add alert
-----Condition: MACD with Support and Resistance - Signals
----------o Right underneath the condition click on the drop-down menu and select “alert() function calls only”
-----Expiration time: Whatever you wish
-----Alert actions: Whatever notifications you wish
-----Alert name: DO NOT TOUCH THIS
-----Hit “Create”
-----Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
- Note: If you add the alert while the script is currently “In Position” it will not know that. So either wait when there will be no position open at all or close your position partially if the bot opens it twice bigger or so in case per script the bot will think it is already in position.
Note: Because of the slippage and the order processing time between TradingView, AutoView and the Broker (it’s usually about a second or so), it is suggested to not use a timeframe lower than 1min. The script is working really well with 15M/H1 timeframes per my back-testing, but feel free to explore via Strategy Back-testing what’s best for the instrument you wish to trade.
Dollar cost averaging (DCA) QFL IndicatorAs investors, we often face the dilemma of willing high stock prices when we sell, but not when we buy. There are times when this dilemma causes investors to wait for a dip in prices, thereby potentially missing out on a continual rise. This is how investors get lured away from the markets and become tangled in the slippery slope of market timing, which is not advisable to a long-term investment strategy.
Skyrex developed a complex indicator based on dollar-cost averaging in Quick Fingers Luc's interpretation. It is a combinations of strategies which allows to systematically accumulate assets by investing scaled amounts of money at defined market cycle global support levels. Dollar-cost averaging can reduce the overall impact of price volatility and lower the average cost per asset thus even during market slumps only a small bounce is required to reach take profit.
The indicator script monitors a chart price action and identifies bases as they form. When bases are reached the script provides entry alerts. During price action development an asset value can go lower and in this way the script will perform safety entries alerts at each subsequent accumulation levels. When weighted average entry price reaches target profit the script will perform a take profit action alert.
Bases are identified as pivot lows in a fractal pattern and validated by an adjustable decrease/rise percentage to ensure significancy of identified bases. To qualify a pivot low, the indicator will perform the following validation:
Validate the price rate of change on drops and bounces is above a given threshold amount.
Validate the volume at the low pivot point is above the volume moving average (using a given length).
Validate the volume amount is a given factor of magnitude above is above the volume moving average.
Validate the potential new base is not too close to the previous range by using a given price percent difference threshold amount.
A fractal pattern is a recurring pattern on a price chart that can predict reversals among larger, more chaotic price movements. These basic fractals are composed of five or more bars. The rules for identifying fractals are as follows:
A bearish turning point occurs when there is a pattern with the highest high in the middle and two lower highs on each side.
A bullish turning point occurs when there is a pattern with the lowest low in the middle and two higher lows on each side.
Basic dollar-cost averaging approach is enhances by implementation of adjustable accumulation levels in order to provide opportunity of setting them at defined global support levels and Martingale volume coefficient to increase averaging effect. According to Quick Fingers Luc's principles trading principles we added volume validation of a base because it allows to confirm that the market is resistant to further price decrease.
The indicator supports traditional and cryptocurrency spot, futures, options and marginal trading exchanges. It works accurately with BTC, USD, USDT, ETH and BNB quote currencies. Best to use with 1H timeframe charts and limit orders. The indicator can be and should be configured for each particular asset according to its global support and resistance levels and price action cycles. You can modify levels and risk management settings to receive better performance
Advantages of this indicator:
The indicator has custom alert settings for each strategy action
The indicator can be used with 3Commas, Cryptohopper, Alertatron or Zignaly bots
The indicator is sustainable to market slumps and can be used for long-term trading
The indicator provides a large number of entries which is good for diversification
Can be applied to any market and quote currency
Easy to configure user interface settings
How to use?
1. Apply indicator to a trading pair your are interested in using 1H timeframe chart
2. Configure the indicator: change layer values, order size multiple and take profit/stop loss values according to current market cycle stage
3. Set up a TradingView custom alert using the indicator settings to trigger on a condition you are interested in
4. The indicator will send alerts when to enter and when to exit positions which can be applied to your portfolio using external trading platforms
5. Update settings once market conditions are changed using backtests on a monthly period
Directional Movement Index (DMI) + AlertsThis is a Study with associated visual indicators and Bullish/Bearish Alerts for Directional Movement (DMI). It consists of an Average Directional Index (ADX), Plus Directional Indicator (+DI) and Minus Directional Indicator (-DI).
Published by J. Welles Wilder in 1978 for use with currencies and commodities which are typically more volatile than stocks and have stronger trends.
Development Notes
---------------------------
This indicator, and most of the descriptions below, were derived largely from the TradingView reference manual. Feedback and suggestions for improvement are more than welcome, as well are recommended Input settings and best practices for use.
tradingview.com/chart/?solution=43000502250
Strategy Description
---------------------------
ADX defines whether or not there is a trend present; +DI and -DI compliment the ADX by taking direction into account. An ADX above 25 indicates a strong trend, and a Bullish alert is subsequently triggered when +DI is above -DI and a Bearish alert when -DI is above +DI.
Note that the Bullish or Bearish crossover alert will only trigger if ADX is simultaneously above 25 during the crossover event. If ADX later rises to 25 and +DI is still greater than -DI, or -DI greater than +DI, then a delayed alert will not trigger by design.
Basic Use
---------------------------
Acceptable DMI values are up to the trader's interpretation and may change depending on the financial instrument being examined. Recommend not changing any default values without being first familiar with their purpose and impact on the indicator at large.
Confidence in price action and trend is higher when two or more indicators are in agreement -- therefore we recommend not using this indicator by itself to determine entry or exit trade opportunities.
Recommend also choosing 'Once Per Bar Close' when creating alerts.
Inputs
---------------------------
ADX Smoothing - the time period to be used in calculating the ADX which has a smoothing component (14 is the Default).
DI Length - the time period to be used in calculating the DI (14 is the Default).
Key Level - any trade with the ADX above the key level is a strong indicator that it is trending (23 to 25 is the suggested setting).
Sensitivity - an incremental variable to test whether the past n candles are in the same bullish or bearish state before triggering a delayed crossover alert (3 is the Default). Filter out some noise and reduces active alerts.
Show ADX Option - two visual styles are provided for user preference, a visible ADX line or a background overlay (green or red when ADX is above the key level, for bullish or bearish, and gray when below).
Color Candles - an option to transpose the bullish and bearish crossovers to the main candle bars. Can be turned off in the Style Tab by deselecting 'Bar Colors'. Dark blue is bullish, dark purple is bearish, and the black inner color is neutral. Note that the outer red and green border will still be distinguished by whether each individual candle is bearish or bullish during the specified timeframe.
Indicator Visuals
---------------------------
Bullish or Bearish plot based on DMI strategy (ADX and +/-DI values).
Visual cues are intended to improve analysis and decrease interpretation time during trading, as well as to aid in understanding the purpose of this study and how its inclusion can benefit a comprehensive trading strategy.
Trend Strength
---------------------------
To analyze trend strength, the focus should be on the ADX line and not the +DI or -DI lines. An ADX reading above 25 indicates a strong trend, while a reading below 20 indicates a weak or non-existent trend. A reading between those two values would be considered indeterminable. Though what is truly a strong trend or a weak trend depends on the financial instrument being examined; historical analysis can assist in determining appropriate values.
Bullish DI Cross
---------------------------
1. ADX must be over 25 (strong trend) (value is determined by the trader)
2. +DI cross above -DI
3. Set Stop Loss at the current day's low (any +DI cross-backs below -DI should be ignored)
4. Set trailing stop if ADX strengthens (i.e., signal rises)
Bearish DI Cross
---------------------------
1. ADX must be over 25 (strong trend) (value is determined by the trader)
2. -DI cross above +DI
3. Set Stop Loss at the current day's high (any -DI cross-backs below +DI should be ignored)
4. Set trailing stop if ADX strengthens (i.e., signal rises)
Disclaimer
---------------------------
This post and the script are not intended to provide any financial advice. Trade at your own risk.
No known repainting.
Version 1.1
-------------------------
- Added multi-timeframe resolution using PineCoders secure security function to eliminate repainting.
- Cleaned up option for selecting ADX view; and added a colored line as a choice, based on same bullish, bearish, or neutral colors as the background.
- Added exit crossover indicator to aid in an overall strategy development. This ability pairs better with my CHOP Zone Entry Strategy which relies on DMI Exits. Note that exit conditions don't employ the sensitivity variable. Green labels are for Bullish exits and red are for Bearish.
-- Exit condition is triggered if in an active Bullish or Bearish position and ADX drops below 25, Or if either the -DI crosses above +DI (for previously Bullish) or +DI crosses above -DI (for previously Bearish).
- Added reverse position determination. Triggers when a Bullish entry occurs on the same candle as a Bearish exit, or vice versa. Green labels are for Bullish reverses and red are for Bearish.
- Added selectable option to choose visible labels -- Bearish, Bullish, Both, Exits, Reverses, or All.
-- Note that a reverse label will only show if the opposing entry and exit labels are set to show, otherwise the reverse will revert to the appropriate entry or exit on the chart.
- Added alerts to account for new conditions.
-- Note that alerts for crossovers, exits, and reverses will only be triggered if the associated labels are selected to be shown (i.e., what you choose to see on the chart is what you will be alerted to).
Version 1.2
-------------------------
- Changed exit condition to be decided on by whether ADX is below 25 and on a +/-DI crossover. Versus being either or. The previous version had too many false triggers. This variety can now show multiple Bullish or Bearish alerts before an Exit condition too. I'm tempted to simply make this condition based on ADX, and not DI … thoughts? See lines 138 and 139.
- Updated the Background view to have deeper shades of colors dependent upon the ADX trend strength.
- Added an Oscillator view for the ADX and momentum computations to color the histogram by trend. DI lines are hidden.
-- If ADX is Bullish, then the oscillator is colored light green in an uptrend and dark green in a downtrend; if Bearish, then its light red in an uptrend and dark redin a downtrend; if adx is below key level, then it is light gray in a downtrend and dark grey in the uptrend.
- Added option to Hide ADX in case only the Directional lines are desired. This could be useful if you would like to have the ADX oscillator in one panel and +/-DI crossovers in another.
- Added a Columnar view for the ADX. DI lines are hidden. This view is really simple and compact, with the trend strength still easily understood. Colors are the same as for the oscillator -- the deeper the shade of green or red, then the higher the ADX trend strength level.
- Added a Trend Strength label.
ADX Trend Strength Trade (Y/N) Setup Types
0 to 10 = Barely Breathing N N/A
10 to 20 = Weak Trend Y Range/Pre-Breakout
20 to 30 = Potentially Starting to Trend Y Early Stage Trend
30 to 50 = Strong Trend Y Ride the Wave
50 to 75 = Very Strong Trend N Exhaustion
75 to 100 = Extremely Strong Trend N N/A
Version 1.3
-------------------------
Updated to Pine Script v5 to resolve errors from the deprecated v4 version.
This is a reissue of a previously published script that was hidden due to a v4 compatibility issue.
'https://www.tradingview.com/script/9OoEHrv5-Directional-Movement-Index-DMI-Alerts/'
Adv EMA Cloud v6 (ADX, Alerts)Summary:
This indicator provides a multi-faceted view of market trends using Exponential Moving Averages (EMAs) arranged in visually intuitive clouds, enhanced with an optional ADX-based range filter and configurable alerts for key market conditions. It aims to help traders quickly gauge trend alignment across short, medium, and long timeframes while filtering signals during potentially choppy market conditions.
Key Features:
Multiple EMAs: Displays 10-period (Fast), 20-period (Mid), and 50-period (Slow) EMAs.
Long-Term Trend Filter: Includes a 200-period EMA to provide context for the overall dominant trend direction.
Dual EMA Clouds:
Fast/Mid Cloud (10/20 EMA): Fills the area between the 10 and 20 EMAs. Defaults to Green when 10 > 20 (bullish short-term momentum) and Red when 10 < 20 (bearish short-term momentum).
Mid/Slow Cloud (20/50 EMA): Fills the area between the 20 and 50 EMAs. Defaults to Aqua when 20 > 50 (bullish mid-term trend) and Fuchsia when 20 < 50 (bearish mid-term trend).
Optional ADX Range Filter: Uses the Average Directional Index (ADX) to identify potentially non-trending or choppy markets. When enabled and ADX falls below a user-defined threshold, the EMA clouds will turn grey, visually warning that trend-following signals may be less reliable.
Configurable Alerts: Provides several built-in alert conditions using Pine Script's alertcondition function:
Confluence Condition: Triggers when a 10/20 EMA crossover occurs while both EMA clouds show alignment (both bullish/green/aqua or both bearish/red/fuchsia) and price respects the 200 EMA filter and the ADX filter indicates a trend (if filters are enabled).
MA Filter Cross: Triggers when price crosses above or below the 200 EMA filter line.
Full Alignment Start: Triggers on the first bar where full bullish or bearish alignment occurs (both clouds aligned + MA filter respected + ADX trending, if filters are enabled).
How It Works:
EMA Calculation: Standard Exponential Moving Averages are calculated for the 10, 20, 50, and 200 periods based on the closing price.
Cloud Creation: The fill() function visually shades the area between the 10 & 20 EMAs and the 20 & 50 EMAs.
Cloud Coloring: The color of each cloud is determined by the relationship between the two EMAs that define it (e.g., if EMA 10 is above EMA 20, the first cloud is bullish-colored).
ADX Filter Logic: The script calculates the ADX value. If the "Use ADX Trend Filter?" input is checked and the calculated ADX is below the specified "ADX Trend Threshold", the script considers the market potentially ranging.
ADX Visual Effect: During detected ranging periods (if the ADX filter is active), the plotCloud12Color and plotCloud23Color variables are assigned a neutral grey color instead of their normal bullish/bearish colors before being passed to the fill() function.
Alert Logic: Boolean variables track the specific conditions (crossovers, cloud alignment, filter positions, ADX state). The alertcondition() function creates triggerable alerts based on these pre-defined conditions.
Potential Interpretation (Not Financial Advice):
Trend Alignment: When both clouds share the same directional color (e.g., both bullish - Green & Aqua) and price is on the corresponding side of the 200 EMA filter, it may suggest a stronger, more aligned trend. Conversely, conflicting cloud colors may indicate indecision or transition.
Dynamic Support/Resistance: The EMA lines themselves (especially the 20, 50, and 200) can sometimes act as dynamic levels where price might react.
Range Warning: Greyed-out clouds (when ADX filter is enabled) serve as a visual warning that trend-based strategies might face increased difficulty or whipsaws.
Confluence Alerts: The specific confluence alerts signal moments where multiple conditions align (crossover + cloud agreement + filters), which some traders might view as higher-probability setups.
Customization:
All EMA lengths (10, 20, 50, 200) are adjustable via the Inputs menu.
The ADX length and threshold are configurable.
The MA Trend Filter and ADX Trend Filter can be independently enabled or disabled.
Disclaimer:
This indicator is provided for informational and educational purposes only. Trading financial markets involves significant risk. Past performance is not indicative of future results. Always conduct your own thorough analysis and consider your risk tolerance before making any trading decisions. This indicator should be used in conjunction with other analysis methods and tools. Do not trade based solely on the signals or visuals provided by this indicator.
Relative Vigor Index [MTF] with MACD, Divergence and AlertsThis advanced indicator integrates the Normalized Relative Vigor Index (RVGI) with Multi-Timeframe (MTF) analysis, MACD, divergence detection, and customizable alert features. It provides a comprehensive toolkit for traders to analyze market momentum, identify trend changes, and react to significant technical signals.
Key Features:
Normalized Relative Vigor Index (RVGI):
Calculation: Computes the RVGI and its signal line using various smoothing methods (SWMA, EMA, SMA). The RVGI measures the strength of price movement relative to its historical volatility, providing insights into market momentum.
Plotting: Visualizes the RVGI and signal line on the chart. Users can customize the colors and transparency of the plots and the ribbon that fills the area between them.
Overbought/Oversold Levels: Displays horizontal lines to mark overbought and oversold zones, helping to identify potential reversal points.
Multi-Timeframe (MTF) Analysis:
Timeframe Selection: Allows users to select different timeframes for RVGI analysis, providing a broader perspective on market trends and signals.
Integration: Combines MTF data with the main indicator calculations to offer a more comprehensive view of market conditions.
MACD Integration:
Calculation: Computes MACD, MACD signal line, and MACD histogram with options for different moving average types (SMA, EMA) and a customizable scaling factor.
Plotting: Plots the MACD histogram, zero line, and signal line, with color and transparency settings to distinguish between positive and negative values.
Divergence Detection:
Bullish Divergence: Identifies and plots bullish divergence when the price makes a lower low while the RVGI makes a higher low, suggesting potential upward reversals.
Bearish Divergence: Identifies and plots bearish divergence when the price makes a higher high while the RVGI makes a lower high, indicating potential downward reversals.
Alerts:
Divergence Alerts: Configurable alerts for bullish and bearish divergences, notifying traders of significant potential reversals.
RVGI Alerts: Alerts for RVGI crossovers, overbought/oversold conditions, and trend changes based on RVGI and signal line crossovers.
MACD Alerts: Alerts for MACD line crossovers, histogram crossovers, and MACD zero line crossovers, helping traders stay informed of key MACD signals.
Customization Options:
Ribbon Colors and Transparency: Users can adjust the colors and transparency of the RVGI ribbon, enhancing visual clarity.
MACD Histogram Colors and Transparency: Customizable colors and transparency settings for the MACD histogram improve visibility and differentiation of positive and negative values.
Smoothing Methods: Choose between different smoothing methods for RVGI, tailoring the indicator to specific trading strategies.
Use Cases:
Trend Analysis: Utilize RVGI and MACD signals to analyze market trends, identify potential trend reversals, and assess momentum.
Divergence Identification: Detect and act on divergences between price and RVGI to spot potential trading opportunities.
Alert Management: Customize and receive alerts based on various conditions, ensuring timely responses to market signals.
Conclusion:
This indicator is designed for traders who seek a comprehensive tool combining momentum analysis, divergence detection, and signal alerts. By integrating RVGI, MACD, and MTF analysis, it provides a powerful suite of features to enhance market analysis and trading decisions
Engulfing Pattern Alerts By PropFirm AlgoWe have now decided to make this indicator to support the trading community! If you find yourself struggling to identify bullish engulfing and bearish engulfing candles, this one is for you.
Release Notes:
Initial release with robust detection of bullish and bearish engulfing patterns.
Added trend and volume filters for enhanced pattern accuracy.
Custom alerts for real-time notifications of potential trading opportunities.
Appendix 1 - Example Case of Use For Educational Study.
Appendix 2 - Technical description which focuses on explaining the functionality of the script, how the code works, and how it can be used by traders, providing further immediate insight value.
Appendix 1:
This indicator will provide you with Two types Bullish and Bearish Engulfing Alerts.
The Regular Bullish and Bearish Engulfing Candle's Shown As
Bullish Engulfing ︽
Bearish Engulfing ︾
And the Filtered Bullish and Bearish Engulfing Candle Shown As
Filtered Bullish Engulfing ⇡
Filtered Bearish Engulfing ⇣
You can also change the Alert Symbol to any text, symbol or emoji of choice in the Setting Style Panel . This allows you to customize the alert symbol style to your liking, Example....
Using the power of artificial intelligence, we coded this indicator based on technical descriptions to perfect this simple problem.
Use this tool together with different strategies as a confirmation to your trading bias.
Use Supply and Demand Zones together with the Engulfing Pattern Alerts
First, Verify if the bullish engulfing candle is at the end of a dying trend.
Secondly, Check if it’s at a major 1-hour, 4-hour, or daily support and resistance zone.
Then wait for the retest, then enter a position.
DON’T USE THE ENGULFING ALERT AS A POINT OF ENTRY, OR WHILE MARKETS ARE CONSOLIDATING nor in the middle of an active trend.
Now for the second most used method:
Use The Fibonacci together with the Engulfing Pattern Alerts
First, Identify an impulse candle that creates a new trend in the market.
Then Draw out your Fibonacci tool from the start of the candle to the end of the impulse leg where rejection is shown.
Wait for the price to retrace to the 61.8 retracement and use the engulfing candle as a second confirmation.
And lastly, wait for the price to retest the fib level showing signs of rejection, then enter.
Appendix 2:
Technical Description:
The "Engulfing Pattern Alerts By PropFirm Algo" script is a sophisticated tool designed to identify and alert traders of potential bullish and bearish engulfing patterns in the market, enhanced by trend and volume filters for improved accuracy. This script helps traders spot potential trend reversals by analyzing candlestick patterns in conjunction with volume data and moving averages.
Key Features:
Bullish Engulfing Pattern Detection: Identifies when a smaller bearish candle is followed by a larger bullish candle, indicating potential upward price movement.
Bearish Engulfing Pattern Detection: Identifies when a smaller bullish candle is followed by a larger bearish candle, indicating potential downward price movement.
Volume Filter: Enhances pattern reliability by ensuring the identified pattern is accompanied by a significant volume increase.
Trend Filter: Utilizes Simple Moving Averages (SMA) to filter patterns based on the prevailing market trend, reducing false signals on the "Filtered Engulfing Alerts" Setting.
Custom Alerts: Configurable alerts for both bullish and bearish engulfing patterns, allowing traders to stay informed in real-time.
How It Works:
Bullish Engulfing Pattern:
Detected when the body of the current candle completely engulfs the body of the previous candle.
Confirmed if the current candle closes higher than it opens, and the previous candle closes lower than it opens.
Volume on the current candle must be greater than the previous candle.
Bearish Engulfing Pattern:
Detected when the body of the current candle completely engulfs the body of the previous candle.
Confirmed if the current candle closes lower than it opens, and the previous candle closes higher than it opens.
Volume on the current candle must be greater than the previous candle.
Trend Filter:
Uses moving averages to determine the market trend.
Bullish patterns are only considered in downtrends.
Bearish patterns are only considered in uptrends.
Alerts:
Alerts can be set up for both bullish and bearish patterns, ensuring you are notified when significant market movements are detected.
How to Use:
Add the script to your chart.
Configure the alert settings according to your trading preferences.
Monitor your chart for plotted symbols indicating potential bullish (︽) and bearish (︾) engulfing patterns.
Utilize the alert conditions to get notified when these patterns occur.
RSI Divergence AlertsIndicator Description: RSI Divergence Alerts
The RSI Divergence indicator is a technical analysis tool that identifies divergences between the Relative Strength Index (RSI) and the price of an asset. The RSI is a momentum indicator that measures the speed and magnitude of recent changes in an asset's price, while divergences occur when there is a disparity between price movements and the RSI.
Indicator Customization:
Overbought and Oversold: The indicator allows you to customize the overbought and oversold levels of the RSI. This allows traders to adjust parameters according to their preferences and the historical behavior of the asset in question.
Indicator Settings and Recommended Adjustments:
Max Bar Distance: This parameter determines the maximum distance allowed between two low or high points for a divergence to be recognized. A higher value may result in more signals, but may also increase the number of false signals. It is recommended to adjust this value based on the volatility of the asset and the time period in which it is being traded.
RSI Length: This is the time period used to calculate the RSI. A longer period smoothes the indicator, while a shorter period makes it more sensitive to price changes. The default value is 14, but traders can adjust it based on their trading strategy and the asset's volatility.
RSI Overbought and Oversold: These values determine the levels at which the RSI is considered overbought and oversold, respectively. The default value for overbought is 75 and for oversold is 35. Traders can adjust these values according to the asset's volatility and its historical analysis. For example, in more volatile assets, it may be useful to use more extreme levels, such as 80 for overbought and 20 for oversold.
When adjusting indicator settings, traders must consider the balance between sensitivity and accuracy. Careful tuning of these parameters can help filter out false signals and identify more reliable trading opportunities.
The alerts functionality in this RSI Divergence indicator is designed to notify traders when a bearish divergence or a bullish divergence is detected. Here's how it works:
Conditionally Triggered Alerts:
Alerts are triggered based on the boolean variables bearishDivergence and bullishDivergence.
If bearishDivergence is true, it indicates that a bearish divergence has been detected.
If bullishDivergence is true, it indicates that a bullish divergence has been detected.
Alert Message:
When a divergence is detected, an alert message is generated to inform the trader about the event.
The message includes details about the divergence, such as the difference in the RSI value between the two points forming the divergence.
For example, for a bearish divergence, the message will include the phrase "Bearish RSI Divergence Detected" and the RSI difference between the high and low points of the divergence.
Alert Frequency:
Alerts are configured to be triggered once per bar close (alert.freq_once_per_bar_close), which means the alert will only be sent once at the close of each bar.
This helps to avoid multiple alerts for the same divergence during the same time period.
Additional Alert Conditions:
In addition to conditionally triggered alert messages, alert conditions are defined for both bearish and bullish divergences.
These alert conditions are useful for configuring custom alerts on trading platforms that support running Pine Script code.
Overall, this alert functionality allows traders to stay informed about potential trading opportunities based on divergences detected by the indicator. This can help traders make faster and more informed decisions in their trading processes.
FVGs & CEs + Alerts: simple & efficient methodFair Value Gap indicator: Paints FVGs and their midlines (CEs). Stops painting when CE is hit, or when fully filled; user choice of threshold. This threshold is also used in the Alert conditions.
~~Plotted here on ES1! (CME), on the 15m timeframe~~
-A FVG represents a 'naked' body where the wicks/tails on either side do not meet. This can be seen as a type of 'gap', which price will have a tendency to want to re-fill (in part or in full).
-The midline (CE, or 'Consequent encroachment') of FVGs also tend to show price sensitivity.
-This indicator paints all FVGs until priced into, and should give an idea of which are more meaningful and which are best ignored (based on context: location, Time of day, market structure, etc).
-This is a simpler and more efficient method of painting Fair value gaps which auto-stop painting when price reaches them.
//Aims of Publishing:
-Education of ICT concepts of Fair Value Gaps and their midlines (CEs): To easily see via forward testing or backtesting, the sensitivity that price shows to these areas & levels.
-Demonstration of a much more efficient way of plotting FVGs which terminate at price, thanks to a modification of @Bjorgums's clever looping method referenced below.
//Settings:
-Toggle on/off upward and downward FVGs independently(blue and orange by default).
-Toggle on/off midline (CE).
-Standard color/line formatting options.
-Choose Threshold: CE of FVG or Full Fill of FVG: This will determine both the 'stop-painting' trigger and the 'Alert' trigger.
-Choose number of days lookback to control how many historical FVGs paint on chart.
//On alerts:
-Simple choice of 2 alerts:
~~One for price crossing into/above the nearest untouched 'premium' FVG above ( orange ). Trigger is user choice of CE or full fill.
~~Another for price crossing into/below the nearest untouched 'discount' FVG below (blue). Trigger is user choice of CE or full fill.
-Alerts set via the three dots in indicator status line.
//Cautionary notes:
-Do not use the alerts blindly to find trades. Wait until you have identified a good FVG above/below which you think price may show sensitivity to
-Usage on very low timeframes can cause unexpected results with alerts: due to new FVGs forming in realtime the Alert will always trigger at the most recent FVG above/ below having its threshold hit.
-Big thank you to @Bjorgum for his fantastic extendAndRemove method. Modified here for use with boxes and to integrate Alerts.
-Also Credit to ICT (inner circle trader) for the concepts used here: Fair value gaps and their Consequent Encroachment (CE).
TFi Pivot Reversal V3The Pivot Reversal Study uses pivot points to create a support and resistance level; based on this levels the script creates virtual stop-market orders to catch the trend if the price is crossing the pivot lines.
A "Pyramiding" input allows to configure up to 3 entries; the script enters an additional position if the price falls by a configurable percentage amount (long), the reverse to short orders.
A configurable profit-target and stop-loss is being used to exit an open position.
An optional Moving Average filter can be used to enable only long or short positions.
The script renders a status box at the last bar, which shows the current position status and result of the built-in trading simulation results.
It shows the following statistic values:
current position PnL - also background turns green if position is in profit and red if in loss
the percentage distance to the profit-target and stop-loss level
the overall number of wins and losses and the win/loss ratio
the overall profit and loss amount (assuming a quantity of 1)
the net-profit and profit-ratio
For the correct simulation of entry/exit prices, the script contains inputs for a percentage entry and exit slippage.
The study also creates configurable alerts, which follow the exact position of the entry/exit markers. The default alert messages contain trading instruction to execute orders via Alertatron; but the message content can be replaced if configuring the alert in the Tradingview environment.
The script was mainly backtested with crypto-coins, e.g. XBTUSD at 15min timeframe. But the script also works with any other type of security and timeframe.
How to access
This strategy is a "Invite Only" script. You can can subscribe or purchase the strategy; please use the link below or send me a message via Tradingview to obtain access to the strategy and study script.
For enabling the script in your Tradingview chart window, click on "Indicators" and select "Invite-Only Scripts".
Full list of alerts
'Alertatron Exit' ... Exit all open positions.
'Alertatron Enter Long' ... Enter long position, w/o stop-loss being used.
'Alertatron Enter Short' ... Enter short position, w/o stop-loss being used.
'Alertatron Enter Long SL' ... Enter long position, w/ stop-loss being used.
'Alertatron Enter Short SL' ... Enter short position, w/ stop-loss being used.
Full list of parameters
"Pivot Left Bars" ... Number of bars on the left of the pivot point - used for pivot /peak detection.
"Pivot Right Bars" ... Number of bars on the right of the pivot point - used for pivot /peak detection.
"MA Filter Fast" ... Moving Average filter fast period.
"MA Filter Slow" ... Moving Average filter slow period.
"Profit Target Option" ... Configure the profit-target either as a fix percentage value or an ATR.
"Profit Target " ... Fix percentage profit-target.
"Profit ATR Period" ... ATR profit-target period.
"Profit ATR Factor" ... ATR profit-target factor/multiplier.
"Stop Loss Option" ... Configure the stop-loss either as a fix percentage value or disable the stop-loss completely.
"Stop Loss " ... Fix percentage stop-loss.
"Rebuy Loss " ... Percentage loss of the initial position before script enter a nw position in the same direction.
"Pyramiding" ... Maximum number of positions.
"Show MA Plots" ... Show/hide Moving average plots.
"Slippage Entry " ... Percentage slippage for entering a position.
"Slippage Exit " ... Percentage slippage for exiting a position.
"Statistic Label" ... Defines the position of the statistic label relatively to the last bar in the chart.
"Backtest Start" ... Backtest start time; area outside this timeframe will be grayed out.
"Backtest Stop" ... Backtest stop time; area outside this timeframe will be grayed out.
"Backtest Mode" ... Closes the currently opened position if chart switches to last bar; please only enable if backtesting, otherwise it leads to unwanted alerts.
3XCROSS ALERTSThis is an alert indicator for 3XCROSS STRATEGY_V-CRYPTO .
HOW TO USE
Use it with the strategy and receive alerts in your tradingview platform.
1. Click alerts button on the right top.
2. Click create alert and choose long, short or cross in Condition menu.
3. Choose how often you want to receive the alerts.
If you have paid subscription you can use multiple alerts. For example for long and short signals separately.
But if you are using free subsctiption, you can create only one alert.
In this case you should use cross alert. And you will receive an alert all the time when EMAs cross up or down,
signalling for long or short.
Use it carefully and leave your feedback.
Swing Points AlertSwing Points Alert with Adjustable Delay
Description:
This script is designed to detect and alert traders about significant swing highs and lows on the chart. The script is equipped with customizable pivot detection settings and an innovative **Alert Delay** mechanism, allowing users to fine-tune their notifications to reduce noise and focus on key price movements.
Key Features:
1. **Swing High/Low Detection:**
- Identifies swing highs and lows based on user-defined pivot length.
- Visualizes these points with customizable labels for clarity.
2. **Customizable Alerts:**
- Enables real-time alerts for swing highs and lows.
- Users can adjust the delay for alerts to avoid false signals during volatile periods.
3. **Dynamic Label Management:**
- Automatically manages the number of displayed swing point labels.
- Removes crossed or outdated labels based on user preferences.
4. **Flexible Label Styling:**
- Provides multiple label styles (e.g., triangles, circles, arrows) and color customization for both swing highs and lows.
How the Alert Delay Works:
The **Alert Delay** helps filter signals by introducing a delay before triggering alerts. The delay is calculated as follows:
**Alert Delay (%) x Time Frame = Alert Delay in Time Frame Units**
For example:
- If the **Alert Delay** is set to 30% and the timeframe is **15 minutes**, the alert will be triggered after a delay of:
\
This ensures the alert is triggered only if the swing high/low condition remains valid for at least 4.5 minutes.
Important Notes:
1. **Timeframe Sensitivity:**
- This script is optimized for use across various timeframes, but users must adjust the **Alert Delay** percentage to match their trading style and timeframe.
- For example, higher timeframes may require lower delay percentages for timely alerts.
2. **Customization Options:**
- Easily customize pivot detection length, alert delay, label styles, and colors to suit your preferences.
3. **Support:**
- If you encounter any challenges or need help optimizing the script for your specific trading scenario, feel free to reach out for assistance.