Renko + CandlesThis indicator has been designed to show you both candle chart and Renko chart in one place.
I think most of you are familiar with candle chart which is working with the time and price movements but Renko chart is based on price differences and is not related to the "time" parameter.
so if you see a Renko brick is appear up(or down) to the previous brick it means that a certain and fixed price movement has been occurred (which mostly calculate by ATR). and also this indicator works in any time frame.
Remember because we want both charts we have time parameter in this indicator, and if the price doesn't move up or down a certain percentage from previous bars, it will plot a renko bar beside the previous one.
you can use this indicator to see if the price moves up or down.
Or you can determine the important support and resistances with much less noises.
it can be used as a confirmation for you to keep your positions or exit.
go ahead and discover it...
If you have any questions, don't hesitate! ask in the comments section below.
在脚本中搜索"candle"
San's Candles ProThe San Trader Candles for bullish and bearish market
- Buy on breaking High of "San's Bullish Candle"
- Sell on breaking Low of "San's Bearish Candle"
Preferred Time Frame: Daily and Weekly
HTF Candle [Custom Time Period] by JustUncleL [SOMMI 1.0 edit]This is a custom High Time Frame indicator, originally created by JustUncleL. 💚
I have edited the Pine Script to allow a custom Time Period input. 💛
In the original version, you could only select from a few time periods as your High Time Frame. 💙
In this version you can put any time frame as your reference. 🧡
Example: 6-hour HTF or 2-Day HTF
SOMMI'S SPECIAL NOTES:
-This indicator works with Heikin-Ashi candles.
-Please change your candles to Heikin-Ashi and apply the indicator.
-Advised to disable "Body Wicks"
-Advised to also refresh your page a few times a day as it doesn't update properly due to limitations of TradingView / Pinescript currently.
💙💛💚🧡
MACD Profit CandlesThis tool is simple yet very effective. It creates new candles on the chart based on the MACD.
Candles are green when MACD is increasing and red when it is decreasing. All lengths can be adjusted in the input menu and there is an option to plot the signal line.
The rules for using it are pretty simple:
1.Buy on Green
2.Sell on red
~Happy Trading~
Range Candles - JDThis tool takes a "RANGE" chart and transforms it into "NORMAL" or "HEIKEN-ASHI" candles.
Instantly giving you a much better visual interpretation of the "range" information!!!
NOTE: due to the nature of Pinescript and how range charts are constructed it's possible the candles are not formed on every tick!!!
When formed though, they don't repaint and are calculated differently for every bar so you get approximately the most accurate view at the price action that Tradingview can offer you!
For compasrison:
this is a view of the "1 minute" chart:
this is the normal "1 range" chart without the candles
this is the same "1 range" chart with Heiken-Ashi candles
this is the normal "1000 range" chart (+/- equal to the 1 minute) without the candles
this is the same "1000 range" chart with Heiken-Ashi candles
JD.
#NotTradingAdvice #DYOR
Disclaimer.
I AM NOT A FINANCIAL ADVISOR.
THESE IDEAS ARE NOT ADVICE AND ARE FOR EDUCATION PURPOSES ONLY.
ALWAYS DO YOUR OWN RESEARCH!
I build these indicators for myself and provide them open source, to use for free to use and improve upon,
as I believe the best way to learn is toghether.
VWAP Candles & MVWAPI was getting sick of the useless VWAP indicator on Trading View and wrote something that is more comprehensive and quite interesting, in fact: candles for VWAP.
It uses the original open/high/low/close and combines them as you would the original hlc3 calculation, but separately, to draw the candles as a shadow of the current price.
There are a few parameters to make it more flexible: source, resolution timeframe, volume length, and moving average length.
Volume Length (default: 5) will determine the candle calculations, cumulative sum of the past X bars.
Moving Average Length (default: 9) will determine the simple moving average (sma) length for the true VWAP (hlc3*volume/cumulative volume)
Source will change the Moving Average VWAP from hlc3 to whatever you want.
Resolution will attune the candles and Moving Average VWAP line to a different periodicity.
Just to be a pain, I also included the old VWAP from Trading View, as a comparison. You can disable it from the Style settings.
Enjoy and happy trading!
Retrospective Candlestick ChartWhen i was in Japan with some traders colleagues we talked about traditional charting tools from this country and how they changed the way we look at our charts today. Then suddenly one of the japanese traders i have met earlier said "Why not making another charting tool ? Smoother than Heikin-Ashi and including all the information a trader may need but easier to interpret".
So i had the idea of averaging the input and the output of the respective close / open / high and low price using a recursive exponential window functions, each values will be closer to their true value if they are volatile, if they are not then those values will look smoother, the length input represents the reactivity of the candles, high values represents smoother results but less reactive.The goal of those candles is to make all the information easier to interpret by a trader.
500 input length , the price look smoother, supports and resistances are easier to make.
The interpretation of highs and lows are important, the Retrospective Candlestick Chart save you time by showing only huge movements.
Ichimoku Signal + Candle Color + Candle Pattern1. Ichimoku Signal:
Bullish Signal:
- UP-S: A strong bullish signal occurs when the Tenkan Sen crosses from below to above the Kijun Sen and the cross is above the Kumo.
- UP: An neutral bullish signal occurs when the Tenkan Sen crosses from below to above the Kijun Sen and the cross is in the Kumo.
- UP-W: A weak bullish signal occurs when the Tenkan Sen crosses from below to above the Kijun Sen and the cross is bellow the Kumo.
- Fly: A strong bullish signal when Chikou Span raise above the Kumo.
Bearish Signal:
- DN-S: A strong bearish signal occurs when the Tenkan Sen crosses from above to bellow the Kijun Sen and the cross is bellow the Kumo.
- DN: An neutral bearish signal occurs when the Tenkan Sen crosses from above to bellow the Kijun Sen and the cross is in the Kumo.
- DN-W: A weak bearish signal occurs when the Tenkan Sen crosses from above to bellow the Kijun Sen and the cross is above the Kumo.
- Dig: A strong bearish signal when Chikou Span fall bellow the Kumo.
2. Candle Color based on RSI (from NazcaProjections)
- Yellow represents Super OverBought
- Lime Green represents OverBought
- Green represents Slightly OverBought
- Red represents Slightly OverSold
- Dark Red represents OverSold
- Gray White represents Super OverSold
3. Candlestick Patterns Identified: Doji , Evening Star , Morning Star , Shooting Star , Hammer , Inverted Hammer , Bearish Harami, Bullish Harami, Bearish Engulfing , Bullish Engulfing
Heiken Ashi Candles
This is a script to place Heiken Ashi candles on your chart alongside another candle type or more importantly, using the variables from this script, you can build a strategy using Heiken Ashi candles that will depict true/proper entries and exits in a strategy when using the backtest feature.
We hope this helps!
Big Candle Alert (Body Only + Strict Breakout)Beta script for assessing candle breakout strength relative to previous candles (thanks Chat GPT). Use in accordance with volume heat map
Gap Detector (Body and Candle)Finds/Detects gaps between candles and candle bodies for any chart/timeframe with O(n+delta) performance.
Candle Gaps (between wicks) act as strong support or resistance. They are drawn as solid boxes.
Body Gaps (ignores wicks) act as mild support or resistance. They are depicted with lines.
Adjust the settings for candle/body gap width, smaller the time frame, smaller the gap.
Adjust max historical bars to fine tune performance on your system/setup. The more historical bars the script scans, more time required to load the chart. At times based on system configuration, TradingView may timeout the script due to too many bars. Reducing the max bars helps in this scenario.
This is a revamped version of "Body Gap Detector".
Happy charting !
Candle Range % vs 8-Candle AvgCandle % Indicator – Measure Candle Strength by Range %
**Overview:**
The *Candle % Indicator* helps traders visually and analytically gauge the strength or significance of a price candle relative to its recent historical context. This is particularly useful for detecting breakout moves, volatility shifts, or overextended candles that may signal exhaustion.
**What It Does:**
* Calculates the **percentage range** of the current candle compared to the **average range of the past N candles**.
* Highlights candles that exceed a user-defined threshold (e.g., 150% of the average range).
* Useful for **filtering out extreme candles** that might represent anomalies or unsustainable moves.
* Can be combined with other strategies (like EMA crossovers, support/resistance breaks, etc.) to improve signal quality.
**Use Case Examples:**
***Filter out fakeouts** in breakout strategies by ignoring candles that are overly large and may revert.
***Volatility control**: Avoid entries when market conditions are erratic.
**Confluence**: Combine with EMA or RSI signals for refined entries.
**How to Read:**
* If a candle is larger than the average range by more than the set percentage (default 150%), it's flagged (e.g., no entry signal or optional visual marker).
* Ideal for intraday, swing, or algorithmic trading setups.
**Customizable Inputs:**
**Lookback Period**: Number of previous candles to calculate the average range.
**% Threshold**: Maximum percentage a candle can exceed the average before being filtered or marked.
Specific Time CandlesSpecific Time Candles Indicator
The Specific Time Candles indicator is a powerful tool designed for traders who want to focus on specific time intervals within their charts. This custom indicator allows you to highlight and analyze price action during user-defined time periods, providing clarity and precision in your trading strategy.
Key Features:
Custom Time Intervals: Select any start and end time to create candles that focus on your preferred trading hours. This is particularly useful for traders who want to concentrate on market sessions, such as the London or New York session, or any other specific time frame relevant to their trading plan.
Enhanced Visualization: By isolating specific time periods, this indicator helps reduce noise and provides a clearer view of market movements during key trading hours. This can be beneficial for identifying trends, reversals, and potential breakout opportunities.
Flexible Configuration: Easily adjust the indicator settings to match your trading schedule. Whether you are a day trader, swing trader, or scalper, you can customize the time frames to suit your needs.
Compatibility: The indicator is compatible with multiple asset classes, including forex, stocks, commodities, and cryptocurrencies, making it a versatile tool for any trader.
User-Friendly Interface: Designed with simplicity in mind, the Specific Time Candles indicator is easy to set up and use, even for those who are new to TradingView.
How to Use:
Add the indicator to your chart from the TradingView library.
Set your desired start and end times in the indicator settings.
Observe the newly formed candles that represent the specified time intervals.
Use these candles to make informed trading decisions based on the focused analysis of market activity during your chosen periods.
Benefits:
Precision Trading: Focus on the most relevant market data, eliminating distractions from other time periods.
Improved Decision-Making: Gain insights into market behavior during critical times, enhancing your ability to make strategic trades.
Time Management: Efficiently manage your trading by concentrating on specific times, allowing for better planning and execution.
The Specific Time Candles indicator is a must-have for traders looking to refine their strategies by concentrating on precise market windows. Whether you are targeting high-volatility periods or specific trading sessions, this indicator provides the tools you need to succeed.
M2 Global Liquidity Index (Candles)M2 Global Liquidity Index (Candles)
In this enhanced version of the original M2 Global Liquidity Index script by Mik3Christ3ns3n , I've taken the foundational concept and expanded its capabilities for more in-depth analysis and user flexibility. This updated script aggregates M2 money supply data from major global economies—China, the U.S., the Eurozone, Japan, and the U.K.—adjusted by their respective exchange rates, into a customizable global liquidity index.
Key Enhancements:
Candlestick Visualization:
• Instead of a simple line chart, I've implemented a candlestick chart, providing a more detailed representation of liquidity trends with open, high, low, and close values for each period. This allows traders to analyze the index with the same technical tools used for price charts.
Customizable Components:
• Users can now select which components (M2 data and exchange rates) to include in the index calculation, giving you the flexibility to tailor the index to specific economic factors or regions of interest.
Dynamic Color Coding:
• Candles are color-coded based on their performance (bullish or bearish), with customized wick and border colors to enhance visual clarity, making it easier to spot liquidity trends at a glance.
Overlay Option:
• This script is designed to be an overlay, allowing you to plot the Global Liquidity Index directly on your price charts, facilitating comparison between liquidity trends and asset prices.
This enhanced script is ideal for traders and analysts who want a deeper understanding of global liquidity trends and their impact on financial markets.
Period Candle CounterThis is a very simple utility indicator.
Shockingly nothing similar was available and I really needed something to quickly count period lengths by candles (to make adjustments to indicators based on a desired lookback timeframe), so I created this.
I thought I would share it because chances are if I needed something like this, other people may need it, too.
What it does:
Its really simple and this really truly is just a utility indicator that gives you raw information to make adjustments to other indicators. It just counts the number of candles in a user defined period of time.
It will count the number of red candles, green candles and then display the total candle count.
It will also display in percent (i.e. 52% green candles vs 48% red candles, etc.).
Its point and click, so once launched you just click the area you want to start the count and click the area you want to end the count.
Purpose:
Personally, I use it to make adjustments to timeframe lengths on indicators that look at averages and also on my time series indicator. If I want the price average or range for a specific period in time (say, the past 1.5 days of an uptrend), I will use this to count the candles in that period so that I can manually adjust whichever indicator to the correct lookback length, as most indicators are adjusted by candle length (i.e. 1 candle, 2 candles, 3 candles, etc.)
And that's it, pretty straight forward. Honestly pretty boring but its actually really pivotal for me to make adjustments to certain indicators.
Hope you find it helpful, too!
Safe trades!
Fractal-Dimension-Index-Adaptive Trend Cipher Candles [Loxx]Fractal-Dimension-Index-Adaptive Trend Cipher Candles is a candle coloring indicator that shows both trend and trend exhaustion using Fractal Dimension Index Adaptivity. To do this, we first calculate the dynamic period outputs from the FDI algorithm and then we injection those period inputs into a correlation function that correlates price input price to the candle index. The closer the correlation is to 1, the lighter the green color until the color turns yellow, sometimes, indicating upward price exhaustion. The closer the correlation is to -1, the lighter the red color until it reaches Fuchsia color indicating downward price exhaustion. Green means uptrend, red means downtrend, yellow means reversal from uptrend to downtrend, fuchsia means reversal from downtrend to uptrend.
What is the Fractal Dimension Index?
The goal of the fractal dimension index is to determine whether the market is trending or in a trading range. It does not measure the direction of the trend. A value less than 1.5 indicates that the price series is persistent or that the market is trending. Lower values of the FDI indicate a stronger trend. A value greater than 1.5 indicates that the market is in a trading range and is acting in a more random fashion.
Included
Loxx's Expanded Source Types
Related indicators:
Adaptive Trend Cipher loxx]
CFB-Adaptive Trend Cipher Candles
Dynamic Zones Polychromatic Momentum Candles
RSI Precision Trend Candles
RSI In-Chart Indicator with Candle StickSimplified RSI with in Chart Indicator for better analysis, What is does? it simply plot OB/OS over candles for better understanding. Also you can on/of candle stick along side in setting but the RSI is always on.
Candle stick Patterns
Three White Soldier (TWS)
Three Black Crows (TBS)
Simple Candle Info This script shows the following simple information about the last candle:
- Candle size
- Body size included %
- Top Wick size
- Bottom Wick size
- Top Wick + Body size
- Bottom Wick + Body size
You can change:
- colors and position for labels
- add information for previous candle too
- change language
Volume Strength Candles / Colored BarsIs Price Action Higher or Lower on STRONG or WEAK VOLUME from lookback
(Strong or Weak Bulls // Strong or Weak Bears)
Candles / Bars Indicate the Following (default 13 period lookback / Length)
MAROON Bear Candle with STRONG VOLUME more than 150% of the lookback / length (13 default), STRONG Bear Candle Confirmed With Volume
RED Bear Candle while VOLUME is BETWEEN 50% & 150% of the Lookback / Length (13 default), Neutral Bear Volume Neither strong or weak
ORANGE Bear Candle with WEAK VOLUME (Less than 50% of the Length / Lookback)
DARK GREEN Bull Candle with STRONG VOLUME MORE than 150% of lookback
GREEN Bull Candle with Neutral VOLUME BETWEEN 50% & 150% of the lookback / Length
AQUA Bull Candle with WEAK VOLUME less than 50% of the Lookback
Is price confirmed by volume?
Can Change the Lookback / Length from 13
Can Change the Colors and Transparency to easily see based off your chart background colors I recommend ZERO Transparency to easily identify volume strength (i use white background but many use black or other)
Renko CandlesThis is a script to place Renko candles on your chart alongside another candle type or more importantly, using the variables from this script, you can build a strategy using Renko candles that will depict true/proper entries and exits in a strategy when using the backtest feature.
We hope this helps!
Trend Candle CounterComplete Tutorial: Trend Candle Counter Pine ScriptTable of Contents
Installation Guide
Understanding the Indicator
How It Works
Customization Options
Trading Strategies
Setting Up Alerts
Troubleshooting
1. Installation Guide {#installation}Step-by-Step Installation:Step 1: Open TradingView
Go to www.tradingview.com
Log in to your account
Step 2: Access Pine Editor
Click on "Pine Editor" tab at the bottom of the chart
Or press Alt + E (Windows) or Option + E (Mac)
Step 3: Create New Indicator
Click "Open" → "New blank indicator"
Delete any default code
Step 4: Paste the Script
Copy the entire Trend Candle Counter script
Paste it into the editor
Step 5: Save and Apply
Click "Save" (or Ctrl + S)
Give it a name: "Trend Candle Counter"
Click "Add to Chart"
✅ Done! The indicator should now appear on your chart.2. Understanding the Indicator {#understanding}What Does It Do?This indicator numbers each candle based on the current trend: {scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;} ::-webkit-scrollbar{display:none}Trend TypeNumberingVisualUptrend+1, +2, +3, +4...🟢 Green labelsDowntrend-1, -2, -3, -4...🔴 Red labelsTrend ChangeResets to ±1Label color switchesVisual Components:
Candle Labels - Numbers above each candle
Trend Line (EMA) - Green (up) / Red (down)
Background Shading - Light green/red tint
Info Table - Top-right corner showing:
Current trend direction
Current candle number
Current price
3. How It Works {#how-it-works}Trend Detection Logic:IF Close > EMA → UPTREND (positive counting)
IF Close < EMA → DOWNTREND (negative counting)
Counting Mechanism:Example Uptrend:Candle 1: Close > EMA → Label: +1
Candle 2: Close > EMA → Label: +2
Candle 3: Close > EMA → Label: +3
Candle 4: Close < EMA → Label: -1 (trend changed!)
Example Downtrend:Candle 1: Close < EMA → Label: -1
Candle 2: Close < EMA → Label: -2
Candle 3: Close < EMA → Label: -3
Candle 4: Close > EMA → Label: +1 (trend changed!)
Key Insight:The higher the absolute number, the longer the trend has been running!4. Customization Options {#customization}Accessing Settings:
Click the gear icon ⚙️ next to the indicator name
Go to "Inputs" tab
Available Parameters: {scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;} ::-webkit-scrollbar{display:none}ParameterDefaultDescriptionRecommendationTrend Detection Length14EMA period for trend5-10: Scalping14-20: Day trading50-200: Swing tradingShow Candle Numbers✅ YesDisplay labelsDisable for cleaner chartLabel SizeSmallSize of numbersTiny: Multi-timeframeLarge: Focus on one chartUptrend ColorGreenPositive number colorCustomize to preferenceDowntrend ColorRedNegative number colorCustomize to preferenceOptimization by Trading Style:For Scalpers (1m - 5m charts):Trend Detection Length: 5-10
Label Size: Tiny
Show Labels: Optional (can be cluttered)
For Day Traders (15m - 1h charts):Trend Detection Length: 14-20
Label Size: Small
Show Labels: Yes
For Swing Traders (4h - Daily charts):Trend Detection Length: 50-100
Label Size: Normal
Show Labels: Yes
5. Trading Strategies {#strategies}Strategy 1: Trend Reversal TradingEntry Signals:
Buy: When counter changes from negative to +1
Sell: When counter changes from positive to -1
Confirmation:
Wait for +2 or -2 to confirm trend strength
Use additional indicators (RSI, MACD) for validation
Example:Candle: -5, -6, -7, -8, +1, +2 ← BUY HERE
Stop Loss: Below the -8 candle low
Target: When counter reaches +8 to +10
Strategy 2: Trend Continuation TradingEntry Signals:
Buy: Enter on pullbacks during uptrend (e.g., at +3, +5, +7)
Sell: Enter on bounces during downtrend (e.g., at -3, -5, -7)
Risk Management:
Avoid entering at high numbers (+15, -15) - trend may be exhausted
Example:Candle: +1, +2, +3 ← Small pullback, BUY
Continue: +4, +5, +6, +7
Exit: When counter resets to -1
Strategy 3: Trend Exhaustion DetectionWarning Signs:
Counter reaches +10 or higher → Uptrend may be overextended
Counter reaches -10 or lower → Downtrend may be overextended
Action:
Tighten stop losses
Take partial profits
Watch for reversal patterns (doji, engulfing)
Strategy 4: Multi-Timeframe AnalysisSetup:
Add indicator to 3 timeframes (e.g., 15m, 1h, 4h)
Look for alignment
Best Trades:15m: +1 (new uptrend)
1h: +5 (established uptrend)
4h: +3 (strong uptrend)
→ HIGH PROBABILITY BUY
6. Setting Up Alerts {#alerts}Built-in Alert Conditions:The script includes 2 automatic alerts:
"Uptrend Started" - Triggers when counter = +1
"Downtrend Started" - Triggers when counter = -1
How to Set Up Alerts:Step 1: Right-click on chart
Select "Add Alert"
Step 2: Configure Alert
Condition: Select "Trend Candle Counter"
Choose: "Uptrend Started" or "Downtrend Started"
Options:
Once per bar close (recommended)
Webhook URL (for automation)
Step 3: Notification Settings
✅ Popup
✅ Send email
✅ Push notification (mobile app)
✅ Play sound
Step 4: Create Alert
Click "Create"
Custom Alert Ideas:Alert for Specific Candle Numbers:
Notify when counter reaches +5 or -5
Notify when counter exceeds +10 or -10 (exhaustion)
7. Troubleshooting {#troubleshooting}Common Issues & Solutions:Issue 1: Labels are too cluttered
Solution:
Disable "Show Candle Numbers" in settings
Use larger timeframe
Reduce label size to "tiny"
Issue 2: Too many false signals
Solution:
Increase "Trend Detection Length" (e.g., 20, 50)
Wait for +2 or -2 confirmation
Combine with other indicators
Issue 3: Trend line doesn't match price action
Solution:
Adjust EMA length to match your trading style
Consider using different trend detection (SMA, HMA)
Issue 4: Indicator not showing on chart
Solution:
Check if it's in a separate pane - move to main chart
Refresh the page
Re-add the indicator
Issue 5: Counter seems delayed
Solution:
This is normal - indicator confirms on candle close
For faster signals, use lower timeframe
Reduce EMA length (but expect more noise)
8. Advanced Tips 💡Combining with Other Indicators:Best Combinations:
RSI + Trend Candle Counter
Buy at +1 when RSI > 50
Sell at -1 when RSI < 50
MACD + Trend Candle Counter
Confirm +1 with MACD bullish crossover
Confirm -1 with MACD bearish crossover
Volume + Trend Candle Counter
Strong trends (+1) should have increasing volume
Low volume at high numbers (+10) = exhaustion
Reading Market Psychology: {scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;} ::-webkit-scrollbar{display:none}Counter ValueMarket Psychology+1 to +3Early adopters entering+4 to +7Momentum building+8 to +12FOMO phase+13+Extreme greed - caution!-1 to -3Early sellers-4 to -7Panic building-8 to -12Capitulation-13+Extreme fear - reversal likely9. Real Trading Example 📊Scenario: BTC/USD 1H ChartTime | Counter | Action
--------|---------|----------------------------------
10:00 | -8 | Downtrend established
11:00 | -9 | Still falling
12:00 | -10 | Exhaustion zone - watch closely
13:00 | +1 | ✅ BUY SIGNAL - Trend reversal!
14:00 | +2 | Confirmation - trend valid
15:00 | +3 | Hold position
16:00 | +4 | Add to position (optional)
17:00 | +5 | Move stop loss to breakeven
...
22:00 | +11 | Take partial profits
23:00 | +12 | Tighten stop loss
00:00 | -1 | ❌ EXIT - Trend reversed
Actually Engulfing CandlesticksThis thing attempts to find price reversals with actually engulfing candlesticks with volume spikes and RSI values as confirmation. It works well on mean reverting assets I guess.
Green dots below bars = bullish reversal
Fuchsia dots above bars = bearish reversal
Have fun!
No Wick 15m Candles (Anchored Arrows)defined upArrow and downArrow as series values (high or low when conditions are true, otherwise na).
Passed those to plotshape().
This way the arrows are anchored exactly on the candle high/low.