AMD421This is a simple yet efficient indicator based on my personal trading strategy. I created it to keep myself grounded and aligned with my approach to trading.
Let me know if you'd like it then give it a like.
รูปแบบชาร์ต
Trend Lines by Pivots (Enhanced)### **📌 Detailed Explanation of the TradingView Indicator Code**
This **Pine Script v5** indicator automatically **detects trend lines** based on pivot highs and pivot lows. It helps traders visualize **support and resistance levels** using dynamic trend lines.
---
## **🔹 How the Indicator Works**
The indicator identifies **key pivot points** in price action and then **draws trend lines** connecting them. It works as follows:
1. **Detects Pivot Highs and Lows**:
- A **pivot high** is a local maximum where the price is higher than surrounding bars.
- A **pivot low** is a local minimum where the price is lower than surrounding bars.
2. **Stores the Last Two Pivot Points**:
- The script remembers the last **two pivot highs** and **two pivot lows**.
- These points are used to **draw resistance and support lines** dynamically.
3. **Plots Resistance and Support Lines**:
- The script continuously **updates** and **extends** the trend lines to the right as new pivots are found.
- **Red Line (Resistance):** Connects the last two pivot highs.
- **Green Line (Support):** Connects the last two pivot lows.
---
## **🔹 Code Breakdown**
### **1️⃣ Inputs for User Customization**
```pinescript
leftLen = input.int(2, "Left Pivot Length")
rightLen = input.int(2, "Right Pivot Length")
highLineColor = input.color(color.red, "Resistance Line Color")
lowLineColor = input.color(color.green, "Support Line Color")
```
- **leftLen & rightLen:** Define how many bars on the left and right should be used to confirm a pivot.
- **highLineColor:** Sets the color of the resistance trend line (default: **red**).
- **lowLineColor:** Sets the color of the support trend line (default: **green**).
---
### **2️⃣ Detect Pivot Highs & Lows**
```pinescript
pivotHigh = ta.pivothigh(leftLen, rightLen)
pivotLow = ta.pivotlow(leftLen, rightLen)
```
- `ta.pivothigh(leftLen, rightLen)`: Detects a **pivot high** if it's the highest price in a certain range.
- `ta.pivotlow(leftLen, rightLen)`: Detects a **pivot low** if it's the lowest price in a certain range.
---
### **3️⃣ Store the Last Two Pivot Points**
#### **🔺 Storing Resistance (Pivot Highs)**
```pinescript
var float lastPivotHigh1 = na
var int lastPivotHighIndex1 = na
var float lastPivotHigh2 = na
var int lastPivotHighIndex2 = na
```
- These variables store **the last two pivot highs** and their **bar indices** (position on the chart).
#### **🔻 Storing Support (Pivot Lows)**
```pinescript
var float lastPivotLow1 = na
var int lastPivotLowIndex1 = na
var float lastPivotLow2 = na
var int lastPivotLowIndex2 = na
```
- These variables store **the last two pivot lows** and their **bar indices**.
---
### **4️⃣ Update Pivot Points When New Ones Are Found**
#### **Updating Resistance (Pivot Highs)**
```pinescript
if not na(pivotHigh)
lastPivotHigh2 := lastPivotHigh1
lastPivotHighIndex2 := lastPivotHighIndex1
lastPivotHigh1 := pivotHigh
lastPivotHighIndex1 := bar_index - rightLen
```
- If a new **pivot high** is found:
- The **previous pivot** becomes `lastPivotHigh2`.
- The **new pivot** becomes `lastPivotHigh1`.
- The index (`bar_index - rightLen`) marks where the pivot occurred.
#### **Updating Support (Pivot Lows)**
```pinescript
if not na(pivotLow)
lastPivotLow2 := lastPivotLow1
lastPivotLowIndex2 := lastPivotLowIndex1
lastPivotLow1 := pivotLow
lastPivotLowIndex1 := bar_index - rightLen
```
- Similar to pivot highs, this section updates **pivot lows** dynamically.
---
### **5️⃣ Create and Update Trend Lines**
#### **🔺 Drawing the Resistance Line**
```pinescript
var line highLine = na
if not na(lastPivotHigh2) and not na(lastPivotHigh1)
if na(highLine)
highLine := line.new(lastPivotHighIndex2, lastPivotHigh2, lastPivotHighIndex1, lastPivotHigh1, color=highLineColor, extend=extend.right)
else
line.set_xy1(highLine, lastPivotHighIndex2, lastPivotHigh2)
line.set_xy2(highLine, lastPivotHighIndex1, lastPivotHigh1)
line.set_color(highLine, highLineColor)
```
- If **two pivot highs** exist:
- **First time:** Creates a new **resistance line** connecting them.
- **Updates dynamically:** Adjusts the line when a new pivot appears.
#### **🔻 Drawing the Support Line**
```pinescript
var line lowLine = na
if not na(lastPivotLow2) and not na(lastPivotLow1)
if na(lowLine)
lowLine := line.new(lastPivotLowIndex2, lastPivotLow2, lastPivotLowIndex1, lastPivotLow1, color=lowLineColor, extend=extend.right)
else
line.set_xy1(lowLine, lastPivotLowIndex2, lastPivotLow2)
line.set_xy2(lowLine, lastPivotLowIndex1, lastPivotLow1)
line.set_color(lowLine, lowLineColor)
```
- Same logic applies for **support levels**, creating or updating a **green trend line**.
---
## **🔹 How to Use This Indicator**
1. **Apply the script in TradingView**:
- Open **Pine Script Editor** → Paste the code → Click **"Add to Chart"**.
2. **Interpret the Lines**:
- **Red line (Resistance):** Price may struggle to break above it.
- **Green line (Support):** Price may bounce off it.
3. **Trading Strategy**:
- **Breakout Strategy:**
- If the price **breaks resistance**, expect a bullish move.
- If the price **breaks support**, expect a bearish move.
- **Reversal Trading:**
- Look for **bounces off support/resistance** for potential reversals.
---
## **🔹 Key Features of This Indicator**
✅ **Automatically detects pivot highs and lows.**
✅ **Draws real-time trend lines for support and resistance.**
✅ **Updates dynamically with new price action.**
✅ **Customizable settings for pivot sensitivity and colors.**
This indicator is useful for **trend traders, breakout traders, and support/resistance traders**. 🚀
Let me know if you need **further improvements or additional features!** 😊
Dynamic Trend Line Pro📌 Detailed Explanation of the TradingView Indicator Code**
This **Pine Script v6** indicator dynamically **draws trend lines** based on pivot highs and pivot lows, helping traders visualize market trends in real-time.
---
## **🔹 How the Indicator Works**
This script detects key **pivot points** (local highs and lows) in the price chart and connects them to draw **trend lines**. Here's a breakdown of the process:
1. **Detects Pivot Highs and Lows**:
- **Pivot High:** A local maximum where the price is higher than surrounding bars.
- **Pivot Low:** A local minimum where the price is lower than surrounding bars.
2. **Stores the Last Pivot Points**:
- The script remembers the **last pivot high** and **last pivot low** points to **draw dynamic trend lines**.
3. **Draws Trend Lines**:
- The **uptrend** (support) line is drawn from two **pivot lows**.
- The **downtrend** (resistance) line is drawn from two **pivot highs**.
- Trend lines are continuously updated and extended.
---
## **🔹 Code Breakdown**
### **1️⃣ Inputs for User Customization**
```pinescript
leftLen = input.int(2, 'Left Pivots')
rightLen = input.int(2, 'Right Pivots')
lineThickness = input.int(3, 'Trend Line Thickness')
lineTransparency = input.int(20, 'Line Transparency')
```
- **leftLen & rightLen:** Set the number of bars on the left and right of the pivot point to confirm its validity.
- **lineThickness:** Controls the **thickness** of the trend line.
- **lineTransparency:** Adjusts the **opacity** of the trend line (0 = fully opaque, 100 = fully transparent).
---
### **2️⃣ Detect Pivot Highs and Lows**
```pinescript
pivotHigh = ta.pivothigh(leftLen, rightLen)
pivotLow = ta.pivotlow(leftLen, rightLen)
```
- **ta.pivothigh(leftLen, rightLen):** Identifies a **pivot high**, where the price is higher than the surrounding bars.
- **ta.pivotlow(leftLen, rightLen):** Identifies a **pivot low**, where the price is lower than the surrounding bars.
---
### **3️⃣ Store the Last Pivot Points**
#### **Storing the Last Pivot High (Resistance)**
```pinescript
var float lastHP = na
var int lastHPIndex = na
```
- These variables store the most recent **pivot high** (`lastHP`) and its **bar index** (`lastHPIndex`).
#### **Storing the Last Pivot Low (Support)**
```pinescript
var float lastLP = na
var int lastLPIndex = na
```
- These variables store the most recent **pivot low** (`lastLP`) and its **bar index** (`lastLPIndex`).
---
### **4️⃣ Update Pivot Points When New Ones Are Found**
#### **Updating Pivot Highs (Resistance)**
```pinescript
if not na(pivotHigh)
lastHP := pivotHigh
lastHPIndex := bar_index - rightLen
```
- If a new **pivot high** is found:
- Update `lastHP` with the new pivot high.
- Update `lastHPIndex` with the current bar index.
#### **Updating Pivot Lows (Support)**
```pinescript
if not na(pivotLow)
lastLP := pivotLow
lastLPIndex := bar_index - rightLen
```
- Similarly, if a new **pivot low** is found:
- Update `lastLP` with the new pivot low.
- Update `lastLPIndex` with the current bar index.
---
### **5️⃣ Detect Trend Direction**
```pinescript
trendUp = lastLP > lastLP and not na(lastLP )
trendDown = lastHP < lastHP and not na(lastHP )
```
- **Uptrend Condition:** If the most recent pivot low (`lastLP`) is higher than the previous one, it indicates an uptrend.
- **Downtrend Condition:** If the most recent pivot high (`lastHP`) is lower than the previous one, it indicates a downtrend.
---
### **6️⃣ Drawing Trend Lines**
#### **Drawing the Uptrend (Support) Line**
```pinescript
if trendUp
if na(trendLine)
trendLine := line.new(lastLPIndex , lastLP , lastLPIndex, lastLP, color=color.new(color.green, lineTransparency), width=lineThickness, extend=extend.right)
else
line.set_xy1(trendLine, lastLPIndex , lastLP )
line.set_xy2(trendLine, lastLPIndex, lastLP)
line.set_color(trendLine, color.new(color.green, lineTransparency))
line.set_width(trendLine, lineThickness)
```
- **Uptrend Line:** If the uptrend is detected (`trendUp`), the script either creates a new **green trend line** connecting the last two pivot lows or updates the existing one with the latest points.
#### **Drawing the Downtrend (Resistance) Line**
```pinescript
if trendDown
if na(trendLine)
trendLine := line.new(lastHPIndex , lastHP , lastHPIndex, lastHP, color=color.new(color.red, lineTransparency), width=lineThickness, extend=extend.right)
else
line.set_xy1(trendLine, lastHPIndex , lastHP )
line.set_xy2(trendLine, lastHPIndex, lastHP)
line.set_color(trendLine, color.new(color.red, lineTransparency))
line.set_width(trendLine, lineThickness)
```
- **Downtrend Line:** If the downtrend is detected (`trendDown`), the script either creates a new **red trend line** connecting the last two pivot highs or updates the existing one with the latest points.
---
## **🔹 How to Use This Indicator**
1. **Apply the Script in TradingView**:
- Open **Pine Script Editor** → Paste the code → Click **"Add to Chart"**.
2. **Interpret the Trend Lines**:
- **Green Line (Support):** Indicates potential support levels. Price may **bounce** off this line.
- **Red Line (Resistance):** Indicates potential resistance levels. Price may **struggle** to break above this line.
3. **Trading Strategy**:
- **Breakout Strategy:**
- If the price **breaks resistance** (red line), it may signal a **bullish** move.
- If the price **breaks support** (green line), it may signal a **bearish** move.
- **Reversal Strategy:**
- Look for **bounces** off support or resistance for potential reversals.
---
## **🔹 Key Features of This Indicator**
✅ **Automatically detects pivot highs and lows.**
✅ **Real-time updates** as new pivot points form.
✅ **Customizable settings** for line thickness and transparency.
✅ Helps traders visualize key **support** and **resistance** levels.
This indicator is perfect for **trend traders**, **support/resistance traders**, and anyone interested in **breakout** or **reversal strategies**. 🚀
Short-Term Strategy with RSI, MACD, and Bollinger BandsThis used to get the intimation about the buy and sell signals
[COG] Adaptive Squeeze Intensity 📊 Adaptive Squeeze Intensity (ASI) Indicator
🎯 Overview
The Adaptive Squeeze Intensity (ASI) indicator is an advanced technical analysis tool that combines the power of volatility compression analysis with momentum, volume, and trend confirmation to identify high-probability trading opportunities. It quantifies the degree of price compression using a sophisticated scoring system and provides clear entry signals for both long and short positions.
⭐ Key Features
- 📈 Comprehensive squeeze intensity scoring system (0-100)
- 📏 Multiple Keltner Channel compression zones
- 📊 Volume analysis integration
- 🎯 EMA-based trend confirmation
- 🎨 Proximity-based entry validation
- 📱 Visual status monitoring
- 🎨 Customizable color schemes
- ⚡ Clear entry signals with directional indicators
🔧 Components
1. 📐 Squeeze Intensity Score (0-100)
The indicator calculates a total squeeze intensity score based on four components:
- 📊 Band Convergence (0-40 points): Measures the relationship between Bollinger Bands and Keltner Channels
- 📍 Price Position (0-20 points): Evaluates price location relative to the base channels
- 📈 Volume Intensity (0-20 points): Analyzes volume patterns and thresholds
- ⚡ Momentum (0-20 points): Assesses price momentum and direction
2. 🎨 Compression Zones
Visual representation of squeeze intensity levels:
- 🔴 Extreme Squeeze (80-100): Red zone
- 🟠 Strong Squeeze (60-80): Orange zone
- 🟡 Moderate Squeeze (40-60): Yellow zone
- 🟢 Light Squeeze (20-40): Green zone
- ⚪ No Squeeze (0-20): Base zone
3. 🎯 Entry Signals
The indicator generates entry signals based on:
- ✨ Squeeze release confirmation
- ➡️ Momentum direction
- 📊 Candlestick pattern confirmation
- 📈 Optional EMA trend alignment
- 🎯 Customizable EMA proximity validation
⚙️ Settings
🔧 Main Settings
- Base Length: Determines the calculation period for main indicators
- BB Multiplier: Sets the Bollinger Bands deviation multiplier
- Keltner Channel Multipliers: Three separate multipliers for different compression zones
📈 Trend Confirmation
- Four customizable EMA periods (default: 21, 34, 55, 89)
- Optional trend requirement for entry signals
- Adjustable EMA proximity threshold
📊 Volume Analysis
- Customizable volume MA length
- Adjustable volume threshold for signal confirmation
- Option to enable/disable volume analysis
🎨 Visualization
- Customizable bullish/bearish colors
- Optional intensity zones display
- Status monitor with real-time score and state information
- Clear entry arrows and background highlights
💻 Technical Code Breakdown
1. Core Calculations
// Base calculations for EMAs
ema_1 = ta.ema(close, ema_length_1)
ema_2 = ta.ema(close, ema_length_2)
ema_3 = ta.ema(close, ema_length_3)
ema_4 = ta.ema(close, ema_length_4)
// Proximity calculation for entry validation
ema_prox_raw = math.abs(close - ema_1) / ema_1 * 100
is_close_to_ema_long = close > ema_1 and ema_prox_raw <= prox_percent
```
### 2. Squeeze Detection System
```pine
// Bollinger Bands setup
BB_basis = ta.sma(close, length)
BB_dev = ta.stdev(close, length)
BB_upper = BB_basis + BB_mult * BB_dev
BB_lower = BB_basis - BB_mult * BB_dev
// Keltner Channels setup
KC_basis = ta.sma(close, length)
KC_range = ta.sma(ta.tr, length)
KC_upper_high = KC_basis + KC_range * KC_mult_high
KC_lower_high = KC_basis - KC_range * KC_mult_high
```
### 3. Scoring System Implementation
```pine
// Band Convergence Score
band_ratio = BB_width / KC_width
convergence_score = math.max(0, 40 * (1 - band_ratio))
// Price Position Score
price_range = math.abs(close - KC_basis) / (KC_upper_low - KC_lower_low)
position_score = 20 * (1 - price_range)
// Final Score Calculation
squeeze_score = convergence_score + position_score + vol_score + mom_score
```
### 4. Signal Generation
```pine
// Entry Signal Logic
long_signal = squeeze_release and
is_momentum_positive and
(not use_ema_trend or (bullish_trend and is_close_to_ema_long)) and
is_bullish_candle
short_signal = squeeze_release and
is_momentum_negative and
(not use_ema_trend or (bearish_trend and is_close_to_ema_short)) and
is_bearish_candle
```
📈 Trading Signals
🚀 Long Entry Conditions
- Squeeze release detected
- Positive momentum
- Bullish candlestick
- Price above relevant EMAs (if enabled)
- Within EMA proximity threshold (if enabled)
- Sufficient volume confirmation (if enabled)
🔻 Short Entry Conditions
- Squeeze release detected
- Negative momentum
- Bearish candlestick
- Price below relevant EMAs (if enabled)
- Within EMA proximity threshold (if enabled)
- Sufficient volume confirmation (if enabled)
⚠️ Alert Conditions
- 🔔 Extreme squeeze level reached (score crosses above 80)
- 🚀 Long squeeze release signal
- 🔻 Short squeeze release signal
💡 Tips for Usage
1. 📱 Use the status monitor to track real-time squeeze intensity and state
2. 🎨 Pay attention to the color gradient for trend direction and strength
3. ⏰ Consider using multiple timeframes for confirmation
4. ⚙️ Adjust EMA and proximity settings based on your trading style
5. 📊 Use volume analysis for additional confirmation in liquid markets
📝 Notes
- 🔧 The indicator combines multiple technical analysis concepts for robust signal generation
- 📈 Suitable for all tradable markets and timeframes
- ⭐ Best results typically achieved in trending markets with clear volatility cycles
- 🎯 Consider using in conjunction with other technical analysis tools for confirmation
⚠️ Disclaimer
This technical indicator is designed to assist in analysis but should not be considered as financial advice. Always perform your own analysis and risk management when trading.
Bollinger Band Reentry StrategyAriels BB strat just follow the signals! Bollinger bands are the key to this strat take profit levels ! make sure you are fast
K0K0 INDICATORFisher Transform with DPO.
Its an indicator which plots both fisher transform and DPO to a single line.
it helpful for reading momentum cycles of a given asset.
Top G indicator [DaVinchi]Описание индикатора
Индикатор Top G indicator предназначен для выявления локальных экстремумов (вершин и впадин) на основе исторических максимумов и минимумов за заданный период. Он сочетает в себе анализ экстремальных значений цены с использованием сглаженной медианы, а также дополнительную фильтрацию сигналов с помощью нормализованного индикатора изменения цены (ROC). Результатом являются сигналы для потенциальных входов в рынок как в направлении "LONG" (отскок от минимума), так и "SHORT" (отказ от максимума), что подтверждается как строгими, так и «простыми» (менее подтверждёнными) условиями.
Основные компоненты и логика работы
Расчёт экстремумов за период
Функция lowest_highest(length) вычисляет:
Нижнее значение: минимальное значение цены за заданный период (ta.lowest).
Верхнее значение: максимальное значение цены за период (ta.highest).
Среднюю линию (Mid): рассчитывается как сглаженная (с использованием Hull MA с периодом 15) медиана экстремумов – среднее значение между минимумом и максимумом за период. Это позволяет получить более сглаженную границу между зонами экстремальных значений.
Генерация сигналов с использованием нормализованного ROC
В функции signals(lowest_src, highest_src) рассчитывается нормализованный показатель изменения цены (ROC):
ROC вычисляется за 8 баров и нормируется по стандартному отклонению, рассчитанному за 200 баров. Это помогает выделить резкие изменения цены.
На основе ROC и соотношения текущих экстремумов формируются условия для сигналов:
Сигнал SHORT ("top"):
Текущий high меньше максимума за период.
На предыдущем баре цена достигала максимума.
Два бара назад наблюдалось резкое повышение (ROC > 2).
Минимальное значение за период остаётся стабильным (не изменялось в течение 5 баров).
Сигнал LONG ("G"):
На предыдущем баре low равен минимальному значению за период.
Текущий low начинает отскакивать и выше минимума.
Два бара назад также фиксировался минимум.
Два бара назад наблюдалось резкое падение (ROC < -2).
Кроме того, определяются упрощённые сигналы (simple_g и simple_top) для ситуаций, когда условия сигнала выполнены без «сильного» подтверждения (без проверки экстремальных значений ROC).
Отрисовка сигналов на графике
Функция draw_labels(...) создаёт метки на графике для визуальной индикации сигналов:
При выполнении условия SHORT создаётся метка с текстом "SHORT" (отмечается стрелкой вниз).
При выполнении условия LONG – метка с текстом "LONG" (со стрелкой вверх).
Для упрощённых сигналов используются символы "˅" (для слабого SHORT) и "^" (для слабого LONG).
Все метки располагаются в соответствии с соответствующими экстремальными значениями (максимум или минимум за период) и могут быть настроены по цвету и размеру.
Графическое отображение и заполнение зон
На графике отображаются:
Линии, соответствующие верхнему и нижнему значениям за период.
Средняя линия (Mid), которая служит ориентиром.
Область между верхней и нижней линиями заливается полупрозрачным цветом, что помогает визуально выделить зону экстремальных колебаний.
Настройка алертов
Для каждого типа сигнала (как для «сильных» LONG/SHORT, так и для упрощённых сигналов) заданы условия для генерации алертов:
При срабатывании условия LONG или SHORT можно получить уведомление с заранее заданными параметрами (включая имя сигнала, направление и символ).
Это позволяет настроить автоматическую отправку сигналов для торговли.
Настройки индикатора
Параметр Length:
Определяет период, за который рассчитываются минимальные и максимальные значения цены. По умолчанию установлен на 150 баров, но его можно изменять в зависимости от желаемой чувствительности.
Цветовые настройки:
Main Color – основной цвет для линий экстремумов.
Centr line – цвет средней линии.
Long Color и Short Color – цвета, используемые для сигналов LONG и SHORT соответственно.
Дополнительные параметры позволяют задать прозрачность и цвет для «простых» сигналов.
Отображение меток:
Максимальное количество меток на графике можно задать через параметр max_labels_count, что обеспечивает возможность отображения большого количества сигналов без потери производительности.
Применение индикатора
Определение ключевых уровней:
Индикатор помогает быстро определить экстремальные уровни цены за выбранный период, что может быть полезно для поиска зон разворота.
Генерация торговых сигналов:
Сигналы LONG и SHORT, основанные на сочетании экстремальных значений и нормализованного ROC, могут служить для подтверждения входа в сделку. Упрощённые сигналы предоставляют дополнительную информацию для трейдера, позволяя учитывать более мягкие сигналы разворота.
Алерты для автоматизации торговли:
Наличие встроенных условий для алертов позволяет оперативно получать уведомления о возможных торговых возможностях.
Smart Non-Repainting Indicator By SilkRoadIndicator Name: Smart Non-Repainting Indicator
Purpose: Generate accurate Call (Buy) and Put (Sell) signals based on candlestick patterns, trend confirmation, and dynamic support/resistance levels.
shubham 2.00one of the best strategy you ever get must give it a try or not i don care it works for me the best
EBL - Enigma BOS Logic: A Comprehensive Multi-Timeframe Trend anThe EBL (Enigma BOS Logic) script is designed for traders seeking an advanced and versatile tool for identifying market trends, breakouts, and critical price levels. This indicator leverages multi-timeframe analysis, trend filtering, and customizable guidance line settings to provide an all-in-one solution for informed trading decisions.
What Does EBL Do?
EBL identifies critical breakout levels (BOS - Break of Structure) on up to three selected timeframes and dynamically plots them as horizontal guidance lines. It combines these levels with trend analysis and user-defined filters to show only the most relevant data. The script offers flexibility to adapt to different trading styles, whether you're a scalper, day trader, or swing trader.
Key Features:
Multi-Timeframe Analysis:
Users can select three distinct timeframes (e.g., 4H, 30m, 15m).
Execution timeframe (e.g., 1m or 5m) overlays the lines from the selected higher timeframes for real-time precision.
Customizable Guidance Lines:
Define line length (horizontal bars) and choose whether lines extend to the current price.
Individual color settings for bullish and bearish lines.
Trend Detection Filter:
Automatically determines the overall market trend based on the 50-period SMA on each selected timeframe.
Displays only bullish lines during uptrends and bearish lines during downtrends.
Time-Limited Display:
Option to show only lines from the last three days, reducing clutter and focusing on recent price action.
Alerts:
Trigger alerts when price breaks above or below critical levels on any selected timeframe.
Users can choose to receive alerts only for specific timeframes.
How Does It Work?
Break of Structure (BOS):
The script captures key high and low levels on each selected timeframe.
Levels are dynamically updated as the market evolves.
Trend Filtering:
Trend direction is determined for each timeframe based on whether the close is above or below its 50-period SMA.
The overall trend combines signals from all three timeframes, providing a balanced and holistic view of the market.
User Control:
Customize everything: timeframes, colors, line behavior, and alert conditions.
Adjust filters to focus on your preferred time horizon (e.g., last 3 days).
How to Use:
Select up to three timeframes based on your trading strategy (e.g., 4H for macro view, 30m for intermediate trends, and 15m for precision).
Enable or disable the trend filter to control whether lines reflect the market's directional bias.
Configure alerts for breakout levels that align with your strategy.
Use the execution timeframe to see how higher timeframe levels interact with real-time price action.
Who Is It For?
This indicator is ideal for:
Trend Traders who want a clear view of directional bias across multiple timeframes.
Breakout Traders who need to identify key resistance and support levels dynamically.
Scalpers and Day Traders who require real-time precision by overlaying higher timeframe levels on lower execution timeframes.
Underlying Concepts:
Break of Structure (BOS): Highlights significant market pivot points, essential for identifying breakout opportunities.
Multi-Timeframe Confluence: Combines insights from various timeframes to create a balanced understanding of price behavior.
Trend Filtering: Ensures clarity by only displaying levels that align with the overall market direction.
EBL - Enigma BOS Logic is not just another breakout indicator. It is a comprehensive tool that combines multi-timeframe analysis, trend detection, and user-centric customization to empower traders with actionable insights. Whether you're analyzing macro trends or executing precision trades, EBL adapts to your strategy and provides clarity in the chaos of the market.
Sweep Candle [odnac]
ATR Imbalance Detection
This feature highlights candles that have a significantly larger range compared to the average true range (ATR).
How it works: A candle is considered imbalanced if its range (high - low) exceeds a specified multiple of the ATR (default multiplier is 1.5, with an ATR length of 5).
Visualization: Such candles are highlighted in yellow.
Engulfing Candle Detection
This feature detects bullish and bearish engulfing candles.
Types
Standard: Traditional engulfing pattern where the current candle fully "engulfs" the previous one.
Sweep: A variation where the candle engulfs the previous one and sweeps the previous low (for bullish) or high (for bearish).
Visualization:
Bullish engulfing patterns are marked with a green triangle below the candle.
Bearish engulfing patterns are marked with a red triangle above the candle.
Momentum Candle Detection
This feature identifies candles with strong upward or downward momentum compared to the previous candle.
Types
Standard: A basic momentum pattern where the current candle continues the price direction with strong momentum.
Sweep: A variation where the candle sweeps the previous low (for bullish) or high (for bearish).
Visualization:
Bullish momentum candles are marked with a green circle below the candle.
Bearish momentum candles are marked with a red circle above the candle.
Summary
This indicator helps traders identify significant market conditions such as imbalances, engulfing candles, and momentum patterns, making it a valuable tool for technical analysis and trend-following strategies.
The customizable settings provide flexibility to adapt the tool to different trading styles.
Vertical Lines & MACD High/Low amThis indicator tracks the MACD phase changes and identifies the highest and lowest prices within each phase. It updates the highest and lowest values for each MACD phase and displays labels directly on the candlesticks at those price points. Whenever the MACD crosses over or under the signal line, it marks the end of the previous phase and the beginning of a new one. The labels show the high and low prices as "🔺" for the peak and "🔻" for the trough. This process occurs continuously across the entire 1-minute chart.ammmmmmmmmmm
Vertical Lines & MACD High/Low pmThis indicator tracks the MACD phase changes and identifies the highest and lowest prices within each phase. It updates the highest and lowest values for each MACD phase and displays labels directly on the candlesticks at those price points. Whenever the MACD crosses over or under the signal line, it marks the end of the previous phase and the beginning of a new one. The labels show the high and low prices as "🔺" for the peak and "🔻" for the trough. This process occurs continuously across the entire 1-minute chart.
Sam Pivots + CPR + EMA + SMA Rev2buy sell script buy using pivot different EMA AND different SMA and CPR Value
Bollinger Bounce Reversal Strategy – Visual EditionOverview:
The Bollinger Bounce Reversal Strategy – Visual Edition is designed to capture potential reversal moves at price extremes—often termed “bounce points”—by using a combination of technical indicators. The strategy integrates Bollinger Bands, MACD, and volume analysis, and it provides rich on‑chart visual cues to help traders understand its signals and conditions. Additionally, the strategy enforces a maximum of 5 trades per day and uses fixed risk management parameters. This publication is intended for educational purposes and offers a systematic, transparent approach that you can further adjust to fit your market or risk profile.
How It Works:
Bollinger Bands:
A 20‑period simple moving average (SMA) and a user‑defined standard deviation multiplier (default 2.0) are used to calculate the Bollinger Bands.
When the price reaches or crosses these bands (i.e. falls below the lower band or rises above the upper band), it suggests that the price is in an extreme, potentially oversold or overbought, state.
MACD Filter:
The MACD (calculated with standard lengths, e.g. 12, 26, 9) provides momentum information.
For a bullish (long) signal, the MACD line should be above its signal line; for a bearish (short) signal, the MACD line should be below.
Volume Confirmation:
The strategy uses a 20‑period volume moving average to determine if current volume is strong enough to validate a signal.
A signal is confirmed only if the current volume is at or above a specified multiple (by default, 1.0×) of this moving average, ensuring that the move is supported by increased market participation.
Visual Cues:
Bollinger Bands and Fill: The basis (SMA), upper, and lower Bollinger Bands are plotted, and the area between the upper and lower bands is filled with a semi‑transparent color.
Signal Markers: When a long or short signal is generated, corresponding markers (labels) appear on the chart.
Background Coloring: The chart’s background changes color (green for long signals and red for short signals) on the bars where signals occur.
Information Table: An on‑chart table displays key indicator values (MACD, signal line, volume, average volume) and the number of trades executed that day.
Entry Conditions:
Long Entry:
A long trade is triggered when the previous bar’s close is below the lower Bollinger Band and the current bar’s close crosses above it, combined with a bullish MACD condition and strong volume.
Short Entry:
A short trade is triggered when the previous bar’s close is above the upper Bollinger Band and the current bar’s close crosses below it, with a bearish MACD condition and high volume.
Risk Management:
Daily Trade Limit: The strategy restricts trading to no more than 5 trades per day.
Stop-Loss and Take-Profit:
For each position, a stop loss is set at a fixed percentage away from the entry price (typically 2%), and a take profit is set to target a 1:2 risk-reward ratio (typically 4% from the entry price).
Backtesting Setup:
Initial Capital: $10,000
Commission: 0.1% per trade
Slippage: 1 tick per bar
These realistic parameters help ensure that backtesting results reflect the conditions of an average trader.
Disclaimer:
Past performance is not indicative of future results. This strategy is experimental and provided solely for educational purposes. It is essential to backtest extensively and paper trade before any live deployment. All risk management practices are advisory, and you should adjust parameters to suit your own trading style and risk tolerance.
Conclusion:
By combining Bollinger Bands, MACD, and volume analysis, the Bollinger Bounce Reversal Strategy – Visual Edition provides a clear, systematic method to identify potential reversal opportunities at price extremes. The added visual cues help traders quickly interpret signals and assess market conditions, while strict risk management and a daily trade cap help keep trading disciplined. Adjust and refine the settings as needed to better suit your specific market and risk profile.
Power of Stocks with RSI and ATR Dynamic SL updated via DeepSeekPower of Stocks with RSI and ATR Dynamic SL updated via DeepSeek, with the alert candle is yellow coloured with better visibility.
Grupo ROG - Cash BandsEstratégia desenvolvida para capturar a volatilidade de um ativo, aproveitando dos movimentos naturais do mesmo.
Consiste em vender quando o preço toca na banda superior e comprar quando toca na banda inferior.
Funciona muito bem para mercados laterais.
Não funciona bem para tendências.
Operações curtas e rapidas
Sugestao de rr 2:1
3 Consecutive Bullish or Bearish CandlesAllows alerts to fire for 3 consecutive red or green candles