BELIKETHEALGOBELIKETHEALGO v1.0
Description:
all-in-one indicator for trading enthusiasts, combining essential price levels and session markers .
Features:
Key Levels:
PDH: Previous Daily High
PDL: Previous Daily Low
PWH: Previous Weekly High
PWL: Previous Weekly Low
Session Markers:
London Session (GBP) opening time.
NYSE Session (USD) opening time.
Customization:
Fully customizable labels and colors for PDH, PDL, PWH, and PWL.
Multi-language support for English, Spanish, and French.
Release Notes:
v1.0 Updates:
Integrated support for Previous Weekly High (PWH) and Previous Weekly Low (PWL).
User-friendly options to customize labels and colors.
Enhanced session tracking with precise London and NYSE open markers.
Multi-language functionality for labels (English, Spanish, French).
Indicators and strategies
Engulfing Candle IndicatorPlots a triangle when the engulfing candle is present. The engulfing candle in this context looks at the body, not the wicks.
SMA/EMA Indicator with signalsSimple SMA / Ema indicator , using smart money concepts and giving signals on ema / sma cross with additional rule to show signal on bearish sma or bullish sma crossing body of a candle and candle must be after opposite direction candle
MkBarLibrary "MkBar"
TODO: user data type with all basic candlestick properties
method init(b)
Namespace types: mk_bar
Parameters:
b (mk_bar)
method is_engulfing(b)
Namespace types: mk_bar
Parameters:
b (mk_bar)
mk_bar
Fields:
o (series float)
c (series float)
h (series float)
l (series float)
upper_wick (series float)
body (series float)
lower_wick (series float)
bullish (series bool)
bearish (series bool)
PD/EMA by L00T3RThis indicator calculates the distance between the closing price and its Exponential Moving Average (EMA) over a user-defined period. It plots the distance as a line, along with histograms to highlight positive and negative values, and optionally overlays the EMA on the chart.
5-8-13 MA Crossover Signals with Arrows (Short Term)//@version=5
indicator("5-8-13 MA Crossover Signals with Arrows", overlay=true)
// Hareketli ortalamaları tanımla
ma5 = ta.sma(close, 5)
ma8 = ta.sma(close, 8)
ma13 = ta.sma(close, 13)
// Kesişim noktalarını belirle
bullishCross = ta.crossover(ma5, ma13)
bearishCross = ta.crossunder(ma5, ma13)
// Yeşil ve kırmızı ok işaretlerini çiz
plotshape(series=bullishCross, location=location.belowbar, color=color.new(color.green, 0), style=shape.labelup, size=size.small, title="Bullish Crossover")
plotshape(series=bearishCross, location=location.abovebar, color=color.new(color.red, 0), style=shape.labeldown, size=size.small, title="Bearish Crossover")
// Hareketli ortalamaları çizin
plot(ma5, color=color.blue, title="5 MA")
plot(ma8, color=color.orange, title="8 MA")
plot(ma13, color=color.purple, title="13 MA")
ema screenermulti timeframe indicator which scans three time frame and shows the symbols that are bullish or bearish, use 5 minute chart for entry
YFC 3LÜ TESTYFC Technology Indicator
This script is a custom indicator for TradingView, combining various technical analysis tools, including breakout levels, the Chandelier Exit, and moving average (MA) crossovers. Below is a breakdown of the key features and logic of the code:
1. Breakout Probability Inputs
Purpose: Allows users to customize breakout levels by defining the percentage steps and the number of levels to be displayed.
Inputs:
perc: The percentage step used to calculate the distance between breakout levels.
nbr: Number of breakout levels above and below the current price.
upCol and dnCol: Colors for upward and downward breakout levels.
fill: Option to display background colors for visual clarity.
2. Chandelier Exit
Purpose: Implements the Chandelier Exit strategy to determine trailing stop levels for long and short positions.
Inputs:
lengthATR: Defines the period for the Average True Range (ATR) calculation.
multATR: ATR multiplier to adjust the sensitivity of the stop levels.
useClose: Boolean flag to decide whether to use closing prices or high/low prices for extremums.
Logic:
Computes longStop and shortStop levels using the ATR-based trailing stop formula.
Adjusts the stop levels dynamically based on the current price direction.
Generates Buy and Sell signals when the price crosses the stop levels.
Plots the stop levels on the chart with green (long) and red (short) lines.
3. Moving Average (MA) and Exponential Moving Average (EMA) Crossover
Purpose: Identifies bullish or bearish trends using the crossover of simple moving average (SMA) and exponential moving average (EMA).
Inputs:
lengthMA: Period for the moving average calculation.
lengthEMA: Period for the exponential moving average calculation.
Logic:
Computes SMA and EMA using the specified lengths.
Compares EMA and SMA values to determine the trend:
Bullish: EMA > SMA
Bearish: EMA < SMA
Plots the SMA and EMA on the chart with different colors (blue and orange).
4. Breakout Levels
Purpose: Displays breakout levels around the current price based on percentage steps.
Logic:
Calculates multiple levels above and below the current price.
Uses lines to visually indicate these levels on the chart.
Levels dynamically update based on the perc and nbr inputs.
5. Alerts
Purpose: Sends real-time alerts based on specific conditions.
Alert Conditions:
Buy Signal: Triggered when the price crosses above the shortStop level.
Sell Signal: Triggered when the price crosses below the longStop level.
Bullish EMA/MA Crossover: Triggered when EMA crosses above SMA.
Bearish EMA/MA Crossover: Triggered when EMA crosses below SMA.
6. Visual Features
Plots:
Stop levels for long and short positions (green and red lines).
SMA and EMA trends (blue and orange lines).
Shapes:
Buy and Sell signals are displayed as labels on the chart.
Breakout Levels:
Lines are drawn to represent potential breakout areas.
EBL - Enhanced BOS LogicEBL - Enhanced BOS Logic
The EBL (Enhanced Break of Structure Logic) script is a powerful tool for traders who want to identify and act on key structural shifts in the market. By combining visual cues, such as horizontal lines and dynamic arrows, the script highlights critical points of interest where market behavior may indicate significant bullish or bearish momentum.
What Makes EBL Unique?
Break of Structure (BOS) Identification:
The script dynamically detects when price breaks above or below significant highs and lows, marking these levels as key BOS points.
Once a BOS level is confirmed, it is displayed on the chart as a horizontal line, allowing traders to easily identify areas of potential support and resistance.
Real-Time Validation and Invalidations:
Bullish BOS levels remain active until a bearish candle closes below the initiating bullish candle.
Similarly, bearish BOS levels remain active until a bullish candle closes above the initiating bearish candle.
If a BOS level is invalidated, both the corresponding line and its arrow are automatically removed to maintain chart clarity.
Visual Clarity with Arrows and Lines:
Customizable triangle arrows (green for bullish and red for bearish) appear alongside lines to signal entry opportunities.
Traders can adjust line length, colors, and visibility of arrows to fit their charting style.
Alerts for Confirmation:
Receive alerts when bullish or bearish structures are confirmed, ensuring you never miss a signal even when away from your chart.
How the Script Works
Detection of Bullish and Bearish Structures:
The script identifies a "Bullish Break" when the price closes above the high of a bullish candle followed by a bearish one.
A "Bearish Break" is detected when the price closes below the low of a bearish candle followed by a bullish one.
Line and Arrow Placement:
Horizontal lines are drawn at the high or low of the respective BOS level.
Triangular arrows are plotted just below or above the respective levels to indicate potential trade opportunities.
Automatic Cleanup:
When a line is invalidated by opposing market movement, both the line and its connected arrow are automatically removed from the chart.
How to Use EBL
Settings:
Adjust line colors (green for bullish, red for bearish) to suit your charting theme.
Customize arrow visibility or hide lines if you prefer a less cluttered chart.
Set the horizontal line length to match your desired timeframe and analysis depth.
Trading Concepts:
Trend Reversal Zones: Use invalidated BOS levels as signals for possible trend reversals.
Momentum Trading: Follow confirmed BOS levels to identify areas where price momentum is likely to continue.
Dynamic Support and Resistance: Leverage the lines to identify evolving support and resistance zones.
Alerts:
Enable alerts to receive notifications when bullish or bearish trends are confirmed, allowing you to stay informed without constant monitoring.
Conceptual Basis
This script is based on the widely used market structure concept, which is fundamental to price action trading. By tracking the highs and lows created by bullish and bearish movements, the EBL script provides an objective and systematic approach to identifying and trading key structural points in the market.
With the EBL - Enhanced BOS Logic, traders can visually and systematically track market structure, identify potential trade setups, and maintain a cleaner chart with automated line and arrow management. This script is ideal for trend-following, scalping, and swing trading strategies across all markets and timeframes.
Auto Fibonacci Retracement by YilmazerBelirtilen bar sayısı ve fibonacci değerlerine göre fibonacci düzeltme seviyelerini grafik üzerinde çizer. Eğer grafikte belirtilenden daha az bar var ise bu durumda grafikte yer alan max bar sayısını dikkate alarak çizim yapar.
Draws Fibonacci retracement levels on the chart based on the specified number of bars and Fibonacci values. If the chart has fewer bars than specified, it uses the maximum number of bars available on the chart for drawing.
Farklı Mumları Göster//@version=5
indicator("Farklı Mumları Göster", overlay=true)
// Önceki mumun düşük ve mevcut mumun yüksek değerlerini al
low_prev = low
high_curr = high
// Farkı hesapla
difference = (high_curr - low_prev) / low_prev * 100
// %5'ten fazla fark olanları işaretle
plotshape(difference > 5, location=location.abovebar, color=color.green, style=shape.labelup, text="Fark > %5")
// Grafik üzerinde göster
bgcolor(difference > 5 ? color.new(color.green, 90) : na)
BELIKETHEALGOWorking progress!!
All in one indicator
Previos Daily High = PDH
Previos Daily Low + PDL
USD and GBP Opening Times
Breaker & Double Top/Low Detector (Last 100 Candles)//@version=5
indicator("Breaker & Double Top/Low Detector (Last 100 Candles)", overlay=true)
// Input parameters
length = 100 // Fixed lookback length of 100 candles
threshold = input.float(0.5, title="Threshold (%)", minval=0.1, step=0.1)
// Helper functions
isBreaker(highs, lows) =>
// Identify a Breaker pattern when a resistance/support level is broken in the last 100 candles
prevHigh = ta.highest(highs, length)
prevLow = ta.lowest(lows, length)
close > prevHigh or close < prevLow
isDoubleTop(highs) =>
// Identify Double Top when two recent peaks are nearly equal within threshold in the last 100 candles
topPivot = ta.pivothigh(highs, length, length) // Find local peak
nextTopPivot = ta.pivothigh(highs , length, length) // Second local peak
isDoubleTop = not na(topPivot) and not na(nextTopPivot) and
math.abs(high - high ) / high <= threshold / 100 and
ta.barssince(topPivot) <= length // Ensure the pivot is within the last 100 candles
isDoubleTop
isDoubleLow(lows) =>
// Identify Double Low when two recent valleys are nearly equal within threshold in the last 100 candles
lowPivot = ta.pivotlow(lows, length, length) // Find local valley
nextLowPivot = ta.pivotlow(lows , length, length) // Second local valley
isDoubleLow = not na(lowPivot) and not na(nextLowPivot) and
math.abs(low - low ) / low <= threshold / 100 and
ta.barssince(lowPivot) <= length // Ensure the pivot is within the last 100 candles
isDoubleLow
// Pattern identification
breakerSignal = isBreaker(high, low) // Breaker pattern
doubleTopSignal = isDoubleTop(high) // Double Top
doubleLowSignal = isDoubleLow(low) // Double Low
// Plot signals
plotshape(breakerSignal, title="Breaker", location=location.abovebar, color=color.red, style=shape.labelup, text="Breaker")
plotshape(doubleTopSignal, title="Double Top", location=location.abovebar, color=color.orange, style=shape.labelup, text="DTop")
plotshape(doubleLowSignal, title="Double Low", location=location.belowbar, color=color.green, style=shape.labeldown, text="DLow")
// Background coloring
bgcolor(breakerSignal ? color.new(color.red, 90) : na, title="Breaker Background")
bgcolor(doubleTopSignal ? color.new(color.orange, 90) : na, title="Double Top Background")
bgcolor(doubleLowSignal ? color.new(color.green, 90) : na, title="Double Low Background")
// Debugging for values
if (breakerSignal)
label.new(bar_index, high, "Breaker")
if (doubleTopSignal)
label.new(bar_index, high, "Double Top")
if (doubleLowSignal)
label.new(bar_index, low, "Double Low")
Candlestick Pattern Volume AnalysisBearish Engulfing Pattern - This script now fully handles Bullish Engulfing, Bearish Engulfing, Bullish Hammer, and Bearish Hammer patterns with volume-based breakout signals. Let me know if you need further modifications