Dominan BreakPlots an arrow what dominan got break. Dominan is a bar which high is higher than high of the next x bars and low is lower than low of the next x bars. So, next x bars are completely in range of that dominan bar.
Chart-Muster
Fractal Lows Connector for AZALKAThe indicator "Fractal Lows Connector" identifies fractal lows on the chart and connects them with lines. A fractal low is defined as a point where the low of the current bar is lower than the lows of the two preceding and two succeeding bars. The indicator uses arrays to store the values and bar indices of these fractal lows. When a new fractal low is detected, it is added to the arrays, and lines are drawn between consecutive fractal lows using line.new. The lines are dynamically updated as new fractal lows are identified. The use of xloc.bar_index ensures that the lines scale properly with the chart when zooming in or out.
Индикатор фрактальные минимумы просто соединяет минимумы фракталов.
NG pattern detector - UdayThis pattern detects mostly used candle patterns
bullish engulfing bearish engulfing hammer inverted hammer dragonfly doji and gravestone doji.
also make sure to add alert
Virada Mestre - Por: KKripto Esta estratégia, inspirada nos princípios de Dave Landry, combina a análise da Média Móvel Exponencial (EMA) de 21 períodos com a identificação de padrões de preço simples baseados em novas máximas e mínimas. O objetivo é detectar potenciais pontos de reversão de curto prazo no mercado. A lógica central é buscar confluências entre a direção da EMA e a quebra de mínimas/máximas recentes, indicando uma possível mudança na direção do preço.
Explicação das Cores dos Candles e Linhas:
Linha Branca Fina (EMA 21): Representa a Média Móvel Exponencial de 21 períodos. Ela serve como um indicador da tendência de curto prazo.
Preço acima da EMA 21: sugere uma tendência de alta.
Preço abaixo da EMA 21: sugere uma tendência de baixa.
Barras Coloridas (Amarelo/Vermelho):
Amarelo (#ffdd00): Indica um sinal de compra (Long). Ocorre quando o preço atinge novas mínimas em relação às duas barras anteriores e a EMA 21 está subindo.
Vermelho (#ff0000): Indica um sinal de venda (Short). Ocorre quando o preço atinge novas máximas em relação às duas barras anteriores e a EMA 21 está descendo.
Regras de Entrada (Resumidas):
Compra (Long):
O preço atinge novas mínimas em relação às duas barras anteriores.
A EMA 21 está subindo.
Venda (Short):
O preço atinge novas máximas em relação às duas barras anteriores.
A EMA 21 está descendo.
Observações Importantes:
Confirmação: É recomendável buscar confirmações adicionais para os sinais, como padrões de candlestick, volume ou outros indicadores, para aumentar a precisão da estratégia.
Gerenciamento de Risco: O uso de stop loss e take profit é essencial para proteger o capital. Recomenda-se definir um risco máximo por operação (ex: 1% do capital).
Backtesting: Realizar backtesting da estratégia em dados históricos é fundamental para avaliar seu desempenho e otimizar seus parâmetros.
Adaptação: Os mercados mudam constantemente, portanto, é importante monitorar e adaptar a estratégia conforme necessário.
Opening 5-Minute High/Low for NY and London Sessionsmarks out opening 5 minute high and low of the new york and london market
12 SMA Angle Up for 2 Days with Low Belowthe 12 ma is angled up for 2 consecutive days and the low is below that same moving average
Bollinger Bands Breakout with Liquidity Swingsollinger Bands için, 20 dönemlik bir SMA (Hareketli Ortalama) ve 2 standart sapma kullanıldı.
Buy ve Sell Sinyalleri: Bollinger Bands üst ve alt bandının dışına çıkma ve tekrar içine geri dönme durumu kontrol edilerek alım/satım sinyalleri oluşturuldu. Kapanış fiyatı, üst bandın dışında kapanıp tekrar içinde kapanıyorsa kırmızı al sinyali, alt bandın dışında kapanıp tekrar içinde kapanıyorsa yeşil al sinyali oluşturulur.
Liquidity Swings: Bu gösterge, yalnızca kapanış fiyatlarının yüksek ve düşük seviyelerini takip eder. Gerçek bir likidite seviyesi göstergesi oluşturmak daha karmaşık olabilir ve genellikle işlem hacmi veya diğer piyasada likiditeyi ölçen araçlarla ilişkilidir.
denemersgfnjsjhsjnf sfejnswklfsfsw efesksmlwskmef sfewefşswşefewef swefwlşewmwe fwefwilşfewlşmf wefşweşfweşf wefwlfşw few öfew
Comprehensive Trading Indicator//@version=6
indicator("Comprehensive Trading Indicator", overlay=true)
// === Inputs ===
showSupportResistance = input.bool(true, "Show Support/Resistance Levels")
showCandlestickPatterns = input.bool(true, "Show Candlestick Patterns")
showMovingAverages = input.bool(true, "Show Moving Averages")
maLength1 = input.int(50, "MA 1 Length")
maLength2 = input.int(200, "MA 2 Length")
showVolumeAnalysis = input.bool(true, "Show Volume Analysis")
volumeThreshold = input.float(1.5, "Volume Spike Multiplier")
// === Moving Averages ===
ma1 = ta.sma(close, maLength1)
ma2 = ta.sma(close, maLength2)
// Plot Moving Averages (handled dynamically)
plot(showMovingAverages ? ma1 : na, color=color.blue, linewidth=2, title="MA 1")
plot(showMovingAverages ? ma2 : na, color=color.red, linewidth=2, title="MA 2")
// === Support and Resistance ===
support = ta.lowest(close, 20)
resistance = ta.highest(close, 20)
// Draw Support and Resistance Levels
if showSupportResistance
line.new(bar_index - 1, support, bar_index, support, color=color.green, width=1, style=line.style_dotted)
line.new(bar_index - 1, resistance, bar_index, resistance, color=color.red, width=1, style=line.style_dotted)
// === Candlestick Patterns ===
bullishEngulfing = ta.crossover(close, open ) and close > open
bearishEngulfing = ta.crossunder(close, open ) and close < open
// Label Candlestick Patterns
if showCandlestickPatterns
if bullishEngulfing
label.new(bar_index, high, "Bullish Engulfing", color=color.new(color.green, 0), style=label.style_label_down)
if bearishEngulfing
label.new(bar_index, low, "Bearish Engulfing", color=color.new(color.red, 0), style=label.style_label_up)
// === Volume Analysis ===
avgVolume = ta.sma(volume, 50)
volumeSpike = volume > avgVolume * volumeThreshold
// Highlight Volume Spikes (handled dynamically)
bgcolor(showVolumeAnalysis and volumeSpike ? color.new(color.blue, 90) : na, title="Volume Spike")
// === Alerts ===
alertcondition(volumeSpike, title="Volume Spike Alert", message="High volume spike detected!")
alertcondition(bullishEngulfing, title="Bullish Pattern Alert", message="Bullish Engulfing pattern detected!")
alertcondition(bearishEngulfing, title="Bearish Pattern Alert", message="Bearish Engulfing pattern detected!")
// === Chart Annotations ===
var string titleText = "Comprehensive Trading Indicator - Moving Averages (50, 200) - Support/Resistance Levels - Candlestick Patterns - Volume Analysis"
GATORLIPS 200Buy signal when price comes up from lips and closes over teeth. Only buys when price above 200ema on 15 min.
Hassan's - Buy Signal with Stop Loss, Volume, and Fibonaccitesting my own indicator to call for buy based on volume, fib 1.68 level and volume multiplier.
MACD + EMA Cross by Mayank
It is 6 indicator in one :
5 ema 5 / 9 / 20/ 50/ 200 & MACD cross
When MACD (5,9,5) is greater than signal (5) and Momentum EMA (5) crosses up the Fast EMA (9), it generates B Signal.
when Signal is greater than MACD and Fast EMA(9) crosses down the Momentum EMA(5) , it generates S Signal.
When MACD (5,9,5): bullish crossover it generate M_B
When MACD (5,9,5): bearish crossover it generates M_S
MACD + EMA Cross 1 by Mayank BhargavMACD + EMA cross by Mayank Bhargava
It is 6 indicator in one :
5 ema 5 / 9 / 20/ 50/ 200 & MACD
Added advantage:
Agressive buy and sell aur defensive buy sell signal generate krta hai
ATR//@version=6
indicator("ATR", "", true)
// Настройки
atrPeriodInput = input.int(24, "Кол-во свечей", minval = 1, maxval = 24)
atrStopInput = input.int(10, "Stop ATR input")
// Переменные для хранения значений
var float thirdHigh = na
var float curentATR = na
// Получаем данные о дневных свечах
= request.security(syminfo.tickerid, "1D", )
// Условие для обновления thirdHigh
isNewDay = ta.change(time("D")) != 0 // Проверяем, изменился ли день
if (isNewDay or na(thirdHigh)) // Проверяем, если значение na или день изменился
thirdHigh := highDaily // Индекс 2 соответствует третьей свече с конца
// Создание таблицы для отображения
var table atrDisplay = table.new(position.top_right, 2, 5, bgcolor=#4b6ad8, frame_width=2, frame_color=color.black)
if barstate.islast
// Заполняем таблицу
table.cell(atrDisplay, 1, 0, str.tostring(thirdHigh, format.mintick), text_color=color.white, bgcolor=color.rgb(233, 153, 32))
table.cell(atrDisplay, 0, 0, "ATR 1D", text_color=color.white, bgcolor=color.rgb(233, 153, 32))
FABMEL - FVG + RSI + MACD Crossidentificar los cruces del MACD y combinarlo con las condiciones del Fair Value Gap (FVG) y el RSI para marcar las entradas.
Para identificar los cruces del MACD, necesitamos verificar cuándo la línea MACD cruza la línea de señal (o sea, cuando la línea azul cruza la roja hacia arriba para una señal de compra y cuando la línea azul cruza la roja hacia abajo para una señal de venta). Este cruce debe cumplirse junto con las condiciones del FVG y el RSI para generar una señal más precisa.
JJRANALYTICAA failed atempt at making a profitable algo. Uses hopes and dreams with a base of auction market theory.
Mahesh G Volume analysis of 50 Candles for buy or sellThis indicator will help to analysis last 50 candles average volume and give a trend for buying and selling
WP Dominant BU BD FVG MARK Stc Detectionfirst trial error. use with great awareness.
This script is a technical analysis tool created to detect and visualize two important market patterns: Dominant Break Up (DBU) and Dominant Break Down (DBD). These patterns provide insight into market sentiment and potential price movement reversals or continuations. Here’s a detailed explanation of how the script works:
1. Purpose of the Script
The script identifies specific formations of candlesticks that indicate strong upward (DBU) or downward (DBD) trends. By highlighting these patterns directly on the chart, traders can quickly assess the market situation and make informed decisions.
2. Components of the Script
a) DBU (Dominant Break Up) Pattern
The DBU pattern indicates bullish strength, where the market shows a dominant upward move.
Rules for DBU:
At least 5 candles are analyzed: the first 4 must be green (bullish candles), followed by 1 red (bearish) candle.
The open price of the fifth candle must:
Be higher than the closing prices of the 4 previous green candles.
Be lower than the close price of the last (current) candle.
Visualization for DBU:
Green triangle symbol is plotted below the DBU candle to indicate bullish strength.
A transparent purple box highlights the relevant price range over the detected candles.
b) DBD (Dominant Break Down) Pattern
The DBD pattern signals bearish strength, where the market shows a dominant downward move.
Rules for DBD:
At least 5 candles are analyzed: the first 4 must be red (bearish candles), followed by 1 green (bullish) candle.
The open price of the fifth candle must:
Be lower than the closing prices of the 4 previous red candles.
Be higher than the close price of the last (current) candle.
Visualization for DBD:
Red triangle symbol is plotted above the DBD candle to indicate bearish strength.
A transparent orange box highlights the relevant price range over the detected candles.
3. How It Works
The script analyzes historical price data using the open, close, high, and low values for the last 5 candles. It applies mathematical conditions to check for the patterns:
Identifies whether the recent candles are predominantly bullish or bearish.
Checks whether the open price of the critical candle (fifth candle) satisfies specific criteria related to the previous candles.
When a pattern is detected, the script automatically:
Draws symbols (triangleup for DBU and triangledown for DBD) to indicate the pattern on the chart.
Draws a shaded box over the candle range to provide a clear visual highlight.
4. Benefits
Simplicity: Patterns are automatically detected and highlighted, saving time and effort for traders.
Versatility: Can be applied to any time frame or market (stocks, forex, crypto, etc.).
Actionable Insights: Helps traders spot potential reversal zones, trend continuations, or breakout opportunities.
5. Practical Usage
Add this script to your trading platform (e.g., TradingView).
Apply it to your preferred chart.
Look for the visual cues (triangles and shaded boxes) to identify DBU and DBD patterns.
Use these patterns in combination with other indicators or analysis techniques for better decision-making.
6. Limitations
It may generate false signals in choppy or low-volume markets.
Best used in trending markets or with confirmation from other indicators.
Traders should backtest and validate the script before relying on it in live trading.
By automating the detection of DBU and DBD patterns, this script is a powerful tool for traders who rely on candlestick analysis to make quick and informed decisions.
Stochastic+RSIThis script combines stochastic rsi and rsi with overbought and oversold bands for RSI to better vizualize potential pivot or reversals points.
It also scans for potential divergences and pivots marked by arrows on RSI and try to predict the next movements (not super accurate on price movement prediction but it is what it is)
CBA 6MA Cross Volume and Price AnalysisThis script does the following:
1.Defines and plots six moving averages (14, 21, 35, 50, 100, 200).
2.Detects MA "crossovers and crossunders" between any of the moving averages.
3.Calculates up and down volumes based on whether the closing price is above or below the opening price.
4.Compares the current volume, up volume, and down volume with their previous values.
5.Uses the price change to infer buying pressure (when price increases and up volume increases) and selling pressure (when price decreases and down volume increases).
6.Plots an "X" for buy pressure below the bar and an "O" for sell pressure above the bar.
Optimized ICT Buy and Sell SignalsI understand that you're seeing too many signals, which can make the strategy seem cluttered or overly reactive. To **optimize the strategy** and reduce the frequency of buy and sell signals, we can add a few improvements:
### Optimization Approach:
1. **Increase Lookback Periods**: By increasing the lookback periods for **Market Structure**, **Order Blocks**, and **FVGs**, we can make the strategy less sensitive to every little fluctuation and focus more on stronger trend shifts.
2. **Trend Confirmation with EMA**: Use the **EMA 9** as a trend filter. Only generate signals when the price is above the **EMA 9** for bullish signals and below the **EMA 9** for bearish signals.
3. **Limit Signals to Stronger Price Action**: For example, we can reduce the number of signals by requiring price to be closer to significant **order blocks** or **FVGs**, or only trigger signals when there is a **break of structure** (BoS) and confirmation of a trend reversal.
---
### Optimized Code
```pinescript
//@version=5
indicator("Optimized ICT Buy and Sell Signals", overlay=true)
// --- Input Parameters ---
emaLength = input.int(9, title="EMA Length")
fvgLookback = input.int(10, title="Fair Value Gap Lookback Period")
orderBlockLookback = input.int(30, title="Order Block Lookback Period")
minGapSize = input.float(0.5, title="Min Gap Size (FVG)") // Minimum gap size for FVG detection
// --- EMA 9 (for trend direction) ---
ema9 = ta.ema(close, emaLength)
plot(ema9, title="EMA 9", color=color.blue, linewidth=2)
// --- Market Structure (ICT) ---
// Identify Higher Highs (HH) and Higher Lows (HL) for Bullish Market Structure
hhCondition = high > ta.highest(high, orderBlockLookback) // Higher High
hlCondition = low > ta.lowest(low, orderBlockLookback) // Higher Low
isBullishStructure = hhCondition and hlCondition // Bullish Market Structure condition
// Identify Lower Highs (LH) and Lower Lows (LL) for Bearish Market Structure
lhCondition = high < ta.highest(high, orderBlockLookback) // Lower High
llCondition = low < ta.lowest(low, orderBlockLookback) // Lower Low
isBearishStructure = lhCondition and llCondition // Bearish Market Structure condition
// --- Order Blocks (ICT) ---
// Bullish Order Block (consolidation before upmove)
var float bullishOrderBlock = na
if isBullishStructure
bullishOrderBlock := ta.valuewhen(low == ta.lowest(low, orderBlockLookback), low, 0)
// Bearish Order Block (consolidation before downmove)
var float bearishOrderBlock = na
if isBearishStructure
bearishOrderBlock := ta.valuewhen(high == ta.highest(high, orderBlockLookback), high, 0)
// --- Fair Value Gap (FVG) ---
// Bullish Fair Value Gap (FVG): Gap between a down-close followed by an up-close
fvgBullish = (low < high ) and (high - low > minGapSize) // Bullish FVG condition with gap size filter
// Bearish Fair Value Gap (FVG): Gap between an up-close followed by a down-close
fvgBearish = (high > low ) and (high - low > minGapSize) // Bearish FVG condition with gap size filter
// --- Entry Conditions ---
// Buy Condition: Bullish Market Structure and Price touching a Bullish Order Block or FVG, and above EMA
longCondition = isBullishStructure and (close <= bullishOrderBlock or fvgBullish) and close > ema9
// Sell Condition: Bearish Market Structure and Price touching a Bearish Order Block or FVG, and below EMA
shortCondition = isBearishStructure and (close >= bearishOrderBlock or fvgBearish) and close < ema9
// --- Plot Buy and Sell Signals on the Chart ---
plotshape(series=longCondition, location=location.belowbar, color=color.green, style=shape.labelup, title="Buy Signal", text="BUY", size=size.small)
plotshape(series=shortCondition, location=location.abovebar, color=color.red, style=shape.labeldown, title="Sell Signal", text="SELL", size=size.small)
// --- Highlight Order Blocks ---
plot(bullishOrderBlock, color=color.green, linewidth=1, title="Bullish Order Block", style=plot.style_circles)
plot(bearishOrderBlock, color=color.red, linewidth=1, title="Bearish Order Block", style=plot.style_circles)
// --- Highlight Fair Value Gaps (FVG) ---
bgcolor(fvgBullish ? color.new(color.green, 90) : na, title="Bullish FVG", transp=90)
bgcolor(fvgBearish ? color.new(color.red, 90) : na, title="Bearish FVG", transp=90)
// --- Alerts ---
// Alert for Buy Signals
alertcondition(longCondition, title="Long Signal", message="Optimized ICT Buy Signal: Bullish structure, price touching bullish order block or FVG, and above EMA.")
// Alert for Sell Signals
alertcondition(shortCondition, title="Short Signal", message="Optimized ICT Sell Signal: Bearish structure, price touching bearish order block or FVG, and below EMA.")
```
### Key Optimizations:
1. **Increased Lookback Periods**:
- The `orderBlockLookback` has been increased to **30**. This allows for a larger window for identifying **order blocks** and **market structure** changes, reducing sensitivity to small price fluctuations.
- The `fvgLookback` has been increased to **10** to ensure that only larger price gaps are considered.
2. **Min Gap Size for FVG**:
- A new input parameter `minGapSize` has been introduced to **filter out small Fair Value Gaps (FVGs)**. This ensures that only significant gaps trigger buy or sell signals. The default value is **0.5** (you can adjust it as needed).
3. **EMA Filter**:
- Added a trend filter using the **EMA 9**. **Buy signals** are only triggered when the price is **above the EMA 9** (indicating an uptrend), and **sell signals** are only triggered when the price is **below the EMA 9** (indicating a downtrend).
- This helps reduce noise by confirming that signals are aligned with the broader market trend.
### How to Use:
1. **Apply the script** to your chart and observe the reduced number of buy and sell signals.
2. **Buy signals** will appear when:
- The price is in a **bullish market structure**.
- The price is near a **bullish order block** or filling a **bullish FVG**.
- The price is **above the EMA 9** (confirming an uptrend).
3. **Sell signals** will appear when:
- The price is in a **bearish market structure**.
- The price is near a **bearish order block** or filling a **bearish FVG**.
- The price is **below the EMA 9** (confirming a downtrend).
### Further Fine-Tuning:
- **Adjust Lookback Periods**: If you still find the signals too frequent or too few, you can tweak the `orderBlockLookback` or `fvgLookback` values further. Increasing them will give more weight to the larger market structures, reducing noise.
- **Test Different Timeframes**: This optimized version is still suited for lower timeframes like 15-minutes or 5-minutes but will also work on higher timeframes (1-hour, 4-hour, etc.). Test across different timeframes for better results.
- **Min Gap Size**: If you notice that the FVG condition is too restrictive or too lenient, adjust the `minGapSize` parameter.
### Conclusion:
This version of the strategy should give you fewer, more meaningful signals by focusing on larger market movements and confirming the trend direction with the **EMA 9**. If you find that the signals are still too frequent, feel free to further increase the lookback periods or tweak the FVG gap size.