BarFlow Reversal [SiDec]BarFlow Reversal is a powerful indicator designed to help traders spot momentum exhaustion and potential turning points using consecutive candle streaks. It tracks up- and down-runs, highlights key exhaustion counts (like 9, 11, 13, 15), and provides clean visual signals alongside an optional multi-timeframe dashboard — giving you a powerful, customisable momentum map right on your chart.
Overview
Main Components
1. Run Counters
gCnt increments on up‑closes or dojis; rCnt increments on down‑closes or dojis.
seqCount is the larger of those two, and only streaks at or above your Min Consecutive
Special “strong” counts are emphasised with larger labels and unique colours.
2. Reversal Signals
➡️ An arrow plots when a streak of at least your Reversal Threshold is followed by:
A candle closing opposite the streak
Volume above a configurable multiple of its 25‑bar average
ATR expanding
➡️ Arrows come in three strengths (Weak, Strong, Max) based on the prior streak length and your predefined “strong” counts.
3. Bar Shading
Optionally tint each bar during an active run for instant visual feedback on trend direction and strength.
4. Multi‑Timeframe Dashboard
Displays current vs. previous run counts on 1H, 4H, 12H, Daily, Weekly, and Monthly.
Colour‑coded cells show direction and highlight special counts, so you can quickly assess broader momentum.
5. Clean Label Management
Automatically removes outdated streak labels to keep your chart uncluttered.
Labels are positioned just above or below bars and offset slightly to avoid overlap.
Inputs at a Glance
Appearance: Choose Classic, Mono, or Manual theme; set Dark/Light background.
Counting: Define minimum streak length, list of strong counts, and toggle bar shading.
Trend & Filters: Adjust volume multiplier, reversal threshold, and enable/disable arrow plotting.
Dashboard & Cleanup: Show or hide the multi‑timeframe table; auto‑clear old labels.
Colours: Fully customise run labels, special counts, arrows, and dashboard.
Important Trading Note
BarFlow Reversal is not a standalone indicator.
It’s designed to be used in combination with other confluence factors — such as key support/resistance levels, supply/demand zones, VWAP, Fibonacci, liquidity zones, or your preferred price action setups.
While BarFlow Reversal can help you identify moments of exhaustion or likely reversals, it does not provide full trade signals on its own.
Make sure to combine it with proper confirmation tools and risk management before entering trades.
Here are some example screenshots of this indicator in action:
Quick Start
Once you click “Add to favorites,” you’ll find BarFlow Reversal under Indicators for quick use on any chart.
Tweak inputs to match your trading style: set streak lengths, arrow sensitivity, and colour themes.
Watch as BarFlow Reversal highlights exhaustion points and reversal opportunities—across all your favorite timeframes.
If you find it helpful, feel free to leave a like or comment and let me know how you use BarFlow Reversal in your own trading!
Happy trading! 📈
Candlecount
Mark specific candle (e.g. bar 20)This Pine Script indicator, "Mark specific candle (e.g. bar 20)" (short title "Mark candle"), is a simple yet powerful tool to visually highlight a particular candle on your chart.
What it does:
It marks a specific candle (e.g., the 20th, 10th, or any number you choose) counting backwards from the most recent candle on your chart. The marked candle will be colored in a subtle light grey and also feature a tiny, matching grey arrow pointing down from above it.
Why it's useful:
This indicator helps you quickly identify and track a consistent reference point in recent price action. It's great for strategies that depend on fixed look-back periods or for simply keeping an eye on a specific historical candle's position as new data comes in.
Key Features:
Adjustable Candle Number: Easily change which candle is marked (e.g., 20th, 10th, 5th) directly from the indicator settings using the "Candle Number to Mark (from end)" input.
Clear Visuals: Both the candle color and a small arrow provide a subtle, yet effective, visual cue.
How to use:
Simply add this script to your TradingView chart. Then, open the indicator's settings to set your desired candle number.
Smart Bar Counter with Alerts🚀 Smart Bar Counter with Alerts 🚀
-----------------------------------------------------
Overview
-----------------------------------------------------
Ever wanted to count a specific number of bars from a key point on your chart—such as after a Break of Structure (BOS), the start of a new trading session, or from any point of interest— without having to stare at the screen?
This "Smart Bar Counter" indicator was created to solve this exact problem. It's a simple yet powerful tool that allows you to define a custom "Start Point" and a "Target Bar Count." Once the target count is reached, it can trigger an Alert to notify you immediately.
-----------------------------------------------------
Key Features
-----------------------------------------------------
• Manual Start Point: Precisely select the date and time from which you want the count to begin, offering maximum flexibility in your analysis.
• Custom Bar Target: Define exactly how many bars you want to count, whether it's 50, 100, or 200 bars.
• On-Chart Display: A running count is displayed on each bar after the start time, allowing you to visually track the progress.
• Automatic Alerts: Set up alerts to be notified via TradingView's various channels (pop-up, mobile app, email) once the target count is reached.
-----------------------------------------------------
How to Use
-----------------------------------------------------
1. Add this indicator to your chart.
2. Go to the indicator's Settings (Gear Icon ⚙️).
- Select Start Time: Set the date and time you wish to begin counting.
- Number of Bars to Count: Input your target number.
3. Set up the Alert ( Very Important! ).
- Right-click on the chart > Select " Add alert ."
- In the " Condition " dropdown, select this indicator: Smart Bar Counter with Alerts .
- In the next dropdown, choose the available alert condition.
- Set " Options " to Once Per Bar Close .
- Choose your desired notification methods under " Alert Actions ."
- Click " Create ."
-----------------------------------------------------
Use Cases
-----------------------------------------------------
• Post-Event Analysis: Count bars after a key event like a Break of Structure (BOS) or Change of Character (CHoCH) to observe subsequent price action.
• Time-based Analysis: Use it to count bars after a market open for a specific session (e.g., London, New York).
• Strategy Backtesting: Useful for testing trading rules that are based on time or a specific number of bars.
-----------------------------------------------------
Final Words
-----------------------------------------------------
Hope you find this indicator useful for your analysis and trading strategies! Feel free to leave comments or suggestions below.
count pivot high/lowthis script count pivot higher high and pivot lower low ...its useful understanding swing of market bull pressure and bear pressure ..
when price make swing high it count +1 ..this script can help in price action manual trading understading high and low also newbie pinescript coder to learn counter ..i learn these thing from al brook price action trading books .
to make this script i took pivot high and low inbuild script from Tradingview ...to code this idea one of good friend @fikira helped me ..
in v2 version i hope will able to count intraday piovt high and low ..
candle countsmall script for count bar ...it count bar from open of day till end of day ...
in lower time its deleting candle count because of tradingview label limit 50
. bar counting it help me to teach trader bar by bar ...some of bar in all world chart are very important ..in al brook sir book and his website he marked many imortant bar no
for reference al brook sir said about bar counting method
the highest probability trade was the one that I said. When bar 62 was happening, I said, “Traders are buying,” you know, “I’m buying, it’s going up,” right? So 62 is the highest probability trade, but that does not mean it’s the easiest trade. It just means the probability that we’re going to get some kind of a measured move out of 62 is very high, probably 70 percent.
thanks to stack overflow that code is ans there
in this script many people help me thanks to @HappyBaby86 and @Kjaerbye#7503
sorry my english is not good.my native language is Hindi ..