diamondpattern.Diamond Pattern (Elmas Formasyonu) İndikatörü
Bu indikatör, fiyat hareketlerinde Elmas Formasyonu (Diamond Pattern) tespit etmek için geliştirilmiştir. Elmas formasyonu genellikle trend dönüş sinyali olarak kabul edilir ve güçlü fiyat hareketleriyle sonuçlanabilir.
Özellikler:
✅ Otomatik Algılama – Grafik üzerinde Elmas Formasyonu oluştuğunda tespit eder.
✅ Trend Dönüş Sinyalleri – Formasyon tamamlandığında olası yön değişimlerini gösterir.
✅ Uyumlu Zaman Dilimleri – Tüm zaman dilimlerinde kullanılabilir.
✅ Kullanıcı Dostu – Karmaşık ayarlara gerek kalmadan kolayca kullanılır.
Nasıl Kullanılır?
1. İndikatörü grafiğe ekleyin.
2. Elmas Formasyonu belirdiğinde takip edin.
3. Formasyonun kırılım yönüne göre işlem stratejinizi belirleyin.
Not: Formasyon tespiti tek başına alım-satım sinyali değildir. Diğer teknik analiz araçlarıyla birlikte değerlendirilmelidir.
Candlestick analysis
MA50 with 20-Pip Entry & Trade Info TableFull potentiel algo for given signal buy and sell at the same time
Zero Lag Trend Signals (MTF) [Adee]its my hidden strategy this indicator accuracy 90 percent work on ema strategy
开盘反转检测I have encountered many times that after using indicators or signals to open a position, the trend immediately reversed and I could only be stopped out.
To summarize the rules, if the current K-line is reversed from the previous K-line, and the lower shadow is very short, and the reversal strength is very large, then a signal is sent.
This is only a stop-loss indicator and cannot be used as an opening indicator!
遇到很多次, 使用指标或者信号开仓后, 走势立马反转, 最终只能被止损,
总结规律, 当前k线如果与前一根k线形势反转, 且下影线很短, 反转强度又很大, 则发送信号,
这只是一个止损指标, 不能作为开仓指标!
Nimu Market on Paper
Multi-Timeframe Analysis Tool is a powerful visual aid for identifying trends, reversals, and key price movements across multiple timeframes — particularly useful for intraday traders and those using technical analysis strategies
Timeframes & Data Collection:
The script tracks multiple timeframes (1m, 5m, 15m, 30m, 1H, 2H, 4H, 8H), storing their open, high, low, and close prices in arrays (trdh, trdc, trdo, trdl).
It uses request.security() to fetch these values for the current symbol and specified timeframes
.
User Inputs:
Base Timeframe: Chooses the primary timeframe for analysis.
Bar Count: Determines how many bars to display.
Border Thickness: Sets the visual thickness of box borders.
Colors: Configurable for bullish, bearish, background, and borders
Visual Elements:
Dynamic Boxes: Drawn using box.new(), these illustrate the range between high and low prices with the percentage change displayed inside.
Candlestick Plots: Rendered for each tracked timeframe using plotcandle(), colored according to bullish or bearish price action and styled based on timeframe scaling.
Regression Line: A linear regression line plotted over the selected timeframe’s close prices to capture trend direction.
Logic & Presentation:
Determines the right timeframe index based on user input (base).
Calculates percentage change from high to low and visualizes it with shaded boxes.
Automatically deletes older boxes to maintain clarity.
Customizes candle appearance based on timeframe granularity.
A.I. 👑 Market Cipher Z [RubiXalgo]Imagine Rubik's cube.
// As speed cubers solve Rubik's cubes, even while juggling, they mimic market movements.
// A speed cuber, while juggling, reveals these slight of hand movements.
// This is because Ichimoku values mirror the mathematics of a Rubik's cube.
// Rubik's Algo offers visualizations of this process by using data-powered color gradients.
// S.UPER T.REND U.LTIMATE P.ROJECT I.NTELLIGENT D.ESIGN
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// This work is licensed under a Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) creativecommons.org
// The summary of this code is work done by @ StupidBitcoin 2025 and beyond.
EMA Cloud + Engulfing Signal (Buy/Sell)This strategy is primarily designed for EUR/USD and GBP/USD on 1-minute, 5-minute, and 15-minute timeframes, but it also works with other currency pairs. We only take positions when there is a trend, and if there is no trend, even if a signal appears, we should not take a position. To identify the trend, you can use the ADX indicator. If the indicator gives you a signal and the ADX is above 20, you can take the position. It's that simple.
Volume - CZ INDICATORSVOLUME
This volume indicator gives you a unique perspective and ability to analyze volume in any market. The upper line that is always >=0 represents average up volume over a user definable period while the lower line that is always <= 0 represents the average down volume over a user definable period.
Этот индикатор объема дает вам уникальную перспективу и возможность анализировать объем на любом рынке. Верхняя линия, которая всегда >=0, представляет средний объем вверх за определенный пользователем период, а нижняя линия, которая всегда <= 0, представляет средний объем вниз за определенный пользователем период.
FVG imbalance zone - CZ INDICATORSAn imbalance is a situation that has arisen as a result of an excess of buy or sell orders, which has created a gap.
Market makers have a certain reserve of the asset, which is kept in the reserve. And when the gap needs to be closed, he adds liquidity to the asset, thereby closing it so that trading continues at a fair price.
What it looks like:
Basically, an imbalance zone is an un-wickered area of an impulse (or not) candle, where the price seeks to close the zone further pullback into it at the 50% level.
That is, you can mark the zone from wick to wick with a regular rectangle and the point in the middle will be just 50% of the zone, from which a reversal is possible. Or you can use fibo on this principle, and the reversal will be the zone of 0.5.
You should not consider this zone as something magical and blindly enter the deal. It is desirable to observe the formation of any patterns near it and make a decision based on the price behavior.
Imbalance on the stock market can occur when important news is released, profit or loss report, buyout of one company by another, information leakage, etc... Crypto market itself is volatile, so the gap between high and low is a frequent guest there, although no one canceled conspiracies and insider information.
Usually imbalance is closed within a few minutes or hours, depending on which TF you trade on. In rare cases it can take several trading sessions.
Имбаланс (imbalance) – это ситуация, которая возникла в результате избытка ордеров на покупку или продажу, благодаря чему образовался гэп.
У маркетмейкеров есть определенный запас актива, который хранится в резерве. И когда нужно закрыть гэп, он добавляет ликвидность в актив, тем самым закрывая его, чтобы торговля продолжалась по справедливой цене.
Как выглядит:
По сути, зона имбаланса – это не задетая фитилями область импульсной (или нет) свечи, гдец ена стремиться закрыть эту зону дальнейшем откатом в нее на уровень 50%.
То есть можно отметить зону от фителя до фителя с помощью обычного прямогугольника и точки в середине будет как раз 50% зоны, от куда возможен разворот. Либо использовать фибо по такому принципу, а разворот будет зона 0,5.
Не стоит рассматривать эту зону как что-то магическое и слепо входить в сделку. Желательно понаблюдать за формированием каких-либо паттернов возле неё и на основе поведения цены принимать решение.
Имбаланс на фондовом рынке может возникать при выходе важных новостей, отчете о прибыли или убытке, выкупе одной компании другой, утечки информации и тп… Крипторынок сам по себе волатильный, поэтому разрыв между хаем и лоу там частый гость, хотя никто не отменял заговоры и инсайдерскую информацию.
Обычно имбаланс закрывается в течении нескольких минут или часов, смотря на каком ТФ вы торгуете. В редких случаях это может занимать несколько торговых сессий.
Settings
You can adjust the color, bear imbalance can be colored red, bullish imbalance can be colored green. For convenience.
You can also customize what amount on the history will be shown.
Вы можете настроить цвет, медвежий имбаланс может быть окрашен в красный цвет, бычий имбаланс может быть окрашен в зеленый. Для удобства.
Вы также можете настроить, какое количество на истории будет отображаться.
1-3-1 Setup DetectorThis indicator will highlight the last 1 candle on every 1-3-1 Setup. You must be on the 12HR time frame for the indicator to work. Simple to add and use. Favorite this script, go to your charts and to your indicators and go to your favorites. Add it to the chart by clicking on it and go to the 12HR time frame. If you do not have a plan on tradingview you might not be able to get the 12HR time frame since you need to have a plan to get more intervals. After all of this is done you should see a red highlight like in the picture over every last 1 on a 1-3-1 setup so that you can chart that candle and set yourself up for the trade. Thank you and let me know if you have any questions or concerns or any suggestions for this script. YOU CAN CHANGE THE COLOR OF THE HIGHLIGHT IN THE SETTINGS OF THE SCRIPT.
MACD & EMA Crossover StrategyThis indicator works on logic
1. EMA 5 and EMA 13 crossover
2. MACD Crossover
uses values and crossover
Essa's Indicator V3Essa's Indicator V3 – Advanced Market Structure & Session Levels
A comprehensive TradingView tool designed for market structure analysis, session tracking, and trend identification. It combines session high/low plotting, adaptive exponential moving averages (EMAs), ZigZag patterns, fractals, and higher high/lower low (HH/LL) recognition. This indicator provides insights into price action, volatility, and breakout potential.
Core Features
1. Adaptive Exponential Moving Averages (EMAs)
Fast EMA (Blue Line, default: 9-period EMA) – Identifies short-term market trends.
Slow EMA (Red Line, default: 21-period EMA) – Highlights longer-term trend direction.
Volatility-Adjusted EMA Calculation – Uses ATR (Average True Range) to dynamically adjust smoothing, making the EMAs more responsive to market conditions.
EMAs can be toggled on or off in the settings.
2. Trading Session Highs and Lows
Tracks and plots the highs and lows of the three major trading sessions:
London Session (Red lines, 08:00-17:00 LDN / 03:00-12:00 NY)
New York Session (Blue lines, 12:00-21:00 LDN / 07:00-16:00 NY)
Asia Session (Yellow lines, 22:00-08:00 LDN / 18:00-03:00 NY)
Highs and lows for each session are marked, with breakouts potentially signaling key trading opportunities.
Background shading distinguishes active session times:
London Session – Light red background.
New York Session – Light blue background.
Asia Session – Light yellow background.
3. Breakout Alerts
Alerts notify traders when price crosses key session highs or lows:
Break Above Session Highs – Signals potential bullish momentum.
Break Below Session Lows – Indicates possible bearish movement.
Customizable alert settings allow users to focus on specific sessions.
4. ZigZag Market Structure Detection
Highlights significant price swings by identifying peaks and troughs.
Helps visualize trend direction and potential reversals.
Configurable ZigZag length for adjusting sensitivity to price movements.
5. Higher Highs (HH), Lower Lows (LL), Higher Lows (HL), and Lower Highs (LH) Identification
Detects and labels key market structure points:
Higher Highs (HH) and Higher Lows (HL) – Indicate an uptrend.
Lower Highs (LH) and Lower Lows (LL) – Suggest a downtrend.
Provides insights into trend continuation or possible reversals.
6. Fractal Markers
Identifies potential market turning points using fractal-based detection:
Up Fractals (Green Triangles above price) – Indicate potential upward reversals.
Down Fractals (Red Triangles below price) – Signal potential downward reversals.
Useful as a secondary confirmation tool for trade setups.
7. Custom Timezone Options
Allows switching between London (LDN) and New York (NY) timezones to align session markers with the trader’s location.
Ensures session high/low levels are accurately displayed for forex, crypto, and other markets.
Use Cases
Day traders and scalpers can track session high/low breakouts and real-time market structure shifts.
Swing traders can identify trend continuation or reversal opportunities.
Volatility-based traders benefit from adaptive EMAs that dynamically adjust to market conditions.
Price action traders can use market structure indicators to enhance entry and exit strategies.
Essa’s Indicator V3 is a multi-functional tool designed for traders who require a structured approach to technical analysis, with configurable session tracking, adaptive moving averages, and market structure insights.
BRT CHARTS MTFDescription of the Indicator
This indicator is designed to visualize and analyze price movements across multiple timeframes simultaneously. It displays candles from selected time intervals directly on the current chart, allowing traders to quickly assess market conditions without switching between different timeframes. This is particularly useful for traders who use multi-timeframe analysis to make trading decisions.
Key Features of the Indicator:
1. Displaying Candles from Multiple Timeframes:
- The indicator allows you to select three timeframes (e.g., 1 hour, 4 hours, and 1 day) and displays their candles on the current chart. This helps to see the overall market picture without switching between charts.
- Candles are displayed as vertical columns, each containing the body and wicks (shadows) of the candle. The colors of the candles (green for bullish and red for bearish) are customizable.
2. Dynamic Updates:
- The indicator automatically updates the candles as new data arrives, allowing you to track market changes in real time.
3. Customizable Number of Candles:
- The user can choose how many candles to display for each timeframe (default is 4 candles). This allows the indicator to be adapted to individual needs.
4. Range Display (High/Low):
- The indicator can show High and Low levels for each timeframe, helping to identify key support and resistance levels.
- It is also possible to display the Mid level (average between High and Low), which can be useful for identifying consolidation zones.
5. Data Table:
- The indicator supports displaying a table with key levels (High, Low, Mid) for each timeframe. The table can be placed in any corner of the chart, and its size and text/background colors are customizable.
6. Flexible Appearance Settings:
- The user can customize the colors of the candles, their wicks, High/Low/Mid levels, as well as the placement of the columns on the chart.
How the Indicator Helps in Trading:
- Multi-Timeframe Analysis: The indicator allows you to analyze multiple timeframes simultaneously, helping to better understand the overall trend and find entry points. For example, if the trend is bullish on the daily timeframe and there is a correction on the hourly timeframe, this could be a good opportunity to buy.
- Identifying Key Levels: Displaying High, Low, and Mid levels helps quickly identify support and resistance zones, which is useful for setting stop-loss and take-profit levels.
- Time-Saving: The indicator eliminates the need to switch between timeframes, speeding up the analysis and decision-making process.
- Visual Clarity: Visualizing candles from different timeframes on a single chart makes analysis more convenient and intuitive.
Example Use Cases:
1. Trend Trading: If a clear uptrend is visible on the daily timeframe and a correction is occurring on the hourly timeframe, you can look for buy opportunities near support levels.
2. Range Trading: If the price is moving sideways across all timeframes, you can use High and Low levels to trade from the boundaries of the range.
3. Identifying Reversal Points: If the price approaches a key resistance level on the higher timeframe and a bearish candle forms on the lower timeframe, this could be a signal to sell.
Conclusion:
This indicator is a powerful tool for traders who use multi-timeframe analysis. It helps quickly assess market conditions, identify key levels, and make informed trading decisions. Thanks to its flexible settings, the indicator can be adapted to any trading style and visualization preferences.
Zen ABR### **Average Bar Range (ABR) Levels** – A Simple Yet Powerful Scalping Tool
The **ABR Levels** indicator dynamically calculates the **average bar range** and plots three key levels on your chart:
✅ **0.5x ABR** – Half the average bar range
✅ **1x ABR** – The full average bar range
✅ **2x ABR** – Double the average bar range
This provides an **instant volatility gauge**, helping traders adjust position size, stop losses, and targets **based on current market conditions** rather than arbitrary numbers.
### **How It Works**
- The indicator calculates **the average range of the last 8 bars** (default setting, adjustable).
- The **ABR levels update in real time**, appearing in the **top-right corner of your chart** for easy reference.
- Works across **any instrument and timeframe** – great for scalpers and intraday traders.
### **Why Use ABR Levels?**
🚀 **Avoid oversized losses** – Trade dynamically instead of using fixed stops and targets.
📉 **Recognize shifts in market conditions** – Identify when volatility is expanding or contracting.
🎯 **Refine your entries & exits** – Use ABR levels to **scale** your positions intelligently.
### **Pro Tip:**
Never enter a trade **aiming for half-R** profits. If a trade goes badly, **you might manage it to break even or half-R**, but aiming for tiny wins will **wreck your long-term edge**.
🔹 **This script is open-source!** If you're not on TradingView, you can copy the code into any AI tool to generate it for your platform. 🚀
Swing High/Swing LowSwing High/Swing Low shows levels where market recently turned up, producing a new swing low (red dots) or turned down, leaving a new swing high (green dots).
This indicator finds market turns based on at least 3 candles.
To detect a swing low , this indicator is looking for two candles with lower highs and lower lows. Then, if the third or any subsequent candle closes above the high of the first candle, market has turned up producing a swing low.
Similarly, to detect a swing high , the indicator is looking for two candles with higher highs and higher lows. Then, if the third or any subsequent candle closes below the low of the first candle, market has turned down producing a swing high.
Additionally, if there are inside candles after first candle, those are skipped and and overall pattern is analyzed without them.
StDev 2.0Standard Deviation indicator with an option to anchor from Open or EQ (middle of period resolution conducting analysis). The standard deviations are derived from the true range of the most recent resolution and applied to the forth coming period. For instance if you select daily then the analysis will use yesterday true range to derive the standard deviations and anchor them off the open of the new day or off the mid point from the prior days true range. Or if you choose 4 hour time period then it will derive standard deviation levels for the forth coming 4 hour period off the true range of the 4 hour period that just ended.
Additionally you can choose to view as lines that are unconnected period to period or connect them and view as channels. If viewing as channels it is recommended to limit to out edge standard deviation levels.
As a note, you will notice if anchored off EQ that the high and low are the same as the +-0.5 standard deviation thus proving the math is aligned.
ind wfp 1.2//@version=6
indicator('ind wfp 1.2', overlay = true, max_bars_back = 300)
// Input parameters (Existing)
lookbackPeriod = input.int(50, 'Lookback Period', minval = 5, maxval = 200)
minimumPoleHeight = input.float(1.0, 'Minimum Pole Height %', minval = 0.1, maxval = 10.0)
maximumFlagDepth = input.float(75.0, 'Maximum Flag Depth %', minval = 10.0, maxval = 100.0)
// New Input Parameters for Trend Detection
shortTermN = input.int(5, 'Short-term Pivot Lookback', minval=1)
longTermN = input.int(20, 'Long-term Pivot Lookback', minval=1)
// Variables (Existing)
var float wBottom1 = na
var float wTop = na
var float wBottom2 = na
var float flagHigh = na
var float flagLow = na
var int wBottom1Bar = na
var int wTopBar = na
var int wBottom2Bar = na
var int flagStartBar = na
var int flagEndBar = na
var bool flagDetected = false
var bool patternValid = false
var bool plotBreakout = false
// New Variables for Trend and Support/Resistance
var array shortTermHighs = array.new_float(0)
var array shortTermHighBars = array.new_int(0)
var array shortTermLows = array.new_float(0)
var array shortTermLowBars = array.new_int(0)
var array longTermHighs = array.new_float(0)
var array longTermHighBars = array.new_int(0)
var array longTermLows = array.new_float(0)
var array longTermLowBars = array.new_int(0)
var line shortTermUptrendLine = na
var line shortTermDowntrendLine = na
var line longTermUptrendLine = na
var line longTermDowntrendLine = na
var line shortTermSupport = na
var line shortTermResistance = na
var line longTermSupport = na
var line longTermResistance = na
// W Pattern Detection (only on new bars) - Unchanged
if barstate.islast
for i = 1 to math.min(lookbackPeriod - 1, bar_index) by 1
if low < low and low < low and na(wBottom1)
wBottom1 := low
wBottom1Bar := bar_index - i
label.new(wBottom1Bar, low , 'W1', color = color.green, textcolor = color.white, style = label.style_label_up)
continue
if high > high and high > high and not na(wBottom1) and na(wTop)
wTop := high
wTopBar := bar_index - i
label.new(wTopBar, high , 'WT', color = color.red, textcolor = color.white, style = label.style_label_down)
continue
if low < low and low < low and not na(wTop) and na(wBottom2)
wBottom2 := low
wBottom2Bar := bar_index - i
label.new(wBottom2Bar, low , 'W2', color = color.green, textcolor = color.white, style = label.style_label_up)
break
// Verify W pattern - Unchanged
patternValid := false
if not na(wBottom1) and not na(wTop) and not na(wBottom2)
poleHeight = (wTop - math.min(wBottom1, wBottom2)) / math.min(wBottom1, wBottom2) * 100
if poleHeight >= minimumPoleHeight
patternValid := true
label.new(bar_index, high, 'W Valid', color = color.blue, textcolor = color.white, style = label.style_label_down)
// Flag Detection - Unchanged
if patternValid
flagHigh := wTop
flagLow := wTop
flagStartBar := wBottom2Bar
flagDetected := false
for i = math.max(0, bar_index - wBottom2Bar - 1) to 0
if high > wTop
flagEndBar := bar_index - i
break
flagHigh := math.max(flagHigh, high )
flagLow := math.min(flagLow, low )
flagDepth = (wTop - flagLow) / (wTop - math.min(wBottom1, wBottom2)) * 100
if flagDepth <= maximumFlagDepth
flagDetected := true
label.new(flagStartBar, flagHigh, 'Flag', color = color.yellow, textcolor = color.black, style = label.style_label_down)
else
break
// Breakout Detection - Unchanged
plotBreakout := patternValid and flagDetected and close > flagHigh and close <= flagHigh
if plotBreakout
label.new(bar_index, close, 'Breakout', color = color.blue, textcolor = color.white, style = label.style_label_up)
// Plotting (in global scope) - Unchanged
plotshape(patternValid ? wBottom1Bar : na, 'Bottom1', shape.triangleup, location.belowbar, color.green, size = size.tiny)
plotshape(patternValid ? wTopBar : na, 'Top', shape.triangledown, location.abovebar, color.red, size = size.tiny)
plotshape(patternValid ? wBottom2Bar : na, 'Bottom2', shape.triangleup, location.belowbar, color.green, size = size.tiny)
line.new(patternValid ? wBottom1Bar : na, patternValid ? wBottom1 : na, patternValid ? wTopBar : na, patternValid ? wTop : na, color = color.blue, width = 2)
box.new(left = flagDetected and not na(flagEndBar) ? flagStartBar : na, top = flagDetected and not na(flagEndBar) ? flagHigh : na, right = flagDetected and not na(flagEndBar) ? flagEndBar : na, bottom = flagDetected and not na(flagEndBar) ? flagLow : na, bgcolor = color.new(color.yellow, 80), border_color = color.yellow)
plotshape(plotBreakout ? bar_index : na, 'Breakout', shape.labelup, location.belowbar, color.blue, size = size.small)
// Reset variables after breakout - Unchanged
if patternValid and flagDetected and close > flagHigh
wBottom1 := na
wTop := na
wBottom2 := na
flagHigh := na
flagLow := na
wBottom1Bar := na
wTopBar := na
wBottom2Bar := na
flagStartBar := na
flagEndBar := na
flagDetected := false
patternValid := false
plotBreakout := false
// Alert - Unchanged
alertcondition(plotBreakout, 'Breakout', 'W Pattern Flag Breakout')
// New Code: Swing Detection
shortTermHigh = ta.pivothigh(high, shortTermN, shortTermN)
shortTermLow = ta.pivotlow(low, shortTermN, shortTermN)
longTermHigh = ta.pivothigh(high, longTermN, longTermN)
longTermLow = ta.pivotlow(low, longTermN, longTermN)
// Update Arrays with Pivot Points
if not na(shortTermHigh)
array.push(shortTermHighs, shortTermHigh)
array.push(shortTermHighBars, bar_index - shortTermN)
if not na(shortTermLow)
array.push(shortTermLows, shortTermLow)
array.push(shortTermLowBars, bar_index - shortTermN)
if not na(longTermHigh)
array.push(longTermHighs, longTermHigh)
array.push(longTermHighBars, bar_index - longTermN)
if not na(longTermLow)
array.push(longTermLows, longTermLow)
array.push(longTermLowBars, bar_index - longTermN)
// Update Short-term Trend Lines
if array.size(shortTermLowBars) >= 2
x1 = array.get(shortTermLowBars, array.size(shortTermLowBars)-2)
y1 = array.get(shortTermLows, array.size(shortTermLows)-2)
x2 = array.get(shortTermLowBars, array.size(shortTermLowBars)-1)
y2 = array.get(shortTermLows, array.size(shortTermLows)-1)
if na(shortTermUptrendLine)
shortTermUptrendLine := line.new(x1, y1, x2, y2, extend=extend.right, color=color.lime)
else
line.set_xy1(shortTermUptrendLine, x1, y1)
line.set_xy2(shortTermUptrendLine, x2, y2)
if array.size(shortTermHighBars) >= 2
x1 = array.get(shortTermHighBars, array.size(shortTermHighBars)-2)
y1 = array.get(shortTermHighs, array.size(shortTermHighs)-2)
x2 = array.get(shortTermHighBars, array.size(shortTermHighBars)-1)
y2 = array.get(shortTermHighs, array.size(shortTermHighs)-1)
if na(shortTermDowntrendLine)
shortTermDowntrendLine := line.new(x1, y1, x2, y2, extend=extend.right, color=color.orange)
else
line.set_xy1(shortTermDowntrendLine, x1, y1)
line.set_xy2(shortTermDowntrendLine, x2, y2)
// Update Long-term Trend Lines
if array.size(longTermLowBars) >= 2
x1 = array.get(longTermLowBars, array.size(longTermLowBars)-2)
y1 = array.get(longTermLows, array.size(longTermLows)-2)
x2 = array.get(longTermLowBars, array.size(longTermLowBars)-1)
y2 = array.get(longTermLows, array.size(longTermLows)-1)
if na(longTermUptrendLine)
longTermUptrendLine := line.new(x1, y1, x2, y2, extend=extend.right, color=color.green)
else
line.set_xy1(longTermUptrendLine, x1, y1)
line.set_xy2(longTermUptrendLine, x2, y2)
if array.size(longTermHighBars) >= 2
x1 = array.get(longTermHighBars, array.size(longTermHighBars)-2)
y1 = array.get(longTermHighs, array.size(longTermHighs)-2)
x2 = array.get(longTermHighBars, array.size(longTermHighBars)-1)
y2 = array.get(longTermHighs, array.size(longTermHighs)-1)
if na(longTermDowntrendLine)
longTermDowntrendLine := line.new(x1, y1, x2, y2, extend=extend.right, color=color.red)
else
line.set_xy1(longTermDowntrendLine, x1, y1)
line.set_xy2(longTermDowntrendLine, x2, y2)
// Update Support and Resistance Lines
if not na(shortTermLow)
if not na(shortTermSupport)
line.delete(shortTermSupport)
shortTermSupport := line.new(bar_index - shortTermN, shortTermLow, bar_index, shortTermLow, extend=extend.right, color=color.blue, style=line.style_dashed)
if not na(shortTermHigh)
if not na(shortTermResistance)
line.delete(shortTermResistance)
shortTermResistance := line.new(bar_index - shortTermN, shortTermHigh, bar_index, shortTermHigh, extend=extend.right, color=color.red, style=line.style_dashed)
if not na(longTermLow)
if not na(longTermSupport)
line.delete(longTermSupport)
longTermSupport := line.new(bar_index - longTermN, longTermLow, bar_index, longTermLow, extend=extend.right, color=color.navy, style=line.style_dashed)
if not na(longTermHigh)
if not na(longTermResistance)
line.delete(longTermResistance)
longTermResistance := line.new(bar_index - longTermN, longTermHigh, bar_index, longTermHigh, extend=extend.right, color=color.maroon, style=line.style_dashed)
Two-Candle Highs & LowsSimple indicator which highlights highs and lows as two-candle reversal patterns:
1. High pattern : A bullish candle followed by a bearish candle, marking the highest price of the two.
2. Low pattern : A bearish candle followed by a bullish candle, marking the lowest price of the two.
It draws horizontal lines at the high/low levels, making it useful for price action analysis such as identifying potential reversals or support/resistance zones.
AIOSEMA
keltner
ichimoku cloud
watson envelope
i recommend building the strategy around 100 and 200 ema lines on higher time frames (1-12h)
keltner channel is really strong on 12h timeframe for top/bottom rejections, but can be used to see trend (sticking to the bottom for downtrend and denying middle > bearish and vice versa)
ichimoku cloud can be used for determining general sentiment on HTF like 12h-1w, 30/27min to 12h for rejection points
watson envelope is mostly just entry tool but i have been on&off using it as it seems misleading at times, use only with confluence
1-3-1 Detector with LevelsTHIS IS NOT A INDICATOR, THIS SCRIPT IS MADE PURELY FOR ALERTS. YOU WILL NOT SEE ANYTHING ON YOUR CHART. YOU WILL ADD IT TO YOUR CHART AND GET A BLACK BOX UNDER YOUR CHART BUT YOU CAN JUST HIDE IT. YOU WILL ONLY USE THE SCRIPT ON ALERTS TO DETECT 1-3-1 SETUPS ON THE 12 HR TIME FRAME. IF YOU DO NOT KNOW WHAT THE 1-3-1 SETUP IS THEN DO NOT USE THE SCRIPT. INSTRUCTIONS BELOW SHOW YOU HOW TO SETUP THE ALERT USING THIS SCRIPT. ONCE AGAIN THIS SCRIPT IS PURELY JUST AN ALERT SCRIPT FOR 1-3-1 SETUPS THAT TRIGGER EVERY TRADING DAY WHEN AFTER MARKET CLOSES. MESSAGE ME FOR ANY QUESTIONS. THIS WARNING IS MADE FOR TRADINGVIEW SO THEY DO NOT HIDE MY SCRIPT AND BAN ME FOR WHATEVER REASON.
When you apply this script to your chart you must do the following to get alerts.
1. Apply to chart
2. Make sure you are on the 12HR time frame on the stock you want to detect the setup
3. Go to alerts and make a new alert with this script and the specific stock. (it will not work with watchlist because the watchlist feature is bugged, so it has to be a specific stock)
4. On the alert UI make sure you click
Condition - 1-3-1 Levels
(under that you will click 1-3-1 setup alert)
Trigger - Once per bar close
Expiration - open ended
5. Make sure not to touch anything else, the code will automatically detect the stock its tracking.
6. Change notifications to what you prefer.
7. Enjoy, at 8pm EST if there is a valid 1 in a 1-3-1 setup it will notify you and give you the levels you need to chart.
5 Consecutive Candle Alert Multi-TimeframeMaximize your trading strategy with our sophisticated "5 Consecutive Candle Alert Multi-Timeframe" indicator, designed for the TradingView platform using Pine Script version 6. This custom indicator is meticulously crafted to monitor five consecutive green or red candles across multiple key timeframes, including 1-minute, 5-minute, 15-minute, 1-hour, and 4-hour charts.
**Key Features:**
- **Multi-Timeframe Analysis:** Simultaneously tracks and alerts on consecutive candle patterns across five different timeframes, providing a comprehensive view of market momentum and trend consistency.
- **Custom Alerts:** Receive real-time notifications when five consecutive green or red candles close on any of the specified timeframes. These alerts are tailored to keep you abreast of significant market movements, enabling timely and informed trading decisions.
- **Easy Visualization:** Uses distinct plotting features to clearly mark the occurrence of these patterns directly on your trading chart. Green labels below the bar indicate a bullish streak, while red labels above the bar denote a bearish streak, making it visually intuitive.
- **Precision and Confirmation:** Integrates Pine Script's `barstate.isconfirmed` to ensure alerts are based on fully formed candles, adding an extra layer of precision to your trading signals.
**Ideal for Traders Who:**
- Are momentum or trend traders looking for clear signals of market continuation or potential exhaustion.
- Want to enhance their trading decisions by analyzing behavior across multiple timeframes from a single chart.
- Prefer to be alerted about significant events without the need to constantly monitor the charts.
**How to Use:**
Simply add this script to your TradingView chart, customize the alert settings in the TradingView UI according to your preferences, and start receiving alerts that help you capitalize on market movements efficiently and effectively.
Leverage the power of advanced scripting to make your trading as proactive and responsive as possible. Try out our "5 Consecutive Candle Alert Multi-Timeframe" indicator today and experience a significant improvement in your trading approach!