15-Min Candle Breakout Strategy//@version=5
indicator("15-Min Candle Breakout Strategy", overlay=true)
// Define the session start time
startHour = 9
startMinute = 15
// Track the first 15-minute candle
isSessionStart = (hour == startHour and minute == startMinute)
var float firstHigh = na
var float firstLow = na
if (isSessionStart)
firstHigh := high
firstLow := low
// Draw the high and low lines
line.new(x1=bar_index , y1=firstHigh, x2=bar_index, y2=firstHigh, color=color.green, width=1)
line.new(x1=bar_index , y1=firstLow, x2=bar_index, y2=firstLow, color=color.red, width=1)
// Breakout signals
longSignal = (close > firstHigh)
shortSignal = (close < firstLow)
plotshape(longSignal, style=shape.labelup, color=color.green, size=size.small, location=location.belowbar, text="BUY")
plotshape(shortSignal, style=shape.labeldown, color=color.red, size=size.small, location=location.abovebar, text="SELL")
// Visualize breakout range
bgcolor(longSignal ? color.new(color.green, 90) : shortSignal ? color.new(color.red, 90) : na)
alertcondition(longSignal, title="Long Signal", message="Price broke above the first 15-min candle high")
alertcondition(shortSignal, title="Short Signal", message="Price broke below the first 15-min candle low")
// Optional: Reset the high and low at the start of the next day
if (hour == 0 and minute == 0)
firstHigh := na
firstLow := na
Candlestick analysis
Pelata CandleSImple script that paints engulfing candles only if the close beyond previous close/ open
Market Trend Levels Detector With Signals [BigBeluga]Added signals version
Market Trend Levels Detector With Signals
Heikin Ashi Actual Close Price [BarScripts]This indicator plots a dot on your Heikin Ashi chart at the actual raw candle close - revealing the true market close that can differ from the averaged price displayed by Heikin Ashi candles.
Options to show close price on all candles or last X candles.
Please follow BarScripts if you like the indicator.
Candle Size Alert (Open-Close)This Pine Script is a TradingView indicator that checks the size of the previous candle's body (difference between the open and close prices) and triggers an alert if it exceeds a certain threshold.
Breakdown of the Script
1. Indicator Declaration
//@version=5
indicator("Candle Size Alert (Open-Close)", overlay=true)
//@version=5: Specifies that the script is using Pine Script v5.
indicator("Candle Size Alert (Open-Close)", overlay=true):
Creates an indicator named "Candle Size Alert (Open-Close)".
overlay=true: Ensures the script runs directly on the price chart (not in a separate panel).
2. User-Defined Threshold
candleThreshold = input.int(500, title="Candle Size Threshold")
input.int(500, title="Candle Size Threshold"):
Allows the user to set the threshold for candle body size.
Default value is 500 points.
3. Calculate Candle Size
candleSize = math.abs(close - open )
close and open :
close : Closing price of the previous candle.
open : Opening price of the previous candle.
math.abs(...):
Takes the absolute difference between the open and close price.
This gives the candle body size (ignoring whether it's bullish or bearish).
4. Check If the Candle Size Meets the Threshold
sizeCondition = candleSize >= candleThreshold
If the previous candle’s body size is greater than or equal to the threshold, sizeCondition becomes true.
5. Determine Candle Color
isRedCandle = close < open
isGreenCandle = close > open
Red Candle (Bearish):
If the closing price is less than the opening price (close < open ).
Green Candle (Bullish):
If the closing price is greater than the opening price (close > open ).
6. Generate Alerts
if sizeCondition
direction = isRedCandle ? "SHORT SIGNAL (RED)" : "LONG SIGNAL (GREEN)"
alertMessage = direction + ": Previous candle body size = " + str.tostring(candleSize) +
" points (Threshold: " + str.tostring(candleThreshold) + ")"
alert(alertMessage, alert.freq_once_per_bar)
If the candle body size exceeds the threshold, an alert is triggered.
direction = isRedCandle ? "SHORT SIGNAL (RED)" : "LONG SIGNAL (GREEN)":
If the candle is red, it signals a short (sell).
If the candle is green, it signals a long (buy).
The alert message includes:
Signal type (LONG/SHORT).
Candle body size.
The user-defined threshold.
How It Works in TradingView:
The script does not plot anything on the chart.
It monitors the previous candle’s body size.
If the size exceeds the threshold, an alert is generated.
Alerts can be used to notify the trader when big candles appear.
Spot - Fut spread v2The "Spot - Fut Spread v2"
indicator is designed to track the difference between spot and futures prices on various exchanges. It automatically identifies the corresponding instrument (spot or futures) based on the current symbol and calculates the spread between the prices. This tool is useful for analyzing the delta between spot and futures markets, helping traders assess arbitrage opportunities and market sentiment.
Key Features:
- Automatic detection of spot and futures assets based on the current chart symbol.
- Supports multiple exchanges, including Binance, Bybit, OKX, MEXC, BingX, Bitget, BitMEX, Deribit, Whitebit, Gate.io, and HTX.
- Flexible asset selection: the ability to manually choose the second asset if automatic selection is disabled.
- Spread calculation between futures and spot prices.
- Moving average of the spread for smoothing data and trend analysis.
Flexible visualization:
- Color indication of positive and negative spread.
- Adjustable background transparency.
- Text label displaying the current spread and moving average values.
- Error alerts in case of invalid data.
How the Indicator Works:
- Determines whether the current symbol is a futures contract.
- Based on this, selects the corresponding spot or futures symbol.
- Retrieves price data and calculates the spread between them.
- Displays the spread value and its moving average.
- The chart background color changes based on the spread value (positive or negative).
- In case of an error, the indicator provides an alert with an explanation.
Customization Parameters:
-Exchange selection: the ability to specify a particular exchange from the list.
- Automatic pair selection: enable or disable automatic selection of the second asset.
- Moving average period: user-defined.
- Colors for positive and negative spread values.
- Moving average color.
- Background transparency.
- Background coloring source (based on spread or its moving average).
Application:
The indicator is suitable for traders who analyze the difference between spot and futures prices, look for arbitrage opportunities, and assess the premium or discount of futures relative to the spot market.
Contact - t.me
AL60 CandlesThis script marks out all candle flips (a bullish candle followed by a bearish candle or a bearish candle followed by a bullish candle).
This is very useful on M15 and above to help you frame reversals on lower timeframes.
I use this tool to backtest reversal times during the day.
Best timeframes: H1, H3, H4
Triangle Reversal IndicatorTriangle Reversal Indicator – A Visual Tool for Identifying Reversal Patterns
This indicator is designed to highlight potential trend reversal moments by comparing the current candle with the previous one. It offers a unique approach by focusing on distinct candle patterns rather than generic trend indicators, making it a valuable addition to your trading toolkit.
How It Works:
For a bullish signal, the indicator checks if:
The current candle is bullish (closing higher than it opens) while the previous candle was bearish.
The current candle’s low breaches the previous bearish candle’s low.
The current candle’s close is above the previous bearish candle’s close.
When these conditions are met, a tiny green triangle is plotted below the candle to signal a potential bullish reversal.
Conversely, for a bearish signal, it verifies if:
The current candle is bearish (closing lower than it opens) following a bullish candle.
The current candle’s high exceeds the previous bullish candle’s high.
The current candle’s close falls below the previous bullish candle’s close.
If all conditions are satisfied, a small red triangle appears above the candle to indicate a potential bearish reversal.
How to Use:
Simply apply the indicator on your chart and look for the tiny triangles that appear above or below the candles. These markers can serve as an additional visual cue when confirming entry or exit points, but it’s best used alongside your other analysis techniques.
Customization Options:
Users can further enhance the script by adding inputs for lookback periods, adjusting the triangle size, or modifying colors to match their chart themes.
Super Trend with EMA, RSI & Signals//@version=6
strategy("Super Trend with EMA, RSI & Signals", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=10)
// Super Trend Indicator
atrLength = input.int(10, title="ATR Length")
factor = input.float(3.0, title="Super Trend Multiplier")
= ta.supertrend(factor, atrLength)
// 200 EMA for Trend Confirmation
emaLength = input.int(200, title="EMA Length")
ema200 = ta.ema(close, emaLength)
// RSI for Momentum Confirmation
rsiLength = input.int(14, title="RSI Length")
rsi = ta.rsi(close, rsiLength)
useRSIFilter = input.bool(true, title="Use RSI Filter?")
rsiThreshold = 50
// Buy & Sell Conditions
buyCondition = ta.crossover(close, st) and close > ema200 and (not useRSIFilter or rsi > rsiThreshold)
sellCondition = ta.crossunder(close, st) and close < ema200 and (not useRSIFilter or rsi < rsiThreshold)
// Stop Loss & Take Profit (Based on ATR)
atrMultiplier = input.float(1.5, title="ATR Stop Loss Multiplier")
atrValue = ta.atr(atrLength)
stopLossBuy = close - (atrMultiplier * atrValue)
stopLossSell = close + (atrMultiplier * atrValue)
takeProfitMultiplier = input.float(2.0, title="Take Profit Multiplier")
takeProfitBuy = close + (takeProfitMultiplier * (close - stopLossBuy))
takeProfitSell = close - (takeProfitMultiplier * (stopLossSell - close))
// Execute Trades
if buyCondition
strategy.entry("Buy", strategy.long)
strategy.exit("Take Profit Buy", from_entry="Buy", limit=takeProfitBuy, stop=stopLossBuy)
if sellCondition
strategy.entry("Sell", strategy.short)
strategy.exit("Take Profit Sell", from_entry="Sell", limit=takeProfitSell, stop=stopLossSell)
// Plot Indicators
plot(ema200, title="200 EMA", color=color.blue, linewidth=2)
plot(st, title="Super Trend", color=(direction == 1 ? color.green : color.red), style=plot.style_stepline)
// Plot Buy & Sell Signals as Arrows
plotshape(series=buyCondition, location=location.belowbar, color=color.green, style=shape.labelup, title="Buy Signal", text="BUY")
plotshape(series=sellCondition, location=location.abovebar, color=color.red, style=shape.labeldown, title="Sell Signal", text="SELL")
15-5 Pin BarThis indicator will show us what our entry candle is.
It is measured to perfection so there will be no need to measure the entry candle.
AlgoForensic V1AlgoForensic...
Key features:
> Watermark
> Days of the Week
> Key Session Windows Timing
> CRT Levels ( 1H and 4H CRH & CRL )
> PDL & PDH and PWL & PWL
Свечной паттернСвечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,
Свечной паттернСвечной паттерн, Свечной паттерн, Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,Свечной паттерн, Свечной паттерн,
综合策略此策略是一个综合交易策略,融合了多种技术分析指标和交易形态,旨在为交易者提供更全面的市场分析和交易信号。
* 主要包含以下几个核心部分:
* 1. MACD指标:用于检测市场的趋势和背离信号。通过设置不同的快线和慢线周期,以及波峰检测周期,能够捕捉到市场的短期和中期变化。
* 2. Vegas通道:基于EMA144和EMA169构建通道,判断市场的多空趋势。当两条均线同时向上或向下时,分别给出多头和空头信号。
* 3. 吞没形态:包括看涨吞没和看跌吞没形态,用于识别市场的反转信号。可以选择严格模式来提高信号的准确性。
* 4. ATR通道:通过计算平均真实波动范围(ATR),结合不同的平滑方式(RMA、SMA、EMA、WMA)和乘数,构建上下通道,用于确定止损和止盈水平。
* 5. 辅助MACD策略:通过设置不同的快线、慢线和信号线周期,以及200日均线,提供额外的多空信号。
* 6. RSI波动率抑制区域策略:计算RSI指标的波动率,当波动率低于一定阈值时,标记低波动率区域,并根据价格突破情况给出多空信号。
乖离率-EMA回撤保护策略根据两个乖离率差值和随机指数寻找入场点 给予目标行情N根K线进行开展(N可自定义)
使用EMA均线进行回撤保护(EMA来源 周期可自定义)包括限定时间内上下穿 利润回撤
利润回撤不同比例 20% 40% 会自动部分保护平仓
ATR固定止盈和硬止损(可自定义)
不同品种不同周期乖离率不同(山寨币 主流币不同)乖离率阈值需要大一些
两个乖离率阈值差值越大 阈值二越大 行情越极端 偏离越多 回归需求越大 胜率越高 交易次数越少
条件二不易触发 条件三较为极端(利润可观) 条件一为核心
底部为条件一 二 三 指示灯 可看策略内的条件介绍
ICT Trading Signals (Optimized for M15)1. Mô tả
Chỉ báo ICT Trading Signals được tối ưu hóa cho khung thời gian M15, giúp nhà giao dịch xác định các điểm vào lệnh dựa trên phương pháp ICT (Inner Circle Trader). Chỉ báo này kết hợp các yếu tố quan trọng của ICT như Liquidity Grab, Order Block (OB), và Fair Value Gap (FVG) để đưa ra tín hiệu BUY/SELL chính xác.
2. Cách hoạt động
- Xác định Liquidity Grab
Chỉ báo kiểm tra xem giá có quét qua mức cao nhất hoặc thấp nhất của 10 cây nến gần nhất không.
Khi giá phá vỡ mức cao trước đó → Xác định Liquidity Grab Buy.
Khi giá phá vỡ mức thấp trước đó → Xác định Liquidity Grab Sell.
Xác định Order Block (OB)
Bullish OB: Xảy ra khi nến giảm mạnh trước đó bị phá vỡ bởi hai nến tăng liên tiếp.
Bearish OB: Xảy ra khi nến tăng mạnh trước đó bị phá vỡ bởi hai nến giảm liên tiếp.
Xác định Fair Value Gap (FVG)
FVG Bullish: Khi có khoảng trống giá giữa nến hiện tại và nến trước đó, thể hiện áp lực mua mạnh.
FVG Bearish: Khi có khoảng trống giá giữa nến hiện tại và nến trước đó, thể hiện áp lực bán mạnh.
3. Điều kiện vào lệnh
BUY Signal khi có Liquidity Grab Buy + Bullish OB + FVG Bullish.
SELL Signal khi có Liquidity Grab Sell + Bearish OB + FVG Bearish.
Hiển thị tín hiệu trên biểu đồ
Chỉ báo hiển thị mũi tên xanh lá dưới nến khi có tín hiệu BUY.
Chỉ báo hiển thị mũi tên đỏ trên nến khi có tín hiệu SELL.
4. Ứng dụng thực tế
Nhà giao dịch có thể sử dụng chỉ báo này để tìm các điểm vào lệnh theo phương pháp ICT mà không cần phải vẽ tay các vùng thanh khoản, OB hay FVG.
Chỉ báo giúp xác định các vùng tiềm năng mà Smart Money có thể tham gia thị trường, giúp bạn giao dịch theo hướng của dòng tiền lớn.
5. Lưu ý
- Chỉ báo được thiết kế để sử dụng trên khung thời gian M15 (XAUUSD - OANDA).
- Không nên giao dịch chỉ dựa vào tín hiệu của chỉ báo mà cần kết hợp với phân tích đa khung thời gian để tăng độ chính xác.
FTLTD Buy Sell vol.1FTLTD Buy Sell vol.1
This script, developed by Finance Technologies LTD, integrates multiple technical indicators to provide precise buy and sell signals for short-term trading. It includes Stochastic, MACD, Fibonacci levels, Keltner Channel, SuperTrend, Parabolic SAR, and key support and resistance levels across multiple timeframes. The indicator helps identify trend reversals, retracement opportunities, and breakout confirmations, offering traders reliable entry and exit points in both trending and ranging markets.