[Taj_treyder] signal buy-sell + ZigZagСалом ба хама Трейдерони Точик! Ман Абдулло Ахмадов хастам.
Ман ин индикатор-ро барои истифодабарии трейдер-хо ва тредуня-хои Точик сохтам,
Аз сабабе ки ин индикатор-ро ман аз 4- авторхои дигари Тредингвью гирифтам якчоя кардам онро дар руйи хати умуми монда наметонам. Шумо метавонед ин индикатор-ро озод дар графикхои худ истифода баред (Таймфрейми аз 45М, 1Н, 2Н, 4Н, то D1).
Хусусият-хои ин индикатор: Ердам кардан дар Торговляи шумо, Осон намудани Тичорати шумо дар бозорхои чахони!
1.- Муян намудани уровен-хои Сапративления ва Подержка,
2.- Муаян намудани Линия Тренда.
3.- Муаян намудани Восходящий ё Нисходящий Тренд (Рынок боло ё поён харакат дорад).
4.- Муаян намудани Точка входа-100% (чойи аники 100% Сделкаро кушодан).
5.- Мондани-100% Стоп-Лосс (чойи аники-100% мондани басс-зарар-дидан, - 2% аз Капитал).
6.- Мондани Тейк-профит (Чойи аники-100% баландтар-ини гирифтани фойда, 1/3, 1/5).
Ман ин индикаторро барои истифода барии Трейдер-хои тамоми Точикони руи замин сохтам! истифода-барии ин ройгон (бе пул, "без платно" мебошад).
Ин Индикатор кори шуморо-95% осон мекунад, Ердами аники хисоби математикии Уровинхо, Ердами аники математикии Линия-Тренда, Ердами-100% аники кушодани сделкахои Лонг ё Шорт (100%- сигналы Buy и Sell с помощью искусственного интеллекта).
Ердами фахмиши боло ё поён равии Рынокхо (100%- определения Восходящего и Нисходящего рынока).
Индикаторы и стратегии
Socrate's Bottom Finder - Free editionENGLISH :
Hi everybody,
This indicator will give you the market bottoms with remarkable accuracy.
/!\ Be aware that the indicator cannot know the current economic situation and that in the event of a major crisis, it can signal a market bottom despite the decline not being over. /!\
How to read it ?
It is composed of two visual sections:
- The first section materialized by the white line is a "treshhold" which gives the current trend of the week. It is used to filter most of the "fake signals"
- The second section, materialized by a green and red band, gives the strength of the price trend. If for example the trend is rather bullish, this bar will turn green, the opposit will produce red. An "opportunity" signal will appear when the optimal conditions are met to define a market bottom. Before an opportunity signal there will always be an "Surrender" signal, wich means the trend has weakened and the bottom is near in time.
Special Recommandation :
- The best results are on 1W, 3D, 1D. The indicator work on lower TF but it's not his purpose and you may drop significantly your W/L rate.
- Avoid stocks/crypto with poor stability in the very long time, a good hint is to look after thoses who mostly are above SMA200 on weekly TF.
- Avoid cyclical stock, as they tend to bounce up and down way to often.
Please do your own diligence. Trading may conduct you to loose capital.
Apply your own trading strategy :)
-----------------------------------------------------------------------------------------------------------------------------
FRANCAIS :
Salut tout le monde,
Cet indicateur vous donnera les creux du marché avec une précision remarquable.
/!\ Sachez que l'indicateur ne peut pas connaître la situation économique actuelle et qu'en cas de crise majeure, il peut signaler un creux de marché même si la baisse n'est pas terminée. /!\
Comment le lire ?
Il est composé de deux sections visuelles :
- La première section matérialisée par la ligne blanche est un « seuil » qui donne la tendance actuelle de la semaine. Il est utilisé pour filtrer la plupart des "faux signaux"
- La deuxième section, matérialisée par une bande verte et rouge, donne la force de la tendance des prix. Si par exemple la tendance est plutôt haussière, cette barre deviendra verte, l'inverse produira du rouge. Un signal "d'opportunité" apparaîtra lorsque les conditions optimales seront réunies pour définir un creux de marché. Avant un signal d'opportunité, il y aura toujours un signal "Abandon", ce qui signifie que la tendance s'est affaiblie et que le creux est proche dans le temps.
Recommandations spéciales :
- Les meilleurs résultats sont sur 1W, 3D, 1D. L'indicateur fonctionne sur des TF plus faibles mais ce n'est pas son but et vous risquez de faire chuter considérablement votre ratio de W/L.
- Évitez les stocks/crypto avec une faible stabilité sur le long terme, un bon indice est de cibler ceux qui sont majoritairement (dans leur historique) au-dessus de leur SMA200 en TF hebdomadaire.
- Prioriser les actifs de type "HyperGrowth", l'indicateur fonctionne moins bien avec les cycliques
Veuillez faire vos propres recherches en parallèle. Le trading pouvant vous conduire à perdre du capital.
Appliquez à cet indicateur votre propre stratégie :)
AI Moving Average Crossover BotA bot that gives signals using MA(Moving average)
s a strategy rather than just an indicator. A strategy allows for backtesting and automating trades.
made with pinescript v6
GROK - 40 Day High BreakoutTitle: GROK - Customizable High Breakout Detector
To scan base breakout with Pine Screener
Description:
This Pine Script indicator identifies high breakout patterns based on a user-defined lookback period. By default, it checks for a breakout of the 40-day high, but the period can be adjusted to suit your trading strategy. Key features include:
Custom Lookback Period: Easily modify the number of days for high breakout detection. Lookback period is length of base you want to scan using pine screener.
Visual Alerts: Displays a green triangle above the price bar when a breakout is detected.
Alert Conditions: Built-in alert notifications for automated breakout detection.
Screener Compatibility: Plots breakout signals as a histogram for screener use.
This script is ideal for traders looking to identify strong breakout patterns and incorporate them into their strategies.
How to Use:
Adjust the lookback period in the settings to match your desired breakout criteria.
Add alerts for automated notifications when a breakout is detected.
Use the visual markers and histogram to analyze breakout patterns on your chart.
DIY Strategy Indicator Essentials KitOverview:
The DIY Strategy Indicator Essentials Kit is a comprehensive suite of foundational indicators designed to help traders build and refine their own strategies. This tool integrates key components such as Multi-Timeframe VWAP lines, Support/Resistance VWAP Bands, Customizable Moving Averages, and an Entry/Exit Color Coded MACD, offering flexibility and customization for a wide range of trading styles. By combining these essential elements into one cohesive package, this script provides a strong foundation for technical analysis while remaining adaptable to your individual needs.
Future updates will expand functionality, adding more tools and features to enhance your trading workflow.
Key Features:
VWAP Bands: Multi-standard deviation VWAP bands with customizable themes to help identify overbought and oversold levels in the market. Includes options to toggle single or double bands for deeper insights.
Daily, Weekly, and Monthly VWAP Lines: Displays VWAP levels that reset daily, weekly, or monthly, offering traders clear benchmarks for tracking market trends.
Daily 5 Moving Average: A smooth, daily timeframe 5-period moving average plotted on all timeframes. Includes advanced smoothing methods like McGinley and customizable labels for added clarity.
Multi-Timeframe MACD: A fully customizable MACD that works across multiple timeframes, with optional histogram color changes to signal trend exhaustion and cross detection.
Customizable Moving Averages: Incorporates up to four moving averages with selectable types (SMA, EMA, VWMA, or RMA) and lengths.
How It Works:
VWAP components (Daily, Weekly, Monthly, and Bands) help traders identify key support and resistance levels.
The Daily 5 Moving Average leverages higher-timeframe data to avoid "stairstepping" on lower timeframes, providing a smoother representation of trends.
The MACD section enables traders to detect momentum shifts, with color-coded signals and optional dot markers for line crosses.
Moving Averages can be customized to reflect user preferences, catering to various trading strategies such as trend-following or mean-reversion.
How to Use:
Enable or disable components through the settings menu to tailor the indicator to your trading style.
Adjust VWAP bands and MA types to reflect market conditions or personal preferences.
Monitor MACD histogram color changes for potential trend exhaustion and crossovers.
Use VWAP levels to confirm key market areas or improve entry/exit timing.
Purpose and Originality:
This script is designed to consolidate essential tools into one cohesive indicator, making it ideal for traders looking to optimize limited indicator slots. While inspired by widely-used concepts, this script is original in its integration of advanced smoothing methods, customizable VWAP bands, and multi-timeframe MACD enhancements. The focus is on adaptability and practicality, empowering traders to customize their workspace while maintaining clarity and efficiency.
Acknowledgements:
Parts of this script’s functionality have been adapted and modified from open-source scripts within the TradingView library. It is a community-driven effort to enhance trading capabilities while respecting the original work of contributors.
Resistance - Support Level PredictionsThis indicator attempts to estimate potential resistance and support levels based on the previous day's closing, high, and low values, and displays them on the chart.
Global Liquidity Index (Billions USD)This Pine Script indicator calculates the total global liquidity by combining M2/M3 money supply data from major economies converted to USD. The final value is displayed in billions of USD.
This was inspired by Raoul Pal's (@RaoulGMI on X.com) work on global liquidity and its effect on markets.
Countries and Monetary Measures Used:
United States (USM2) - M2 Money Supply
China (CNM2) - M2 Money Supply
Japan (JPM2) - M2 Money Supply
European Union (EUM2) - M2 Money Supply
South Korea (KRM2) - M2 Money Supply
Canada (CAM2) - M2 Money Supply
India (INM2) - M2 Money Supply
Taiwan (TWM2) - M2 Money Supply
Great Britain (GBM2) - M2 Money Supply
Australia (AUM3) - M3 Money Supply
Features:
Time Offset: Allows shifting the data forward or backward by a specified number of bars but data pushed ahead of the chart data will be truncated.
Scale Range: Set to display between 50,000 and 100,000 billion USD
Overlay Option: Can be displayed as an overlay on the main chart
Left Scale: Uses the left price scale for values
Currency Conversion: Automatically converts all values to USD using real-time FX rates
Calculation Method:
Retrieves M2/M3 data for each country
Converts non-USD values to USD using current exchange rates
Sums all values
Divides by 1 billion for easier reading
Applies any time offset requested by the user
The indicator provides a comprehensive view of global liquidity by tracking approximately 80% of the world's monetary supply through these major economies.
BTC 5min go with trend strategy by AdrienBCThis strategy uses higher time from (30min) 28 EMA for trend direction and takes entries on overbought zones for shorts and oversold zones for longs using the L3 banker fund indicator
Macd and RSI % Change Signals Devis'SoLong Signal Strategy
RSI-Based Long Signals:
A long signal is triggered when the percentage change in RSI of the close price crosses over thresholds like 10 or 20.
Similarly, a long signal is triggered when the percentage change in RSI of the low price crosses over 20.
MACD-Based Long Signals:
A long signal is triggered when the MACD, its signal line, or the midpoint of the two crosses over thresholds such as 2, 3, 4, or 5.
When a long signal is triggered, the low of the corresponding candle is recorded as the "pullback level." This pullback level is displayed on the chart to help identify potential areas of support.
Short Signal Strategy
RSI-Based Short Signals:
A short signal is triggered when the percentage change in RSI of the low price crosses under -20.
Similarly, a short signal is triggered when the percentage change in RSI of the close price crosses under thresholds like -10 or -20.
MACD-Based Short Signals:
A short signal is triggered when the MACD, its signal line, or the midpoint of the two crosses under thresholds such as -2, -3, -4, or -5.
When a short signal is triggered, the high of the corresponding candle is recorded as the "pullback level." This pullback level is displayed on the chart to help identify potential areas of resistance.
Visualization
Signals:
Long signals are plotted as green upward triangles below the price bars.
Short signals are plotted as red downward triangles above the price bars.
Pullback Levels:
Long pullback levels are plotted as a green line below the price.
Short pullback levels are plotted as a red line above the price.
Alerts
Alerts are defined for specific signals, allowing traders to receive notifications when important levels are crossed, such as:
Long signal based on RSI or MACD changes.
Short signal based on RSI or MACD changes.
RS ScanThis indicator is primarily used in Pine Screener to filter stocks with relative strength. There are three screening modes: daily close range percentage, weekly close range percentage, and stock price change.
The close range is used to filter stocks where the close price is positioned at a certain percentage of the entire bar within a day or a week. For example, in the weekly close range percentage, selecting "above 90" means that the weekly closing price is above 90% of the entire bar.
The stock price change is used to filter stocks based on price changes within a specified date range. We can use TradingView to determine the distance from the recent high of SPX to today's closing price: the number of bars X and the price change value Y. Then, in the indicator settings, select the date range X for the number of bars and choose "above Y" in the manual setup. This way, we can filter out stocks that have a price change greater than Y within X bars.
Prem_0915_5mins_strategyThis is the strategy which is worked out in 5 min TF. This should be applied only on Indexes (e.g., Nifty 50, BankNifty, etc.). This should strictly NOT be used for stocks and other F&Os. This is just for an educational purpose. Do not follow the strategy as such. Analyse before using every strategy and every investment.
Step 1: The candle should breakout and close beyond the high line (or The candle should breakdown and close below to the the low line)
Step 2: Enter at the next candle after the breakout (for CE) or breakdown (for PE)
Step 3: SL should be the low of the previous candle under the highline (or above the low line) but within the range
Step 4: Apply for 1:1 RR ratio and quit for safer profit.
MA Deviation Suite [InvestorUnknown]This indicator combines advanced moving average techniques with multiple deviation metrics to offer traders a versatile tool for analyzing market trends and volatility.
Moving Average Types :
SMA, EMA, HMA, DEMA, FRAMA, VWMA: Standard moving averages with different characteristics for smoothing price data.
Corrective MA: This method corrects the MA by considering the variance, providing a more responsive average to price changes.
f_cma(float src, simple int length) =>
ma = ta.sma(src, length)
v1 = ta.variance(src, length)
v2 = math.pow(nz(ma , ma) - ma, 2)
v3 = v1 == 0 or v2 == 0 ? 1 : v2 / (v1 + v2)
var tolerance = math.pow(10, -5)
float err = 1
// Gain Factor
float kPrev = 1
float k = 1
for i = 0 to 5000 by 1
if err > tolerance
k := v3 * kPrev * (2 - kPrev)
err := kPrev - k
kPrev := k
kPrev
ma := nz(ma , src) + k * (ma - nz(ma , src))
Fisher Least Squares MA: Aims to reduce lag by using a Fisher Transform on residuals.
f_flsma(float src, simple int len) =>
ma = src
e = ta.sma(math.abs(src - nz(ma )), len)
z = ta.sma(src - nz(ma , src), len) / e
r = (math.exp(2 * z) - 1) / (math.exp(2 * z) + 1)
a = (bar_index - ta.sma(bar_index, len)) / ta.stdev(bar_index, len) * r
ma := ta.sma(src, len) + a * ta.stdev(src, len)
Sine-Weighted MA & Cosine-Weighted MA: These give more weight to middle bars, creating a smoother curve; Cosine weights are shifted for a different focus.
Deviation Metrics :
Average Absolute Deviation (AAD) and Median Absolute Deviation (MAD): AAD calculates the average of absolute deviations from the MA, offering a measure of volatility. MAD uses the median, which can be less sensitive to outliers.
Standard Deviation (StDev): Measures the dispersion of prices from the mean.
Average True Range (ATR): Reflects market volatility by considering the day's range.
Average Deviation (adev): The average of previous deviations.
// Calculate deviations
float aad = f_aad(src, dev_len, ma) * dev_mul
float mad = f_mad(src, dev_len, ma) * dev_mul
float stdev = ta.stdev(src, dev_len) * dev_mul
float atr = ta.atr(dev_len) * dev_mul
float avg_dev = math.avg(aad, mad, stdev, atr)
// Calculated Median with +dev and -dev
float aad_p = ma + aad
float aad_m = ma - aad
float mad_p = ma + mad
float mad_m = ma - mad
float stdev_p = ma + stdev
float stdev_m = ma - stdev
float atr_p = ma + atr
float atr_m = ma - atr
float adev_p = ma + avg_dev
float adev_m = ma - avg_dev
// upper and lower
float upper = f_max4(aad_p, mad_p, stdev_p, atr_p)
float upper2 = f_min4(aad_p, mad_p, stdev_p, atr_p)
float lower = f_min4(aad_m, mad_m, stdev_m, atr_m)
float lower2 = f_max4(aad_m, mad_m, stdev_m, atr_m)
Determining Trend
The indicator generates trend signals by assessing where price stands relative to these deviation-based lines. It assigns a trend score by summing individual signals from each deviation measure. For instance, if price crosses above the MAD-based upper line, it contributes a bullish point; crossing below an ATR-based lower line contributes a bearish point.
When the aggregated trend score crosses above zero, it suggests a shift towards a bullish environment; crossing below zero indicates a bearish bias.
// Define Trend scores
var int aad_t = 0
if ta.crossover(src, aad_p)
aad_t := 1
if ta.crossunder(src, aad_m)
aad_t := -1
var int mad_t = 0
if ta.crossover(src, mad_p)
mad_t := 1
if ta.crossunder(src, mad_m)
mad_t := -1
var int stdev_t = 0
if ta.crossover(src, stdev_p)
stdev_t := 1
if ta.crossunder(src, stdev_m)
stdev_t := -1
var int atr_t = 0
if ta.crossover(src, atr_p)
atr_t := 1
if ta.crossunder(src, atr_m)
atr_t := -1
var int adev_t = 0
if ta.crossover(src, adev_p)
adev_t := 1
if ta.crossunder(src, adev_m)
adev_t := -1
int upper_t = src > upper ? 3 : 0
int lower_t = src < lower ? 0 : -3
int upper2_t = src > upper2 ? 1 : 0
int lower2_t = src < lower2 ? 0 : -1
float trend = aad_t + mad_t + stdev_t + atr_t + adev_t + upper_t + lower_t + upper2_t + lower2_t
var float sig = 0
if ta.crossover(trend, 0)
sig := 1
else if ta.crossunder(trend, 0)
sig := -1
Backtesting and Performance Metrics
The code integrates with a backtesting library that allows traders to:
Evaluate the strategy historically
Compare the indicator’s signals with a simple buy-and-hold approach
Generate performance metrics (e.g., mean returns, Sharpe Ratio, Sortino Ratio) to assess historical effectiveness.
Practical Usage and Calibration
Default settings are not optimized: The given parameters serve as a starting point for demonstration. Users should adjust:
len: Affects how smooth and lagging the moving average is.
dev_len and dev_mul: Influence the sensitivity of the deviation measures. Larger multipliers widen the bands, potentially reducing false signals but introducing more lag. Smaller multipliers tighten the bands, producing quicker signals but potentially more whipsaws.
This flexibility allows the trader to tailor the indicator for various markets (stocks, forex, crypto) and time frames.
Disclaimer
No guaranteed results: Historical performance does not guarantee future outcomes. Market conditions can vary widely.
User responsibility: Traders should combine this indicator with other forms of analysis, appropriate risk management, and careful calibration of parameters.
[Taj_treyder] signal buy-sell + ZigZagСалом ба хама Трейдерони Точик! Ман Абдулло Ахмадов хастам.
Ман ин индикатор-ро барои истифодабарии трейдер-хо ва тредуня-хои Точик сохтам,
Аз сабабе ки ин индикатор-ро ман аз 4- авторхои дигари Тредингвью гирифтам якчоя кардам онро дар руйи хати умуми монда наметонам. Шумо метавонед ин индикатор-ро озод дар графикхои худ истифода баред (Таймфрейми аз 45М, 1Н, 2Н, 4Н, то D1).
Хусусият-хои ин индикатор: Ердам кардан дар Торговляи шумо, Осон намудани Тичорати шумо дар бозорхои чахони!
1.- Муян намудани уровен-хои Сапративления ва Подержка,
2.- Муаян намудани Линия Тренда.
3.- Муаян намудани Восходящий ё Нисходящий Тренд (Рынок боло ё поён харакат дорад).
4.- Муаян намудани Точка входа-100% (чойи аники 100% Сделкаро кушодан).
5.- Мондани-100% Стоп-Лосс (чойи аники-100% мондани басс-зарар-дидан, - 2% аз Капитал).
6.- Мондани Тейк-профит (Чойи аники-100% баландтар-ини гирифтани фойда, 1/3, 1/5).
Ман ин индикаторро барои истифода барии Трейдер-хои тамоми Точикони руи замин сохтам! истифода-барии ин ройгон (бе пул, "без платно" мебошад).
Ин Индикатор кори шуморо-95% осон мекунад, Ердами аники хисоби математикии Уровинхо, Ердами аники математикии Линия-Тренда, Ердами-100% аники кушодани сделкахои Лонг ё Шорт (100%- сигналы Buy и Sell с помощью искусственного интеллекта).
Ердами фахмиши боло ё поён равии Рынокхо (100%- определения Восходящего и Нисходящего рынока).
Breakout Master//@version=5
indicator('Breakout Master', overlay=true)
bullishBar = 1
bearishBar = -1
var inside_bar = array.new_int(0)
var inside_bar_high = array.new_float(0)
var inside_bar_low = array.new_float(0)
var motherCandleIndex = 0
var motherCandleHigh = 0.0
var motherCandleLow = 0.0
var motherCandleRange = 0.0
var target1Buy = 0.0
var target2Buy = 0.0
var target1Sell = 0.0
var target2Sell = 0.0
var motherCandleH = line.new(na, na, na, na, extend=extend.right, color=color.green)
var motherCandleL = line.new(na, na, na, na, extend=extend.right, color=color.red)
var motherCandleHLabel = label.new(na, na, style=label.style_label_left, textcolor=color.green, color=color.new(color.green, 80))
var motherCandleLLabel = label.new(na, na, style=label.style_label_left, textcolor=color.red, color=color.new(color.red, 80))
var longT1 = line.new(na, na, na, na, extend=extend.right)
var longT2 = line.new(na, na, na, na, extend=extend.right)
var shortT1 = line.new(na, na, na, na, extend=extend.right)
var shortT2 = line.new(na, na, na, na, extend=extend.right)
var longT1Label = label.new(na, na, textcolor=color.blue, style=label.style_label_left, color=color.new(color.blue, 80))
var longT2Label = label.new(na, na, textcolor=color.blue, style=label.style_label_left, color=color.new(color.blue, 80))
var shortT1Label = label.new(na, na, textcolor=color.blue, style=label.style_label_left, color=color.new(color.blue, 80))
var shortT2Label = label.new(na, na, textcolor=color.blue, style=label.style_label_left, color=color.new(color.blue, 80))
var longT1Line = input.bool(title='Show Long T1', defval=true, group='Long')
var longT2Line = input.bool(title='Show Long T2', defval=true, group='Long')
var shortT1Line = input.bool(title='Show Short T1', defval=true, group='Short')
var shortT2Line = input.bool(title='Show Short T2', defval=true, group='Short')
var longT1Range = input.float(title='Long T1', defval=1, group='Long (x times above range of mother candle)', tooltip='Line will be plotted above high of mother candle. If value entered is 1, then T1 = range of mother candle x 1')
var longT2Range = input.float(title='Long T2', defval=1.5, group='Long (x times above range of mother candle)', tooltip='Line will be plotted above high of mother candle. If value entered is 2, then T2 = range of mother candle x 2')
var shortT1Range = input.float(title='Short T1', defval=1, group='Short (x times below range of mother candle)', tooltip='Line will be plotted below low of mother candle. If value entered is 1, then T1 = range of mother candle x 1')
var shortT2Range = input.float(title='Short T2', defval=1.5, group='Short (x times below range of mother candle)', tooltip='Line will be plotted below low of mother candle. If value entered is 2, then T2 = range of mother candle x 1')
hi = high
lo = low
op = open
cl = close
isInside() =>
previousBar = 1
bodyStatus = cl >= op ? 1 : -1
isInsidePattern = hi < hi and lo > lo
isInsidePattern ? bodyStatus : 0
newDay = ta.change(time('D'))
if newDay
array.clear(inside_bar)
array.clear(inside_bar_high)
array.clear(inside_bar_low)
if isInside() and array.size(inside_bar) <= 0
array.push(inside_bar, bar_index)
array.push(inside_bar_high, hi )
array.push(inside_bar_low, lo )
if barstate.islast and array.size(inside_bar) > 0
motherCandleIndex := array.get(inside_bar, 0) - 1
motherCandleHigh := array.get(inside_bar_high, 0)
motherCandleLow := array.get(inside_bar_low, 0)
motherCandleRange := motherCandleHigh - motherCandleLow
target1Buy := motherCandleHigh + longT1Range * motherCandleRange
target2Buy := motherCandleHigh + longT2Range * motherCandleRange
target1Sell := motherCandleLow - shortT1Range * motherCandleRange
target2Sell := motherCandleLow - shortT2Range * motherCandleRange
// mother candle high
line.set_xy1(motherCandleH, motherCandleIndex, motherCandleHigh)
line.set_xy2(motherCandleH, bar_index, motherCandleHigh)
label.set_xy(motherCandleHLabel, bar_index + 5, motherCandleHigh)
label.set_text(id=motherCandleHLabel, text='Range High - ' + str.tostring(motherCandleHigh))
//mother candle low
line.set_xy1(motherCandleL, motherCandleIndex, motherCandleLow)
line.set_xy2(motherCandleL, bar_index, motherCandleLow)
label.set_xy(motherCandleLLabel, bar_index + 5, motherCandleLow)
label.set_text(id=motherCandleLLabel, text='Range Low - ' + str.tostring(motherCandleLow))
//long target 1
if longT1Line
line.set_xy1(longT1, motherCandleIndex, target1Buy)
line.set_xy2(longT1, bar_index, target1Buy)
label.set_xy(longT1Label, bar_index + 5, target1Buy)
label.set_text(id=longT1Label, text='T1 - ' + str.tostring(target1Buy) + ' (' + str.tostring(longT1Range * motherCandleRange) + ') points')
//long target 2
if longT2Line
line.set_xy1(longT2, motherCandleIndex, target2Buy)
line.set_xy2(longT2, bar_index, target2Buy)
label.set_xy(longT2Label, bar_index + 5, target2Buy)
label.set_text(id=longT2Label, text='T2 - ' + str.tostring(target2Buy) + ' (' + str.tostring(longT2Range * motherCandleRange) + ') points')
//short target 1
if shortT1Line
line.set_xy1(shortT1, motherCandleIndex, target1Sell)
line.set_xy2(shortT1, bar_index, target1Sell)
label.set_xy(shortT1Label, bar_index + 5, target1Sell)
label.set_text(id=shortT1Label, text='T1 - ' + str.tostring(target1Sell) + ' (' + str.tostring(shortT1Range * motherCandleRange) + ') points')
//short target 2
if shortT2Line
line.set_xy1(shortT2, motherCandleIndex, target2Sell)
line.set_xy2(shortT2, bar_index, target2Sell)
label.set_xy(shortT2Label, bar_index + 5, target2Sell)
label.set_text(id=shortT2Label, text='T2 - ' + str.tostring(target2Sell) + ' (' + str.tostring(shortT2Range * motherCandleRange) + ') points')
Directional Volume Index (DVI)Directional Volume Index
A. Directional Volume Index (DVI)
B. Average Directional Volume Index (ADVX)
C. Differential Directional Volume Index (DDVI)
D. Differential Directional Volume Index (DDVI) Divergences
SCALPING NHANHNhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl
ADR Indicator % Target - Average Daily Range (10 days)ADR Indicator
Average Daily Range
% Target S & R
10 DAYS BACK
Future Prediction Lines//@version=6
indicator("Future Prediction Lines", overlay=true)
/*
# **Future Prediction Lines v3 (Indicator Documentation)**
---
## **Purpose**
The **Future Prediction Lines Indicator** is a powerful tool designed to visualize potential future price movements based on historical trends and multi-timeframe analysis. By integrating **linear regression**, **momentum indicators (MACD and RSI)**, and **confidence bands**, this indicator helps traders anticipate where prices might move over the next ` ` bars.
---
## **Key Features**
1. **Future Price Prediction**:
- Forecasts price movements for a user-defined number of bars into the future.
- Combines trends from multiple timeframes for a more robust prediction.
2. **Confidence Bands**:
- Upper and lower bounds based on **ATR (Average True Range)** to estimate potential volatility around the predicted price.
3. **Customizable Parameters**:
- **Future Bars**: Adjust how far ahead the predictions extend.
- **Higher Timeframe Analysis**: Incorporate data from larger timeframes (e.g., Daily, Weekly).
4. **Visibility Toggles**:
- **Reference Lines**: Hide or display the local and higher timeframe trends.
- **Confidence Bands**: Optionally show or hide the volatility bands around the forecast.
5. **Visual Markers**:
- **Red prediction lines** start from the current price and extend into the future.
- A **label** displays the forecasted price at the furthest point.
---
## **How It Works**
### 1. **Linear Regression (Trend Analysis)**:
- The indicator calculates **linear regression (LR)** for the chart's current timeframe and a higher timeframe.
- It averages these trends to create a combined forecast.
### 2. **Momentum Adjustments**:
- **MACD**: Adjusts predictions based on short-term momentum.
- **RSI**: Accounts for overbought/oversold conditions, nudging forecasts accordingly.
### 3. **Confidence Bands**:
- Uses **ATR** to generate upper and lower bounds, highlighting potential price volatility around the central forecast.
---
## **Recommended Timeframes**
### **1. Day Trading**:
- **Chart Timeframe**: 5m, 15m, 1H
- **Higher TF**: 4H or Daily
- **Focus**: Captures intraday trends and micro-movements.
### **2. Swing Trading**:
- **Chart Timeframe**: 4H, Daily
- **Higher TF**: Weekly
- **Focus**: Anticipates multi-day price swings within trends.
### **3. Position Trading**:
- **Chart Timeframe**: Daily, Weekly
- **Higher TF**: Monthly
- **Focus**: Analyzes macro trends and large price movements over weeks or months.
---
## **Settings Overview**
| **Parameter** | **Description** |
|-----------------------|-----------------------------------------------------------------------------------------------------------------------------|
| **Future Bars** | Number of bars to project into the future. |
| **Higher TF** | Select a higher timeframe to incorporate larger trends (e.g., "D" for Daily, "W" for Weekly). |
| **Confidence Bands** | Option to show upper/lower bounds based on ATR. |
| **MACD Settings** | Fine-tune MACD lengths for momentum adjustment. |
| **RSI Settings** | Adjust RSI length and overbought/oversold levels to influence predictions. |
| **Show Reference** | Toggle local and higher timeframe regression lines for comparison (default: hidden). |
---
## **How to Use**
1. **Add the Indicator**:
- Copy the script into TradingView’s Pine Editor.
- Click **Add to Chart**.
2. **Adjust Settings**:
- Open the indicator settings to configure:
- Number of future bars.
- Higher timeframe for additional trend analysis.
- Confidence bands (toggle visibility and adjust width using ATR).
3. **Interpret the Predictions**:
- **Red Line**: The central forecast for future prices.
- **Shaded Bands**: Optional confidence bands show volatility ranges.
- **Final Label**: Displays the predicted price at the furthest bar.
---
## **Practical Tips**
- **For Day Traders**:
- Use **shorter chart timeframes (5m–1H)** combined with a higher timeframe like **4H or Daily**.
- Focus on quick intraday price movements.
- **For Swing Traders**:
- Use a **4H or Daily chart** with **Weekly higher timeframe trends** for multi-day analysis.
- **For Long-Term Traders**:
- Use **Daily or Weekly charts** combined with **Monthly timeframe trends** to analyze macro movements.
---
## **Example Workflow**
1. Set your **chart timeframe** based on your trading style.
2. Select a **higher timeframe** in the settings (e.g., Weekly for swing trading).
3. Observe the **red prediction line** for potential price trajectory and plan entries/exits based on:
- Alignment with existing support/resistance levels.
- Confidence band boundaries (volatility range).
- Momentum indicators (e.g., MACD/RSI) confirming direction.
---
## **Limitations**
1. **Lagging Nature**:
- Linear regression is based on historical data and may lag during high-impact events.
2. **Assumption of Continuity**:
- Forecast assumes trends continue uninterrupted, which may not account for sudden market reversals.
3. **No Guarantee**:
- Predictions are **probabilistic** and should always be used in conjunction with other tools and analysis.
---
## **Final Note**
The **Future Prediction Lines Indicator** is a tool for projecting possible price paths. While it provides insights into potential price movements, always validate predictions with **price action**, **support/resistance levels**, and other **technical indicators** for better decision-making.
*/
JCM_MadridTrend indicator, blue color indicates uptrend, red indicates downtrend, sell and buy points.
Fibonacci Retracement and Target LevelsHighest and Lowest Price Points:
The script calculates the highest (high_price) and lowest (low_price) prices in the specified timeframe. These values are essential for computing the Fibonacci retracement and extension levels.
Fibonacci Retracement Levels:
fib_0: 0% level (highest price).
fib_236, fib_382, fib_50, fib_618, and fib_100: These are the classic Fibonacci retracement levels used to identify potential support or resistance areas as the price retraces from its highest point.
Fibonacci Extension Levels (Targets):
fib_1618, fib_2618, and fib_4236: These are Fibonacci extension levels used to predict potential price targets in the direction of the trend if the price breaks beyond its current range.
Drawing the Levels:
The line.new function is used to draw horizontal lines on the chart representing the Fibonacci retracement and extension levels.
Dashed lines represent retracement levels.
Dotted lines represent extension (target) levels.
How to Use:
Create a new Pine Script in TradingView.
Paste the code above into the Pine Script editor.
Save the script and apply it to your chart to see Fibonacci retracement and extension levels plotted.
Bollinger Bubble BreakoutOverview:
This script leverages the principles of Bollinger Bands (BB), a popular tool for measuring volatility and identifying extreme price levels of overbought or oversold conditions. When the price closes outside the upper or lower bands, there is a strong probability that it will revert back inside the bands, typically in two steps:
First, towards the EMA 7 (fast exponential moving average).
Then, towards the SMA 20 (the middle line of the BB).
How It Works:
Outer BB Closes: When a candle closes beyond the upper or lower Bollinger Bands, it typically signals an extreme price extension (high volatility or impulsive movement).
Mean Reversion: Generally, the price tends to revert quickly inside the bands, with the first target being the EMA 7 and the second being the SMA 20. This behavior is based on the mean-reverting nature of Bollinger Bands, which act as dynamic price boundaries.
Alert Signal: The script highlights these closes and visually marks areas where potential reversals or technical corrections might occur.
Usage:
Ideal for traders aiming to exploit extreme moves for counter-trend trades or profit-taking opportunities.
Works best in volatile markets, but caution is advised during strong trends where prices can stay extended outside the bands.
Combine this tool with other indicators (such as RSI or MACD) to confirm signals.
Precautions:
The signals generated do not guarantee an immediate reversion. In strong trending markets, the price can "ride" the outer bands for several candles.
Strict risk management is advised: always use appropriate stop-loss levels based on your risk tolerance.
Practical Example:
When the price closes above the upper band:
Expect a correction towards the EMA 7 and then the SMA 20.
When the price closes below the lower band:
Look for a potential bounce towards the same targets.
Conclusion:
This script is designed to help traders identify opportunities in overbought or oversold conditions. However, it is not financial advice but rather an analytical tool to incorporate into your trading strategy.
GOLDEN PIVOT by @thejamiulGolden Pivot by @thejamiul is the ultimate trading companion, meticulously designed to provide traders with precise and actionable market levels for maximizing trading success. With its innovative blend of pivot systems, high/low markers, and customizable features, this indicator empowers you to execute trades with accuracy and confidence.
What Makes Golden Pivot Unique?
This indicator integrates multiple pivot methodologies and key levels into one powerful tool, making it suitable for a wide variety of trading strategies. Whether you're into breakout trading, virgin trades, or analyzing market trends, Golden Pivot Pro v5 has got you covered.
Key Features:
Camarilla Pivots:
Calculates H3, H4, H5, L3, L4, and L5 levels dynamically.
Helps identify strong support and resistance zones for reversal or breakout opportunities.
Floor Pivots:
Classic pivot point along with BC (Bottom Center) and TC (Top Center) levels for intraday and swing trading setups.
Multi-Timeframe High/Low Levels:
Plots static high/low markers for yearly, monthly, weekly, and daily timeframes.
Provides clarity on major market turning points and breakout zones.
Close Price Levels:
Highlights yearly, monthly, weekly, and daily close prices to aid in understanding market bias.
Custom Timeframe Selection:
Flexibly choose daily, weekly, monthly, or yearly pivot resolutions to suit your trading style and objectives.
Comprehensive Visualization:
Color-coded levels for quick recognition of significant zones.
Dynamic updates to adapt to changing market conditions seamlessly.
How to Use Golden Pivot by @thejamiul for High-Accuracy Trading?
This indicator enables you to implement strategies like:
Breakout Trading: Identify critical levels where price might break out for momentum trades.
Virgin Trades: Use untouched levels for precision entries with minimal risk.
Trend Reversals: Spot overbought or oversold zones using Camarilla and Floor Pivots.
Range-Bound Markets: Utilize high/low levels to define boundaries and trade within the range.
Why Choose Golden Pivot by @thejamiul?
With this tool, you’re not just getting pivot points—you’re unlocking a holistic framework to trade with up to 90% accuracy when used with the right strategies.
For an in-depth understanding of these strategies and how to achieve consistent profitability, visit my YouTube channel: youtube.com/@thejamiul/
👉 @thejamiul
Explore detailed tutorials, trading setups, and exclusive tips to take your trading to the next level!