Higher/Lower, Equals, Lines of Interest, Divergences by BULL┃NETThe B | N HELD (Level of interest HH HL – EQH EQL – DIVERGENCE by Bull | NET )
indicator provides traders with important price levels on a chart. Those are the average price (poor or weak equilibrium), traditional pivot levels, moving averages as well as support and resistance levels. This powerful indicator shows you the current Market Struktur and EQH/EQL (Equal highs/Equal lows). This shares style and customization features with every other B|N indicator and has some nice additional features.
█ ⚠️ DISCLAIMER – READ BEFORE YOU USE ⚠️
█ FEATURES
— SUPPORT AND RESISTANCE LINES
The settings in this section control how support and resistance lines appear on the chart.
● Resistance
By default horizontal resistance lines are enabled but you can disable them for whatever reason you might have.
● Line
● Style
● Label
● Text
● Size
With this five settings you control the color and style of the line, label and the text color as well as the size of the text.
● Support
By default horizontal support lines are enabled but you can disable them for whatever reason you might have.
● Line
● Style
● Label
● Text
● Size
With this five settings you control the color and style of the line, the label and text color and the size of the text.
● Show price in label
● Show title in label
By default a label contains the price and a shortcut (SUP for support and RES for resistance). For a less noisy chart you can remove both parts individually from the label.
● Bar shift
The label for a line is placed left from the current bar to avoid overlapping with information on the right side from B | N HELD and other B | N indicators. In addition you can shift the label up to 5 bars to left. The default is 2.
— LABEL COSMETICS
The settings in this section control how lines and labels in the Pivotlevels and Moving Average sections get positioned on the chart and which information the labels show.
● Bar Offset
The bar offset controls the horizontal distance to the last bar on the chart where lines end. The default it is “15” bars to the right to avoid overlapping of labels from my other indicators. You can increase and decrease this value to your liking.
● Bar Anchor
The bar anchor controls where lines start. Default is “lastbar”.
Lastbar sets the start of lines to the last bar of the chart. This provides a very clean chart without lines crossing bars to the left.
With Origin as bar anchor all lines start at the bar of origin which is when the line gets calculated. I.e. daily pivot levels lines will start at the beginning of the day while hourly levels will start at the beginning of a new hour.
● Label Distance Divisor
This setting is used to calculate the minimum vertical distance of labels in means of price points. The internal formular takes the day close price and divides it by the number entered in this field. If i.e. the daily closing price was 5000 the minimum vertical distance would become 1 price point if you enter 5000 for this setting. If the price difference of two events would then be less than 1 the labels would be positioned higher and lower to prevent overlapping. Change the divisor to your likings or as needed to set the trigger for repositioning labels.
● Distance Modifier
This setting is used to control the vertical shift of the label. The default of Zero disables the setting and activates an internal function which makes a decision based on the used timeframe on the chart (0.1 less than m30, 0.5 from m30 to h4, 0.75 above h4 and 1 for daily). The logic takes the minimum vertical distance and multiplies it by the distance modifier.
In the example above for the label distance divisor a label would shift by 0.5 price points on a 30 minute chart if two lines trigger the minimum vertical distance. On the upper line the label moves up and on the lower line it moves down. If three lines are too close to each other the label in the middle does not get moved. If more lines break the minimum distance some labels will overlap until the price is advancing.
Labels with equal price will get lined up (stacked) horizontally.
While this cosmetical corrections have limits overlapping can be reduced to a minimum.
● Show Price
Choose to display the price in front of a label. The price will be displayed by default.
● Enable Tooltip
If you decide to hide the price on the label it can be useful to get this information in a tooltip while hovering with the mouse over the label. On the contrary it might become annoying with labels popping up if you have a nervous mouse finger. The feature is disabled by default.
● Equalize Label Size
The size of labels is one of the most discussed issues. Some say it is too small other say it is too big. Label size matters on different devices. “Normal” labels can be too large on a smartphone and to small on a 4k display. And the size is crucial for the automatic horizontal stacking of labels. You simply can’t line up a small, normal and large label in Pine Script (the programming language at TradingView). The stacking is done by prepending labels with spaces to shift them to the right.
This setting overloads all individual size settings for labels and activates the automatic horizontal stacking of labels with equal price. It is a convenient way to change the size of all labels with one click in case you have different layouts for different devices.
If you disable this feature you can set the label size individually but you lose the horizontal stacking. This can be useful for traders who display only a few price events or for educational purpose where you want to point out a special event.
— AVERAGE PRICE
Because we do not have access to the order book we don’t know about the true equilibrium, which is the price where supply and demand is equal. Therefore the indicator displays the average price of the current and past day. Some people call this the poor or weak equilibrium. By default this feature is enabled.
● Line
● Style
● Label
● Text
● Size
With this five settings you control the color and style of the line, the label and text color as well as the size of the text.
— PIVOTLEVELS
● Timeframe
By default the setting follows my (BullNet) logic. In timeframes below 30 minute the indicator will display the hourly pivot levels. In timeframes between 30 minutes and one day you will see the daily pivot levels. Above daily timeframe you get the pivot levels of the chosen timeframe. If you don’t like it you can change this setting to always show the pivot level of the timeframe.
● Line
● Style
● Label
● Text
● Size
With this five settings you control the color and style of the line, the label and text color as well as the size of the text.
— MOVING AVERAGE
● Timeframe
By default the setting follows my (BullNet) logic. In timeframes below 30 minute the indicator will display the hourly moving averages. In timeframes between 30 minutes and one day you will see the daily moving averages. Above daily timeframe you get the moving averages of the chosen timeframe. If you don’t like it you can change this setting to always show the moving averages of the timeframe.
You can display up to four moving averages in parallel on the chart. By default all four are enabled to display the EMA 20, 50 ,100 and 200 as plain price level to the right of the last bar. Feel free to customize all settings to your liking or needs.
Each of the four moving averages has the same options, which are:
● Plot
If enabled the moving average will be drawn as a stepped curve on the chart. Although this is what most people expect from displaying a moving average it is disabled by default to keep the chart clean and follow the look and feel of all my other indicators. In my opinion a moving average is just another level of interest and as long as two moving averages are not in danger to cross each other (death cross, white cross) there is no need to fill the chart with additional noise. Once two important moving averages narrow to each other you can change this settings to plot the curves to be able to estimate the point they might cross.
● Plain
This setting is enabled by default and draws the moving average like a pivot level with a line at the current moving average price and a label showing the details you have chosen in the label cosmetics section. The chart keeps clean and you can perfectly determine the support and resistance level of the moving average.
● MA Type
You can choose between EMA and SMA. By default EMA is enabled.
● Length
In this field you enter the length of the moving average, which is the amount of bars used to calculate it.
● Line
● Style
● Label
● Text
● Size
With this five settings you control the color and style of the line or curve, the label and text color as well as the size of the text.
— DISPLAY OPTIONS
● 2 Decimals
To streamline the appearance of prices they are set to display two decimals only. Numbers get rounded! However, trading currency pairs or crypto assets might need to display the full amount of decimals. In this case simply disable the setting “2 Decimals”.
█ DIVERGENCE
- The system checks for divergences on each candle between the current price and the values of the last 10 pivot points for the selected indicators.
- Divergences are searched for across the chosen indicators, such as RSI, MACD, MACD Histogram, Stochastic, CCI, Momentum, MFI, OBV, VWMACD, CMF, and any external indicators.
- It looks for divergences within the last 100 bars based on the 10 pivot points for each indicator.
- **Types of Divergences:**
- Regular Positive Divergence
- Regular Negative Divergence
- Hidden Positive Divergence
- Hidden Negative Divergence
- For **Positive Divergence**, the system first checks if the current closing price is higher than the previous closing price and if the indicator value is higher than the previous one. If both conditions are true, it starts searching for a divergence.
- For **Negative Divergence**, it first checks if the current closing price is lower than the previous closing price and if the indicator value is also lower than the previous value. If these conditions hold, it starts looking for a divergence.
█ Settings:
- Pivot Period: You can set the pivot period to any value you prefer. You can also view the pivot points by enabling the "Show Pivot Points" option.
- Source for Pivot Points: Choose whether you want to use the Close ore High, or Low as the source for the pivot points.
- Divergence Type: Select the type of divergence to display, including "Regular," "Hidden," or "Regular/Hidden."
- Show Indicator Names: You can choose to display the full indicator names, only their first letter, or not show them at all.
- Show Divergence Number: This option allows you to display the number of indicators showing divergence.
- Show Only Last Divergence: If enabled, this option will only show the most recent positive and negative divergences.
- External Indicator Integration: You can include external indicators for divergence detection. To do this, enable the "Check External Indicator" option and select the external indicator from the list. The external indicator will be displayed as "Extrn." The relevant external indicator must be added before enabling this option.
Customization Options:
- Adjust the colors, line width, and line style for different types of divergences.
Alerts:
The following alerts are available:
- Positive Regular Divergence Detected
- Negative Regular Divergence Detected
- Positive Hidden Divergence Detected
- Negative Hidden Divergence Detected
█ HH HL LL LH
This indicator is a powerful tool, and I’m excited to explain how it works. It identifies Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL), which represent trend structure points on the chart.
Higher Highs, Higher Lows, Lower Highs, and Lower Lows:
For those who find it difficult to identify these points, this indicator can be extremely helpful. By showing HH and HL in sequence, it helps identify an uptrend. When the trend weakens, the indicator will highlight a LH, signaling that the trend might be losing strength. For a downtrend, the indicator shows LH and LL in sequence, and when the trend weakens, it will show HL, indicating a potential reversal.
This indicator is also great for drawing trend lines. For example, it can help you draw a trend line in an uptrend by connecting the LL of the first candle to the HL of the second candle. Similarly, for a downtrend, the trend line can be drawn by connecting the HH to the LH.
These HH, HL, LH, and LL points can also be used to place stop losses, which will be explained later in the stop loss section.
Label Color Changes Based on RSI:
An important feature is that the **HH** and **LL** labels change color based on the RSI indicator. When the RSI is overbought, the **HH** label will change to a specific color (e.g., red), signaling a potential reversal or weakness in the uptrend. Similarly, when the RSI is oversold, the **LL** label will change to another color (e.g., green), indicating a potential reversal in the downtrend. This adds an additional layer of insight, helping to identify potential exhaustion points in the market.
DT, DB, and EQH/EQL:
Additionally, the **DT** (Double Top), **DB** (Double Bottom), and **EQH/EQL** (Equal High/Equal Low) patterns are displayed by the indicator to help identify significant reversal patterns, making it even more effective for trend analysis and decision-making.
You can change the Color, the Line Width and the Line Style under the
“EQH/EQL OPTIONS”.
Under the section “PATTERN OPTIONS” you can enable the function to visualize the EQH/EQL
-------------------------------------------------------
Disclaimer BullNet : The information provided in this document is for educational and informational purposes only and does not constitute financial, investment, or trading advice. Any use of the content is at your own risk. No liability is assumed for any losses or damages resulting from reliance on this information. Trading financial instruments involves significant risks, including the potential loss of all invested capital. There is no guarantee of profits or specific outcomes. Please conduct your own research and consult a professional financial advisor if needed.
Disclaimer TradingView: According to the www.tradingview.com
Copyright: 2025-BULLNET - All rights reserved.
Roadmap:
Version 1.0 04.03.2025
Moving Averages
Multi-Indicator Trading System20 60 100 200 이동평균선
웨이브트렌드 매수레벨 녹색원 매도레벨 빨간색원
cci rsi dmi adx 웨이브트렌드 cci다이버전스 rsi 다이버전스 중에 발생한 개수만큼
매수시그널 녹색삼각형 매도시그널 빨간색 삼각형
개별 수치들 옵션에서 설정가능
ترکیب اندیکاتورها برای سیگنالهای پیشرفته//@version=5
indicator("ترکیب اندیکاتورها برای سیگنالهای پیشرفته", overlay=true)
// تنظیمات پارامترهای اندیکاتورها
fast_length = input.int(9, title="طول دوره MA سریع")
slow_length = input.int(21, title="طول دوره MA کند")
rsi_length = input.int(14, title="طول دوره RSI")
macd_fast_length = input.int(12, title="طول دوره MACD سریع")
macd_slow_length = input.int(26, title="طول دوره MACD کند")
macd_signal_length = input.int(9, title="طول دوره سیگنال MACD")
// محاسبه میانگینهای متحرک
fast_ma = ta.sma(close, fast_length)
slow_ma = ta.sma(close, slow_length)
// محاسبه RSI
rsi = ta.rsi(close, rsi_length)
// محاسبه MACD
= ta.macd(close, macd_fast_length, macd_slow_length, macd_signal_length)
// شرایط برای سیگنالها
buy_condition = (ta.crossover(fast_ma, slow_ma)) and (rsi < 30) and (macd_line > signal_line)
sell_condition = (ta.crossunder(fast_ma, slow_ma)) and (rsi > 70) and (macd_line < signal_line)
// نمایش سیگنالها روی نمودار
plotshape(series=buy_condition, title="سیگنال خرید", location=location.belowbar, color=color.green, style=shape.labelup, text="خرید")
plotshape(series=sell_condition, title="سیگنال فروش", location=location.abovebar, color=color.red, style=shape.labeldown, text="فروش")
// هشدارها برای سیگنالها
alertcondition(buy_condition, title="سیگنال خرید", message="سیگنال خرید ایجاد شد!")
alertcondition(sell_condition, title="سیگنال فروش", message="سیگنال فروش ایجاد شد!")
SMA 20/50/150/2004 simple SMAs to detect the symbol's trend. The SMA 20 and 50 show you the short term trend. The SMA 150 and 200 show you the long term trend. SMA is preferred over EMA due to EMA being too fast.
KJ RangesMTF Ranges by KJ PVP Trading
Weekly/ Daily/ H4/ H1:
- Opening Price
- Previous Range
- Pivot Points
- Time Rotation
Candlestick Pattern:
- Engulfing bar
- Pin bar
- Inside bar
Trader Notes:
- allow traders list out notes
MA Сrosses Multi TF [PowerEn] This indicator is a useful tool for traders, who use MAs and crosses in trading.
Сrosses MAs Multi TF will allow you to display on the graph:
1) up to six MA with different settings (length, type, style);
2) the crosses of the three MA pairs with the visualization selection;
3) setting different timeframes for MAs (from 1m to 1M);
4) using labels, you can clearly see parameters of MA (length, type, timeframe);
5) using signals of crosses MAs, you can create alerts.
Date Display with Bar Counter and EMA===== ENGLISH DESCRIPTION =====
OVERVIEW:
This is a multi-function indicator that combines three useful tools in one script:
1. Date Display - Shows current date and symbol information in a customizable table
2. Bar Counter - Displays sequential bar numbers at specified intervals
3. EMA (Exponential Moving Average) - Plots an EMA line with customizable settings
FEATURES:
1. DATE DISPLAY:
- Shows date in full format (e.g., "Mon ∙ January 1, 2023") or short format (e.g., "Mon ∙ 01.01.23")
- Option to show/hide day of week
- Option to show/hide symbol and timeframe information
- Customizable table position (top/middle/bottom, left/center/right)
- Automatic color adjustment based on chart background
2. BAR COUNTER:
- Displays sequential bar numbers below price bars
- Customizable display frequency (every X bars)
- Special handling for Hong Kong futures (resets at market open)
- Different reset logic based on timeframe (daily, weekly, monthly)
- Customizable text size and color
3. EMA INDICATOR:
- Customizable period length (default: 20)
- Option to use different timeframe for calculation
- Option to wait for timeframe close for more stable signals
- Customizable line color
USAGE INSTRUCTIONS:
- After adding the indicator to your chart, customize settings in the "Format" panel
- The Date Display table will appear at your chosen position on the chart
- Bar numbers will appear below price bars at your specified frequency
- The EMA line will be plotted on the chart with your chosen settings
- Colors automatically adjust to light/dark chart themes
===== 中文说明 =====
概述:
这是一个多功能指标,将三个实用工具合并为一个脚本:
1. 日期显示 - 在可自定义的表格中显示当前日期和交易品种信息
2. K线计数器 - 按指定间隔显示K线序号
3. EMA指数移动平均线 - 绘制可自定义设置的EMA线
功能特点:
1. 日期显示:
- 支持完整格式(如"Mon ∙ January 1, 2023")或简短格式(如"Mon ∙ 01.01.23")
- 可选择显示/隐藏星期几
- 可选择显示/隐藏交易品种和时间周期信息
- 可自定义表格位置(顶部/中部/底部,左侧/中间/右侧)
- 根据图表背景自动调整颜色
2. K线计数器:
- 在价格K线下方显示序号
- 可自定义显示频率(每X根K线)
- 对香港期货有特殊处理(在开市时重置)
- 根据时间周期(日线、周线、月线)使用不同的重置逻辑
- 可自定义文字大小和颜色
3. EMA指标:
- 可自定义周期长度(默认:20)
- 可选择使用不同的时间周期进行计算
- 可选择等待时间周期结束以获得更稳定的信号
- 可自定义线条颜色
使用说明:
- 将指标添加到图表后,在"格式"面板中自定义设置
- 日期显示表格将出现在您选择的图表位置
- K线序号将按您指定的频率显示在价格K线下方
- EMA线将根据您选择的设置绘制在图表上
- 颜色会根据浅色/深色图表主题自动调整
*/
Média Biweight de Tukey indicador "Média Biweight de Tukey" é uma média móvel robusta que utiliza a função Biweight de Tukey para suavizar a série de preços, minimizando a influência de outliers. Em vez de tratar todos os valores com a mesma importância, ele atribui pesos diferenciados a cada preço dentro do período definido, de modo que os pontos mais distantes do centro (valores extremos) têm menor influência no cálculo da média.
Principais Características
Robustez aos Outliers:
Utiliza uma função de peso baseada na distância dos preços em relação à média e ao desvio padrão. Valores que se afastam muito da média (acima de um limiar definido) recebem peso zero, reduzindo o impacto de movimentos bruscos e anômalos.
Parâmetros Ajustáveis:
O usuário pode definir o período de cálculo (por exemplo, 20 barras) e uma constante (c) que determina a sensibilidade do indicador aos outliers. Além disso, é possível escolher a fonte dos dados (como o preço de fechamento).
Cálculo Baseado em Valores Absolutos:
O indicador calcula a média simples e o desvio padrão dos preços dentro do período selecionado para estabelecer um ponto de referência.
Plotagem no Gráfico:
A média ponderada resultante é plotada sobre o gráfico dos candles. Como o indicador opera com valores absolutos de preço, ele permanece ancorado ao nível de preço, ou seja, mesmo que a escala dos candles seja modificada (dilatação ou contração), a linha da média mantém sua posição relativa ao preço e não se ajusta visualmente ao tamanho dos candles.
Aplicações
Esse indicador é útil para:
Suavizar a série de preços, ajudando a identificar tendências subjacentes.
Reduzir o ruído causado por flutuações abruptas e valores extremos.
Fornecer um suporte mais robusto para análise técnica, principalmente em mercados voláteis.
Em resumo, a "Média Biweight de Tukey" oferece uma alternativa mais resiliente às médias móveis tradicionais, focando em um cálculo que filtra distorções causadas por outliers e proporciona uma visão mais consistente da tendência de preço.
Moving Average DifferenceThe indicator computes the difference between m-day MA and n-day MA. It can be used to tell the price trend.
Eran Krief Custom WatermarkThis indicator provides key stock-related data for Affirm Holdings, Inc. (AFRM). Here’s a breakdown of its elements:
1. **Earnings Countdown**: Displays the number of days remaining until the next earnings report (65 days in this case).
2. **Market Cap**: Shows the company's market capitalization (17.85 billion USD).
3. **Ticker and Industry**: Indicates the stock ticker (AFRM) and its industry classification (Finance, Finance/Rental/Leasing).
4. **ATR (Average True Range)**: Measures the stock’s volatility, showing an ATR value of 1.52, which is 2.36% of the stock price.
5. **12-Month Return**: Displays the stock’s percentage return over the past 12 months (-3.68%).
6. **Moving Average Distance (MA Dist.)**: Indicates how far the stock is from a specific moving average. Here, the stock is 4.94% below the moving average, represented in red.
This indicator helps traders assess a stock’s volatility, performance, and distance from key technical levels.
sma 9/20 crossThis Pine Script is designed to visualize the crossover between two Simple Moving Averages (SMAs) on a chart: a fast SMA (9-period) and a slow SMA (20-period). The script will dynamically adjust the background color based on whether the fast SMA is above or below the slow SMA.
Key Components of the Script:
Inputs for SMA Lengths:
The script allows you to adjust the lengths of the two SMAs by inputting values for smaFastLength (default = 9) and smaSlowLength (default = 20). These lengths define how many periods (candles) the SMAs consider when calculating the moving averages.
SMA Calculations:
The script calculates two SMAs using the close price:
smaFast is the 9-period SMA.
smaSlow is the 20-period SMA.
These are calculated using TradingView’s built-in ta.sma function, which computes the simple moving average for the given period.
Background Color Logic:
The background color is dynamically updated based on the crossover condition:
Green background: When the fast SMA (smaFast) is above the slow SMA (smaSlow), indicating a bullish trend.
Red background: When the fast SMA is below the slow SMA, indicating a bearish trend.
The bgcolor function is used to change the background color on the chart. The transparency of the background color is set to 35% using color.new(color.green, 35) or color.new(color.red, 35).
Plotting the SMAs:
The two SMAs are plotted on the chart for visual reference:
The fast SMA is plotted in lime green (color.blue).
The slow SMA is plotted in red (color.red).
sma 9/20 crossThis Pine Script is designed to visualize the crossover between two Simple Moving Averages (SMAs) on a chart: a fast SMA (9-period) and a slow SMA (20-period). The script will dynamically adjust the background color based on whether the fast SMA is above or below the slow SMA.
Key Components of the Script:
Inputs for SMA Lengths:
The script allows you to adjust the lengths of the two SMAs by inputting values for smaFastLength (default = 9) and smaSlowLength (default = 20). These lengths define how many periods (candles) the SMAs consider when calculating the moving averages.
SMA Calculations:
The script calculates two SMAs using the close price:
smaFast is the 9-period SMA.
smaSlow is the 20-period SMA.
These are calculated using TradingView’s built-in ta.sma function, which computes the simple moving average for the given period.
Background Color Logic:
The background color is dynamically updated based on the crossover condition:
Green background: When the fast SMA (smaFast) is above the slow SMA (smaSlow), indicating a bullish trend.
Red background: When the fast SMA is below the slow SMA, indicating a bearish trend.
The bgcolor function is used to change the background color on the chart. The transparency of the background color is set to 35% using color.new(color.green, 35) or color.new(color.red, 35).
Plotting the SMAs:
The two SMAs are plotted on the chart for visual reference:
The fast SMA is plotted in lime green (color.lime).
The slow SMA is plotted in red (color.red).
EMA y Parabolic SARMarkoni 2.0 - Scaramuzza
Este indicador combina cuatro medias móviles exponenciales (EMA) y el Parabolic SAR para ayudarte a identificar tendencias y posibles puntos de reversión en el mercado. Las EMAs proporcionan una visión clara de la tendencia a largo y corto plazo, mientras que el Parabolic SAR se utiliza para señalar posibles cambios en la dirección del precio.
Características:
EMA 200: Representa la tendencia a largo plazo. Cuando el precio está por encima de esta EMA, se considera una tendencia alcista, y cuando está por debajo, una tendencia bajista.
EMA 50: Indicador de la tendencia intermedia. Ayuda a filtrar las señales de corto plazo y da un panorama más claro de la dirección del mercado.
EMA 8 y EMA 21: Son EMAs más cortas que se utilizan para identificar movimientos rápidos y cambios en el mercado. Las cruces entre estas dos EMAs son señales clave de entrada y salida.
Parabolic SAR: Señala posibles puntos de reversión en la tendencia, ayudando a identificar cuándo el precio podría cambiar de dirección, basado en un sistema de puntos que aparecen por encima o debajo del precio.
¿Cómo utilizarlo?
Tendencia alcista: Cuando el precio está por encima de las EMAs más largas (200 y 50), y la EMA 8 está por encima de la EMA 21, se considera que el mercado está en una tendencia alcista.
Tendencia bajista: Cuando el precio está por debajo de las EMAs más largas, y la EMA 8 está por debajo de la EMA 21, el mercado está en una tendencia bajista.
Señales de reversión: El Parabolic SAR marca puntos de reversión. Si los puntos están por debajo del precio, podría indicar una reversión alcista, y si están por encima, una reversión bajista.
Este indicador es útil para traders que buscan seguir la tendencia y capturar puntos de entrada y salida basados en el análisis de varias EMAs y señales del Parabolic SAR.
Pearson Correlation Best MA [victhoreb]Pearson Correlation Best MA is an innovative indicator designed to dynamically select the moving average that best aligns with price action based on the Pearson correlation coefficient. Here’s what it does:
- Multiple MA Evaluation: The indicator computes eight different moving averages — SMA, EMA, DEMA, TEMA, LSMA, RMA, WMA, and VWMA — using a user-defined period.
- Correlation Analysis: For each moving average, it calculates the Pearson correlation with the price (using the average of high and low) over a specified correlation length, then identifies the one with the highest correlation.
- Optional Smoothing: Users can opt to further smooth the selected best moving average for an even more refined signal.
- Visual Cues: The indicator plots the “Best MA” on the chart, colors it based on its direction (bullish or bearish), and also displays the correlation value. Additionally, it can color the price candles to reflect the trend indicated by the best moving average.
- Customizability: All key parameters such as moving average length, correlation length, smoothing options, and color settings are fully customizable.
This tool helps traders by automatically adapting to market conditions—highlighting the moving average that is most in sync with current price trends, potentially improving trade timing and decision-making.
Candle Trend ConfirmationCandle Trend Confirmation Indicator
The "Candle Trend Confirmation" indicator This indicator leverages an Exponential Moving Average (EMA) to visually confirm market trends through dynamic coloring of the EMA line, a shading effect, and candle color changes. It aims to help traders quickly identify strong trends and consolidation phases, enhancing decision-making in various market conditions.
Key Features
Customizable EMA Period:
Traders can adjust the EMA period via an input parameter, with a default setting of 20 periods. This flexibility allows the indicator to adapt to different timeframes and trading strategies.
Pip Threshold for Trend Strength:
A user-defined pip threshold (default set to 0.02) determines the distance from the EMA required to classify a trend as "strong." This parameter can be fine-tuned to suit specific instruments, such as forex pairs, cryptocurrencies, or stocks, where pip values may differ.
Trend Detection Logic:
Strong Uptrend: The closing price must be above the EMA by at least the pip threshold (e.g., 2 pips) and show consistent upward movement over the last three bars (current close > previous close > close two bars ago).
Strong Downtrend: The closing price must be below the EMA by at least the pip threshold and exhibit consistent downward movement over the last three bars.
Consolidation: Any price action that doesn’t meet the strong trend criteria is classified as a consolidation phase.
Dynamic Coloring:
EMA Line: Displayed using the line.new function, the EMA changes color based on trend conditions: green for a strong uptrend, red for a strong downtrend, and purple for consolidation. The line is drawn only for the most recent bar to maintain chart clarity.
Candles: Candlestick colors mirror the trend state—green for strong uptrends, red for strong downtrends, and purple for consolidation—using the barcolor function, providing an immediate visual cue.
Shading Effect: Two dashed lines are drawn above and below the EMA (at half the pip threshold distance) to create a subtle shading zone. These lines adopt a semi-transparent version of the EMA’s color, enhancing the visual representation of the trend’s strength.
How It Works
The indicator calculates the EMA based on the closing price and compares the current price to this average. By incorporating a pip-based threshold and a three-bar confirmation, it filters out noise and highlights only significant trend movements. The use of line.new instead of plot ensures compatibility with certain TradingView environments and offers a lightweight way to render the EMA and shading lines on the chart.
Usage
Trend Identification: Green signals a strong bullish trend, ideal for potential long entries; red indicates a strong bearish trend, suitable for short opportunities; purple suggests a range-bound market, where caution or range-trading strategies may apply.
Customization: Adjust the EMA period and pip threshold in the indicator settings to match your trading style or the volatility of your chosen market. For example, forex traders might set the threshold to 0.0002 for 2 pips on EUR/USD, while crypto traders might use 2.0 for BTC/USD.
Visual Clarity: The combination of EMA coloring, shading, and candle highlights provides a comprehensive view of market dynamics at a glance.
Trend SCANThe visually important moving averages EMA5, EMA20, EMA144 and EMA169 are seen on the indicator.
However, the main purpose of the indicator is to combine the changes in the rsi, ema, volume, momentum and cci data on the stock and to display them in a label on the chart with a formula aimed at determining the stocks that are in an uptrend.
The group that the stock group is desired to be scanned from the indicator settings is selected and the scanning process is instantly visible on the label in the chart period or in the time interval selected outside the chart period.
The stock groups are grouped as BIST50, BIST100, Yildiz Pazar and Main Pazar. But these can be selected as desired.
20 EMA Touch Alert [v5]The Focuz 20 EMA Touch Alert is a simple yet powerful tool developed by Focuz to help traders stay alert when the market price touches the 20-period Exponential Moving Average (EMA).
Stable Coin Dominance RSI with Proportional + InvertStable Coin Dominance RSI with addition of an Invert checkbox to align direction with pricing.
Current Average Gain and LossThe Momentum-Based Non-Lagging Indicator for Swift Trade Decisions is a unique, non-lagging technical analysis tool designed for high-frequency scalping trades with timeframes ranging from 1 minute to 2 hours. This indicator calculates and plots the moving averages of gains and losses over a 14-day period, providing instantaneous buy and sell signals based on real-time market condition