ADX Forecast [Titans_Invest]ADX Forecast
This isn’t just another ADX indicator — it’s the most powerful and complete ADX tool ever created, and without question the best ADX indicator on TradingView, possibly even the best in the world.
ADX Forecast represents a revolutionary leap in trend strength analysis, blending the timeless principles of the classic ADX with cutting-edge predictive modeling. For the first time on TradingView, you can anticipate future ADX movements using scientifically validated linear regression — a true game-changer for traders looking to stay ahead of trend shifts.
1. Real-Time ADX Forecasting
By applying least squares linear regression, ADX Forecast projects the future trajectory of the ADX with exceptional accuracy. This forecasting power enables traders to anticipate changes in trend strength before they fully unfold — a vital edge in fast-moving markets.
2. Unmatched Customization & Precision
With 26 long entry conditions and 26 short entry conditions, this indicator accounts for every possible ADX scenario. Every parameter is fully customizable, making it adaptable to any trading strategy — from scalping to swing trading to long-term investing.
3. Transparency & Advanced Visualization
Visualize internal ADX dynamics in real time with interactive tags, smart flags, and fully adjustable threshold levels. Every signal is transparent, logic-based, and engineered to fit seamlessly into professional-grade trading systems.
4. Scientific Foundation, Elite Execution
Grounded in statistical precision and machine learning principles, ADX Forecast upgrades the classic ADX from a reactive lagging tool into a forward-looking trend prediction engine. This isn’t just an indicator — it’s a scientific evolution in trend analysis.
⯁ SCIENTIFIC BASIS LINEAR REGRESSION
Linear Regression is a fundamental method of statistics and machine learning, used to model the relationship between a dependent variable y and one or more independent variables 𝑥.
The general formula for a simple linear regression is given by:
y = β₀ + β₁x + ε
β₁ = Σ((xᵢ - x̄)(yᵢ - ȳ)) / Σ((xᵢ - x̄)²)
β₀ = ȳ - β₁x̄
Where:
y = is the predicted variable (e.g. future value of RSI)
x = is the explanatory variable (e.g. time or bar index)
β0 = is the intercept (value of 𝑦 when 𝑥 = 0)
𝛽1 = is the slope of the line (rate of change)
ε = is the random error term
The goal is to estimate the coefficients 𝛽0 and 𝛽1 so as to minimize the sum of the squared errors — the so-called Random Error Method Least Squares.
⯁ LEAST SQUARES ESTIMATION
To minimize the error between predicted and observed values, we use the following formulas:
β₁ = /
β₀ = ȳ - β₁x̄
Where:
∑ = sum
x̄ = mean of x
ȳ = mean of y
x_i, y_i = individual values of the variables.
Where:
x_i and y_i are the means of the independent and dependent variables, respectively.
i ranges from 1 to n, the number of observations.
These equations guarantee the best linear unbiased estimator, according to the Gauss-Markov theorem, assuming homoscedasticity and linearity.
⯁ LINEAR REGRESSION IN MACHINE LEARNING
Linear regression is one of the cornerstones of supervised learning. Its simplicity and ability to generate accurate quantitative predictions make it essential in AI systems, predictive algorithms, time series analysis, and automated trading strategies.
By applying this model to the ADX, you are literally putting artificial intelligence at the heart of a classic indicator, bringing a new dimension to technical analysis.
⯁ VISUAL INTERPRETATION
Imagine an ADX time series like this:
Time →
ADX →
The regression line will smooth these values and extend them n periods into the future, creating a predicted trajectory based on the historical moment. This line becomes the predicted ADX, which can be crossed with the actual ADX to generate more intelligent signals.
⯁ SUMMARY OF SCIENTIFIC CONCEPTS USED
Linear Regression Models the relationship between variables using a straight line.
Least Squares Minimizes the sum of squared errors between prediction and reality.
Time Series Forecasting Estimates future values based on historical data.
Supervised Learning Trains models to predict outputs from known inputs.
Statistical Smoothing Reduces noise and reveals underlying trends.
⯁ WHY THIS INDICATOR IS REVOLUTIONARY
Scientifically-based: Based on statistical theory and mathematical inference.
Unprecedented: First public ADX with least squares predictive modeling.
Intelligent: Built with machine learning logic.
Practical: Generates forward-thinking signals.
Customizable: Flexible for any trading strategy.
⯁ CONCLUSION
By combining ADX with linear regression, this indicator allows a trader to predict market momentum, not just follow it.
ADX Forecast is not just an indicator — it is a scientific breakthrough in technical analysis technology.
⯁ Example of simple linear regression, which has one independent variable:
⯁ In linear regression, observations ( red ) are considered to be the result of random deviations ( green ) from an underlying relationship ( blue ) between a dependent variable ( y ) and an independent variable ( x ).
⯁ Visualizing heteroscedasticity in a scatterplot against 100 random fitted values using Matlab:
⯁ The data sets in the Anscombe's quartet are designed to have approximately the same linear regression line (as well as nearly identical means, standard deviations, and correlations) but are graphically very different. This illustrates the pitfalls of relying solely on a fitted model to understand the relationship between variables.
⯁ The result of fitting a set of data points with a quadratic function:
_______________________________________________________________________
🥇 This is the world’s first ADX indicator with: Linear Regression for Forecasting 🥇_______________________________________________________________________
_________________________________________________
🔮 Linear Regression: PineScript Technical Parameters 🔮
_________________________________________________
Forecast Types:
• Flat: Assumes prices will remain the same.
• Linreg: Makes a 'Linear Regression' forecast for n periods.
Technical Information:
ta.linreg (built-in function)
Linear regression curve. A line that best fits the specified prices over a user-defined time period. It is calculated using the least squares method. The result of this function is calculated using the formula: linreg = intercept + slope * (length - 1 - offset), where intercept and slope are the values calculated using the least squares method on the source series.
Syntax:
• Function: ta.linreg()
Parameters:
• source: Source price series.
• length: Number of bars (period).
• offset: Offset.
• return: Linear regression curve.
This function has been cleverly applied to the RSI, making it capable of projecting future values based on past statistical trends.
______________________________________________________
______________________________________________________
⯁ WHAT IS THE ADX❓
The Average Directional Index (ADX) is a technical analysis indicator developed by J. Welles Wilder. It measures the strength of a trend in a market, regardless of whether the trend is up or down.
The ADX is an integral part of the Directional Movement System, which also includes the Plus Directional Indicator (+DI) and the Minus Directional Indicator (-DI). By combining these components, the ADX provides a comprehensive view of market trend strength.
⯁ HOW TO USE THE ADX❓
The ADX is calculated based on the moving average of the price range expansion over a specified period (usually 14 periods). It is plotted on a scale from 0 to 100 and has three main zones:
• Strong Trend: When the ADX is above 25, indicating a strong trend.
• Weak Trend: When the ADX is below 20, indicating a weak or non-existent trend.
• Neutral Zone: Between 20 and 25, where the trend strength is unclear.
______________________________________________________
______________________________________________________
⯁ ENTRY CONDITIONS
The conditions below are fully flexible and allow for complete customization of the signal.
______________________________________________________
______________________________________________________
🔹 CONDITIONS TO BUY 📈
______________________________________________________
• Signal Validity: The signal will remain valid for X bars .
• Signal Sequence: Configurable as AND or OR .
🔹 +DI > -DI
🔹 +DI < -DI
🔹 +DI > ADX
🔹 +DI < ADX
🔹 -DI > ADX
🔹 -DI < ADX
🔹 ADX > Threshold
🔹 ADX < Threshold
🔹 +DI > Threshold
🔹 +DI < Threshold
🔹 -DI > Threshold
🔹 -DI < Threshold
🔹 +DI (Crossover) -DI
🔹 +DI (Crossunder) -DI
🔹 +DI (Crossover) ADX
🔹 +DI (Crossunder) ADX
🔹 +DI (Crossover) Threshold
🔹 +DI (Crossunder) Threshold
🔹 -DI (Crossover) ADX
🔹 -DI (Crossunder) ADX
🔹 -DI (Crossover) Threshold
🔹 -DI (Crossunder) Threshold
🔮 +DI (Crossover) -DI Forecast
🔮 +DI (Crossunder) -DI Forecast
🔮 ADX (Crossover) +DI Forecast
🔮 ADX (Crossunder) +DI Forecast
______________________________________________________
______________________________________________________
🔸 CONDITIONS TO SELL 📉
______________________________________________________
• Signal Validity: The signal will remain valid for X bars .
• Signal Sequence: Configurable as AND or OR .
🔸 +DI > -DI
🔸 +DI < -DI
🔸 +DI > ADX
🔸 +DI < ADX
🔸 -DI > ADX
🔸 -DI < ADX
🔸 ADX > Threshold
🔸 ADX < Threshold
🔸 +DI > Threshold
🔸 +DI < Threshold
🔸 -DI > Threshold
🔸 -DI < Threshold
🔸 +DI (Crossover) -DI
🔸 +DI (Crossunder) -DI
🔸 +DI (Crossover) ADX
🔸 +DI (Crossunder) ADX
🔸 +DI (Crossover) Threshold
🔸 +DI (Crossunder) Threshold
🔸 -DI (Crossover) ADX
🔸 -DI (Crossunder) ADX
🔸 -DI (Crossover) Threshold
🔸 -DI (Crossunder) Threshold
🔮 +DI (Crossover) -DI Forecast
🔮 +DI (Crossunder) -DI Forecast
🔮 ADX (Crossover) +DI Forecast
🔮 ADX (Crossunder) +DI Forecast
______________________________________________________
______________________________________________________
🤖 AUTOMATION 🤖
• You can automate the BUY and SELL signals of this indicator.
______________________________________________________
______________________________________________________
⯁ UNIQUE FEATURES
______________________________________________________
Linear Regression: (Forecast)
Signal Validity: The signal will remain valid for X bars
Signal Sequence: Configurable as AND/OR
Condition Table: BUY/SELL
Condition Labels: BUY/SELL
Plot Labels in the Graph Above: BUY/SELL
Automate and Monitor Signals/Alerts: BUY/SELL
Linear Regression (Forecast)
Signal Validity: The signal will remain valid for X bars
Signal Sequence: Configurable as AND/OR
Table of Conditions: BUY/SELL
Conditions Label: BUY/SELL
Plot Labels in the graph above: BUY/SELL
Automate & Monitor Signals/Alerts: BUY/SELL
______________________________________________________
📜 SCRIPT : ADX Forecast
🎴 Art by : @Titans_Invest & @DiFlip
👨💻 Dev by : @Titans_Invest & @DiFlip
🎑 Titans Invest — The Wizards Without Gloves 🧤
✨ Enjoy!
______________________________________________________
o Mission 🗺
• Inspire Traders to manifest Magic in the Market.
o Vision 𐓏
• To elevate collective Energy 𐓷𐓏
Indicatori e strategie
stracturre.x// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © @mr_khan_smc
////////////////////////////////////////
// Commercial Use Protection Notice:
// This code is protected for commercial use. Any unauthorized reproduction, distribution, or modification
// of this code for commercial purposes is strictly prohibited and may result in legal actions.
////////////////////////////////////////
//@version=5
indicator("stracturre.x", "KHAN SMC", true,
max_bars_back = 5000, max_labels_count = 500, max_lines_count = 500)
//#region variable declaration
var bool mnUp = na
var bool mnDn = na
float mnStrc = na
var top = high
var bot = low
var puUp = high
var puDn = low
var L = low
var H = high
var idmB = low
var idmS = high
var lastH = high
var lastL = low
var lastHH = high
var lastLL = low
//bar indexes
var int puUpbar = na
var int puDnbar = na
var int idmB_bar = na
var int idmS_bar = na
var int Hbar = bar_index
var int Lbar = bar_index
var int lastHbar = bar_index
var int lastLbar = bar_index
var int lastHHbar = bar_index
var int lastLLbar = bar_index
//structure confirmaions
lastHL = math.max(Hbar, Lbar)
var bool isBosUp = 0
var bool isBosDn = 0
var bool isCocUp = 1
var bool isCocDn = 1
//color
color transp = color.new(#59ff62, 5)
//drawing options
equalHL = input.bool(0,"Use equal H/L", "To calculate valid pullbacks and minor structure", group = "Calculation method")
showHL = input.bool(1, "Mark H/L", group = "H/L marking options")
HLcolor = input.color(color.rgb(0, 0, 0), "H/L color", group = "H/L marking options")
showMn = input.bool(0, "Mark out internal structure", group = "Internal structue")
puUpco = input.color(color.rgb(255, 82, 82) , "High pivots", inline = "mnco", group = "Internal structue")
puDnco = input.color(color.green, "Low pivots" , inline = "mnco", group = "Internal structue")
showBC = input.bool(1, "Mark BoS/ChoCH", group = "BoS/Choch")
bull = input.color(color.green, "Bull color", inline = "BSclor" ,group = "BoS/Choch")
bear = input.color(color.red , "Bear color", inline = "BSclor" ,group = "BoS/Choch")
showbarcolor = input.bool(0,"Bar color", group = "Bar color")
showSCOB = input.bool(1, "Show SCOB pattern", group = "Bar color")
scobUp = input.color(color.aqua , "Bullish SCOB", inline = "scob" , group = "Bar color")
scobDn = input.color(color.fuchsia, "Bearish SCOB", inline = "scob" , group = "Bar color")
showIDM = input.bool(1,"Mark previous IDM", group = "IDM")
showliveIDM = input.bool(1,"Mark live IDM", group = "IDM")
idmColor = input.color(color.rgb(21, 6, 230), "IDM color", group = "IDM")
var label lv_lbl = na
var line lv_line = na
showSw = input.bool(1, "Show H/L sweeping lines", group = "H/L sweeps")
markX = input.bool(1, 'Mark "X"', group = "H/L sweeps")
swColor = input.color(color.white, "Sweeping line color", group = "H/L sweeps")
//max line length
maxlen = bar_index - 500
//#endregion
//#region drawing functions
mnMark(bool UD) =>
if showMn
label.new(
x = UD ? puUpbar : puDnbar,
y = UD ? puUp : puDn,
yloc = UD ? yloc.abovebar : yloc.belowbar,
text = "",
color = UD ? puUpco : puDnco,
style = UD ? label.style_arrowdown : label.style_arrowup,
size = size.tiny
)
BoS_ChoCh(bool B_C, bool UpDn) =>
= switch
B_C == 1 and UpDn == 1 =>
B_C == 0 and UpDn == 1 =>
B_C == 0 and UpDn == 0 =>
B_C == 1 and UpDn == 0 =>
HLbarid := HLbarid < maxlen ? maxlen : HLbarid
if showBC
line.new(HLbarid, BCprc, bar_index, BCprc, color = BCcolor, style = line.style_dashed)
label.new(
int( math.avg(bar_index,HLbarid) ), BCprc
,BCtxt
,color = transp
,style = BCstyle
,textcolor = BCcolor
)
cfHL(bool ifHL) =>
= switch
ifHL =>
if high > H
else
=>
if low < L
else
ifHL_txt = if ifHL
if H == lastHH
"HH"
else
"LH"
else
if L == lastLL
"LL"
else
"HL"
cfHLStyle = ifHL ? label.style_label_down : label.style_label_up
if showHL
label.new(ifHLbarid,HLprc,ifHL_txt, color = transp, textcolor = HLcolor, style = cfHLStyle)
sweep(bool swHL, bool swHrLr) =>
swStyle = swHL ? label.style_label_down : label.style_label_up
= switch
swHL == 1 and swHrLr == 1 =>
swHL == 1 and swHrLr == 0 =>
swHL == 0 and swHrLr == 1 =>
swHL == 0 and swHrLr == 0 =>
swHLbarid := swHLbarid < maxlen ? maxlen : swHLbarid
//draw sweeping line
if showSw
line.new(swHLbarid,swprc,bar_index,swprc,color = swColor,style = line.style_dotted)
if markX
label.new(int(math.avg(bar_index,swHLbarid)),swprc, "X", color = transp, textcolor = swColor, style = swStyle, size = size.small)
IDM(bool BS) =>
IDMid = BS ? idmB_bar : idmS_bar
idmprc = BS ? idmB : idmS
idmStyle = BS ? label.style_label_up : label.style_label_down
IDMid := IDMid < maxlen ? maxlen : IDMid
//draw idm takeout line
if showIDM
line.new(IDMid,idmprc,bar_index,idmprc,color = idmColor,style = line.style_dotted)
label.new(int(math.avg(bar_index,IDMid)),idmprc, "IDM", color = transp, textcolor = idmColor, style = idmStyle,size = size.small)
//Bar color
ba_color = if showSCOB
if low == puDn and low >= low and close > high and close > low
scobUp
else if high == puUp and high <= high and close < low and close < high
scobDn
else if showbarcolor
isCocUp?bull:bear
else
na
barcolor(ba_color,-1)
//#endregion
//#region structure mapping
//update IDM
if (high > H or (high == H and equalHL)) and low > idmB
if low <= puDn
idmB := low
idmB_bar := bar_index
else
idmB := puDn
idmB_bar := puDnbar
if (low < L or (low == L and equalHL)) and high < idmS
if high >= puUp
idmS := high
idmS_bar := bar_index
else
idmS := puUp
idmS_bar := puUpbar
//Check for IDM and ChoCh
if isCocUp and lastHL != Lbar
if low < idmB
if idmB != lastL
IDM(1)
isBosUp := 0
lastH := H
lastHbar := Hbar
lastHH := H
lastHHbar := Hbar
cfHL(1)
L := low
Lbar := bar_index
else if lastH != lastHH and high > lastH
cfHL(0)
isCocDn := 0
isBosDn := 0
if close > lastH
BoS_ChoCh(0,1)
isCocUp := 1
else
sweep(1,0)
if isCocDn and lastHL != Hbar
if high > idmS
if idmS != lastH
IDM(0)
isBosDn := 0
lastL := L
lastLbar := Lbar
lastLL := L
lastLLbar := Lbar
cfHL(0)
H := high
Hbar := bar_index
else if low < lastL and lastL != lastLL
if close < lastL
BoS_ChoCh(0,0)
cfHL(1)
isCocDn := 1
isCocUp := 0
isBosUp := 0
else
sweep(0,1)
//Check for BoS
if isBosUp == 0
if high > lastHH
if close > lastHH
BoS_ChoCh(1,1)
cfHL(0)
lastL := L
lastLbar := Lbar
isCocUp := 1
isBosUp := 1
isCocDn := 0
isBosDn := 0
else
sweep(1,1)
if isBosDn == 0
if low < lastLL
if close < lastLL
BoS_ChoCh(1,0)
cfHL(1)
lastH := H
lastHbar := Hbar
isCocUp := 0
isBosUp := 0
isCocDn := 1
isBosDn := 1
else
sweep(0,0)
//#endregion
//#region internal structure
if equalHL
if high >= top
if low > bot
mnDn :=0
mnUp := 1
if low <= bot
if high < top
mnUp := 0
mnDn := 1
if mnUp and not mnUp
mnMark(1)
if mnDn and not mnDn
mnMark(0)
else
if high > top
if low > bot
mnDn :=0
mnUp := 1
if low < bot
if high < top
mnUp := 0
mnDn := 1
if mnUp and not mnUp
mnMark(1)
if mnDn and not mnDn
mnMark(0)
if equalHL
if high >= top
puUp := high
puUpbar := bar_index
if low <= bot
puDn := low
puDnbar := bar_index
top := high
bot := low
if high >= top
top := high
bot := low
else
if high > top
puUp := high
puUpbar := bar_index
if low < bot
puDn := low
puDnbar := bar_index
top := high
bot := low
if high > top
top := high
bot := low
//#endregion
//#region auto update High and Low vars
if high > H or (high == H and equalHL)
H := high
Hbar := bar_index
if high > idmS
idmS := high
idmS_bar := bar_index
if high > lastH or (high == lastH and equalHL)
lastH := high
lastHbar := bar_index
if high > lastHH or (high == lastHH and equalHL)
lastHH := high
lastHHbar := bar_index
if low < L or (low == L and equalHL)
L := low
Lbar := bar_index
if low < idmB
idmB := low
idmB_bar := bar_index
if low < lastL or (low == lastL and equalHL)
lastL := low
lastLbar := bar_index
if low < lastLL or (low == lastLL and equalHL)
lastLL := low
lastLLbar := bar_index
//#endregion
//#region live IDM
if showliveIDM and barstate.islast
= if isCocUp and lastHL == Hbar
else if isCocDn and lastHL == Lbar
lv_line := line.new(liveIDMbar, liveIDM, bar_index + 20, liveIDM, color = idmColor, style = line.style_dotted),
lv_lbl := label.new(bar_index + 20, liveIDM, "IDM", color = transp, textcolor = idmColor, style = isCocUp ? label.style_label_down : label.style_label_up, size = size.small)
else
lv_line := na
lv_lbl := na
line.delete(lv_line )
label.delete(lv_lbl )
//#endregion
//#region fixing bugs
// plot(H,"H")
// plot(lastH, "lastH")
// plot(lastHH, "lastHH")
// plot(idmS, "idmS")
// plot(puUp, "puUp")
// plot(L,"L")
// plot(lastL, "lastL")
// plot(lastLL, "lastLL")
// plot(idmB, "idmB")
// plot(puDn, "puDn")
//#endregion
BB2/2.5ハイライトIndicator Name: **BB2/2.5 Highlight**
1. **Introduction**
BB2/2.5 Highlight displays two Bollinger Bands—inner at ±2 σ and outer at ±2.5 σ—while hiding the middle band. The space between the two bands is shaded gray to help you spot strong momentum or unusually large price movements at a glance.
2. **Key Features**
* **Double-Band Display**: Plots inner band (±2 σ) and outer band (±2.5 σ) simultaneously.
* **Zone Highlight**: Shades the area between the two bands to emphasize high-momentum zones.
* **Full Customization**: Adjust period, deviations, line colors, line transparency, and shading color directly via inputs.
3. **Parameters**
* **Length** (Period)
– The number of bars used to calculate the moving average. Default: 20
* **Std Dev 1** (Inner Band Deviation)
– Multiplier for standard deviation of the inner band. Default: 2.0
* **Std Dev 2** (Outer Band Deviation)
– Multiplier for standard deviation of the outer band. Default: 2.5
* **Color Band 1** (Inner Band Color)
– Color of the ±Std Dev 1 lines. Default: Blue
* **Color Band 2** (Outer Band Color)
– Color of the ±Std Dev 2 lines. Default: Orange
* **Line Transparency**
– Transparency of both band lines, 0 (opaque) to 100 (invisible). Default: 30
* **Shading Color**
– Color and transparency of the shaded area between bands. Default: Gray at 85% opacity
4. **How to Use & Interpretation**
* **Break above inner band (±2 σ)**
Indicates accelerating trend strength or strong momentum.
* **Break above outer band (±2.5 σ)**
Signals an extreme move—potential overbought/oversold condition and possible reversal points.
* **Shaded Zone (±2 σ to ±2.5 σ)**
Visually marks the range where price is exhibiting particularly strong momentum.
5. **Customization Examples**
* **Change deviations to ±1.5 / ±3.0**
Set Std Dev 1 = 1.5, Std Dev 2 = 3.0
* **Use green/red band colors**
Set Color Band 1 = #00FF00, Color Band 2 = #FF0000
* **Increase transparency to 50%**
Set Line Transparency = 50
* **Light-blue shading**
Set Shading Color = #ADD8E6 at 85% opacity
6. **Notes & Warnings**
* Bollinger Bands are based on historical volatility; they do not predict future price action.
* Always combine with other technical tools or fundamental analysis for confirmation.
* Behavior may vary across timeframes and instruments—backtest and paper-trade before going live.
7. **Conclusion**
BB2/2.5 Highlight makes “strong momentum” zones immediately visible by combining a ±2 σ/±2.5 σ double‐band with a shaded area. All inputs are adjustable, so tailor the settings to fit your trading style and use the indicator to time entries and exits more effectively.
Happy Trading!
LANZ Strategy 4.0🔷 LANZ Strategy 4.0 — Trend Impulse Detection with Risk Management
LANZ Strategy 4.0 is a multi-indicator trend strategy designed for short to medium-term trading on any asset or timeframe. It combines Parabolic SAR, Supertrend, ADX, and time zone highlighting to detect and confirm trend impulses, while managing entries with dynamic Stop Loss (SL) and Take Profit (TP) levels.
🧠 Core Components:
Parabolic SAR: Identifies short-term trend reversals.
Supertrend: Highlights trend continuation zones.
ADX Filter: Ensures trend strength by filtering entries when ADX exceeds a defined threshold.
Impulse Detection Logic: Detects and confirms movement impulses with a counter, only generating trade signals on confirmed sequences.
Risk Management: Calculates dynamic SL/TP with a default risk-reward ratio of 1:2, minimum SL of 4 pts, and maximum of 12 pts.
📊 Visual Features:
Trend lines from Supertrend and SAR.
Colored background zones for different sessions (Asia, NY).
Labels and lines for entry, SL, and TP.
Movement number labels help visualize impulse progression.
Alerts when a new impulse is confirmed.
⚙️ How It Works:
The strategy waits for a confirmed impulse (i.e., change in SAR + Supertrend + ADX filter).
Once a valid impulse is confirmed:
A trade signal (BUY/SELL) is shown.
SL and TP levels are calculated and drawn.
The script monitors live price to determine if SL or TP is hit.
Impulse counter advances to label movement progression.
🔔 Alerts:
You will receive an alert each time a new valid impulse is confirmed, indicating a potential trading opportunity.
📝 Notes:
Script is intended for discretionary or assisted trading, not automated execution.
Works best during active sessions with visible trend direction.
You can adjust ATR period, multiplier, SL padding, and impulse thresholds.
Credits:
Developed by LANZ combines established technical indicators and original impulse-count logic.
ADX Supertrend | [DeV]The "ADX Supertrend" indicator is a user-friendly tool that blends two popular trading indicators—the Supertrend and the Average Directional Index (ADX)—to help traders spot trends and make smarter trading decisions. By combining these two, it offers a clearer picture of when a market is trending strongly and in which direction, while cutting down on misleading signals. Here’s a straightforward explanation of how each part works, how they team up, the benefits of using them together, and why the ADX makes the Supertrend even better.
Supertrend:
It's like a guide that follows the market’s price movements to tell you whether prices are trending up or down. It creates two lines, one above and one below the price, based on how much the market is bouncing around (its volatility). When the price moves above the upper line, it signals an uptrend (a good time to buy), and the indicator draws a line below the price to show support. When the price drops below the lower line, it signals a downtrend (a potential time to sell), and the line appears above the price as resistance. The Supertrend is great because it adjusts to market conditions, widening the gap between lines in wild markets and tightening it in calm ones.
Average Directional Index:
The ADX is all about measuring how strong a trend is, without caring whether it’s going up or down. Think of it as a meter that tells you if the market is charging forward with purpose or just drifting aimlessly. It uses a scale from 0 to 100, where higher numbers mean a stronger trend. For example, an ADX above 25 often suggests a solid trend worth paying attention to, while a low ADX signals a sleepy, sideways market. The ADX also looks at whether buyers or sellers are in control to confirm the trend’s direction.
Confluence:
The Supertrend is great at spotting trends, but it can be a bit trigger-happy, giving signals in markets that aren’t really trending. That’s where the ADX shines. It acts like a quality control check, making sure the Supertrend’s signals only count when the market is moving with conviction. By filtering out weak or messy trends, the ADX helps you avoid wasting time on trades that fizzle out. It also double-checks the trend’s direction, so you’re not just guessing whether buyers or sellers are in charge. This teamwork means you get signals that are more reliable and less likely to lead you astray, especially in tricky markets where prices bounce around without a clear path.
MomentumBreak AI SwiftEdgeMomentumbreak AI SwiftEdge
Overview
This indicator combines two powerful concepts: Pivot Trendlines by HoanGhetti and the Squeeze Momentum Oscillator by AlgoAlpha. The goal of this mashup is to provide traders with a tool that identifies key trendline breakouts while simultaneously gauging market momentum through a dynamic gradient overlay. By integrating these two elements, the indicator offers a unique perspective on price action, helping traders spot high-probability breakout opportunities that align with momentum shifts.
How It Works
Pivot Trendlines:
The indicator uses HoanGhetti's Pivot Trendlines to identify pivot highs and lows based on user-defined settings (Pivot Length and Pivot Type).
Trendlines are drawn between these pivots, and breakouts are detected when the price crosses above (bullish) or below (bearish) the trendline.
Breakouts are visually highlighted with gradient boxes and an "AI: BREAK ⚡" label for clarity.
Squeeze Momentum Oscillator:
The Squeeze Momentum Oscillator calculates market momentum using a combination of volatility and price movement.
A dynamic midline (price_mid) is plotted, with its color indicating squeeze conditions (yellow for hypersqueeze, orange for normal squeeze, gray otherwise).
A gradient overlay is added above or below the midline to reflect momentum:
Green gradient for bullish momentum (vf > 0), placed below candles in an uptrend (close > price_mid) or above in a downtrend (close < price_mid).
Red gradient for bearish momentum (vf < 0), placed above candles in an uptrend or below in a downtrend.
The gradient's intensity increases as the price moves further from the midline, visually emphasizing momentum strength.
Breakout Confirmation:
Breakout signals are only generated when the momentum aligns with the breakout direction:
Bullish breakouts require bullish momentum (vf > 0).
Bearish breakouts require bearish momentum (vf < 0).
This alignment ensures that breakouts are more reliable and reduces false signals.
Default Settings
Pivot Length: 20 (determines the lookback period for identifying pivot points)
Pivot Type: Normal (can be set to "Fast" for more frequent pivots)
Repainting: True (trendlines may repaint as new pivots form; can be disabled)
Target Levels: False (optional horizontal levels at pivot points; can be enabled)
Extend: None (trendline extension; options: none, right, left, both)
Trendline Style: Dotted (options: dotted, dashed, solid)
Underlying Momentum Oscillator Length: 10
Swing Momentum Oscillator Length: 20
Squeeze Calculation Period: 14
Squeeze Smoothing Length: 7
Squeeze Detection Length: 14
Hyper Squeeze Detection Length: 5
Usage
This indicator is ideal for traders who want to combine trendline breakouts with momentum analysis:
Trendline Breakouts: Look for gradient boxes and "AI: BREAK ⚡" labels to identify confirmed breakouts. Bullish breakouts are marked with green boxes, and bearish breakouts with red boxes.
Momentum Confirmation: The gradient overlay (green for bullish, red for bearish) helps confirm the strength of the trend. Stronger gradients (less transparent) indicate stronger momentum.
Midline Crosses: Small triangles below (bullish) or above (bearish) candles indicate when the price crosses the dynamic midline, providing additional entry/exit signals.
Why This Combination?
The integration of Pivot Trendlines and Squeeze Momentum Oscillator creates a synergy that enhances trade decision-making:
Pivot Trendlines identify key structural levels in the market, making breakouts significant events.
The Squeeze Momentum Oscillator adds a momentum filter, ensuring that breakouts are supported by underlying market strength.
Together, they provide a more holistic view of price action, filtering out low-probability breakouts and highlighting opportunities where trendline breaks align with strong momentum.
Notes
This indicator does not use request.security() or barmerge.lookahead_on, so there is no risk of lookahead bias.
The script is designed to provide clear visual cues without making unrealistic claims about performance. It is intended as a tool for analysis, not a guaranteed trading system.
Fibonacci BB EMA SetupThe Fibonacci-BB-EMA setup is a hybrid technical indicator that marries three classic tools into one dynamic
BTC Scalping Strategy (BB & RSI)Courtesy of Copilot a BTC Scalping strategy that is surprisingly profitable (with no commission) on a 1min timeframe.
Breakout Swing High LowThis open-source indicator identifies swing high and swing low breakouts, providing clear visual signals for potential trend entries. It is designed for traders who use price action to spot breakout opportunities in trending markets.
How It Works
Swing Detection: The indicator uses a user-defined lookback period (default: 4 candles) to identify swing highs (peaks) and swing lows (troughs). A swing high is confirmed when a candle's high is higher than the surrounding candles, and a swing low is confirmed when a candle's low is lower.
Breakout Signals: A green triangle below the candle signals a breakout above the most recent swing high, indicating a potential buy opportunity. A red triangle above the candle signals a breakout below the most recent swing low, indicating a potential sell opportunity. Each swing level triggers only one breakout signal to avoid clutter.
Visualization: Swing high levels are drawn as green dashed lines, and swing low levels as red dashed lines, extending 15 candles for clarity. Breakout signals are marked with small triangles.
How to Use
Apply the Indicator: Add the indicator to your TradingView chart.
Adjust Lookback: Set the "Lookback Candles" input (default: 4) to control the sensitivity of swing detection. Smaller values detect shorter-term swings, while larger values identify more significant levels.
Interpret Signals:
Green triangle (below candle): Consider a buy opportunity when price breaks above a swing high.
Red triangle (above candle): Consider a sell opportunity when price breaks below a swing low.
Combine with Other Tools: Use in conjunction with trend indicators (e.g., 50-period EMA) or support/resistance levels to filter signals in trending markets.
Timeframes: Works best on higher timeframes (e.g., 1H, 4H) in trending markets to avoid false breakouts in sideways conditions.
Key Recent Highs and LowsKey Recent Highs & Lows — Session‐Aware Market Structure
TL;DR
This tool plots the most important intraday price extremes for every U.S.‑equity trading segment—Early Premarket • Western Premarket • Regular Hours • Post‑Market Hours • Yesterday’s Range—and labels them so you can trade break‑outs, retests and mean‑reversion with instant context.
📐 Theory & Why These Levels Matter
Liquidity Pools
Visible session extremes attract resting orders (stop‑losses, take‑profits, opening prints). Price often accelerates into them and reacts at them.
Market Memory
The previous day’s high/low is a widely‑watched pivot for gap fills, overnight inventory corrections and multi‑day breakouts.
Mean‑Reversion Windows
Statistically, pre‑ and post‑market ranges are thin; an aggressive spike outside those bands often retraces when full liquidity returns.
Break‑Out Confirmation
A true breakout isn’t just a tick above RTH‑high—it usually closes or at least consolidates above the prior extreme. Seeing all bands lets you gauge whether a push is “real” or just probing thinner sessions.
Put simply, these levels help you decide:
Break‑out ➜ trade in the direction of expansion past a session extreme with follow‑through.
Fade/Mean‑Revert ➜ fade a spike that tags an extreme without commitment (e.g., hits Western‑Premkt‑High then stalls before RTH).
🔍 What the Script Draws
Session (UTC‑4 EST) Default Color / Style Typical Use‑Case
Early Premarket 4 – 7 AM Thick semi‑transparent orange line detect overnight retail spikes / fade plays
Western Premarket 7 – 9 : 30 AM Dashed orange‑red breakout watch as U.S. brokers open
Regular Session (RTH) 9 : 30 – 16 : 00 Bold teal dotted line core intraday structure; classic highs/lows
Post‑Market 16 – 23 : 59 Soft indigo band after‑hours news moves, earnings fades
Previous‑Day RTH Solid teal gap‑fill targets, trend continuation filters
(All colors, thicknesses and transparencies are editable in the settings.)
✨ Features
Real‑Time Updates
Levels refresh tick‑by‑tick inside their own session—no repainting later.
One‑Click Visibility Toggles
Show or hide any session extreme independently.
Clean Auto‑Labels
Optional right‑edge tags (“RTH High”, “Premkt Low”, etc.) keep your chart readable even when lines overlap.
Automatic Daily Reset
At midnight Eastern, buffers clear and yesterday’s extremes roll into the “Prev‑Day” pair.
Zero‑Noise Design
Transparencies and line styles are tuned so you can overlay on any symbol / timeframe without drowning candles.
📈 How to Trade with It
Intraday Breakout Strategy
Mark confluence (e.g., price pushes through Western Premkt High and Yesterday’s High).
Wait for a pullback that holds above the reclaimed band.
Enter with stop under that session line; target next band or measured‑move.
Fade / Mean‑Reversion
Pre‑market headline sends price 5 % above Early Premkt High.
Volume dries up before RTH open.
Short into exhaustion; cover near Western Premkt High or VWAP.
Gap‑Fill & Trend Days
Cash open gaps above Prev‑Day High.
If first 15‑min candle closes back inside yesterday’s range, bias shifts to downside fade.
If it holds above, treat gap as breakout and track RTH High extensions.
Pair it with volume‑profile, VWAP, or momentum oscillators for even higher‑confidence setups.
⚙️ Settings Cheat‑Sheet
Setting Effect
Show Regular / Premarket / Post‑market High/Low Master visibility per session
Show Previous Day High/Low Toggle yesterday’s anchor range
Show Session Labels Turn the right‑edge tags on/off
Style Panel Change each line’s color, width, transparency, dash/dot
🛠️ Best Practices
Works on any intraday timeframe (1‑min to 1‑hour).
Crypto or 24 h markets: adjust session times to match your exchange.
Combine with alerts (e.g., “price crossing RTH High”) for hands‑free monitoring.
Put KRHL on your chart and you’ll never wonder which high matters most again—because they’re all right there, clearly labeled and color‑coded. Trade breakouts or fades with confidence, armed with the exact market structure everyone else is watching.
AAPL Covered Call + CSP Alerts (Enhanced)This is a work-in-progress tool designed to help identify ideal setups for selling covered calls (CC) and cash-secured puts (CSP) on Apple (AAPL) using price levels, volume confirmation, and moving average context.
📈 What It Does
🔴 CC SELL Alert
Triggers when:
Price breaks above a custom resistance level
A volume spike confirms momentum
Designed to catch strong upside pushes where call premiums are rich.
🟠 CC WATCH Alert
Triggers when:
Price is near the 200-day MA
Volume is elevated but there’s no breakout yet
A pre-alert to watch for potential call-selling setups near resistance.
🟢 CSP BUY Alert
Triggers when:
Price drops below a custom support level
A volume flush signals potential short-term capitulation
Meant to time CSP entries when downside panic sets in.
⚙️ Adjustable Settings
Input Description
ccPriceTrigger Resistance level to trigger CC SELL
ccVolumeMultiplier Volume threshold for CC confirmation
maProximityBuffer Distance from 200 MA to trigger WATCH
cspSupportLevel Support level to trigger CSP BUY
cspVolumeMultiplier Volume threshold for CSP confirmation
🧭 Timeframe + Expiration Guidelines
Timeframe Use Case Recommended Option Expirations
1H Primary strategy view 21–30 days to expiration
15m Scalping / fast alerts 7–14 DTE (more sensitive)
Daily Swing or macro setups 30–45+ DTE for stability
📣 Alerts (How-To)
This script supports TradingView alerts — just right-click any chart and choose:
"Add Alert" → Select one of the following conditions:
"AAPL CC SELL Alert"
→ Triggers when breakout and volume spike align
"AAPL CC WATCH Alert"
→ Triggers when price approaches 200 MA with volume
"AAPL CSP Alert"
→ Triggers when support breaks with high volume
These alerts are great for traders who want real-time notification when premium-selling setups form — whether you're at your desk or mobile.
🧠 Strategy Context
Built after months of active trading on AAPL, this script distills real trading lessons from volume-based breakouts and support flushes into a signal system for timing covered call and CSP entries. We found these triggers especially reliable when paired with option delta targeting and open interest zones.
Feel free to clone, fork, or improve. Suggestions welcome — this is a living tool.
[blackcat] L3 Adaptive Trend SeekerOVERVIEW
The indicator is designed to help traders identify dynamic trends in various markets efficiently. It employs advanced calculations including Dynamic Moving Averages (DMAs) and multiple moving averages to filter out noise and provide clear buy/sell signals 📈✨. By utilizing innovative algorithms that adapt to changing market conditions, this tool enables users to make informed decisions across different timeframes and asset classes.
This versatile indicator serves both novice and experienced traders seeking reliable ways to navigate volatile environments. Its primary objective is to simplify complex trend analysis into actionable insights, making it an indispensable addition to any trader’s arsenal ⚙️🎯.
FEATURES
Customizable Dynamic Moving Average: Calculates an adaptive moving average tailored to specific needs using customizable coefficients.
Trend Identification: Utilizes multi-period moving averages (e.g., short-term, medium-term, long-term) to discern prevailing trends accurately.
Crossover Alerts: Provides visual cues via labels when significant crossover events occur between key indicators.
Adjusted MA Plots: Displays steplines colored according to the current trend direction (green for bullish, red for bearish).
Historical Price Analysis: Analyzes historical highs and lows over specified periods, ensuring robust trend identification.
Conditional Signals: Generates bullish/bearish conditions based on predefined rules enhancing decision-making efficiency.
HOW TO USE
Script Installation:
Copy the provided code and add it under Indicators > Add Custom Indicator within TradingView.
Choose an appropriate name and enable it on your desired charts.
Parameter Configuration:
Adjust the is_trend_seeker_active flag to activate/deactivate the core functionality as needed.
Modify other parameters such as smoothing factors if more customized behavior is required.
Interpreting Trends:
Observe the steppled lines representing the long-term/trend-adjusted moving averages:
Green indicates a bullish trend where prices are above the dynamically calculated threshold.
Red signifies a bearish environment with prices below respective levels.
Pay attention to labels marked "B" (for Bullish Crossover) and "S" (for Bearish Crossover).
Signal Integration:
Incorporate these generated signals within broader strategies involving support/resistance zones, volume data, and complementary indicators for stronger validity.
Use crossover alerts responsibly by validating them against recent market movements before execution.
Setting Up Alerts:
Configure alert notifications through TradingView’s interface corresponding to crucial crossover events ensuring timely responses.
Backtesting & Optimization:
Conduct extensive backtests applying diverse datasets spanning varied assets/types verifying robustness amidst differing conditions.
Refine parameters iteratively improving overall effectiveness and minimizing false positives/negatives.
EXAMPLE SCENARIOS
Swing Trading: Employ the stepline crossovers coupled with momentum oscillators like RSI to capitalize on intermediate trend reversals.
Day Trading: Leverage rapid adjustments offered by short-medium term MAs aligning entries/exits alongside intraday volatility metrics.
LIMITATIONS
The performance hinges upon accurate inputs; hence regular recalibration aligning shifting dynamics proves essential.
Excessive reliance solely on this indicator might lead to missed opportunities especially during sideways/choppy phases necessitating additional filters.
Always consider combining outputs with fundamental analyses ensuring holistic perspectives while managing risks effectively.
NOTES
Educational Resources: Delve deeper into principles behind dynamic moving averages and their significance in technical analysis bolstering comprehension.
Risk Management: Maintain stringent risk management protocols integrating stop-loss/profit targets safeguarding capital preservation.
Continuous Learning: Stay updated exploring evolving financial landscapes incorporating new methodologies enhancing script utility and relevance.
THANKS
Thanks to all contributors who have played vital roles refining and optimizing this script. Your valuable feedback drives continual enhancements paving way towards superior trading experiences!
Happy charting, and here's wishing you successful ventures ahead! 🌐💰!
Overnight Bias: Net Long/Short with PercentOvernight bias can assist with NY session gap fades or gap and go trading once the NY session is open.
Some general gap rules are:
1. Gap Direction Aligned with Overnight Bias
Rule: If the NY session gaps up and the overnight bias is Net Long (e.g., >60% of bars above the overnight open), favor longs.
Confirmation: Look for price to hold above overnight open or VWAP.
Invalidation: If price re-enters the overnight range, reassess.
2. Gap Opposing Overnight Bias (Contrarian Setup)
Rule: If the NY opens opposite the overnight bias, expect potential gap fill or reversal.
Trade Bias: Look for retracement back toward the overnight open or VWAP.
Example: Overnight was Net Long, but NY gaps down → wait for reclaim of VWAP to go long, else fade strength.
3. Gap Into Prior Day Value Area (VAH to VAL)
Rule: If the NY session gaps into the prior day value area:
It implies mean reversion behavior.
Expect price to rotate toward the POC (point of control).
Trade Bias: Fade toward POC if overnight bias is balanced or opposite the gap direction.
4. Gap Outside Prior Day Value Area
Rule: A gap above VAH or below VAL suggests potential breakout or new trend day.
Trade Bias: If overnight bias aligns (e.g., gap above VAH + Net Long overnight), consider trend continuation.
Invalidation: If price breaks back inside the prior day value area, watch for failed breakout → fade trade possible.
5. Gap Above Prior Day High / Below Prior Day Low
Rule: This is a true breakout gap.
Above Prior High + Net Long Bias: Look for continuation.
Below Prior Low + Net Short Bias: Look for sell pressure continuation.
Trade Bias: Use pullbacks to the prior high/low or overnight open for continuation setups.
6. Gap Within Prior Day Range
Rule: If the NY open is within the prior day’s high and low, expect chop or balanced conditions.
Trade Bias: Use overnight VWAP and prior POC as decision zones. Be cautious unless a breakout occurs.
7. Failed Gap and Re-entry into Prior Day Range
Rule: If price gaps above prior high but re-enters the prior range, it's a failed breakout.
Trade Bias: Look for a fade back to VAH or POC.
Confirmation: Watch for breakdown below overnight VWAP or failure to hold overnight open.
8. Gap + Overnight VWAP Divergence
Rule: If price gaps opposite the direction of VWAP (e.g., VWAP rising, gap down), wait for confirmation.
Trade Bias: Be cautious with early trades. Bias may flip if VWAP is reclaimed.
9. Gap + Overnight Open Test
Rule: If price opens with a gap and then retests the overnight open, that level becomes a decision zone.
Trade Bias:
Hold above = trend continuation.
Rejection = gap fill or reversal.
10. Unfilled Gap = Trend Bias
Rule: If the gap remains unfilled for the first 30–60 minutes, it increases the odds of a trend day.
Trade Bias: Trade pullbacks in the direction of the gap and overnight bias.
Should anyone have suggestion to add please do so.
Opening Range and Market BoundariesOpening Range and Market Boundaries
This versatile and insightful indicator combines two powerful concepts frequently used by professional traders: Opening Range Analysis and Market Boundaries derived from previous high/low levels. It is specifically designed to support intraday trading strategies and helps you identify key price zones for entries, exits, and breakout confirmations.
🔍 Features & Utility
1. Opening Range Box
What it does:
Highlights the high and low of the first candle after market open (9:15 AM IST) with a shaded box. This box spans the full trading session, from 9:15 AM to 3:30 PM, representing the key price range where the initial balance is formed.
Timeframe Compatibility:
The Opening Range box is optimized for 1-minute to 1-hour charts. It is most effective on lower timeframes (1m, 5m, 15m, 30m) where intraday price movements and breakout patterns can be clearly observed.
Usage Tips:
Breakouts above or below the Opening Range box can signal potential directional bias for the rest of the trading day.
Price consolidating within the range may indicate a choppy or range-bound session.
Works well with volume and momentum indicators for confirmation.
2. Market Boundaries
What it does:
Plots horizontal lines at:
Previous Day High/Low
Previous Week High/Low
Previous Month High/Low
Why it matters:
These levels act as natural support and resistance zones, and are commonly watched by institutional traders, making them crucial for:
Spotting reversals or breakouts
Planning stop-loss and target zones
Avoiding trades around high-rejection areas
Customization Options:
Toggle ON/OFF for Daily, Weekly, and Monthly levels.
Independent colors and line thickness for each level, enabling you to distinguish between different timeframes easily.
🛠️ How to Use Effectively
Use during market open:
Switch to a 5-minute or 15-minute chart during the first few candles of the session. Observe the Opening Range box formation and plan trades based on breakout direction.
Confluence Trading:
Look for price action near previous session highs/lows in confluence with the Opening Range box edges. These intersections often become high-probability zones for breakouts or reversals.
Session Preparation:
Before the market opens, analyze where the price is relative to past high/low boundaries. If it's near a weekly/monthly level, be cautious — those areas can cause whipsaws or false breakouts.
Avoid low-volume breakouts:
Use this indicator in conjunction with volume tools or price action confirmation to validate the strength of a move outside the Opening Range or Market Boundaries.
📌 Summary
This indicator is designed for intraday traders, scalpers, and swing traders who want a reliable structure to guide their decisions. It visually marks the opening balance of the market and essential higher timeframe boundaries, helping you trade with discipline and precision.
MinhPhan Trend Pullback EntryThis Pine Script strategy, "Trend Pullback Entry (Clean View)," is designed to identify pullback entries within a trending market using EMA, ADX, RSI, and VWAP. It dynamically distinguishes between trending and sideways markets by calculating the ADX (average directional index) and EMA spread, and it visually highlights trend/sideway zones with shaded boxes.
Key Logic:
Trend Detection: A trend is confirmed when ADX > Threshold and the spread between EMA Fast and EMA Slow exceeds 0.2%. Otherwise, the market is considered sideways.
Entry Conditions:
Long: When in an uptrend, price pulls back near VWAP, EMA Fast > EMA Slow, and RSI > 50.
Short: In a downtrend, price pulls back near VWAP, EMA Fast < EMA Slow, and RSI < 50.
Trade Management:
Entries are marked using strategy.entry for both long and short setups.
Exits are handled with fixed risk-reward logic: Take Profit and Stop Loss in percent, converted into price ticks using syminfo.mintick.
Visual Aids:
Box overlays distinguish trend and sideway zones.
EMA and VWAP lines guide the trend direction.
Arrows mark entry signals on the chart for both long and short setups.
NY Open Market Condition Analyzer – TTR & RINY Open Market Condition Analyzer – TTR & RI (Dynamic Edition)
Built for MNQ/NQ scalpers using 1-minute charts , this upgraded analyzer continuously reevaluates structural quality during the NY Open, and now includes optional divergence detection between MNQ and MES.
📊 Core Strategy Filters
TTR = Total Trading Range (2:00–6:30AM PST premarket movement)
RI = Reactive Impulse (body of current 5-min candle)
VWAP Clearance = Confirms directional momentum
VWAP Slope Alignment = Confirms trend context (optional)
MNQ/MES Divergence Filter = Detects structural disagreement (optional)
🎯 Primary Objective
This tool helps you:
Avoid low-conviction sessions and false breakouts
React to structure as it evolves between 6:30–8:30AM PST
Confirm ideal trading windows based on clear, aligned structure
✅ Features
🔁 Dynamic Evaluation Logic
Starts at 6:34AM PST (after first 5-min bar)
Reevaluates every 5 minutes until 8:30AM PST
Signal (GOOD or SKIP) updates dynamically based on latest structure
Once structure improves, you'll know — in real-time
📊 Condition Checks
Premarket Range ≥ threshold (default: 15 pts)
5-min Candle Body ≥ threshold (default: 10 pts)
Distance from VWAP ≥ threshold (default: 5 pts)
VWAP Slope alignment (optional)
MNQ/MES Directional Divergence (optional)
📋 Visual Output
📦 Icon above bar for every 5-min window
🏷 Label displays “GOOD SETUP” or “SKIP”
📊 Dashboard panel shows:
- Premarket Range
- 5-min Candle Size
- VWAP Distance
- VWAP Slope Status
- Divergence Check Result
- Final Verdict
🛠️ Configurable Settings
Minimum Range / Candle / VWAP thresholds
Toggle VWAP Slope Filter
Toggle MNQ/MES Divergence Filter
Custom Colors for:
- GOOD/Skip Session
- Divergence Alert
- Dashboard Panel
🔔 How to Add the Alert
Load on a 1-minute MNQ chart
Click the Alerts tab (🔔 icon)
Click + Create Alert
Condition: NY Open Market Condition Analyzer – TTR & RI → Good Setup Alert
Set to: “Only Once Per Bar Close”
🧪 Best For
Scalpers trading 10–30 pt MNQ/NQ setups
Traders filtering out low-structure sessions (especially Mondays & Fridays)
Discretionary traders who want real-time structure confirmation
🧠 Pro Tip
Pair with:
Opening Range Breakout strategies
Session VWAP
Pre-market S/R zones
MAS Capital RI confirmation for trade entry
This tool adapts with the market — because setups aren’t static, and neither is your edge.
Q KAMA Clarity Trend Q KAMA Clarity Trend
A minimalistic yet versatile trend-following tool that combines **Kaufman’s Adaptive Moving Average (KAMA) with Gaussian smoothing and ATR-based breakout logic. Built for traders who value clarity, responsiveness, and visual simplicity.
🔧 Core Features
1. Adaptive KAMA Trend Line
• Dynamically adjusts to market volatility using Kaufman’s KAMA.
• Gaussian filter pre-smooths price to reduce noise before calculating KAMA.
2. Dual Trend Logic (toggle)
• Default: Trend shifts on price breakouts above/below KAMA ± ATR channel.
• Alternative: Faster signals based on price crossing KAMA directly.
3. Visual Feedback
• Auto-colored KAMA line based on trend direction (up/down/neutral).
• Arrows on trend reversals (up = green, down = red).
• Optional shadow fill below line for regime clarity.
• Optional dot marker ("⦿") on the KAMA line to show trend shifts.
4. Alerts
• Real-time alerts when a new uptrend or downtrend begins.
• Compatible with manual or automated strategies.
⚙️ Configurable Inputs
• Source: Price input (default: close)
• KAMA Length: Adjusts sensitivity (longer = smoother)
• ATR Length & Multiplier: Defines channel width for breakout detection
• Gaussian Filter (Length & Sigma): Controls smoothing strength
• Trend Logic Mode: ATR channel breakout vs. price-KAMA cross
• Style: Custom colors, background fill, marker visibility
📈 How to Use
• Follow trend arrows for directional confirmation
• Use ATR breakout mode for cleaner, filtered signals
• Switch to price-KAMA crossover mode for earlier entries
• Works well with structure, momentum, and volume confirmation
Fibonacci ReRSI LevelsOverview
The Fibonacci RSI Levels indicator plots key Fibonacci-based RSI levels directly on the price chart, offering a unique perspective on market momentum, potential reversal points, and support/resistance zones. By combining the Relative Strength Index (RSI) with Fibonacci retracement levels, this indicator helps traders identify overbought/oversold conditions, trend strength, and critical price levels for potential trading opportunities.
Key Features
Fibonacci RSI Levels: Plots five key levels—23.6% (Oversold), 38.2% (Downtrend Limit), 50.0% (Mid Level), 61.8% (Uptrend Limit), and 78.6% (Overbought)—based on a logarithmic RSI calculation.
Customizable Settings: Adjust the RSI length, line extension, timeframe, and level colors to suit your trading style.
Gradient Fills: Optional gradient fills between levels provide a visual representation of the price's position relative to key zones.
Multi-Timeframe Support: Use the current chart resolution or specify a custom timeframe (e.g., 1M, 5D, 240 for 4 hours) for flexible analysis.
Logarithmic RSI Calculation: Ideal for assets with exponential price movements, such as cryptocurrencies.
How It Works
The indicator uses a reverse-engineered RSI calculation, inspired by Giorgos Siligardos' concept, to determine price levels corresponding to specific Fibonacci RSI values. These levels are plotted as horizontal lines on the chart, each with a label showing the Fibonacci percentage and the exact price level. If enabled, gradient fills between the levels change color based on the price's position, enhancing visual interpretation.
Usage
Support and Resistance: The 38.2% and 61.8% levels often act as support and resistance in trending markets.
Overbought/Oversold Conditions: The 23.6% and 78.6% levels can indicate potential reversal points due to oversold or overbought conditions.
Trend Confirmation: The 50% level serves as a neutral zone or pivot point. Prices above this level may indicate an uptrend, while prices below suggest a downtrend.
Gradient Fills: Use the gradient fills to quickly assess the price's position within the key zones, aiding in decision-making for entries, exits, or reversals.
Interpretation
Uptrend: When the price is above the 50% level and approaching the 61.8% level, it may signal a strong uptrend.
Downtrend: When the price is below the 50% level and nearing the 38.2% level, it may indicate a downtrend.
Reversal Zones: Watch for price reactions near the 23.6% and 78.6% levels, as these can be areas of potential reversals.
Customization
RSI Length: Adjust the RSI period to fine-tune the sensitivity of the levels.
Line Extension: Control how far the levels extend into the future for better visualization.
Timeframe: Choose between the current chart resolution or a custom timeframe for multi-timeframe analysis.
Colors: Customize the colors of each level and enable gradient fills for enhanced visual clarity.
Intraday Pivot Highs & Lows (Asia London NY)Intraday Pivot Highs & Lows (Asia London NY)
Script Description
This TradingView indicator is optimized for Forex, scalping, intraday, and day trading strategies. It accurately plots Pivot Points and levels, high/low, support and resistance levels. These are clearly identified to aid the trader during killzone sessions and session opens. Ideal for scalp trading, intraday sessions, and leveraging SMT (Smart Money Techniques). Utilize these Price Levels effectively during London Open, NY Open, and the Asia Session, utilizing Market Structure to pinpoint key levels and reversal zones for successful trading. Improve your Trade Setups, recognize reliable Chart Patterns, identify critical Price Pivots, and trade confidently off Institutional Levels.
This script marks the intraday pivot highs, lows and midpoints retracement levels for
Asia
London
New York
It also plots the previous day's high, low, midpoint, and 0.618 Fibonacci retracement levels, providing traders with critical price reference points for making intraday trading decisions.
Originality & Usefulness
This indicator uniquely integrates pivot calculations across three major Forex sessions (Asia, London, NY), clearly delineating session boundaries.
It enhances visibility by using distinct styling
solid for New York
dashed for London
dotted lines for Asia
And colour co-ordinated labeling, improving traders' ability to identify important intraday price action zones efficiently. Unlike standard pivot indicators, this script emphasizes session-specific trading dynamics.
### Key Features ###
Session-Based Levels: Automatically plots high, low, midpoint, and Fibonacci (.618) levels for each major session (Asia, London, NY).
Distinct Visual Cues: Lines and labels use session-specific styles and colors to easily differentiate between sessions.
Previous Day Reference: Clearly plots and labels yesterday's high, low, midpoint, and Fibonacci levels.
Flexible Visibility: Traders can set timeframe visibility to maintain clean charts on higher timeframes.
### How It Works
At the start of next day's session, previous session lines are cleared, ensuring the chart remains uncluttered.
High, low, midpoint, and Fibonacci retracement levels (.618) are dynamically calculated and displayed at the close of each session.
All session levels remain visible until the start of the next respective session, providing continuous actionable insights.
Trading Application:
Session highs and lows act as strong intraday support and resistance zones.
Midpoints and Fibonacci levels are effective for identifying potential reversal zones and retracements.
Daily levels provide a broader context, useful for gauging intraday volatility and range.
### Limitations and Considerations ##
Best used on liquid assets with clear session-based price action, such as Forex major pairs, if used on indexes make sure they contain 24 hour price action not just New York session.
This indicator is designed to streamline intraday trading by clearly marking essential pivot points and session-based levels, significantly improving traders' market context and decision-making accuracy. Can be used to enhance SMT decision making when scalping killzones.
Dskyz (DAFE) GENESIS Dskyz (DAFE) GENESIS: Adaptive Quant, Real Regime Power
Let’s be honest: Most published strategies on TradingView look nearly identical—copy-paste “open-source quant,” generic “adaptive” buzzwords, the same shallow explanations. I’ve even fallen into this trap with my own previously posted strategies. Not this time.
What Makes This Unique
GENESIS is not a black-box mashup or a pre-built template. It’s the culmination of DAFE’s own adaptive, multi-factor, regime-aware quant engine—built to outperform, survive, and visualize live edge in anything from NQ/MNQ to stocks and crypto.
True multi-factor core: Volume/price imbalances, trend shifts, volatility compression/expansion, and RSI all interlock for signal creation.
Adaptive regime logic: Trades only in healthy, actionable conditions—no “one-size-fits-all” signals.
Momentum normalization: Uses rolling, percentile-based fast/slow EMA differentials, ALWAYS normalized, ALWAYS relevant—no “is it working?” ambiguity.
Position sizing that adapts: Not fixed-lot, not naive—not a loophole for revenge trading.
No hidden DCA or pyramiding—what you see is what you trade.
Dashboard and visual system: Directly connected to internal logic. If it’s shown, it’s used—and nothing cosmetic is presented on your chart that isn’t quantifiable.
Inputs and What They Mean (Read Carefully)
📊 Main Signal Inputs
Maximum Raw Score: How many distinct factors can contribute to regime/trade confidence (default 4). If you extend the quant logic, increase this.
RSI Length / Min RSI for Shorts / Max RSI for Longs: Fine-tunes how “overbought/oversold” matters; increase the length for smoother swings, tighten floors/ceilings for more extreme signals.
⚡ Regime & Momentum Gates
Min Normed Momentum/Score (Conf): Raise to demand only the strongest trends—your filter to avoid algorithmic chop.
🕒 Volatility & Session
ATR Lookback, ATR Low/High Percentile: These control your system’s awareness of when the market is dead or ultra-volatile. All sizing and filter logic adapts in real time.
Trading Session (hours): Easy filter for when entries are allowed; default is regular trading hours—no surprise overnight fills.
📊 Sizing & Risk
Max Dollar Risk / Base-Max Contracts: All sizing is adaptive, based on live regime and volatility state—never static or “just 1 contract.” Control your max exposures and real $ risk.
🔄 Exits & Scaling
Stop/Trail/Scale multipliers: You choose how dynamic/flexible risk controls and profit-taking need to be. ATR-based, so everything auto-adjusts to the current market mode.
Visuals That Actually Matter
Dashboard (Top Right): Shows only live, relevant stats: scoring, status, position size, win %, win streak, total wins—all from actual trade engine state (not “simulated”).
Watermark (Bottom Right): Momentum bar visual is always-on, regime-aware, reflecting live regime confidence and momentum normalization. If the bar is empty, you’re truly in no-momentum. If it glows lime, you’re riding the strongest possible edge.
*No cosmetics, no hidden code distractions.
Why It Wins
While others put out “AI-powered” strategies with little logic or soul, GENESIS is ruthlessly practical. It is built around what keeps traders alive:
- Context-aware signals, not just patterns
- Tight, transparent risk
- Inputs that adapt, not confuse
- Visuals that clarify, not distract
- Code that runs clean, efficient, and with minimal overfitting risk (try it on QQQ, AMD, SOL, etc. out of the box)
Disclaimer (for TradingView compliance):
Trading is risky. Futures, stocks, and crypto can result in significant losses. Do not trade with funds you cannot afford to lose. This is for educational and informational purposes only. Use in simulation/backtest mode before live trading. No past performance is indicative of future results. Always understand your risk and ownership of your trades.
Personal Note to Mods and Traders:
Yes, this statement is DIFFERENT, because this script IS different. If you see this taken down for some technicality (charting labels etc.), know I will fix, adapt, and repost until the system and its truth are visible to the community.
This will not be my last—my goal is to keep raising the bar until DAFE is a brand or I’m forced to take this private.
Use with discipline, use with clarity, and always trade smarter.
— Dskyz, powered by DAFE Trading Systems.
NY Key Open Lines (UTC-4 - Label to Right Side)📌 NY Key Open Lines (UTC-4 Based) — Indicator Description
This TradingView indicator automatically draws horizontal lines at four key New York session opening times:
08:30, 09:30, 10:30, and 18:00 (based on New York time, UTC-4).
Customizable style:
Line color
Line width
Label font size
Label vertical offset
🛠️ How to Use
Apply the indicator on a 5-minute chart for best results.
Make sure your chart is set to Chicago time (UTC-5) if you're syncing with CME instruments.
Use the settings panel to personalize each line’s appearance and visibility.
1H 200 EMA with Custom Bounce Signal1H 200 EMA with Bounce Signals ,, that's it
Can be use as support/resistance