Daily ATR %Input parameters:
Number of bars for ATR (Y) - the number of bars to calculate the average ATR
Number of bars for median ATR (X) - the number of bars to calculate the median ATR, should be >= Number of bars for ATR
Stop ATK share in % - to calculate Stop Loss in % of ATR
Calculate the passed ATR from the previous day close - calculation of the passed ATR from:
True = closing prices of the previous day
False = from High/Low of the current day
The script calculates several parameters:
Decimal - the number of digits after the fractional part of the price
Close % - how much the previous day closed as a percentage of High/Low
Median - the median value for the X previous bars.
ATR is the average value for Y bars
C_ATR - passed ATR for the current day
C_ATR% - passed ATR in % excellent calculated
Stop - the calculated size of the Stop Loss from ATR
THE LOGIC OF CALCULATING THE ATR (the bar of the trading day is not taken into account):
1. Calculate the Median ATR for X previous bars.
2. We calculate the ATR for Y of the previous bars,
taking only those bars that fulfill the condition:
Median ATR * 50% < N < Median ATR * 200%
, i.e. we do not take into account bars that are less than the Median ATR by 2 times, and bars that are more than the Median ATR by 2 times
Candlestick analysis
FTB Smart Trader System — Market Maker Levels, EMAs & VectorsThe FTB Trade Engine is an indicator suite I built for myself as a crypto trader. It's designed specifically for trading Institution levels, EMAs, PVSRA Volume Candles, and Session Timings. It helps me spot high probability trade setups without overcomplicating things.
🔑 Features of this Indicator
📌 🔥 Key Session Levels (extend lines in settings as needed)
✅ Weekly High & Low (HOW/LOW) — Automatically plots the previous week's high and low
✅ Daily High & Low (HOD/LOD) — Marks the prior day's range
✅ Asia Session High & Low — Plots the Asian session’s high and low, helping you detect potential breakouts or fakeouts, as Asia often sets the initial high and low of the day.
✅ 50% Asia Level — Automatically calculates and displays the midpoint between Asia’s high and low, an important level for intraday trading.
📌 🔥 Advanced EMA Suite
✅ Includes 10, 20, 50, 200, and 800 EMAs — providing key zones of support, resistance, and trend direction.
👀 Good to know: the break of the 50EMA WITH a vector candle is significant for reversals.
📌 🔥 PVSRA Candles
(👀 IMPORTANT: To properly view PVSRA candles, make sure to UNCHECK all default candle settings — Color Bars, Body, Borders, and Wick — in your chart's candle settings.)
✅ Price, Volume, Support & Resistance Analysis (PVSRA) Candles — These special candles combine price action with volume analysis, color-coded to highlight areas potentially influenced by market makers, institutions, and large players. Perfect for identifying key volume zones and quickly analyzing any coin or pair without switching tools.
Candle Colors Explained:
Bullish Candles:
🟢 Green — 200% increase in volume on bullish moves (strong buyer presence).
🔵 Blue — 150% increase in bullish volume, but may also indicate fatigue or possible reversal.
⚪ White — Normal bullish volume (standard green candles).
Bearish Candles:
🔴 Red — 200% increase in bearish volume compared to the last 10 candles (strong selling).
🟣 Magenta — 150% increase in bearish volume, signaling possible continuation or exhaustion.
⚫ Gray — Normal bearish volume (standard red candles).
*Auto Backtest & Optimize EngineFull-featured Engine for Automatic Backtesting and parameter optimization. Allows you to test millions of different combinations of stop-loss and take profit parameters, including on any connected indicators.
⭕️ Key Futures
Quickly identify the optimal parameters for your strategy.
Automatically generate and test thousands of parameter combinations.
A simple Genetic Algorithm for result selection.
Saves time on manual testing of multiple parameters.
Detailed analysis, sorting, filtering and statistics of results.
Detailed control panel with many tooltips.
Display of key metrics: Profit, Win Rate, etc..
Comprehensive Strategy Score calculation.
In-depth analysis of the performance of different types of stop-losses.
Possibility to use to calculate the best Stop-Take parameters for your position.
Ability to test your own functions and signals.
Customizable visualization of results.
Flexible Stop-Loss Settings:
• Auto ━ Allows you to test all types of Stop Losses at once(listed below).
• S.VOLATY ━ Static stop based on volatility (Fixed, ATR, STDEV).
• Trailing ━ Classic trailing stop following the price.
• Fast Trail ━ Accelerated trailing stop that reacts faster to price movements.
• Volatility ━ Dynamic stop based on volatility indicators.
• Chandelier ━ Stop based on price extremes.
• Activator ━ Dynamic stop based on SAR.
• MA ━ Stop based on moving averages (9 different types).
• SAR ━ Parabolic SAR (Stop and Reverse).
Advanced Take-Profit Options:
• R:R: Risk/Reward ━ sets TP based on SL size.
• T.VOLATY ━ Calculation based on volatility indicators (Fixed, ATR, STDEV).
Testing Modes:
• Stops ━ Cyclical stop-loss testing
• Pivot Point Example ━ Example of using pivot points
• External Example ━ Built-in example how test functions with different parameters
• External Signal ━ Using external signals
⭕️ Usage
━ First Steps:
When opening, select any point on the chart. It will not affect anything until you turn on Manual Start mode (more on this below).
The chart will immediately show the best results of the default Auto mode. You can switch Part's to try to find even better results in the table.
Now you can display any result from the table on the chart by entering its ID in the settings.
Repeat steps 3-4 until you determine which type of Stop Loss you like best. Then set it in the settings instead of Auto mode.
* Example: I flipped through 14 parts before I liked the first result and entered its ID so I could visually evaluate it on the chart.
Then select the stop loss type, choose it in place of Auto mode and repeat steps 3-4 or immediately follow the recommendations of the algorithm.
Now the Genetic Algorithm at the bottom right will prompt you to enter the Parameters you need to search for and select even better results.
Parameters must be entered All at once before they are updated. Enter recommendations strictly in fields with the same names.
Repeat steps 5-6 until there are approximately 10 Part's left or as you like. And after that, easily pour through the remaining Parts and select the best parameters.
━ Example of the finished result.
━ Example of use with Takes
You can also test at the same time along with Take Profit. In this example, I simply enabled Risk/Reward mode and immediately specified in the TP field Maximum RR, Minimum RR and Step. So in this example I can test (3-1) / 0.1 = 20 Takes of different sizes. There are additional tips in the settings.
━
* Soon you will start to understand how the system works and things will become much easier.
* If something doesn't work, just reset the engine settings and start over again.
* Use the tips I have left in the settings and on the Panel.
━ Details:
Sort ━ Sorting results by Score, Profit, Trades, etc..
Filter ━ Filtring results by Score, Profit, Trades, etc..
Trade Type ━ Ability to disable Long\Short but only from statistics.
BackWin ━ Backtest Window Number of Candle the script can test.
Manual Start ━ Enabling it will allow you to call a Stop from a selected point. which you selected when you started the engine.
* If you have a real open position then this mode can help to save good Stop\Take for it.
1 - 9 Сheckboxs ━ Allow you to disable any stop from Auto mode.
Ex Source - Allow you to test Stops/Takes from connected indicators.
Connection guide:
//@version=6
indicator("My script")
rsi = ta.rsi(close, 14)
buy = not na(rsi) and ta.crossover (rsi, 40) // OS = 40
sell = not na(rsi) and ta.crossunder(rsi, 60) // OB = 60
Signal = buy ? +1 : sell ? -1 : 0
plot(Signal, "🔌Connector🔌", display = display.none)
* Format the signal for your indicator in a similar style and then select it in Ex Source.
⭕️ How it Works
Hypothesis of Uniform Distribution of Rare Elements After Mixing.
'This hypothesis states that if an array of N elements contains K valid elements, then after mixing, these valid elements will be approximately uniformly distributed.'
'This means that in a random sample of k elements, the proportion of valid elements should closely match their proportion in the original array, with some random variation.'
'According to the central limit theorem, repeated sampling will result in an average count of valid elements following a normal distribution.'
'This supports the assumption that the valid elements are evenly spread across the array.'
'To test this hypothesis, we can conduct an experiment:'
'Create an array of 1,000,000 elements.'
'Select 1,000 random elements (1%) for validation.'
'Shuffle the array and divide it into groups of 1,000 elements.'
'If the hypothesis holds, each group should contain, on average, 1~ valid element, with minor variations.'
* I'd like to attach more details to My hypothesis but it won't be very relevant here. Since this is a whole separate topic, I will leave the minimum part for understanding the engine.
Practical Application
To apply this hypothesis, I needed a way to generate and thoroughly mix numerous possible combinations. Within Pine, generating over 100,000 combinations presents significant challenges, and storing millions of combinations requires excessive resources.
I developed an efficient mechanism that generates combinations in random order to address these limitations. While conventional methods often produce duplicates or require generating a complete list first, my approach guarantees that the first 10% of possible combinations are both unique and well-distributed. Based on my hypothesis, this sampling is sufficient to determine optimal testing parameters.
Most generators and randomizers fail to accommodate both my hypothesis and Pine's constraints. My solution utilizes a simple Linear Congruential Generator (LCG) for pseudo-randomization, enhanced with prime numbers to increase entropy during generation. I pre-generate the entire parameter range and then apply systematic mixing. This approach, combined with a hybrid combinatorial array-filling technique with linear distribution, delivers excellent generation quality.
My engine can efficiently generate and verify 300 unique combinations per batch. Based on the above, to determine optimal values, only 10-20 Parts need to be manually scrolled through to find the appropriate value or range, eliminating the need for exhaustive testing of millions of parameter combinations.
For the Score statistic I applied all the same, generated a range of Weights, distributed them randomly for each type of statistic to avoid manual distribution.
Score ━ based on Trade, Profit, WinRate, Profit Factor, Drawdown, Sharpe & Sortino & Omega & Calmar Ratio.
⭕️ Notes
For attentive users, a little tricks :)
To save time, switch parts every 3 seconds without waiting for it to load. After 10-20 parts, stop and wait for loading. If the pause is correct, you can switch between the rest of the parts without loading, as they will be cached. This used to work without having to wait for a pause, but now it does slower. This will save a lot of time if you are going to do a deeper backtest.
Sometimes you'll get the error “The scripts take too long to execute.”
For a quick fix you just need to switch the TF or Ticker back and forth and most likely everything will load.
The error appears because of problems on the side of the site because the engine is very heavy. It can also appear if you set too long a period for testing in BackWin or use a heavy indicator for testing.
Manual Start - Allow you to Start you Result from any point. Which in turn can help you choose a good stop-stick for your real position.
* It took me half a year from idea to current realization. This seems to be one of the few ways to build something automatic in backtest format and in this particular Pine environment. There are already better projects in other languages, and they are created much easier and faster because there are no limitations except for personal PC. If you see solutions to improve this system I would be glad if you share the code. At the moment I am tired and will continue him not soon.
Also You can use my previosly big Backtest project with more manual settings(updated soon)
Indiq 2.0The functionality of the indicator includes the following features:
Moving Averages (MA):
The ability to adjust periods for short (short_ma_length) and long (long_ma_length) moving averages.
Display of moving averages on the chart:
Short MA (blue line).
Long MA (red line).
Generation of buy and sell signals:
Buy (BUY): When the short MA crosses the long MA from below.
Sell (SELL): When the short MA crosses the long MA from above.
Visualization of signals on the chart:
Buy is displayed as a green BUY marker below the candle.
Sell is displayed as a red SELL marker above the candle.
Liquidity Heatmap:
Liquidity levels:
Levels are calculated based on the closing price and a step (liquidity_step).
Levels are grouped by the nearest price values.
Volumes at levels:
Volume (volume) is accumulated for each liquidity level.
Levels with a volume less than min_volume_filter are not displayed.
Time filtering:
Levels that have not been updated within the last time_filter bars are not displayed.
Volatility filtering:
Levels are filtered by volatility (ATR) to exclude those outside the volatility range.
Color gradient:
The color of levels depends on volume (gradient from gradient_start_color to gradient_end_color).
Visualization:
Liquidity levels are displayed as horizontal lines.
Volumes at levels are shown as text labels.
RSI Filtering:
The ability to enable/disable RSI filtering (rsi_filter).
Liquidity levels are filtered based on overbought (rsi_overbought) and oversold (rsi_oversold) conditions.
Levels that do not meet RSI conditions are not displayed.
MACD Filtering:
The ability to enable/disable MACD filtering (macd_filter).
Liquidity levels are filtered based on the MACD histogram condition (e.g., only if the histogram is above zero).
Levels that do not meet MACD conditions are not displayed.
Display of Market Maker Buys:
Condition for market maker buys:
Volume exceeds the average volume over the last 20 bars by 2 times.
Closing price is above the opening price.
Market maker buys are displayed on the chart as orange MM Buy markers below the candle.
Indicator Settings:
Moving average parameters:
short_ma_length: Period for the short MA.
long_ma_length: Period for the long MA.
Liquidity heatmap parameters:
liquidity_step: Step between liquidity levels.
max_levels: Maximum number of levels to display.
time_filter: Time filter (last N bars).
min_volume_filter: Minimum volume for displaying a level.
volatility_filter: Volatility filter (ATR multiplier).
RSI parameters:
rsi_filter: Enable/disable RSI filtering.
rsi_overbought: Overbought RSI level.
rsi_oversold: Oversold RSI level.
MACD parameters:
macd_filter: Enable/disable MACD filtering.
Color settings:
gradient_start_color: Starting color of the gradient.
gradient_end_color: Ending color of the gradient.
Visualization:
Moving averages:
Short MA: Blue line.
Long MA: Red line.
Signals:
Buy: Green BUY marker.
Sell: Red SELL marker.
Liquidity heatmap:
Liquidity levels: Horizontal lines with a color gradient.
Volumes: Text labels at levels.
Market maker buys:
Orange MM Buy markers.
Alerts:
The ability to set alerts for signals:
Buy (BUY).
Sell (SELL).
Additional Features:
Flexible filter settings:
Filtering by time, volume, volatility, RSI, and MACD.
Extensibility:
The ability to add new filters (e.g., Stochastic, Volume Profile, etc.).
Visual customization:
Adjustment of colors, sizes, and display styles.
Summary:
The indicator provides a comprehensive tool for analyzing liquidity, generating trading signals, and tracking market maker activity. It combines:
A liquidity heatmap.
Signals based on moving averages.
Filtering by RSI and MACD.
Display of market maker buys.
Flexible settings and visualization.
This indicator is suitable for traders who want to analyze liquidity levels, identify entry and exit points, and monitor the actions of large market players.
Candle Size Alertت وضیحات برای انتشار ابزار در TradingView
🔹 نام ابزار: Candle Size Alert
🔹 توضیحات:
این اندیکاتور برای شناسایی کندلهای بزرگ طراحی شده است. این ابزار میانگین اندازهی ۱۰ کندل گذشته را محاسبه کرده و اگر کندل فعلی ۳ برابر میانگین کندلهای قبلی باشد، یک لیبل هشدار در بالای کندل نمایش میدهد. همچنین میتوان هشدارهای معاملاتی را از طریق alertcondition() فعال کرد.
🔹 ویژگیها:
✅ امکان تغییر تعداد کندلهای محاسبه شده (پیشفرض: ۱۰)
✅ امکان تنظیم ضریب حساسیت (پیشفرض: ۳ برابر)
✅ نمایش لیبل هشدار در بالای کندلهای بزرگ
✅ پشتیبانی از هشدارهای خودکار (AlertCondition)
⚠️ نکته: این اندیکاتور فقط برای تحلیل استفاده میشود و سیگنال خرید یا فروش ارائه نمیدهد.
🔹 Indicator Name: Candle Size Alert
🔹 Description:
This indicator detects large candles by calculating the average size of the last 10 candles. If the current candle is 3 times larger than the average of the previous candles, a warning label appears above the candle. Additionally, automated alerts can be triggered using alertcondition().
🔹 Features:
✅ Adjustable candle count for calculations (default: 10)
✅ Customizable sensitivity multiplier (default: 3x)
✅ Visual alert label above large candles
✅ Supports automated alerts (AlertCondition)
⚠️ Note: This indicator is for analysis purposes only and does not provide buy/sell signals.
Swing Finder By Akash
This script is designed to highlight areas on a chart where there are **three or more consecutive candles** of the same color (bullish or bearish). It provides a visual indication of extended bullish or bearish momentum by changing the background color and marking the starting point of these areas.
### **How it works:**
1. **Identifying Bullish and Bearish Candles:**
- **Bullish candles** are defined as candles where the closing price is higher than the opening price (close > open).
- **Bearish candles** are defined as candles where the closing price is lower than the opening price (close < open).
2. **Consecutive Candle Counters:**
- A counter for **bullish candles** (`bullishCount`) and **bearish candles** (`bearishCount`) is maintained to track consecutive occurrences of bullish and bearish candles.
- These counters are **incremented** when consecutive bullish or bearish candles occur. They are **reset** to zero whenever a trend reversal happens (e.g., from bullish to bearish or vice versa).
3. **Area Marking:**
- If there are **three or more consecutive bullish candles**, the background is highlighted in **green** to indicate a bullish area.
- If there are **three or more consecutive bearish candles**, the background is highlighted in **red** to indicate a bearish area.
- A **green label** is plotted below the bars where the bullish area starts, and a **red label** is plotted above the bars where the bearish area starts.
### **Visual Indicators:**
- **Background Color:**
- **Green** for areas with 3 or more consecutive bullish candles.
- **Red** for areas with 3 or more consecutive bearish candles.
- **Labels:**
- A **green label** is plotted below the chart to mark the start of a bullish area.
- A **red label** is plotted above the chart to mark the start of a bearish area.
### **Usage:**
- This indicator can help traders identify strong trends, as consecutive bullish or bearish candles often indicate extended momentum in one direction.
- By marking these areas, traders can potentially look for entry points or identify when trends may be losing strength or reversing.
---
Feel free to adjust the description if you'd like it to reflect more specific details based on your use case!
Risk-Based Position Size ProRisk-Based Position Size Indicator
Overview:
The Risk-Based Position Size Indicator helps traders determine the appropriate position size for each trade based on their total capital and risk percentage. This indicator dynamically calculates position size using two different methods:
Wick Range (High - Low): Calculates position size based on the total range of the candlestick.
Candle Body (Close - Open): Calculates position size using only the body of the candlestick, ignoring wicks.
It provides a visual representation of position sizing as a histogram and adjusts dynamically based on price movement.
Key Features:
✅ Two Calculation Modes:
Wick Range (Red Bars) – Uses the entire candlestick range (High - Low).
Candle Body (Blue Bars) – Uses only the difference between Close and Open.
✅ Customizable Risk Settings:
Define Total Capital (default: $100,000).
Set Risk Percentage per trade (default: 1%).
✅ Automatic Position Sizing:
Adjusts position size dynamically for each candlestick.
Prevents division errors when the range is zero.
✅ Rounding Option:
Toggle rounding of position size for better readability.
✅ Clear Visual Representation:
Displayed as a histogram for easy interpretation.
Red bars for Wick Range, Blue bars for Candle Body calculations.
How to Use:
Add the indicator to your TradingView chart.
Set your Total Capital and Risk Percentage in the settings.
Choose a Calculation Method:
Wick Range: Uses High - Low for sizing.
Candle Body: Uses absolute difference of Close - Open.
If desired, enable Round Position Size for easier interpretation.
Observe the histogram bars to see the calculated position size for each candle.
This indicator is useful for risk management, ensuring that position sizes are aligned with account size and market volatility. 🚀
New Features & Fixes:
✅ User can select decimal precision (0 to 5 places) from the settings.
✅ If rounding is enabled, values are rounded based on the chosen precision.
✅ If rounding is disabled, original values are shown without forced rounding.
✅ Wick Range (Red) & Candle Body (Blue) are still plotted together.
Now, you have full control over how many decimal places to display! 🎯
Cryptogenik's Inflation-Adjusted Candles v2025Inflation-Adjusted Price Indicator by Cryptogenik
This indicator adjusts price data for inflation, allowing you to visualize how stock/asset prices would look with constant purchasing power. By using Consumer Price Index (CPI) data from FRED, it transforms nominal prices into inflation-adjusted values that reflect real-world purchasing power.
What This Indicator Does
The Inflation-Adjusted Price indicator converts traditional price charts to show what prices would be if the purchasing power of currency remained constant. This is essential for long-term analysis, as it removes the distortion caused by inflation when comparing prices across different time periods.
Key Features
Displays inflation-adjusted price candles alongside original prices
Uses official CPI data from the Federal Reserve (FRED:CPIAUCSL)
Allows easy comparison between nominal and real prices
Helps identify true price movements by filtering out the effects of inflation
Perfect for long-term investors and macroeconomic analysis
How To Use It
Apply the indicator to any chart
Green/red candles show the inflation-adjusted prices
Gray line shows the original unadjusted price
The information label displays the current CPI value
This indicator is particularly valuable for analyzing stocks, commodities, and other assets over periods of 5+ years, where inflation effects become significant. It helps answer the question: "Has this asset truly increased in value, or is the price increase just reflecting inflation?"
Technical Details
The indicator calculates adjusted prices using the formula: (price / CPI) * 100, which effectively shows prices as a percentage of current purchasing power. This approach normalizes all prices to a consistent standard, making historical comparisons more meaningful.
Cryptogenik's Inflation-Adjusted Candles v2025
cd_mtg_CxThis indicator is designed to show discount / premium zones and price gaps (fvg) on the screen within a rule.
Overview:
As it is known, the price continues its movement with swings and uses some zones to continue or reverse its movement. Commonly used of these zones are named by different traders such as supply / demand, order block, suport/ resistance zone. And again, many traders prefer to be involved in the entry when the price determined with the help of market structure reaches the premium / discount zones.
Expectation from the indicator and how it works:
Identify areas where the price is likely to react.
Zones to be determined for this purpose:
1- Discount / premium zones
2- Mitigation zones with price retesting
3- Price gaps (FVG's)
How is it determined?
1- Tracks the price in the higher timeframe it is alignment with, when the price violates the previous candle in the new candle (high/low), the previous candle's zones between top/bottom - middle levels.
high - middle => premium zone
low - middle => discount zone
and displays it on the screen.
2- Mitigation zones: When the price retests the discount/premium zones, those zones appear on the screen by extending to the last bar and are named as mitigation zones in the indicator.
3- Price gaps (FVG's): It is shown on the screen with known rules and higher time frame option.
Zones where the price does not respect are deleted from the display.
Settings:
- HTF for mitigation zones : Alignment high time frame selection
- HTF for FVG zones : Alignment high time frame selection
- Show HTF boxes : Show / hide
- Show Mitigation zones : Show / hide
- Show Discount/Premium zones: Show / hide
- Show FVG zones : Show / hide
And colors….
Screenshots and example :
The 15m chart is open on the screen and I select the alignment time zone H4. I select the higher time zone H1 in FVGs.
Screenshot with Show HTF boxes and Show FVG zones selected:
With show discount / premium zones selected :
With show mitigation zones selected :
Final Word : When the price comes to our zone, we take action together with other confirmations.
Our expectation from the zones is to send the price back to the region it came from.
If it is not successful, we should plan a reverse transaction.
Cheerful trades...
-- Türkçe Açıklama
Bu indikatör, bir kural dahilinde ucuzluk / pahalılık bölgelerini ve fiyat boşluklarını (fvg) ekranda göstermek ve traderlara en uygun yerde işlem fırsatı sunmak üzere tasarlanmıştır.
Genel Bakış :
Bilindiği gibi fiyat hareketine salınımlarla devam eder ve hareketine devam etmek ya da tersine dönmek için bazı bölgeleri kullanır. Bu bölgelerin yaygın şekilde kullanılanları supply / demand, order block , support /resistance zone gibi farklı ekollerce adlandırılmıştır. Ve yine birçok trader market yapısı yardımla belirlediği fiyatın ucuzluk / pahalılık bölgelerine gelmesiyle işleme dahil olmayı tercih eder.
İndikatörden beklenti ve nasıl çalışır:
Beklenti; Fiyatın tepki alması muhtemel bölgeleri belirlemesidir.
Bu amaçla belirleyeceği bölgeler:
1- Ucuzluk / pahalılık bölgeleri
2- Fiyatın tekrar test etmesiyle “mitigasyon bölgeleri/mitige”
3- Fiyat boşlukları (FVG ler)
Nasıl belirler ?
1- Fiyatı uyumlu olduğu üst zaman diliminde takip eder, fiyat yeni mumda bir önceki mumu ihlal ettiğinde (high/low), önceki mumun tepe/dip - orta seviyeleri arasında kalan bölgeleri
high - middle => premium zone
low - middle => discount zone
olarak belirler ve ekranda gösterir.
2- Mitigasyon bölgesi: Fiyat ucuzluk/ pahalılık bölgeleri yeniden test ettiğinde, o bölgeler son bara uzatılarak ekranda görünür ve indikatörde ismi “mitigation zone” olarak geçer.
3- Fiyat boşlukları (FVG) : Bilinen kurallarla ve üst zaman dilimi seçeneğiyle ekranda gösterilir.
Fiyatın saygı göstermediği bölgeler ekrandan silinir.
Ayarlar:
- HTF for mitigation zones : Uyumlu üst zaman dilimi seçimi
- HTF for FVG zones : Uyumlu üst zaman dilimi seçimi
Gösterim ve renk seçenekleri.
Ekran görüntüleri ve örnek : (İngilizce kısımda)
Son söz : Fiyat bölgemize geldiğinde diğer konfirmelerle birlikte işlem alıyoruz.
Bölgelerden beklentimiz fiyatı geldiği bölgeye tekrar göndermesidir.
Eğer başarılı olamazsa tersi yönde işlem planlamalıyız.
Neşeli tradeler...
Previous Day LevelsThis indicator plots the previous day's high, low, and 50% levels, providing a framework for analyzing price behavior relative to these key levels.
Full Description:
The Previous Day Levels indicator is a tool designed to help traders analyze price action based on key levels from the previous trading session. By plotting the high, low, and mid-point (50%) of the prior day’s range, traders can assess potential market bias and directional tendencies for the current trading day.
Key Features:
Plots the previous day’s high (100%), low (0%), and intermediate levels (25%, 50%, 75%).
Allows users to customize line visibility, color, style, and width.
Helps traders identify potential support and resistance zones.
Provides a bias framework for determining whether price is more likely to target the previous high or low based on behavior around the 50% level.
Use Case:
This indicator is particularly useful for intraday and short-term traders who incorporate price action into their strategy.
If price trades above the 50% level and holds, it suggests a bullish bias, indicating that price may aim for the previous day's high.
If price trades below the 50% level and holds, it suggests a bearish bias, indicating that price may aim for the previous day's low.
The high and low levels can act as key support and resistance zones, where price may react or reverse.
How to Use:
Apply the indicator to your chart.
Observe how price interacts with the 50% level.
Use price behavior around these levels to establish a directional bias.
Adjust the line styles and colors to match your personal preference.
Disclaimer:
This indicator is a tool for market analysis and does not provide financial advice. Always perform your own analysis and risk management when trading.
Strong Engulfing Candlestick (With Alerts)Detect only Strong Bullish and Strong Bearish Engulfing candle patterns and provide visual signals along with alerts.
Key Features
Bullish Engulfing Detection:
Conditions:
Current candle's close > open (bullish).
Previous candle's close < open (bearish).
Current candle's high ≥ Previous candle's high (includes wicks).
Current candle's low ≤ Previous candle's low (includes wicks).
The body of the current bullish candle is stronger than the previous bearish candle.
Signal: Plots a green upward arrow below the bar when conditions are met.
Bearish Engulfing Detection:
Conditions:
Current candle's close < open (bearish).
Previous candle's close > open (bullish).
Current candle's high ≥ Previous candle's high (includes wicks).
Current candle's low ≤ Previous candle's low (includes wicks).
The body of the current bearish candle is stronger than the previous bullish candle.
Signal: Plots a red downward arrow above the bar when conditions are met.
Alerts:
Custom alerts are included for both bullish and bearish engulfing patterns:
Bullish Alert Message: "Strong Bullish Engulfing detected!"
Bearish Alert Message: "Strong Bearish Engulfing detected!"
CLS Patterns + Price Action Levels📌 Key Features:
✅ CLS Candle Patterns Detection:
CLS Type 1 (Sweeps & Closes Opposite) – Confirms liquidity sweeps with opposite direction close.
CLS Type 2 (Sweeps but No Opposite Close) – Identifies liquidity traps without full reversal.
CLS Type 3 (Engulfing Candles) – Strong momentum shifts with engulfing price action.
CLS Type 4 (Order Block Reversals) – Institutional order flow recognition.
✅ Institutional & Price Action Levels:
250 Pip Institutional Levels – Major S&R zones for Forex & Indices.
Minor Quarter Points (25 Pips) – Intraday precision for refined entries.
✅ Liquidity Imbalance & Order Flow Gaps:
Detects early impulse moves & liquidity voids
Highlights areas of market inefficiency & potential reversals
✅ Higher Timeframe EMA for Trend Confirmation:
Customizable Weekly 3 EMA Overlay
Dynamic color change based on price action
✅ Built-in Alerts for CLS Patterns:
Real-time alerts for CLS buy/sell signals
Configurable notifications for trade execution
🎯 How to Use:
1️⃣ Enable CLS Pattern Signals to spot liquidity sweep candles with directional confirmation.
2️⃣ Use Institutional & QP Levels to identify key areas where price is likely to react.
3️⃣ Monitor Liquidity Imbalances to detect inefficient price moves that may fill.
4️⃣ Confirm Trend with HTF EMA to trade with momentum.
5️⃣ Set Alerts for CLS patterns and key price levels to stay ahead of the market.
This indicator is ideal for Forex, Indices, and Crypto traders looking to refine their entries with precise price action confirmations.
TWAP & VWAP CombinedThis script integrates Time Weighted Average Price (TWAP) and Volume Weighted Average Price (VWAP) into a single TradingView indicator, allowing traders to analyze both price-weighted and volume-weighted trends simultaneously.
Features:
TWAP Calculation:
Computes the average price over a specified anchor period (e.g., daily).
Resets and recalculates TWAP when the anchor period changes.
Uses the OHLC4 (Open, High, Low, Close average) as the default price source.
VWAP Calculation:
Computes the VWAP based on the selected anchor period (Session, Week, Month, etc.).
Allows the option to hide VWAP when the timeframe is 1D or higher.
Uses HLC3 (High, Low, Close average) as the default source.
Dynamically resets VWAP at the start of a new period.
Customization Options:
Users can modify the source price for TWAP and VWAP calculations.
Adjustable offsets for both indicators to shift plots forward or backward.
Ability to select different VWAP anchor periods, including earnings, dividends, and splits.
Error Handling:
Displays an error message if volume data is missing, ensuring VWAP functions correctly.
Mushir's Inside Candle IndicatorThis indicator detects inside candle formations on the chart’s current timeframe. It highlights when a candle’s range is fully engulfed by the previous candle’s range, provided the previous candle meets specific criteria.
How It Works ?
It shows the formation of inside candle on the charts to help in find trades.
Mother Candle Validation
The previous candle must be a “leg candle” with a strong body and minimal wicks relative to its body size, ensuring a robust structure.
Inside Candle Detection
The current candle qualifies as an inside candle if:
Its high is ≤ the previous candle’s high.
Its low is ≥ the previous candle’s low.
Why Use This Indicator?
Adapts to the chart’s current timeframe—no manual adjustments needed.
Easily gives you the identification of inside candles
Minimalistic Design
Better results in trending market
How to use it?
- when the inside candle is formed there are certain conditions:
1. if the next candle first crosses the high of inside candle, look for a potential buy trade with RR as 2:1 while stoploss being just below the low of inside candle.
2. if the next candle first crosses the low of inside candle, look for a potential sell trade with RR as 2:1 while stoploss being just above the high of inside candle.
3. if 2:1 is achieved, then increase the partial target to 3:1 while bringing the stoploss to the entry point.
4. if the high is crossed first and then the low is crossed or vice versa then the trade is invalidated.
Happy Trading!
IPDA Logic sessions🔹What Does This Indicator Do?
This indicator helps traders visualize trading sessions (Asia, Frankfurt, London, New York) and analyze key price levels, including:
✅ Previous Day’s High/Low (PDH/PDL) – for liquidity tracking
✅ New York Midnight (NYM) & True Daily Open (TDO) – essential for IPDA Logic
✅ Fractals (local highs and lows) – helps identify reversal points
This is a powerful tool for scalpers, intraday traders, and swing traders who need to track price movements within different trading sessions and monitor liquidity zones.
🔹 Key Features of the Indicator
✅ Trading Sessions Visualization
Highlights Asia, Frankfurt, London, and New York sessions with different colors
Allows traders to enable/disable each session individually
Customizable time zones for personalized trading styles
✅ Key Price Levels
PDH/PDL (Previous High/Low) – helps determine major liquidity zones
Daily Open (DO) – a crucial price level for market structure
New York Midnight (NYM) – used in professional IPDA Logic analysis
✅ Fractals for Market Structure
Displays local swing highs and lows
Option to choose between 3-candle and 5-candle fractals for more precise analysis
Helps traders spot potential reversal zones
🔹 What Makes This Indicator Unique?
🔥 Combines Trading Sessions & Fractals – Most TradingView indicators show either sessions or fractals, but not both in a structured way.
🔥 Flexible Customization – Traders can adjust timeframes, colors, and styles to fit their needs.
🔥 Historical Session Analysis – Review past sessions to identify liquidity pools and price movements.
🔥 Works for Different Trading Styles – Scalpers & swing traders can both benefit from this tool.
📌 How to Use It?
✔ Add the indicator to your chart
✔ Select the sessions, key levels, and fractals you want to display
✔ Use these levels to analyze liquidity, reversals, and market trends
This indicator is designed for those who want a clear visualization of sessions and a better understanding of liquidity behavior. 🚀📊
Mehul - ADX Zero LagThis script combines two popular technical indicators into a single visualization:
1. **Average Directional Index (ADX)**:
- Measures trend strength on a scale from 0-100 (now normalized to 0-1 by dividing by 100)
- Displayed as a red line
- Adjustable smoothing and length parameters
2. **Zero Lag MACD (Modified Moving Average Convergence Divergence)**:
- An enhanced version of the traditional MACD with reduced lag
- Shows the relationship between fast and slow moving averages
- Main components include:
- MACD line (black)
- Signal line (gray)
- Histogram (green for positive, purple for negative)
- EMA of the MACD line (red)
- Optional crossing dots
Key features of the combined indicator:
- **Scale Adjustment**: Both indicators can be scaled independently (adxScale and macdScale parameters)
- **Visibility Toggles**: Each indicator can be shown or hidden
- **Advanced Customization**: Parameters for both indicators can be fine-tuned
- **Algorithm Selection**: Option to choose between the "Glaz" algorithm or the "real" zero lag algorithm
- **Display Options**: Toggles for visualization elements like crossing dots
The most significant technical aspect is that both indicators are displayed in the same pane with compatible scaling, achieved by normalizing the ADX values and applying user-defined scale factors to both indicators.
This combined indicator is designed to give traders a comprehensive view of both trend strength (from ADX) and momentum/direction (from Zero Lag MACD) in a single, easy-to-read visualization.
GRID EXTENSIONGRID EXTENSION
Overview
The GRID EXTENSION is a simple grid-based indicator for TradingView, built with Pine Script v6. It plots horizontal price levels starting from a user-defined anchor price, with spacing set by a tick increment. Use it to identify key support, resistance, or price zones on charts for Crypto, Forex, or Futures.
Key Features
Custom Grid Levels: Plot up to 22 levels (e.g., 0, 0.25, 1.25, -2.50) with options to show/hide, set values, and choose colors.
Market-Specific Tick Increments: Select your asset type (Crypto, Forex, Futures) and choose from a range of tick increments tailored for each market:
Crypto: 1 to 5000 ticks (e.g., 100 ticks = $0.001 on ADA/USD, 5000 ticks = $50 on BTC/USD).
Forex: 5 to 5000 ticks (e.g., 100 ticks = 1 pip on EUR/USD, 5000 ticks = 50 pips).
Futures: 1 to 2500 ticks (e.g., 25 ticks = 6.25 points on E-mini S&P 500, $312.50 per contract).
Visual Options:
Extend lines to the right.
Show price and level labels (as values or percentages).
Place labels on the left or right.
Adjust background transparency for filled areas between levels.
How to Use
Set Asset Type: Choose "Crypto," "Forex," or "Futures" to match your chart.
Set Anchor Price: Enter a starting price for the grid.
Pick Tick Increment: Select a tick increment from the dropdown, following the guidance for your asset type (see Key Features).
Customize Levels: Turn levels on/off, set values, and pick colors.
Add to Chart: Apply the indicator to see the grid on your chart.
Tips
Use levels to mark support/resistance zones for entries or exits.
Extend lines to project future price zones.
Choose smaller increments (e.g., 5 ticks) for scalping, or larger ones (e.g., 1000 ticks) for swing trading.
Combine with indicators like moving averages for better signals.
Settings
Asset Type: Select "Crypto," "Forex," or "Futures" (default: "Crypto").
Anchor Price: Starting price for the grid (default: 0.0).
Tick Increment: Space between levels (options: 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000). Choose based on asset type.
Extend Right: Extend lines to the right (default: true).
Show Prices: Show price labels (default: true).
Show Levels: Show level values or percentages (default: true).
Format: Display levels as "Values" or "Percent" (default: "Values").
Labels Position: Place labels on "Left" or "Right" (default: "Left").
Background Transparency: Set transparency for filled areas (default: 100, range 0-100).
Level Options: Enable/disable levels, set values, and choose colors.
Notes
Set the anchor price to a key level (like a recent high or low) for best results.
Check the tick increment tooltip to ensure the spacing suits your market type.
Works on any chart, best for clear price trends or ranges.
Acknowledgments
Made with Pine Script v6 for TradingView. This is v1.0—feedback welcome for future updates!
Essa - Yearly High, Low & MidYearly High, Low & Midpoint Indicator
This TradingView indicator helps traders track key yearly price levels by plotting the high, low, and midpoint values for each year within a user-specified range.
Features & Functionality:
Automatic Yearly Calculation: Determines the highest and lowest price for each year and computes the midpoint as their average.
Clear & Customisable Visuals:
The Yearly High is plotted as a solid green line.
The Yearly Low appears as a solid red line.
The Midpoint is displayed as a blue dashed line for easy distinction
Detailed Labels:
Each level is labeled at the far right of the chart, showing the year, level type (High, Low, or Mid), and price (e.g., 2016 High - 1.20000).
Labels are right-aligned in white, ensuring clear visibility against any background.
This indicator is perfect for traders who rely on long-term technical analysis, providing a quick and structured way to visualise significant yearly price levels.
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.
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!
EUR - Intrinsic value🔹 Introduction
The EUR - Intrinsic Value indicator is a unique tool that reconstructs the intrinsic value of the euro by aggregating the main Forex pairs associated with the EUR. This indicator provides a clearer view of the overall trend of the euro , independently of any specific currency pair.
It allows traders to better anticipate movements in EURUSD , especially when combined with the U.S. Dollar Index (DXY) . By analyzing both, traders can identify moments of strong momentum and optimize their trade entries.
🔹 How to Use the Indicator?
1️⃣ Add the Indicator to a Chart: The indicator plots candles representing the intrinsic value of the EUR (see Technical information below).
2️⃣ Analyze the DXY Trend:
🔵 If DXY is rising → Bearish momentum likely for EURUSD and other USD pairs.
🔴 If DXY is falling → Bullish momentum likely for EURUSD and other USD pairs.
⚫ If DXY is ranging → Consolidation likely, be cautious of false breakouts .
3️⃣ Confirm with EUR:
🔥 DXY falling + EUR rising → EURUSD likely to surge with strong momentum 📈
❄️ DXY rising + EUR falling → EURUSD likely to drop with strong momentum 📉
4️⃣ Adjust Strategy Based on Context: Wait for confirmations at key support/resistance levels and use other tools to validate trade entries.
🔹 What Value Does This Indicator Provide ?
The EUR - Intrinsic Value indicator offers multiple advantages for trading EURUSD and other EUR-related pairs:
✅ Trend Identification: Determine if the euro is in an uptrend, downtrend, or consolidation phase , regardless of individual currency fluctuations.
✅ Better Trade Timing: Combining this indicator with the Dollar Index (DXY) helps detect setups where EURUSD is likely to experience strong momentum .
✅ A Complementary Tool for Price Action : Use this indicator alongside other technical tools to confirm optimal trade entry/exit points.
🔹 Visual Examples
Shift in market structure in DXY and in EUR in the same time , giving a trend and strong momentum on EURUSD :
This indicator works on any timeframe (even sub 1m)
Note : I use Watermark° script from toodegrees , to show the currency and the timeframe on the top right of charts.
🔹 How Does the Indicator Work?
The indicator is based on a weighted average of the euro’s movements against seven major currencies:
📌 Currencies Included in the Calculation:
EURUSD (Euro vs U.S. Dollar)
EURCAD (Euro vs Canadian Dollar)
EURGBP (Euro vs British Pound)
EURCHF (Euro vs Swiss Franc)
EURAUD (Euro vs Australian Dollar)
EURNZD (Euro vs New Zealand Dollar)
EURJPY (Euro vs Japanese Yen)
The indicator extracts opening, closing, high, and low prices from each pair and create an independent value of the EUR , displayed as a custom candle chart.
🔹 Why Is This Indicator Unique?
Unlike traditional indicators that rely on a single pair, this tool artificially recreates an index for the euro by combining multiple currency pairs. This gives a broader perspective and helps traders to better time entry/exit points .
Rather than relying on a simple average , it accounts for the dynamic changes in EUR across multiple markets simultaneously .
🔹 Technical Information
📊 Display: Custom candles representing the intrinsic value of the EUR.
⏳ Supported Timeframes: Compatible with all timeframes.
⚠️ Limitations:
This indicator does not provide direct buy/sell signals but serves as a contextual tool to improve EUR trading decisions.
This is an indicator, it means you can't use other indicators on it .
You can draw on it, but your draws will not be able to stay magnet to the EUR indicator
Follow this three simple steps below to use this indicator on TradingView :
Select any forex pair on your chart (important to get a correct chart)
Hide it by clicking the 3 dots and then "Hide"
Add the "EUR - Intrisic value" indicator to your chart and set it as Full screen
🔹 Conclusion
The EUR - Intrinsic Value indicator is a powerful tool for traders looking to anticipate euro movements in the Forex market. By combining it with DXY and other technical analysis tools, it provides a clearer understanding of trading opportunities , reducing false signals and improving decision-making.
🚀 Use this indicator to refine your trade entries and capitalize on the best market opportunities! 🔥
⚠️ Terms and Conditions ⚠️
This financial tool is for educational purposes only and not financial advice. Users assume responsability for decisions made based on the tool's information.
Past performance doesn't guarantee future results.
By using this tool, users agree to these terms.
Range%This indicator displays the range of each candle i.e. High minus Low as a percentage of the previous closing price. It does not account for gaps, making it particularly useful for intraday trading. By tracking the volatility cycle of candles, this indicator helps identify periods of increased or decreased market volatility, allowing traders to pinpoint the best days to execute trades.
If the Range% is below low line candles will turn White and If Range% is above the High Line Candles will turn Red.
Zone Marker ProZone Marker Pro – Advanced Market Zone Identification Tool
This indicator applies a dynamic price zone detection model built on custom logic, inspired by trend-following methodologies. It helps traders visualize market structure through zone detection and price retest markers.
🔹 Key Features:
✅ Identifies key price zones – Automatically detects significant areas where price reactions may occur.
✅ Dynamic Zone Adaptation – Adjusts to price changes, improving visibility of market conditions.
✅ Clear visualization of market zones – Highlights price areas for enhanced analysis.
✅ Custom alerts for market zone tracking – Set notifications when price reaches relevant levels.
✅ Supports market zone analysis across different timeframes.
📌 How to Use Zone Marker Pro?
1️⃣ Add the indicator to your chart – It will automatically highlight important price zones.
2️⃣ Observe visual markers – Blue and purple labels indicate key market reaction areas.
3️⃣ Utilize built-in alerts – Receive updates when price enters important zones.
4️⃣ Monitor multi-timeframe data – The table in the top right provides an overview of detected market zones.
🚀 Why Use Zone Marker Pro?
🔹 Helps identify important price levels without manual zone drawing.
🔹 Adjusts dynamically to price structure and volatility.
🔹 Useful for traders who want to track market zone formations.
🔹 Designed to enhance market zone identification and should be used alongside other analysis methods.
💡 This indicator does not generate trading signals but serves as a market analysis tool for identifying dynamic price zones.
✅ Additional Notes:
This indicator uses a custom methodology to identify key price zones.
Designed for traders who seek a clearer market overview and faster reaction to price movements.
🛠 Recommended for: Forex, cryptocurrencies, stocks, indices.
📢 Enable alerts and optimize your market analysis with Zone Marker Pro! 🚀