Holding Zone Input Parameters
The script has three input parameters:
· length: an integer input with a default value of 20, likely used for calculating moving averages or other indicators.
· zoneSize: a decimal input with a default value of 1.5, likely used to define the size of the "holding zone".
· entryZone: an integer input with a default value of 50, likely used to define the entry point for the strategy.
Calculate Holding Zone
The script calculates two values:
· highs: the highest high over the last length bars.
· lows: the lowest low over the last length bars.
Then, it calculates the zoneHigh and zoneLow values by subtracting/adding a fraction of the difference between highs and lows from/to highs and lows, respectively. This creates a "holding zone" between zoneHigh and zoneLow.
Plot Holding Zone
Finally, the script plots two lines:
· zoneHigh with a blue color and a linewidth of 2.
· zoneLow with a blue color and a linewidth of 2.
________________________________________________________________
For the 15 min timeframe I use the parameters 10 for the length, 0.5 for the zone size and 20 for the entry zone. this makes it more sensitive to price
Komut dosyalarını "zone" için ara
Moon Zone by AshThis script is designed to highlight monthly zones on a TradingView chart. Each month is assigned a different color for easy identification. The chosen colors have high contrast, making them suitable for a white background. The transparency of the monthly zones is set to 90 to provide a softer effect on the chart. You can save and add this script to your TradingView chart to visualize the highlighted monthly zones with distinct colors. If there are preferences to adjust the colors, you can edit the color values in the script according to your liking.
Typical Price Difference - TPD © with reversal zones and signalsv1.0 NOTE: The maths have been tested only for BTC and weekly time frame.
This is a concept that I came through after long long hours of VWAP trading and scalping.
The idea is pretty simple:
1) Typical Price is calculated by (h+l+c) / 3. If we take this price and adjust it to volume we get the VWAP value. The difference between this value and the close value, i call it " Typical Price Difference - TPD ".
2) We get the Historical Volatility as calculated by TradingView script and we add it up to TPD and divide it by two (average). This is what I call " The Source - TS ".
3) We apply the CCI formula to TS .
4) We calculate the Rate of Change (roc) of the CCI formula.
5) We apply the VIX FIX of Larry Williams (script used is from ChrisMoody - CM_Williams_Vix_Fix Finds Market Bottoms) *brilliant script!!!
How to use it:
a) When the (3) is over the TPD we have a bullish bias (green area). When it's under we have a bearish bias (red area).
b) If the (1) value goes over or under a certain value (CAUTION!!! it varies in different assets or timeframes) we get a Reversal Zone (RZ). Red/Green background.
c) If we are in a RZ and the VIX FIX gives a strong value (look for green bars in histogram) and roc (4) goes in the opposite direction, we get a reversal signal that works for the next week(s).
I applied this to BTC on a weekly time frame and after some corrections, it gives pretty good reversal zones and signals. Especially bottoms. Also look for divergences in the zones/signals.
As I said I have tested and confirmed it only on BTC/weekly. I need more time with the maths and pine to automatically adjust it to other time frames. You can play with it in different assets or time frames to find best settings by hand.
Feel free to share your thoughts or ideas on this.
P.S. I realy realy realy try to remember when or how or why I came up with the idea to combine typical price with historical volatility and CCI. I can't! It doesn't make any sense LOL
Impactful pattern and candles pattern AlertThe Alertion indicator!
impactful pattern:
pattern that happen near the zone or in the zone at lower timeframe and give us entry and stop limit price.
It is helpful for price action traders and those who want to decrease their risk.
There are 3 IP patterns:
Quasimodo
Head and shoulder
whipsaw engulfing
These patterns may occur near the zone or may not occur but by them, you can decrease your trading risk for example you can
trade with half lot before IP pattern and enter with other half after pattern.
how to use?
for example:
you find zone at 1h timeframe for short position
when price enter to your zone
you run this indicator and choose your lower timeframe, for example 15m and click on short position.
Then make the alert by right-click on your chart and choose the add alert and at condition box choose the impactful pattern and then click on create
now wait for message :)
Candles pattern:
like reversal bar, key reversal bar, exhaustion bar, pin bar, two-bar reversal, tree-bar reversal, inside bar, outside bar
these occur when the trend turn, so it is usable when the price enter to your zone or near your zone.
This pattern can decrease your risk.
Inside bar and outside bar:
if this pattern engulf up, it is bullish pattern and if engulf down, it is bearish pattern.
what does this indicator do?
this indicator is for making alert
it helps you to decrease your risk and failure.
You optimize it to alert you when IP pattern happen or candle pattern happen or inside bar or outside bar engulfing or all of them.
For IP pattern, it will message you entry and stop limit price.
It works at 2 different timeframes, so you can make alert for example in 1h TF for candles pattern and 15m TF for IP pattern.
Indicator will alert you for candles pattern at your chart timeframe and for IP pattern at timeframe you've chosen when you run the indicator, and it is changeable
in setting.
setting options
TIMEFRAME
IP: select the timeframe for IP patterns it means when IP pattern happen at that timeframe the indicator will alert you
example = your TF is 1h, you found the supply zone and want to trade, note that IP pattern happen in lower TF, so you select 15m TF or TF lower than 1h.
Short position: select it if you want to make short position.
BUFFERING
indicator send you entry and stop limit price
you can change it by amount of percent
it is your strategy to change your entry and stop loss or not
example= in head and shoulder pattern at short position, the stop limit is high price of head in pattern
so the indicator will message you the exact price but if you want to put
your stop limit 5 percent upper than exact price you can enter 5 in front of stop loss
or you want to enter 5 percent lower than exact high price of shoulder, you can optimize it.
ALERTION
you choose what alert you want
IP alert or candle alert or inside and outside bar alert
type your text for alert
you can write additional text for your message
ADVANCE
IP alert frequency option:
1. Once per bar : indicator will alert you for IP pattern once at your chat timeframe bar, and you should wait til next bar for next alert.
2. Once per bar close : alert you when your chart timeframe bar closed and next alert will happen when next bar is closed.
3. All: alert you all the times IP pattern happen
pivot left and right bars: lower will find smaller pattern
at the END:
this indicator is not strategy
it is part of your strategy that help you to increase your winning rate.
It is helpful for scalping and candle patterns finding.
After you make an alert, you can delete the indicator or change your timeframe or make another alert, your previous alert won’t change.
Thank you all.
Unrecovered Imbalanced Zone with PVRSAThis indicator highlights imbalanced PVSRA candles that have not been recovered.
Bullish Candles/Zones
200% Volume = Green
150% Volume = Blue
Bearish Candles/Zones
200% Volume = Red
150% Volume = Fuchsia
Imbalanced Zones with normal/below 150% Average 10ema volume can be displayed or hidden from view (Hidden by default)
Support and Resistance Multiperiod (Zig Zag Based)Support and Resistance Multiperiod (Zig Zag Based)
What is the indicator?
• The indicator is a multi period (up to 5 lengths) Support and Resistance indicator calculated based on Zig Zag.
Who can use?
Scalpers to Long term investors
What timeframe to use?
• Any timeframe
What are the lines?
• Green lines are Support levels.
• Orange lines are Resistance levels.
How to use?
• Buy Low and Sell High.
• Brighter zones means strong Support or Resistance.
• Weaker zones appear lighter.
• Brighter zones are formed by overlapping of lines from multiple levels of support or resistance.
Indicator Menu
• The indicator can input 5 different Lengths.
• The default settings uses 13, 21, 52, 100 & 200.
• Every option are customizable.
Congestion ZoneCongestion zone include at least 3 candle sticks that the next candle has an opening and closing price within the previous candle
When the price returns to the congested zone there is a possibility of a reversal
The congestion zone is used as a support-resistance area and is used by price action traders.
This script will highlight congestion zones, this will help PA Traders find out them easily.
Multiple MAs + No Trend Zone + ATR WidgetThis is my first Pine Script attempt. Nothing special, just an "all in one" for the most common things I use, and what I have found to be the most common in a lot of strategies.
Great for free and limited accounts as it combines 7 total indicators into one.
-- First 5 indicators are Independant Moving Averages:
-Each one can be set for length, as well as source and type (SMA, EMA, SMMA, WMA, VWMA) individually
-- Second type (6th) of indicator is one I find extremly useful for staying OUT of consolidation trading. It's called a "No Trend Zone" indicator I swipped from the Hoffman Startegy. Basically, its set for a small deviation (0.5) of a 35 EMA, which creates a "Band" around the 35 line. When you have this "Band" flat or with no discernable incline/decline, with price action OR some or multiple moving averages inside this banded zone, it typically indicates a zone of consolidation. This will help you identify when you may be in one of those zones, that way you don't get trapped "waiting for paint to dry" before the market starts to move again with your position, and keep you from entering should you be considering the market at that time.
The last indicator is my favorite, and one I will refine a little deeper soon.
-- The ATR widget finishes us out. This widget can be customized for colors, turned on or off, and automatically rounds the ATR (ATR period based on the chart timeframe) to a nice readable number for what you're trading. It has settings to show or not, the length, what rounding style to use (forex pip 0.0001, forex/stock/etf/indicies 0.01) where to show it on the pane, a Multiplier Factor (for stop loss calculations automatically) and the colors.
***NOTE ABOUT ATR WIDGET:
I am primarily a forex trader, so the defaults are for Forex 0.0001. If you see some odd numbers (like 55798 on a current chart), check the inputs tab on the settings, and change the "ATR Style" from "Forex 0.0001" to "Forex/Stock/ETF/Indicies 0.01", and you should arrive with the correct number.
BTC 1D Safety tradeImportant: use only the BTC/USD pair on the 1D timeframe
The indicator is designed to determine the zones for entry to buy or sell, as well as for closing deals.
The indicator is based on a moving average with a period of 12.
The parameters are not changeable, since the optimal settings (Safety trade) were used for the BTC/USD pair on the 1D timeframe.
The code is open, please change it according to your parameters.
Upper zones for closing long or opening short.
Lower zones for opening long or closing short.
Heat Zone Relative Volatility Index 2.0v2 of Heat Zone RVI
• Updated aesthetics and added various alerts.
• The use of temperature descriptions with these Heat Zone scripts is more so metaphoric of the interpretations from what the RVI attempts to indicate primarily.
--- Due to the additions of the Overheated and Freezing Zones , the indicator-pane scaling is a little different from the original Heat Zone RVI .
Ex.)
--- If you like the scaling the way it was on v1, you can change it back by going into the settings , opening up the style page, and unchecking/turning off the Overheated Top Line as well as the Freezing Bottom Line . Otherwise, you can leave the settings be in regards to this matter.
Ex.)
Disclaimer : I am by no means a highly skilled or professional coder/programmer. I just enjoy dabbling and tinkering every now and again.
HOPE YOU ENJOY
[PX] Pivot ZonesHello everyone,
I was having some fun with the new gradient function, arrays and pivots. Decided that i would publish my little playground :)
This script basically draws lines or zones for detected pivot high and lows and counts the number of candles those levels have been untested.
Tested levels will stop at the candle, which breaks them.
How does it work?
- Define the number of candles that make up the pivot point with the "Pivot Left" and "Pivot Right" parameter (I took more extreme values to showcase the indicator).
- Select your "Layout Type": This can be either a line at the pivot point, a zone between the pivot point and its body or the average of the two.
- You can in-/decrease the number of lines with the "Number of Lines/Zones" parameter.
The older a line becomes the more it will lose of its original transparency.
Hope that might be useful to some of you :)
Please click the "Like"-button and follow me for future open-source script publications.
If you are looking for help with your custom PineScript development, don't hesitate to contact me directly here on Tradingview or through the link in my signature :)
Dynamic Price ZoneThis indicator dynamically divides the price range into six zones.
1. Over Resistance (Strong up trend)
2. UpperMiddle to Resistance
3. Middle to UpperMiddle
4. Middle to LowerMiidle
5. LowerMiddle to Support
6. Under Support (Strong down Trend)
Resistance and Support are calculated by HMA.
Usage:
It is recommended to use this indicator on the higher time frames.
The image is 15 minutes chart and resolution 1hour for indicator.
Pay attention to whether the range from resistance to support is shrinking or expanding!
A major trend begins with a break in resistance and support.
The five lines also work as a support or resistance.
When the zone changes, the price is likely to reach the next line.
UpperMiddle and LowerMiddle settings can be selected from 3 types.
75%, 66%, 61.8%(fibonacci) for UpperMiddle.
GMS: Mr. Yen's Color ZoneThis is Mr. Yen's color zone. I have also added an input to adjust the sizes of each box. Mainly targeted for MES and ES.
The default settings are as he describes:
white line is the previous day close
red zone = +/- 20 from the previous day close
yellow zone = +/- 40 from the previous day close
green zone = +/- 60 from the previous day close
blue zone = +/- 100 from the previous day close
The source code is open, so feel free to take a look and see whats up. This indicator is quite similar to his, however there is a gap at the cash close to overnight open on his chart that I'm not sure how to adjust for. In any case, this one is still pretty good!
I hope it helps,
Andre
Underworld Hunter + Base ZoneUnderworld Hunter + Base Zone is designed to keep traders out of ranging markets by establishing a "dead zone" between the bands where price may be choppy or trends may be short lived. The original Underworld Hunter from @greenmask9 adapted Bollinger Bands by changing the basis from SMA to the EMA of the EMA of the EMA. This version now allows the user to select which moving average they would like to utilize for the calculation.
If price is outside of the upper bands, price may be bullish. If price is outside the lower bands, price may be bearish.
If price is within the green or red areas of the bands, a trend may be forming.
The system also plots when RSI has become over extended above the thresholds selected (70/20 is the default).
MA Period is the length/period the moving average is calculated with
MA Mode is the type of moving average that will be utilized in the basis calculation
The "Standard MA Calculation" Option changes the basis to calculate the moving average selected in MA Mode only once, instead of 3 times
Deviation 1 and Deviation 2 determine how far the dead zone bands will be from the basis
RSI Period is the length/period the RSI function is calculated with
RSI Extended - High Cutoff is the level RSI must reach to be marked as over extended. Most traders refer to this zone as "Overbought"
RSI Extended - Low Cutoff is the level RSI must reach to be marked as over extended. Most traders refer to this zone as "Oversold"
As many NNFx traders know, overbought and oversold essentially do not exist, though the zones can still be utilized
The remaining options are utilized for specific moving average calculations and are set to what is typically considered as "standard" for their values.
There are many options available for this code. The code has not been optimized but merely compiled. Settings should be adjusted for the instrument(s) you are trading.
Adapted from user @greenmask9
Multiple MA Options Credits to @Fractured and @lejmer
Bits and Pieces from @AlexGrover, @Montyjus, and @Jiehonglim
As always, trade at your own risk.
Indicators: Volume Zone Indicator & Price Zone IndicatorVolume Zone Indicator (VZO) and Price Zone Indicator (PZO) are by Waleed Aly Khalil.
Volume Zone Indicator (VZO)
------------------------------------------------------------
VZO is a leading volume oscillator that evaluates volume in relation to the direction of the net price change on each bar.
A value of 40 or above shows bullish accumulation. Low values (< 40) are bearish. Near zero or between +/- 20, the market is either in consolidation or near a break out. When VZO is near +/- 60, an end to the bull/bear run should be expected soon. If that run has been opposite to the long term price trend direction, then a reversal often will occur.
Traditional way of looking at this also works:
* +/- 40 levels are overbought / oversold
* +/- 60 levels are extreme overbought / oversold
More info:
drive.google.com
Price Zone Indicator (PZO)
------------------------------------------------------------
PZO is interpreted the same way as VZO (same formula with "close" substituted for "volume").
Chart Markings
------------------------------------------------------------
In the chart above,
* The red circles indicate a run-end (or reversal) zones (VZO +/- 60).
* Blue rectangle shows the consolidation zone (VZO betwen +/- 20)
I have been trying out VZO only for a week now, but I think this has lot of potential. Give it a try, let me know what you think.
Smart Money Signal Engine (Smart Liquidity Zone - Anchored)🧭 Smart Liquidity Zone Indicator – Simple Guide
✅ What This Does
This tool helps you spot:
1. Smart Money Buy Zones (green box)
2. Fake Breakouts (trap alerts)
3. Real Breakouts (momentum alerts)
⸻
1. 🟩 Liquidity Zone (Green Box)
What it means:
Where big players (smart money) are likely interested in buying.
What you do:
• If price enters the box and holds → consider buying
• If price drops through fast → wait or look for short setups
⸻
2. 🔴 Trap Alert (Smart Money Trap)
What it means:
Price goes up fast with volume…
But no real buying power underneath = likely fakeout
On chart:
You’ll see a red label that says “Trap”
What you do:
• ❌ Don’t chase the pump
• ✅ Wait for reversal or short entry
⸻
3. 🟢 Breakout Alert
What it means:
Price breaks above a key level with strong volume
Smart money is likely behind the move
On chart:
You’ll see a green label that says “Breakout”
What you do:
• ✅ You can enter a momentum trade
• ✅ Place stop below previous structure
⸻
🔔 How to Turn on Alerts
Go to:
• TradingView > Alerts > Condition
• Choose:
• Smart Money Trap Alert
• Breakout Confirmed Alert
This way, TradingView notifies you instantly when:
• A fakeout is happening
• A real breakout begins
Pivot ATR Zones [v6]🟩 Pivot ATR Zones
Overview:
The Pivot ATR Zones indicator plots dynamic support and resistance zones based on pivot highs and lows, combined with ATR (Average True Range) volatility levels. It helps traders visually identify potential long and short trade areas, along with realistic target and stop loss zones based on market conditions.
Features:
Automatically detects pivot highs and lows
Draws ATR-based entry zones on the chart
Plots dynamic take-profit and stop-loss levels using ATR multipliers
Color-coded long (green) and short (red) zones
Entry arrow markers for clearer trade visualization
Real-time alerts when new zones form
Best For:
Scalpers, intraday traders, and swing traders who want a visual, volatility-aware way to mark potential trade areas based on key pivot structures.
How to Use:
Look for newly formed green zones for long opportunities and red zones for short setups.
Use the dashed lines as dynamic take-profit and stop levels, tuned to the current ATR value.
Combine with other confirmation tools or indicators for optimal results.
CandelaCharts - Liquidity Key Zones (LKZ)📝 Overview
The Liquidity Key Zones indicator displays the previous high and low levels for daily, weekly, monthly, quarterly, and yearly timeframes. These levels serve as crucial price zones for trading any market or instrument. They are also high-probability reaction zones, ideal for trading using straightforward confirmation patterns.
Each of these levels plays a significant role in determining whether the market continues its momentum or reverses its bias. I like to think of these levels as dual magnets—they simultaneously attract and repel price. You might wonder how having opposing views can be useful. The key is to remain neutral about direction and establish your own rules to identify when these zones are likely to attract or repel price. I have my own set of rules, and you can develop yours.
📦 Features
MTF
Styling
⚙️ Settings
Day: Shows previous day levels
Week: Shows previous week levels
Month: Shows previous month levels
Quarter: Shows previous quarter levels
Year: Shows previous year levels
Show Average: Shows previous level average price
Show Open: Shows previous level open price
⚡️ Showcase
Daily
Weekly
Monthly
Quarterly
Yearly
Average
Open
📒 Usage
When the price breaks through a significant level, such as a daily, weekly, or monthly high or low, it often signals a potential reversal in market direction. This occurs because these levels represent key areas of support or resistance, where traders anticipate heightened activity, including profit-taking, stop-loss orders, or new positions being initiated.
Once the price breaches these levels, it may trigger a sharp reaction as market participants adjust their strategies, leading to a reversal. Monitoring price action and volume around these levels can provide valuable confirmation of such reversals.
Another effective approach to utilizing these pivot points is by incorporating them into a structured trading strategy, such as the X Model, which leverages multiple timeframes and technical tools to refine trade entries and exits.
X Model conditions:
(D1) Previous Day High (ERL)
(H1) Bullish FVG/IFVG/OB (IRL)
(m15) MSS / SMT
Only Short Above 00:00
By combining these elements, the X Model offers a comprehensive framework for leveraging pivot levels effectively, emphasizing confluence between liquidity zones, time-based rules, and multi-timeframe analysis to enhance trading accuracy and consistency.
🚨 Alerts
This script provides alert options for all signals.
Bearish Signal
A bearish signal is generated when the price breaks below the previous low level.
Bullish Signal
A bullish signal is generated when the price breaks above the previous low level.
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
Pressure Zones with MA [SYNC & TRADE]Description:
The "Pressure Zones with MA " indicator is designed to analyze the pressure of buyers and sellers on the market, as well as to identify areas of increased activity. When designing it, the main task was to see manipulations on the market, when the power of sellers or the power of buyers is in a sideways trend or falling, and the opposite is growing.
Here is a good example. The power of sellers is in a narrow sideways trend, and sales are increasing very aggressively. The power of buyers is in a gray block with the inscription "range". Then we see the fading of the power of sellers and buyers furiously pounce on the asset that has fallen in price.
Here are the main aspects of its operation and use:
First, turn off the moving averages in the indicator settings, on the "style" tab. Choose your favorite asset, which you understand well and know all its ups and downs. I want you to see a clean chart, so that you can be imbued with a new idea, you need to watch it. This is a proprietary indicator and I understand that it does not have the inscription “buy” / “sell”, but believe me, if you pay attention, you will see its strength. I usually add functionality later, but the light code and visualization remain preferable in the first version.
Purpose:
The indicator helps to determine the strength of buyers and sellers in the market.
It visualizes zones where the pressure of buyers or sellers prevails.
Additionally displays moving averages (MA) for data smoothing.
Main components:
Buyer strength chart (blue line)
Seller strength chart (red line)
Moving averages for buyer and seller strength
Threshold line for defining zones
Indicator settings:
Period: defines the base period for calculations (default 89)
Threshold: sets the level for defining pressure zones (from 0 to 2, default 0.8)
MA type for purchases and sales: select the type of moving average (SMA, EMA, RMA, WMA, VWMA, HMA)
MA length for purchases and sales: period for calculating moving averages
Colors for uptrends and downtrends of MA
Moving averages:
Help smooth out data and identify trends
The direction of the MA (up or down) further confirms the current trend
The color of the MA changes depending on the direction (blue for up, red for down)
Now you can turn them on and see how they help in understanding where one or another force is weakening. It is in this case that we see the intersection of forces and the sellers' force is moving aggressively upward. Also, according to the moving average, we see the weakening of the sellers' force. The buyers' force was in the sideways range and then switched on to buy out and also according to the moving average, it is clear where the main interest in purchases disappeared.
Use:
Observe the strength of buyers and sellers relative to each other. They can move simultaneously in one direction, this is regarded as balance
can move in different directions and this will strengthen the upward force of sellers or buyers
You may also notice that the movement of one of the forces will be in a narrow range and the second will grow strongly - this is manipulation or trading without resistance.
You can also play with the threshold line, but it is not the main thing here. I disabled this function in the code.
// Display zones
//bgcolor(buy_zone ? color.new(color.blue, 90) : na)
//bgcolor(sell_zone ? color.new(color.red, 90) : na)
If you want to enable it, copy it instead
// Display zones
bgcolor(buy_zone ? color.new(color.blue, 90) : na)
bgcolor(sell_zone ? color.new(color.red, 90) : na)
Pay attention to the intersection of forces.
Use crossovers of force lines and their moving averages as potential signals
Combine the indicator signals with other technical analysis tools for confirmation
Limitations:
Requires customization of parameters for a specific trading instrument and timeframe
The indicator should not be used as the only tool for making trading decisions
Remember that this indicator provides additional information for market analysis, but is not a guarantee of successful trades. Always combine it with other analysis methods and follow risk management rules.
Описание:
Индикатор "Pressure Zones with MA " предназначен для анализа давления покупателей и продавцов на рынке, а также для определения зон повышенной активности. При его проектировании основная задача была увидеть манипуляции на рынке, когда сила продавцов или сила покупателей стоит в боковике или падает, а противоположная растет.
Вот хороший пример. Сила продавцов стоит в узком боковике, а продажи очень агрессивно усиливаются. Сила покупателей в сером блоке с надписью “range”. Потом мы видим затухание силы продавцов и покупателей яростно накидываются на подешевевший актив.
Вот основные аспекты его работы и использования:
Для начала отключите средние скользящие в настройках индикатора, на закладке “стиль”. Выберите свой любимый актив, в котором вы хорошо разбираетесь и знаете его все взлеты и падения. Я хочу чтобы вы увидели чистый график, для того чтобы вы могли проникнутся новой идеей нужно понаблюдать за ним. Это авторский индикатор и я понимаю что на нем нет надписи “купить” / “продать”, но поверьте уделив свое внимание вы увидите его силу. Я обычно потом добавляю функционал но легкий код и визуализация, в первом варианте остается предпочтительней.
Назначение:
Индикатор помогает определить силу покупателей и продавцов на рынке.
Он визуализирует зоны, где преобладает давление покупателей или продавцов.
Дополнительно отображает скользящие средние (MA) для сглаживания данных.
Основные компоненты:
График силы покупателей (синяя линия)
График силы продавцов (красная линия)
Скользящие средние для силы покупателей и продавцов
Пороговая линия для определения зон
Настройки индикатора:
Период (Period): определяет базовый период для расчетов (по умолчанию 89)
Порог (Threshold): устанавливает уровень для определения зон давления (от 0 до 2, по умолчанию 0.8)
Тип MA для покупок и продаж: выбор типа скользящей средней (SMA, EMA, RMA, WMA, VWMA, HMA)
Длина MA для покупок и продаж: период для расчета скользящих средних
Цвета для восходящего и нисходящего трендов MA
Скользящие средние:
Помогают сглаживать данные и выявлять тренды
Направление MA (вверх или вниз) дополнительно подтверждает текущий тренд
Цвет MA меняется в зависимости от направления (синий для восходящего, красный для нисходящего)
Теперь вы можете их включить и посмотреть как они помогают в понимании где ослабевает та или иная сила. Именно в этом случае мы видим пересечение сил и сила продавцов идет агрессивно вверх. Также по средней скользящей мы видим затухание силы продавцов. Сила покупателей стояла в боковике потом включилась на откуп и также по средней скользящей видно где пропал основной интерес к покупкам.
Использование:
Наблюдайте за силой покупателей и продавцов относительно друг друга. Они могут двигаться одновременно в одном направлении это расценивается как баланс
могут двигаться в разных направлениях и это будет усиливать восходящую силу продавцов или покупателей
также возможно вы заметите что движение одной из силы будет в узком диапазоне а вторая будет сильно расти - это манипуляция или торговля без сопротивления.
Также можете поиграть с пороговой линией, но она совершенно не главная здесь. В коде я отключил эту функцию.
// Display zones
//bgcolor(buy_zone ? color.new(color.blue, 90) : na)
//bgcolor(sell_zone ? color.new(color.red, 90) : na)
Если захотите включить скопируйте вместо нее
// Display zones
bgcolor(buy_zone ? color.new(color.blue, 90) : na)
bgcolor(sell_zone ? color.new(color.red, 90) : na)
Обращайте внимание на пересечение сил.
Используйте пересечения линий силы и их скользящих средних как потенциальные сигналы
Комбинируйте сигналы индикатора с другими инструментами технического анализа для подтверждения
Ограничения:
Требуется настройка параметров под конкретный торговый инструмент и таймфрейм
Не следует использовать индикатор как единственный инструмент для принятия торговых решений
Помните, что этот индикатор предоставляет дополнительную информацию для анализа рынка, но не является гарантией успешных сделок. Всегда сочетайте его с другими методами анализа и соблюдайте правила управления рисками.
Time Zone Box & Alerts (Simplified)### Description
This Pine Script indicator is designed for TradingView and provides functionality for drawing time-based boxes on the chart, as well as generating alerts and labels. It is particularly useful for visualizing specific time ranges within each trading day and managing alerts based on those time intervals.
#### **Features:**
1. **Box Drawing for Specific Time Ranges**:
- **Time Interval Customization**: Allows users to specify the start and end times for the box using inputs (e.g., from 9:30 AM to 12:30 PM). The box will automatically adjust based on these times.
- **Historical Data**: The script calculates the high and low prices within the specified time range and draws a box accordingly. This box will be created for each trading day, capturing all relevant historical data within the defined time interval.
2. **Dynamic Alerts**:
- **Custom Alerts**: Users can define custom alert messages for specific times within the trading day (e.g., before and after the trading range). Alerts are triggered once per bar close at the specified times.
3. **Labels for Key Time Points**:
- **Customizable Labels**: Labels can be added at specific times to indicate important trading actions (e.g., "No Trade," "Open Trade," and "Close Trade"). The text, color, and size of these labels are customizable.
- **Label Display**: Labels appear on the chart at defined times to provide visual cues for trading decisions.
4. **Visual Customization**:
- **Box and Label Colors**: Users can choose colors for the box and labels to match their preferences or trading setup.
- **Box Transparency**: The box can be customized with varying levels of transparency to enhance chart visibility.
#### **Usage:**
1. **Set Up Time Intervals**: Define the start and end times for the box using the input fields. Adjust these settings to fit your trading strategy and time zones.
2. **Adjust Alerts and Labels**: Customize the alert messages and label text to fit your trading plan.
3. **Apply to Chart**: Add the script to your TradingView chart to visualize the time-based boxes, receive alerts, and see the labels.
This script helps traders visually identify significant time ranges within the trading day and receive timely alerts and labels, enhancing their decision-making process.
Multi Timeframe Supply & Demand ZonesIntroduction
Hello fellow traders and coders, I’d like to introduce the multi time-frame supply and demand indicator that you’ve been looking for, its a dynamic script encompassing a lot of features however it is merely a tool to be used in conjunction with your own market analysis.
Features
A maximum of 2 time-frames that can be customized independently.
The ability to change individual swing lengths that create the supply and demand boxes, all time-frames will come set at 7, you can however set this to whatever you are comfortable with.
Supply and demand functionality for both time-frames.
The ability to either use (highs and lows) or closes for mitigation of supply and demand zones, meaning that if set to close the zones will be mitigated if a close is above the top for supply and bottom from demand, the same will apply when the high and low flag is used.
The ability to customize box colors, border type, border width and text size.
The ability to prevent lower time frame structure from showing on higher time frames which I don’t advice as it will provide you with an inaccurate perception of the lower time frame structure hence I’ve made the feature available but set it to false.
The script also has a section called general settings that will allow you to hide all the supply and demand zones on the chart.
The ability to choose the number of supply or demand zones to display per time-frame.
General Settings Functionality.
Input 1 allows you to hide all the demand zones on the chart.
Input 2 allows you to hide all the supply zones on the chart.
Input 3 if false will show lower time frame structure on a higher time frame. Default is true to prevent inaccurate results on higher time-frames.
VWAP Balance ZonesVWAP Balance Zones (VBZ) Is based on 3 concepts.
Many Traders use VWAP to help determine Price Trends.
Trends are typically identified by new Highs or new Lows.
Balanced is found when Supply and Demand are mostly Equal.
VBZ tracks the daily, weekly, and monthly highs and lows; Then plots the average (50%) between the VWAP and the respective extremes.
50% VWAP Zones can be considered significant since they attempt to identify the equilibrium between market participants within the current trend, serving as key reference points to consider for decision making. >While in an uptrend, Buyers may see price falling to the Hi 50% as an attractive value entry for the continuation upwards.
>While ALSO in an uptrend, Sellers may see price falling to the Hi 50% as a change in sentiment with more downwards movement on the way.
Because of these conflicting mindsets, these zones are thought to display areas of balance between buyers and sellers, which can serve as potential decision points throughout the day.
VBZ Draws Zones from the Daily (High/Low/Close) VWAPs and the Day's (High/Low/Close) extremes as seen below.
Technically speaking, an average between vwap and extreme is a single point, to make these into zones I am using multiple sources for vwap and tracking different points of the bar throughout the day (ex. Close VWAP & Daily Highest Close)
Weekly and Monthly are only displaying the Average Price between the VWAP and the (Weekly or Monthly) High/Low.
These hold up as important levels for speculation; however, since most action will be discovered at the daily zones, I am not displaying the zones for the Weekly and Monthly to keep noise to a minimum.
Unique Behaviors:
- Weekly values are hidden on the first day of the week since they are similar to the daily values on the first day of the week.
- Monthly values are hidden in the first week of the month for the same reason.
Support and Resistance Levels and Zones [Quantigenics]Support and Resistance Levels and Zones Indicator is an enhanced support and resistance indicator in that typical support and resistance levels are crucial concepts in technical analysis representing price levels where selling or buying momentum tends to halt, typically leading to a price reversal.
The Support and Resistance Levels and Zones Indicator goes beyond static levels by identifying dynamic 'zones'. These zones, depicted as shaded areas, offer more nuanced insights, acknowledging that markets are not rigid but fluctuating entities. Traders can leverage these zones, alongside the standard levels that the indicator plots, to better time their entries and exits, maximizing potential profitability and minimizing risk.
This is a "must-see on your charts" indicator and while scrolling back looking at historical data shows the amazing power of this indicator, it's even better in realtime LIVE price action and the price can tend to hit the Support and Resistance Levels and Zones multiple times intrabar.
TVC:GOLD 1HR
NYMEX:CL1! 15MIN
Enjoy!