FBTBBT (Filtered Black Two Bar Break Through)📘 FBTBBT (Filtered Black Two Bar Break Through)
Overview
FBTBBT is a filtered breakout indicator based on the classical Two Bar Break Through (TBBT) concept.
It generates Buy and Sell signals when price breaks above or below the previous bar’s high/low, but only displays the **first signal in a run** to avoid noise and duplicates.
- Buy Signal → Break above previous high
- Sell Signal → Break below previous low
- Filtered → Only the first signal in a consecutive streak is shown
---
Key Features
1. Filtered Signals
• Avoids repeated identical signals.
• Example: 3 consecutive bars breaking the previous low → only the first bar shows a Sell signal.
2. Confirmation Options
• Real-Time Mode: signals appear intrabar as soon as the breakout happens.
• Close Confirmation: signals appear only after bar close beyond previous high/low (reduces repainting).
3. Visual Aids
• Green “Buy” labels below breakout bars.
• Red “Sell” labels above breakout bars.
• Optional lines for previous bar’s high/low levels.
4. Alerts
• Alerts trigger only on the first filtered signal in each run.
• Messages specify breakout above (Buy) or below (Sell).
---
How to Use
• Add FBTBBT to your TradingView chart.
• Choose Real-Time or Close-Confirmed signals depending on your style.
• Focus on the **first breakout signal**; ignore duplicates until the opposite side appears.
• Combine with trend filters, volume, or higher timeframe context for stronger accuracy.
---
👉 In short:
**FBTBBT = Clean, filtered breakout signals with no noise.**
Perfect for traders who want **precise first-bar breakouts** while avoiding repeated alerts.
Cerca negli script per "bar"
Pin Bar Reversal - Black GUIThe Pin Bar Reversal strategy is designed to identify and trade price rejection signals that occur at key support and resistance levels, which are often indicative of potential market reversals. This strategy detects bullish pin bars (candles with long lower shadows and small bodies at the top of the range) as buy signals, and bearish pin bars (candles with long upper shadows and small bodies at the bottom of the range) as sell signals.
The script calculates the body, range, tail, and head of each candle to determine if it meets the strict criteria for a pin bar. When a valid pin bar is found, the script plots a label on the chart for clear visualization. Entry signals are generated when the pin bar aligns with the expected price action (bullish pin bar closes higher than it opens, bearish pin bar closes lower). The strategy also includes logic to exit trades if the price moves against the pin bar's high or low, and plots exit labels for transparency.
The GUI uses a black-themed color scheme for enhanced visibility. This approach is particularly useful for traders who focus on price action and want to capture reversals at significant market levels.
Always thoroughly backtest this strategy before using it in live trading.
For more strategies and inspiration, visit:
Outside Bar Strategy with Multiple Entry ModelsOutside Bar Strategy with Multiple Entry Models
This Pine Script strategy implements a versatile trading system based on the Outside Bar pattern, offering three distinct entry models: Close Entry, High/Low Entry, and Midpoint Entry. Designed for traders seeking flexibility, the strategy includes customizable risk/reward ratios, an optional EMA trend filter, and enhanced visualization with line fills.
Key Features:
Entry Models:
Close Entry: Enters a long position when the current candle closes above the high of the previous outside bullish bar . For short, it enters when the candle closes below the low of the previous outside bearish bar.
High/Low Entry: Enters a long position when the price crosses above the high of the previous outside bullish bar . For short, it enters when the price crosses below the low of the previous outside bearish bar .
Midpoint Entry: Places a limit order at the midpoint of the previous outside bar, entering when the price reaches this level.
EMA Trend Filter: Optionally filters signals based on the alignment of EMAs (7 > 25 > 99 > 200 for long, 7 < 25 < 99 < 200 for short). Can be toggled via the Use EMA Filter input.
Risk/Reward Management: Configurable risk/reward ratio (default 2.0) with stop-loss set at the low/high of the outside bar and take-profit calculated based on the bar's range multiplied by the ratio.
Visualization:
Lines for entry, stop-loss, and take-profit levels (dashed for active trades, solid for pending Midpoint Entry orders).
Line fills: Red between entry and stop-loss, green between entry and take-profit.
Previous lines and fills persist on the chart for historical reference (line deletion disabled).
Pending limit orders for Midpoint Entry extend dynamically to the right until triggered or canceled.
Information Table: Displays real-time trade details (entry model, RR ratio, open trade status, entry/stop/take-profit levels, profit/loss percentage) and strategy statistics (success rate, total trades). For Midpoint Entry, pending order details are shown.
Inputs:
Entry Model: Choose between Close Entry, High/Low Entry, or Midpoint Entry (default: Close Entry).
Risk/Reward Ratio: Set the RR ratio (default: 2.0, step: 0.5).
Use EMA Filter: Enable/disable the EMA trend filter (default: true).
Line Colors and Style: Customize colors for entry, stop-loss, and take-profit lines, and select line style (solid or dashed).
Table Settings: Adjust table text color, size (small/normal/large), and position (right top/middle/bottom).
Disclaimer: This strategy is for educational purposes only. Backtest thoroughly and use at your own risk. Past performance is not indicative of future results.
NakInvest - Inside Bar no Eden dos Traders (Stormer)📌 NakInvest - Inside Bar Detector (Éden dos Traders Enhanced Detection)
This indicator is designed to identify Inside Bars that occur during strong trending conditions, following the popular Éden dos Traders strategy by Stormer, famous brazilian trader. It uses the relationship between two EMAs (Short EMA & Long EMA) to determine whether the market is in a bullish or bearish trend, and highlights Inside Bars that meet specific criteria.
⸻
🔍 What This Indicator Does:
1. EMA-Based Trend Detection:
• Identifies Uptrends when the Short EMA is above the Long EMA.
• Identifies Downtrends when the Short EMA is below the Long EMA.
2. Inside Bar Detection:
• An Inside Bar is detected when the entire candle (body & wicks) is contained within the body of the previous candle.
• This pattern suggests consolidation and potential breakouts, especially when found within a strong trend.
3. Debug Mode for Transparency:
• When enabled, provides visual markers to indicate when the conditions for trend detection and Inside Bars are met.
• Helps traders understand why certain candles are detected and others are not.
⸻
📈 How to Use:
• Apply this indicator to any market and timeframe, but it’s most effective on higher timeframes (H1, H4, Daily).
• Ideal for traders looking for trend-continuation setups or reversal signals after periods of consolidation.
• Combine this indicator with other tools (e.g., Volume Analysis, Price Action Patterns) for greater accuracy.
⸻
⚙️ Indicator Settings:
1. Short EMA Length: The period for the fast-moving average (default: 8).
2. Long EMA Length: The period for the slow-moving average (default: 80).
3. Enable Debug Mode: Toggle visibility of debug markers to better understand condition logic.
⸻
📢 Alerts:
This script includes labels for:
• IB (Up): Inside Bar detected during an uptrend.
• IB (Down): Inside Bar detected during a downtrend.
⸻
📌 Disclaimer:
This indicator is intended for educational purposes only and is not financial advice. Always perform your own research and consult with a financial professional before making any trading decisions.
Price to Bar Ratio - Scale / Scales / ScalingPrice to Bar Ratio - Scaling
The Price to Bar Ratio - Scaling indicator for TradingView is designed for traders who utilize Gann-based techniques, Michael Jenkins methodologies, or geometric market analysis. It calculates the relationship between price movement and time (bars), providing a bar-to-price ratio that traders can use to align their charts with structured scaling methods.
Key Features:
• Geometry-Based Scaling – Designed for traders using market geometry, time/price balancing, or cycle analysis.
• Automatic Ratio Calculation – Computes a bar-to-price ratio based on price movement and time.
• Square & Rectangle Modes – Provides different scaling approaches to suit various analytical methods.
• Balanced Chart Structure – Helps maintain a proportional relationship between price and time.
• Customizable Inputs – Adjustable parameters for flexibility across different markets, assets, and timeframes.
How to Use:
1. Apply the Price to Bar Ratio - Scaling indicator to your TradingView chart.
2. Enable Magnet Mode in TradingView to help anchor points snap accurately to price levels.
3. Manually select your range using the four anchor points to define the area for calculation.
4. The indicator will generate a table displaying the calculated bar-to-price ratio.
5. Copy the recommended value from the table.
6. Open the chart settings in TradingView.
7. Locate the "Lock Price to Bar Ratio" input field.
8. Paste the copied ratio value into the input field and apply the changes.
9. Due to TradingView's limitations on the magnet option for anchor points, it is recommended to add a new instance of the indicator rather than dragging the anchor points to a new range. This prevents unwanted snapping behavior and ensures accurate recalculations.
Will be adding more formulas in the future.
Indicator in use:
Date Display with Bar Counter and EMA===== ENGLISH DESCRIPTION =====
OVERVIEW:
This is a multi-function indicator that combines three useful tools in one script:
1. Date Display - Shows current date and symbol information in a customizable table
2. Bar Counter - Displays sequential bar numbers at specified intervals
3. EMA (Exponential Moving Average) - Plots an EMA line with customizable settings
FEATURES:
1. DATE DISPLAY:
- Shows date in full format (e.g., "Mon ∙ January 1, 2023") or short format (e.g., "Mon ∙ 01.01.23")
- Option to show/hide day of week
- Option to show/hide symbol and timeframe information
- Customizable table position (top/middle/bottom, left/center/right)
- Automatic color adjustment based on chart background
2. BAR COUNTER:
- Displays sequential bar numbers below price bars
- Customizable display frequency (every X bars)
- Special handling for Hong Kong futures (resets at market open)
- Different reset logic based on timeframe (daily, weekly, monthly)
- Customizable text size and color
3. EMA INDICATOR:
- Customizable period length (default: 20)
- Option to use different timeframe for calculation
- Option to wait for timeframe close for more stable signals
- Customizable line color
USAGE INSTRUCTIONS:
- After adding the indicator to your chart, customize settings in the "Format" panel
- The Date Display table will appear at your chosen position on the chart
- Bar numbers will appear below price bars at your specified frequency
- The EMA line will be plotted on the chart with your chosen settings
- Colors automatically adjust to light/dark chart themes
===== 中文说明 =====
概述:
这是一个多功能指标,将三个实用工具合并为一个脚本:
1. 日期显示 - 在可自定义的表格中显示当前日期和交易品种信息
2. K线计数器 - 按指定间隔显示K线序号
3. EMA指数移动平均线 - 绘制可自定义设置的EMA线
功能特点:
1. 日期显示:
- 支持完整格式(如"Mon ∙ January 1, 2023")或简短格式(如"Mon ∙ 01.01.23")
- 可选择显示/隐藏星期几
- 可选择显示/隐藏交易品种和时间周期信息
- 可自定义表格位置(顶部/中部/底部,左侧/中间/右侧)
- 根据图表背景自动调整颜色
2. K线计数器:
- 在价格K线下方显示序号
- 可自定义显示频率(每X根K线)
- 对香港期货有特殊处理(在开市时重置)
- 根据时间周期(日线、周线、月线)使用不同的重置逻辑
- 可自定义文字大小和颜色
3. EMA指标:
- 可自定义周期长度(默认:20)
- 可选择使用不同的时间周期进行计算
- 可选择等待时间周期结束以获得更稳定的信号
- 可自定义线条颜色
使用说明:
- 将指标添加到图表后,在"格式"面板中自定义设置
- 日期显示表格将出现在您选择的图表位置
- K线序号将按您指定的频率显示在价格K线下方
- EMA线将根据您选择的设置绘制在图表上
- 颜色会根据浅色/深色图表主题自动调整
*/
Internal Bar StrengthShort Description:
This indicator calculates the Internal Bar Strength (IBS) for each bar, which measures the close price’s relative position within that bar’s high-low range, and then optionally smooths that value with a selected moving average.
What Does It Measure?
Internal Bar Strength (IBS):
The IBS formula is (close-low)/(high-low)
. This ratio indicates where the closing price lies within a bar’s trading range:
A value near 0 means the close is near the bar’s low.
A value near 1 means the close is near the bar’s high.
A value of 0.5 means the close is exactly in the middle of the bar’s range.
Smoothing (Moving Averages):
You can choose to smooth the IBS value with one of five different moving average types: RMA, SMA, EMA, WMA, or VWMA. The default length for smoothing is 10, but this can be adjusted for more or less sensitivity.
Key Features
Multiple MA Options:
RMA: Also known as the Wilder’s moving average, it reacts slightly slower to changes than EMA.
SMA: Simple moving average, straightforward average of the last n values.
EMA: Exponential moving average, places more weight on recent data.
WMA: Weighted moving average, linear weighting from oldest to newest data.
VWMA: Volume-weighted moving average, weights price by trading volume.
Color Coding:
Green when IBS is greater than 0.5.
Red when IBS is less than or equal to 0.5.
Consecutive Bars Above/Below EMA Buy the Dip Strategy█ STRATEGY DESCRIPTION
The "Consecutive Bars Above/Below EMA Buy the Dip Strategy" is a mean-reversion strategy designed to identify potential buying opportunities when the price dips below a moving average for a specified number of consecutive bars. It enters a long position when the dip condition is met and exits when the price shows strength by exceeding the previous bar's high. This strategy is suitable for use on various timeframes.
█ WHAT IS THE MOVING AVERAGE?
The strategy uses either a Simple Moving Average (SMA) or an Exponential Moving Average (EMA) as a reference for identifying dips. The type and length of the moving average can be customized in the settings.
█ SIGNAL GENERATION
1. LONG ENTRY
A Buy Signal is triggered when:
The close price is below the selected moving average for a specified number of consecutive bars (`consecutiveBarsTreshold`).
The signal occurs within the specified time window (between `Start Time` and `End Time`).
2. EXIT CONDITION
A Sell Signal is generated when the current closing price exceeds the high of the previous bar (`close > high `). This indicates that the price has shown strength, potentially confirming the reversal and prompting the strategy to exit the position.
█ ADDITIONAL SETTINGS
Consecutive Bars Threshold: The number of consecutive bars the price must remain below the moving average to trigger a Buy Signal. Default is 3.
MA Type: The type of moving average used (SMA or EMA). Default is SMA.
MA Length: The length of the moving average. Default is 5.
Start Time and End Time: The time window during which the strategy is allowed to execute trades.
█ PERFORMANCE OVERVIEW
This strategy is designed for mean-reverting markets and performs best when the price frequently oscillates around the moving average.
It is sensitive to the number of consecutive bars below the moving average, which helps to identify potential dips.
Backtesting results should be analysed to optimize the Consecutive Bars Threshold, MA Type, and MA Length for specific instruments.
Session Bar/Candle ColoringChange the color of candles within a user-defined trading session. Borders and wicks can be changed as well, not just the body color.
PREFACE
This script can be used an educational resource for those who are interested in learning Pine Script. Therefore, the script is published open source and is organized in a manner that follows the recommended Style Guide .
While the main premise of the indicator is rather simple, the script showcases various things that can be achieved such as conditional plotting, alignment of indicator settings, user input validation, script optimization, and more. The script also has examples of taking into consideration the chart timeframe and/or different chart types (Heikin Ashi, Renko, etc.) that a user might be running it on. Note: for complete beginners, I strongly suggest going through the Pine Script User Manual (possibly more than once).
FEATURES
Besides being able to select a specific time window, the indicator also provides additional color settings for changing the background color or changing the colors of neutral/indecisive candles, as shown in the image below.
This allows for a higher level of customization beyond the TradingView chart settings or other similar scripts that are currently available.
HOW TO USE
First, define the intraday trading session that will contain the candles to modify. The session can be limited to specific days of the week.
Next, select the parts of the candles that should be modified: Body, Borders, Wick, and/or Background.
For each of the candle parts that were enabled, you can select the colors that will be used depending on whether a candle is bullish (⇧), bearish (⇩), or neutral (⇆).
All other indicator settings will have a detailed tooltip to describe its usage and/or effect.
LIMITATIONS
The indicator is not intended to function on Daily or higher timeframes due to the intraday nature of session time windows.
The indicator cannot always automatically detect the chart type being used, therefore the user is requested to manually input the chart type via the " Chart Style " setting.
Depending on the available historical data and the selected choice for the " Portion of bar in session " setting, the indicator may not be able to update very old candles on the chart.
EXAMPLE USAGE
This section will show examples of different scenarios that the indicator can be used for.
Emphasizing a main trading session.
Defining a "Pre/post market hours background" like is available for some symbols (e.g., NASDAQ:AAPL ).
Highlighting in which bar the midnight candle occurs.
Hiding indecision bars (neutral candles).
Showing only "Regular Trading Hours" for a chart that does not have the option to toggle ETH/RTH. To achieve this, the actual chart data is hidden, and only the indicator is visible; alternatively, a 2nd instance of the indicator could change colors to match the chart background.
Using a combination of Bars and Japanese Candlesticks. Alternatively, this could be done by hiding the main chart data and using 2 instances of the indicator (one with " Chart Style " setting as Bars , and the other set to Candles ).
Using a combination of thin and thick bars on Range charts. Note: requires disabling the "Thin Bars" setting for Bar charts in the TradingView chart settings.
NOTES
If using more than one instance of this indicator on the same chart, you can use the TradingView "Save Indicator Template" feature to avoid having to re-configure the multiple indicators at a later time.
This indicator is intended to work "out-of-the-box" thanks to the behind_chart option introduced to Pine Script in October 2024. But you can always manually bring the indicator to the front just in case the color changes are not being seen (using the "More" option in the indicator status line: More > Visual Order > Bring to front ).
Many thanks to fikira for their help and inspiring me to create open source scripts.
Any feedback including bug reports or suggestions for improving the indicator (or source code itself) are always welcome in the comments section.
Pin Bar with Adaptive Zones and Price LevelsThis indicator is designed to simplify the identification and analysis of pin bar formations (commonly called "tail bars"), offering traders an adaptable and efficient tool for market insights. With added visual and numerical precision, it aids in spotting potential trade setups with clarity.
Key Features:
Dynamic Pin Bar Detection:
Highlights bullish pin bars with a customizable color (default: white).
Highlights bearish pin bars with a customizable color (default: yellow).
Price-Level Zones for Clarity:
Automatically draws a zone from the high to the low of each pin bar.
Displays the highest and lowest prices for the pin bar within the zone, making it easy to visualize potential entry, exit, or stop-loss levels.
Customizable Display Options:
Toggle visibility for bullish and bearish pin bars independently.
Option to enable or disable zones for a cleaner chart view.
Fully Adjustable Aesthetics:
Customize the colors, zone styles, and text display to suit your personal preferences or chart theme.
Purpose:
This indicator enhances chart analysis by combining pattern recognition with actionable visual and numerical data. By focusing on customizable zones and price levels, traders can efficiently identify key areas of interest and refine their strategies for better trade execution.
How It Adds Value:
Unique Utility: The inclusion of zones showing the pin bar's highest and lowest prices adds practical value, as traders can immediately see potential entry and exit prices without manually inspecting the bar.
Adaptable Features: With options to customize and toggle elements, the indicator caters to both minimalists and detailed-focused traders.
Precision in Trade Execution: The visual clarity provided by the zones supports more precise placement of entries, exits, and stop-losses, making it highly useful for both discretionary and systematic traders.
MMDN-Pin BarThis Pine Script code is designed to highlight Pin Bars on a TradingView chart by changing their color to yellow. A Pin Bar is a type of candlestick pattern that typically indicates a potential reversal in the market. The script uses specific conditions to identify bullish and bearish Pin Bars based on the size of the candlestick body and the length of the shadows (wicks).
1. Calculate Body and Shadows:
body: The absolute difference between the close and open prices.
upshadow: The upper shadow, calculated differently depending on whether the close is higher or lower than the open.
downshadow: The lower shadow, calculated similarly.
2. Define Pin Bar Conditions:
pinbar_h: Identifies a bullish Pin Bar if the previous candle's close is greater than its open, the previous candle's body is larger than the current candle's body, the upper shadow is more than half the size of the body, and the upper shadow is more than twice the size of the body.
pinbar_l: Identifies a bearish Pin Bar with similar conditions but for the lower shadow.
Set Pin Bar Color:
barcolor: Changes the color of the identified Pin Bars to yellow.
NEXT BAR PercentagesNEXT BAR Percentages Indicator
This Pine Script code implements the "NEXT BAR Percentages" indicator, designed to analyze and display percentage changes between consecutive bars on a TradingView chart. The script provides valuable insights into how percentage changes in price behave after significant price movements, aiding traders in identifying potential trends or reversals.
Key Features:
Percentage Change Calculations :
Close-to-Close : Calculates the percentage change between the close of the current bar and the close of the previous bar.
High-to-Close : Calculates the percentage change between the high of the current bar and the close of the previous bar.
Low-to-Close : Calculates the percentage change between the low of the current bar and the close of the previous bar.
High-to-Close (Wick) : Computes the percentage change from the close to the high of the current bar.
Low-to-Close (Wick) : Computes the percentage change from the close to the low of the current bar.
Dynamic Table Display :
Creates a table on the chart to display various statistics related to percentage changes.
The table position is customizable, with options including "Top Left," "Middle Left," "Bottom Left," "Top Right," "Middle Right," "Bottom Right," "Top Center," "Middle Center," and "Bottom Center."
Count and Average Calculations :
High POS/NEG Counts : Counts occurrences of significant positive and negative percentage changes based on user-defined thresholds.
High POS/NEG Average : Computes the average percentage change following high positive and negative percentage changes.
Next Bar Statistics : Provides statistics on the percentage change of the next bar following identified significant price movements.
Visual Indicators :
Labels : Plots arrows on the chart when a high positive or high negative percentage change is detected, visually highlighting these events.
Customizable Input Parameters :
Adjust the thresholds for identifying high positive and negative percentage changes ( highpos, highposEnd, highneg, highnegEnd ).
Specify the start date for analysis ( teststartdate ), allowing for focused period analysis.
Usage:
Traders : Gain insights into price behavior following significant movements to make informed trading decisions.
Analysis : Customizable parameters and visual indicators enable detailed analysis of price action and trend identification.
Enhance your chart analysis with this indicator for a clear, data-driven view of percentage changes and their implications for future price movements.
D-Bot Alpha All in One BarsThis indicator, known as "D-Bot Alpha All in One Bars," combines various technical analysis methodologies. It amalgamates a range of oscillator-based and moving average-based measures to determine the 'strength' or 'effectiveness' of a particular bar. This could potentially provide investors with an idea of the direction the market is moving.
Each indicator (such as RSI, Stochastic, WPR, MFI, CCI, ADX, RVI, and Volatility) measures a different market condition, and these conditions are combined to form an overall 'bar strength' value. This value is color-coded based on set threshold values (Lower Threshold and Upper Threshold) to indicate a bullish (green) and bearish (red) market condition.
4h
*The indicator works best on timeframes of 4 hours and below. For higher timeframes, you'll need to perform optimization.
The strength of this indicator lies in its ability to provide a broad market view by combining a range of analytical methods. However, its weakness is that each measurement carries equal weight, which can sometimes result in misleading signals.
15m
This indicator is typically used in conjunction with other technical analysis tools. For example, tools that provide a broader market structure, such as trend lines, support and resistance levels, or Fibonacci retracement levels, can be used alongside this indicator.
5m
An example trading strategy could involve monitoring the bar strength of the indicator and making buy trades during green (bullish) bars and sell trades during red (bearish) bars. However, as always, it's important to thoroughly test any trading strategy before implementing it.
***Please follow my profile to access indicators full of original ideas. Happy trading...
1m
Türkçe açıklama:
"D-Bot Alpha All in One Bars" indikatörü çok çeşitli teknik analiz metodolojilerini bir araya getiriyor. İndikatör, bir dizi farklı osilatör ve hareketli ortalama tabanlı ölçütü birleştirerek, belirli bir barın 'gücünü' veya 'etkililiğini' belirlemek için kullanılıyor. Bu, potansiyel olarak yatırımcılara marketin hangi yönde ilerlemek istediğine dair bir fikir verebilir.
Her bir gösterge (RSI, Stokastik, WPR, MFI, CCI, ADX, RVI ve volatilite gibi) kendi başına farklı bir piyasa durumunu ölçüyor ve bu durumlar birleştirilerek genel bir 'bar gücü' değeri elde ediliyor. Bu değer, belirlenen eşik değerlere (Lower Threshold ve Upper Threshold) göre renklendirilerek piyasada bir yükseliş (yeşil) veya düşüş (kırmızı) durumu gösteriyor.
Bu indikatörün güçlü yönleri, bir dizi farklı analitik yöntemi bir araya getirerek geniş bir piyasa görünümü sağlamasıdır. Ancak zayıf yanı, her bir ölçütün ağırlığının eşit olduğu ve bazen yanıltıcı sinyaller verebilecek olmasıdır.
Bu indikatör genellikle diğer teknik analiz araçlarıyla birlikte kullanılmalıdır. Örneğin, eğilim çizgileri, destek ve direnç seviyeleri veya Fibonacci retracement seviyeleri gibi daha genel piyasa yapısı araçları bu indikatörle birlikte kullanılabilir.
Örnek bir işlem stratejisi olarak, indikatörün bar gücünü gözlemleyebilir ve yeşil (yükseliş) barlar sırasında alım, kırmızı (düşüş) barlar sırasında satış yapabilirsiniz. Ancak, her zaman olduğu gibi, herhangi bir trade stratejisi belirlenmeden önce dikkatli bir şekilde test etmek önemlidir.
Strategy Myth-Busting #10 - InsideBar+EMA - [MYN]This is part of a new series we are calling "Strategy Myth-Busting" where we take open public manual trading strategies and automate them. The goal is to not only validate the authenticity of the claims but to provide an automated version for traders who wish to trade autonomously.
Our 10th one we are automating is the " 75% Win Rate High Profit Inside Bar Trading Strategy - What If You ... " strategy from " Trade Pro " who claims to have backtested this manually and achieved 11,063% profit with a 75% winrate over 100 trades. I was unable to emulate these results consistently accommodating for slippage and commission but even so, the results look promising. I was only able to achieve this win-rate with some multiple take profit staggering. Even so the markdown is above where I would normally consider comfortable (>20%).
If you know of or have a strategy you want to see myth-busted or just have an idea for one, please feel free to message me.
This strategy uses a combination of 2 open-source public indicators:
Inside Bar Ind/Alert by CMA
EMA (built-in)
Trading Rules
4 hour candles
Stop Loss at EMA Line with TP Target 1.5x the risk
Long Entry when these conditions are true
inside bar and bullish
Bar close's above 50 ema
Price action rises above high of inside bar .
Short Entry when these conditions are true
inside bar and bearish
Bar close below 50 ema
Price action falls below low of inside bar
No Supply/Demand barsThe VSA (Volume Spread Analysis) definition for No Demand and No supply is as follows:
No Demand (no buyers-potential short position):
The Volume within the candle formation again has to be lower than the volume of the previous 2 candles.
The candle has to close bullish (green body) and the next candle has to close bearish.
There has to be some sort of rejection (pin or wick) at the high of the candle.
If the candle closed at the top it would not be a no demand candle.
No Supply (no sellers-potential long position):
The Volume within the candle formation has to be lower than the volume of the previous 2 candles.
The candle has to close bearish (red body) and the next candle has to close bullish.
There has to be some sort of rejection (pin or wick) at the low of the candle.
If the candle closed at the bottom it would not be a no supply candle.
Simple indicator, to show No Supply bars and No Demand bars:
No Supply bars = No S in green color
Do Demand bars = No D in red color
If No Supply/Demand bars is Outside bars, it will shown as No S/D Outside with the same color. In special case, if it's a Engufling pairs, it's will shown as Engul Up/Down with the same color.
You can chose option Filter volumes to confirm the second bar's volume higher prev bar's volume
Fancy Bars v.02.07Hello Lads,
this is the mandatory description to not get this indicator banned by tradingview. :-)
So what you can basically see are different types of colored candles and some weird signs below and above the candles.
In this picture you can see all features that the indicator is providing at the moment of the relase. More to come soon anon.
As first we got different color settings for different candles.
There are two different types of color candles.
Casual Extensions of the source you have chosen in the settings are either green or red by default.
If the market extends a little more, the bars are being colored either blue or purple.
These candles work well to identifiy local exhaustion points after a rallye to the up or the down side. But you can also take them as an entry.
For Example:
A green or blue extension appears after a significant drop in price. Candles like these are usually a first sign of a local bottom to form or a bounce to appear.
In order to view green and blue bars at the opposite, you can take them as an exit for your long after a rally, because the market tends to be exhausted afterwards.
It works the same way for the red and purple bars as you can see here. I hope the screenshot can make that clear aswell. :-)
So on the screenshots you can see aswell many different signs below and above the candles.
Candles with an "F" below or above the candle are showing you that the Fisher Transform indicator has made a turnover.
So this basically means that if there is a green "F" below a bar the value of the Fischer Oscillator is smaller then - 3 and the fast line is crossing the slow line, which is bullish.
If you see a "F" above a candle, this means that the slow line is crossing the fast line and the value of the fisher transform is greater then 3.
If you see an "H" above or below the candle this means that the Indicator "Hull Suite by InSilico" is turning over.
If the "H" is red and above the candle it´s a bearish sign, if it´s green and below the candle, it is a bullish sign.
Well as next we have these white colored "X" appearing form time to time.
Well X stands basically for EXIT.
We have calculated the difference from the current price to a selectable EMA / MA and if the percentage difference in market is bigger then the selected value in the menu, the market will simply print an "X" where you can exit your long or short position.
We recommand to use this function, espacially as all other functions aswell, only for scalping purposes, to catch a possible reversion of the price.
Here you can see the menu at it´s full beauty. You can select every mode and adjust your settings for your personal preferences.
gyazo.com
gyazo.com
You can even chose different modes for the extension bars, which are currently being tested. If you got some feedback, please let us know!
The "Vanilla" mode of the extension bars takes the volume from the current chart that you are looking at. So this mode basically works for all in TradingView existing markets where chart provides you volume.
The second mode aggregates Spot and Perpetual Volume from the biggest exchanges. We recommand to use this and the other modes (except vanilla ofc) only for BTC and ETH.
Furthermore we took the provided Open Interest from Binance to calculate the bars. It is as all the other things aswell highly experimental and hasn´t been tested a lot yet.
Last but not least, we calculated from the given Open Interest by Binance a CVD for BTC and ETH, which expansions are also being plotted as the previous explained candles.
gyazo.com
You can also change the length and the type of the AVG that is being calculated for the bar coloring. As well as for the Exit Bars and the Hull Suite.
gyazo.com
gyazo.com
gyazo.com
For this Project we have used Public Source Code by @InSilico for the HullSuite and ressources by Tradingview for the Fisher Turnover feature.
[VC] Cumulative Delta Volume BarsLet's first learn what is Delta & How to Use Cumulative Delta Volume Bars?
Cumulative Delta Volume Bars is one of the leading indicators that you can use when trading order flow. It gives you an instant snapshot of the buying and selling pressure in a market.
After reading the detailed description of "Cumulative Delta Volume Bars," you will understand how volume delta provides a critical edge by allowing you to spot significant potential reversals in the market. You will also learn to use this Cumulative Delta indicator in depth. (including rest session usability features)
What is Delta Volume?
Delta Volume is the difference between Buying and Selling Power. Delta Volume is calculated by taking the difference between the volume traded at the offer price and the volume traded at the bid price. (in simple words, the difference between buying pressure & selling pressure)
If delta volume is more than zero, you have more buying pressure than selling & vice versa, and if delta volume is less than zero, you have more selling pressure than buying.
In Order-Flow Analysis , traders used Cumulative Delta to measure the relationship between the Buying & Selling pressure Vs Price.
Cumulative delta volume takes the delta values for every bar and successively adds them together to provide a graph, as seen below visually.
Let me demonstrate by giving examples of how cumulative Delta can help measure the buying or selling pressure relative to the price move.
★ Trading Absorption & Exhaustion concepts with Delta
See the chart below & try to analyze the next possible move on the basses on the analysis mentioned on the chart.
➽➽ If you said Short, you were correct. ✅
Till Point A , both price & cumulative were aligned. (means there were no imbalances between Delta & Price).
But on Point B , the Cumulative Delta broke the previous resistance clearly and moved even further away from the resistance level, but the Price couldn't break the last resistance. It interprets that buyers applied a lot of buying pressure but no result. (Aggressive buying pressure absorbed by Passive sellers)
Due to this vast effort or failed attempt, buyers were exhausted and had no more strength to pull the Price up. That's why the Price reversed from Point B . See below image
★ Cumulative Delta Volume Bars is helpful when determining buying or selling pressure at different key price levels, such as swing highs or lows.
Let's recap on swing highs and swing lows.
➽ A swing high (S.H) is formed when the high reaches higher than the price action around it. Once the Price moves above a prior swing high and begins to retrace, a new swing high is formed.
➽ A swing low (S.L) is formed when the low reaches lower than price action around it. Once the Price moves below a prior swing low and begins to retrace, a new swing low is formed.
➽ When the Price makes higher highs and higher lows, a market is considered an uptrend.
➽ When the Price is making lower lows followed by lower highs, a market is considered a downtrend.
When evaluating Delta, it's beneficial to compare delta values at swing lows or swing highs to determine the amount of selling or buying pressure and how the market reacts.
The actual Power of Delta is revealed when we use it to determine the market's reaction to powerful buying or selling. We want to see if the market has reacted as we would expect or not.
In the above Example, you will notice that every time price breaks a swing, Delta does as well.
It makes sense as it takes selling pressure to break a swing low or buying pressure to break a swing high. In simple words, we can say that there is no anomaly between delta direction & price direction.
In simple words (No Absorption or Exhaustion)
But what's occurring when this isn't the case, and we have divergence between Price and Delta? Let's analyze it with real examples.
★ Understanding Delta Divergence.
(Lack of Harmony in Buying/Selling Pressure & Price Move)
Notice how the Price breaks out of the previous resistance level on the above chart, but the Delta didn't yet reach even close to its last resistance level. It's a clear divergence between Price and Delta. Buyers may be slightly exhausted at the previous resistance level, and Price & Delta may retrace slightly. But in a broader view, it reflects a strong bullish signal.
See the above chart & see when and why the Price moved. I hope it will help you understand the underlying relation & story between Price & Delta.
Cumulative Delta & Trade Management
Delta will help you spot significant reversals, but it can also be used to help manage your open trade. You want to see a high correlation between Delta and Price when in a long or short position.
Suppose you're short while the Price is breaking a new low. You want to see Delta breaking low if sellers aren't interested in selling at the recent lows, represented by Delta not breaking lows. The probability of a short term reversal or a significant retrace increases.
When in a position, always be on the lookout for exhaustion and absorption, signalling a reversal potential.
What Includes in V.C Cumulative Delta Volume Bars Indicator
Inputs & Settings
Reset accumulation on new session:
Allows you to rest accumulation at the start of each session (you may choose your customized starting & ending time as well by enabling ''Customize Rest Session Time''
Start/End of Session & During Session:
Allows you to show/hide & choose the background color & separator of each session
''Customize Rest Session Time''
When this setting is enabled, your customized given time will be applied, which can be set from the below box. Note: set your time in minutes. For Example, if you want to reset the session after every hour, you need to put 60. If you're going to reset after every 8 hours, you need to put 480. Additionally, your chart time frame must be lower than your customized rest time.
Reset Each Minutes:
Allows you to put your desired rest time in minutes. For Example, for 1 hour 60, for 8 hours 480. (8x60)
Reset Each:
Allows you to choose rest time from the drop-down menu. Note: To apply this setting, don't enable the ''CUSTOMIZE RESET SESSION TIME''.
Select Session:
Allows you to set customized starting & ending times of the session instead of the exchange's default time. For Example, the exchange reset time is 20:00, but if you want 22:00, first, you need to set your chart time as an exchange from the right bottom of the chart, and then you need to put 22:00 22:00 in both fields. Note: Put the same starting & ending time. In simple words, it should not be greater than or less than 24 hours.
Type:
It allows you to select Delta type. (there are two delta types you can choose from, 1st Simple Delta, 2nd Delta % or Volume Weighted Delta)
Candle Colors:
Allows you to change the color of candles.
Envelope Indicator:
Allows you to apply to Envelop Indicator on the delta candle. (all default settings of the Envelop Indicator can be customized as well)
See the below chart with Envelop applied to Delta Candles & Price Candles. (can be used to measure the Delta & Price movement at the micro-level)
Bollinger Bands Indicator:
Allows you to apply to Bollinger Bands Indicator on the delta candle. (all default settings of the Bollinger Bands Indicator can be customized as well)
See the below chart with Bollinger Bands applied to Delta Candles & Price Candles. (can be used to measure the Delta & Price movement at the micro-level)
Start/End of Session on Chart
Allows you to change the first & last candle of the session.
Style Settings:
Allows you to control all the visual settings of delta candles, Envelop & Bollinger bands.
-------------------------------------------------
➽Conclusion:
Cumulative Volume Delta Bars is one of the leading indicators you can include as an order flow trader in your arsenal. It gives you an inside look at buying and selling pressure and how the market reacts.
But Keep in mind, in trading & technical analysis, nothing is 100% certain. No indicator can give you a 100% success rate. There is no holy grail in the financial market. As a trader, with the help of technical & fundamental indicators, our goal is to find an edge over the market. A simple definition of an edge is: Anything that adds a few points to the winning side of an equation builds an edge that lasts a lifetime. A trading edge defines your technical or strategic advantage in the highly competitive market environment. Traders can establish multiple edges by starting with popular strategies and customizing rules to lower the risk of getting trapped with the emotional crowd.
Disclaimer Note:
V.C Cumulative Delta Volume Bars It is purely Volume, Delta, Demand & Supply imbalance and comparative analysis based tool. Before applying this Indicator to your study, you should know about Volume, Delta & Spread, Demand & Supply, and Aggressive & Passive behaviour of buyers/sellers.
Some basic understanding of Sir Richerd Wyckoff's Theory can also be helpful.
RedK Momentum Bars (RedK Mo_Bars)Momentum Bars (Mo_Bars) offers a different way to visualize (relative) momentum - and uses some simple TA concepts to provide a different perspective into how we read momentum changes and incorporate that in our trading.
The idea here (and the script itself) is really super simple, and is (very loosely) inspired by Elder's Impulse System (EIS) - then evolved to leverage some other concepts, and to become less cluttering and "easier to read".
The construction of the Mo_Bars
---------------------------------------------
The base concept utilizes 3 moving average lines :
the first line is a relatively fast MA with a short length - acts as the main price tracking line
the second line is slightly slower than the main line - 2 to 3 bars longer length - and will by default use the open value as source - this works better to identify when the closing price starts to move faster than the open (as in, bars more frequently close higher than they open) - this line acts as the signal line - there's an added setting for an additional delay that utilizes regular WMA smoothing - the delay acts to magnify the relative displacement between the 2 MAs
for both these MA's, i choose to use the RSS MA (Lazy Line) - other MA types can be used, but the reason i used that MA type specifically is that it moves "gracefully" - and 2 Lazy Lines moving together minimizes whipsaws from small price swings - i tested with other MA types and found that the RSS has an advantage there.
the third line is a much slower MA (length 5 to 6 x the fast line) - and acts as a filter or a baseline. When we're above that line, we should favor long positions - we're in bull territory. When we're below that line we favor short positions, and we're in bear territory. Adjust this line as it suits your trading style and time frame.
(I choose to use WMA as the MA type for the filter line .. and there's a good reason for that - which i'll skip for now - but in future versions, we can add other selectable MA types. )
Using Mo_Bars
----------------------------
at a very broad level, we can use Mo_Bars similar to how we use a MACD - both are centered and unrestricted oscillators - note the difference that Mo_Bars is based on 3 MA's rather than 2.
the Mo_Bar bar length reflects the distance between the main MA and the signal MA - plotted relative to the baseline (filter line) - that means that the length of the bar represents the relative momentum between the 2 MA's - The Mo_Bars are then colored in a way that reflects increase or decrease in the value of that momentum (the visual here may have been inspired by another indicator recently published by one of our esteemed wizards - it worked perfectly - so due credits here :)
-- in simple terms, if the main MA is below the signal MA, the bar is red - and when the main MA is above the signal MA, the bar is green - a white bar usually shows up when there's a detected change of relative momentum direction (note that this is not the same as the trend direction - and that's what helps show and exploit convergence and divergence - similar to a MACD)
* in the chart above, i noted few examples of how visualizing relative momentum in this way exposes areas of chop (Mo_Bars above zero but are in red or moving down, or when Mo_Bars are below zero and green or moving up) - convergence / divergence with price - and how this can act to expose the possibility of potential changes in price action or trend.
* there's so much more to play around with this setup - and maybe if there's enough interest there can be future dedicated posts on how utilize or even to evolve it further - there's a lot of potential here, to add more filters (maybe volume based), alerts, signals...etc - so let's see the interest :)
Here's the detailed (top chart) setup that Mo_Bars is based on -- The settings for the MA's on the price charts have been matched / sync'ed with the Mo_Bars settings on the lower panel to demonstrate how the script works and how it translate the MA action on the price chart to what we see below.
As always, please play around with the indicator to get used to how it works - use it in tandem with other indicators to get proper confirmations and adjust settings to suit your own trading style, time frame, and instruments
Feedback and thoughts are always welcome --- good luck!
Nailed BarsNailed bars was introduced by Joy22 in an article "Pip Nailer Trading System" submit on forexstrategiesresources on 06/01/2012
Rule of Nailed Bars is below:
1. Nailed Sell Bar:
* PSAR appears above the bar
* The Awesome Oscillator (AO) turns red
* The Accelerator Oscillator (AC) turns red
2. Nailed Buy Bar:
* PSAR appears below the bar
* The Awesome Oscillator (AO) turns green
* The Accelerator Oscillator (AC) turns green
=== About this indicator: Nailed Bars ===
This indicator is detecting all nailed bars was appeared on chart and display infomations in a panel. So traders who are using "Pip Nailer Trading System" can easily control the trade.
3 bar play partial1 1:1, take all 2:1 By ChenycoThis script is trying to find 3 Bar Play pattern and take profit of 2:1 with option to partial at 1:1.
The pattern has a weighted first bar and then a smaller bar with relative equally high. The first entry should be by the next bar only.
Parameters:
* Default strategy parameters, including initial capital and commissions.
* Risk Unit $ - The risk unit per trade in currency.
* Weighted Bar ATR Ratio - the ratio between the weighted bar true range to the ATR.
* Small Bar Ratio - The ratio between the smaller bar true range to weighted bar.
* Equal Price Ratio - The ratio of acceptable price change in compare to the stock price.
* Partial Qty Ratio - The ratio of the first partial equity.
Good luck!
Chen.
Security() Correction - Realtime vs. Historical BarsProblem
Pine's implementation of the security() function behaves differently in realtime vs. historical bars. Specifically, for historical bars, calling security() for a time frame (TF) larger/slower than the current chart's TF will return information about the last completed bar of the higher TF. However, for realtime bars (i.e. if you allow the chart to continue to plot in realtime), security() returns information about the presently in-progress bar of the higher TF. Clearly, this leads to discontinuity that is arbitrarily dependent upon when the user last loaded or refreshed the chart.
Solution
Fortunately, after understanding the problem, solving it is trivial: use security() normally for historical bars, but switch to explicitly requesting prior candle bars once the indicator is operating on realtime bars. I leave the source open here for any to use as they see fit. For testing, I include an input to allow switching back and forth between standard and corrected behavior.
Figure 1 displays the standard behavior we see in security() calls, and Figure 2 displays the behavior after my correction:
Figure 1: Typical security() behavior in Pine
Figure 2: Corrected security() behavior, forcing historical and realtime bars to refer to the same higher TF bar offset.
I publish this mostly as a reminder to myself, so I will not forget and then have to figure it out again next time it comes up in my scripting.
V21: Initial release.
Reversed Large Bars Strategy with Williams %RThis strategy script is ideal for volatile assets such as Natural Gas (NATGAS) or Crude Oil (WTI/Brent), which often exhibit strong price movements with high volume.
How It Works:
The strategy identifies short-term reversals after two consecutive large candles with significant volume, under specific conditions. It is based on the assumption that after strong directional moves, a temporary price exhaustion or reversal may occur.
Logic Breakdown:
Large Bar Detection:
A bar is considered “large” if its range (high – low) is significantly higher than the average (by a configurable percentage) and is accompanied by a spike in volume.
Two Consecutive Large Bars:
Entry is only considered when two large bars appear back-to-back — this strengthens the momentum signal.
Candle Type Filter:
For short entries: Two consecutive large bullish bars followed by a bullish candle → implies overextension upwards.
For long entries: Two consecutive large bearish bars followed by a bearish candle → implies overextension downwards.
Williams %R Filter:
The Williams %R oscillator adds confirmation based on overbought/oversold conditions:
Longs are allowed when %R is below the oversold level.
Shorts are allowed when %R is above the overbought level.
Ratio Logic:
A running percentage of bullish vs bearish large bars is tracked over a rolling period. This ensures entries are filtered based on broader context and trend dominance.
Stop Loss / Take Profit / Breakeven:
Each trade includes configurable SL/TP, and optional breakeven logic:
If unrealized profit exceeds a set percentage, SL is moved to entry (optionally with a buffer).
Volume bar range# Volume Bar Range (VBR) Indicator
## Overview
The Volume Bar Range indicator identifies key support and resistance levels based on high-volume price bars. It creates a visual range that represents significant price levels where the market has shown strong interest through volume confirmation.
## Features
### Visual Range Display
- **Blue/Aqua Area**: Shows the price range of the highest volume bar within the lookback period
- **Dynamic Color**: The fill color changes to indicate whether the range is stable (aqua) or newly updated (white)
- **Boundary Lines**: Invisible white lines mark the upper and lower boundaries of the range
### Trading Signals
- **BUY Signal**: Blue upward arrow appears when price breaks above the resistance level with volume confirmation
- **SELL Signal**: Black downward arrow appears when price breaks below the support level with volume confirmation
## How to Use
### Setup
1. Apply the indicator to any chart
2. The indicator automatically identifies the highest volume bar in the last 55 periods
3. The price range of this high-volume bar becomes your support/resistance zone
### Trading Strategy
- **Range Trading**: Trade within the identified support/resistance range
- **Breakout Trading**: Enter positions when price breaks above resistance (BUY) or below support (SELL)
- **Volume Confirmation**: Only take signals when current volume exceeds the 21-period average
### Signal Interpretation
- **BUY Signal**: Price closes above the resistance level with above-average volume
- **SELL Signal**: Price closes below the support level with above-average volume
- **No Signal**: Price remains within the range or volume is insufficient
## Key Parameters
- **Lookback Period**: 55 bars (automatically identifies the highest volume bar)
- **Volume MA**: 21-period simple moving average for volume confirmation
- **Signal Size**: Tiny markers to avoid chart clutter
## Best Practices
- Use on multiple timeframes for confirmation
- Combine with other technical indicators for stronger signals
- Pay attention to the color changes in the range area
- Consider market context and overall trend direction
## Ideal Markets
- Works well on liquid markets with consistent volume patterns
- Effective on stocks, forex, and crypto markets
- Best suited for swing trading and medium-term analysis
This indicator is particularly useful for traders who rely on volume analysis and want to identify key price levels where the market has shown significant interest.