AI Strat ATR Dinamico + ADX + Trend Adaptivo (No Repaint)Below is a fully self-contained, English-language description of every input, function, and logical block inside the “AI Strat ATR Dinamico + ADX + Trend Adaptivo (No Repaint)” indicator. You can copy and paste this into TradingView’s “Description” field when you publish, without exposing any Pine code.
---
## Indicator Name and Purpose
**Name (Short Title):**
AI Strat Adaptive v3 (NoRepaint)
**Overview:**
This indicator combines multiple technical tools—RSI, EMA, ATR (with a dynamic multiplier), ADX/DI, and an “AI‐style” scoring mechanism—to generate trend-filtered and reversal signals. It also optionally confirms signals on a higher timeframe, dynamically adjusts its sensitivity based on volatility, and plots intrabar stop‐loss (SL) and take‐profit (TP) levels derived from ATR. Special care has been taken to ensure that no signals “repaint” (i.e., once drawn on a closed bar, they never disappear or shift).
---
## 1. Main Inputs
All of the inputs appear in the Settings dialog for the published indicator. Below is a detailed explanation of each input, grouped by logical category.
### A. RSI & EMA Base Parameters
1. **RSI Length (Base)**
   * **Input type:** Integer (default 14)
   * **Description:** Number of bars used to calculate the Relative Strength Index (RSI). A shorter RSI reacts more quickly to price changes; a longer RSI is smoother.
2. **RSI Overbought Threshold**
   * **Input type:** Integer (default 60)
   * **Description:** If the RSI value rises above this level, it contributes a “sell” signal component. You can adjust this (e.g., 70) to make your system more conservative.
3. **RSI Oversold Threshold**
   * **Input type:** Integer (default 40)
   * **Description:** If the RSI falls below this level, it contributes a “buy” signal component. Raising this threshold (e.g., 50) makes the strategy more aggressive in seeking reversals.
4. **EMA Length (Base)**
   * **Input type:** Integer (default 20)
   * **Description:** Number of bars for the Exponential Moving Average (EMA). A shorter EMA will produce more frequent crossovers, a longer EMA is smoother.
### B. ATR & Volatility Filter Parameters
5. **ATR Length (Base)**
   * **Input type:** Integer (default 14)
   * **Description:** Number of bars to calculate Average True Range (ATR). The ATR is used both for measuring volatility and for dynamic SL/TP levels.
6. **ATR SMA Length**
   * **Input type:** Integer (default 50)
   * **Description:** Number of bars to compute a Simple Moving Average of the ATR itself. This gives a baseline of “normal” volatility. If ATR rises significantly above this SMA, the indicator treats the market as “high volatility.”
7. **ATR Multiplier Base**
   * **Input type:** Float (default 1.2, step 0.1)
   * **Description:** Base multiplier for ATR when filtering for volatility. The actual threshold is computed as `ATR_SMA × (ATR_Multiplier Base) × sqrt(current_ATR / ATR_SMA)`. In other words, the multiplier becomes larger if volatility is rising, and smaller if volatility is falling.
8. **Disable Volatility Filter**
   * **Input type:** Boolean (default false)
   * **Description:** If enabled (true), the indicator will ignore any volatility‐based filtering, using signals regardless of ATR behavior. If disabled (false), signals only fire when ATR > (ATR\_SMA × dynamic multiplier).
### C. Price-Change & “AI Score” Parameters
9. **Price Change Period (bars)**
   * **Input type:** Integer (default 3)
   * **Description:** The number of bars back to measure percentage price change. Used to ensure that a “trend” signal is accompanied by a sufficiently positive (for longs) or negative (for shorts) price movement over this many bars.
10. **Base AI Score Threshold**
    * **Input type:** Float (default 0.1)
    * **Description:** The indicator computes a composite “AI-style” score by combining the RSI signal (overbought/oversold) and an EMA crossover signal. Only if the absolute value of that composite score exceeds this threshold will a trend signal be eligible. Raising it makes signals rarer but (potentially) higher-conviction.
### D. SMA “ICT” Trend Filter Parameters
11. **ICT SMA Long Length (Base)**
    * **Input type:** Integer (default 50)
    * **Description:** Number of bars for the “long” Simple Moving Average (SMA) used in the internal trend filter. Typically, price must be above this SMA (and ADX must be strong) to confirm an uptrend, or below it (and ADX strong) to confirm a downtrend.
12. **ICT SMA Short1 Length (Base)**
    * **Input type:** Integer (default 10)
    * **Description:** Secondary “fast” SMA used both for reversal logic (e.g., price crossing above it can count as a bullish reversal) and part of the internal trend confirmation.
13. **ICT SMA Short2 Length (Base)**
    * **Input type:** Integer (default 20)
    * **Description:** A second “medium” SMA used for reversal triggers (e.g., crossovers or crossunders alongside RSI conditions).
### E. ADX & DI Parameters
14. **Base ADX Length**
    * **Input type:** Integer (default 14)
    * **Description:** Number of bars for the ADX (Average Directional Index) moving averages, which measure trend strength. The same length is used for +DI and –DI smoothing.
15. **Base ADX Threshold**
    * **Input type:** Float (default 25.0, step 0.5)
    * **Description:** If ADX > this threshold and +DI > –DI, we consider an uptrend; if ADX > this threshold and –DI > +DI, we consider a downtrend. Raising this value demands stronger trends to qualify.
### F. Sensitivity & Cooldown
16. **Sensitivity (0–1)**
    * **Input type:** Float between 0.0 and 1.0 (default 0.5)
    * **Description:** A general “mixture” parameter used internally to weight how aggressively the indicator leans into trend versus reversal. In practice, the code uses it to fine-tune exact thresholds for switching between trend and reversal conditions. You can leave it at 0.5 unless you want to bias more heavily toward either regime.
17. **Base Cooldown Bars Between Signals**
    * **Input type:** Integer (default 5, min 0)
    * **Description:** Once a long or short signal fires, the indicator will wait at least this many bars before allowing a new signal in the same direction. Prevents “signal flipping” on each bar. A higher number forces fewer, more spaced-out entries.
18. **Trend Confirmation Bars**
    * **Input type:** Integer (default 3, min 1)
    * **Description:** After the directional filters (+DI/–DI cross, price vs. SMA), the indicator still requires that price remains on the same side of the long SMA for at least this many consecutive bars before confirming “trend up” or “trend down.” Larger values smooth out false breakouts but may lag signals.
### G. Higher Timeframe Confirmation
19. **Use Higher Timeframe Confirmation**
    * **Input type:** Boolean (default true)
    * **Description:** If true, the indicator will request a block of values (SMA, +DI, –DI, ADX) from a higher timeframe (default 60 minutes) and require that the higher timeframe is also in agreement (strong uptrend or strong downtrend) before confirming your current-timeframe trend. This helps filter out lower-timeframe noise.
20. **Higher Timeframe (TF) for Confirmation**
    * **Input type:** Timeframe (default “60”)
    * **Description:** The chart timeframe (e.g., 5, 15, 60 minutes) whose trend conditions must also be true. It’s sent through a `request.security(..., lookahead=barmerge.lookahead_off)` call so that it never “paints ahead.”
### H. Dynamic TP/SL Parameters
21. **TP as ATR Multiple**
    * **Input type:** Float (default 2.0, step 0.1)
    * **Description:** When a trade is open, the “take-profit” price is determined by looking at the highest high (for longs) or lowest low (for shorts) observed since entry, and then plotting a cross (“X”) at that level when the trend finally flips. This is purely for display. However, separate from that, this parameter can be adapted if you want a strictly ATR–based TP. In the “Minimal” version, TP is ≈ (highest high) once trend inverts, but you could rewrite it to use `entry_price + ATR×TP_Multiplier`.
22. **SL as ATR Multiple**
    * **Input type:** Float (default 1.0, step 0.1)
    * **Description:** While in a trade, a trailing SL line is plotted each bar. Its value is always `entry_price ± (ATR × SL_Multiplier)`. When the trend inverts, the SL no longer updates, and you see it on the chart.
### I. Display and Mode Options
23. **Show Debug Lines**
    * **Input type:** Boolean (default true)
    * **Description:** When enabled, the indicator will plot all intermediate lines—ATR SMA, ATR Threshold, +DI, –DI, ADX (current and HTF), HTF SMA, etc.—so that you can diagnose exactly what’s happening. Turn this off to hide all debug information and only see entry/exit shapes.
24. **Enable Scalping Mode**
    * **Input type:** Boolean (default false)
    * **Description:** If true, many of the “base” parameters are halved (e.g., RSI length becomes 7 instead of 14, ATR length becomes 7 instead of 14, ADX length becomes 7, etc.), and the ADX threshold is multiplied by 0.8. This makes all oscillators and moving averages more reactive, suited for very short-term (scalping) setups.
---
## 2. Core Calculation Blocks
Below is a high-level description of each logical block (in code order), translated from Pine into conceptual steps.
### A. Adjust Inputs if “Scalping Mode” Is On
If **Scalping Mode** = true, then:
* `RSI_Length` becomes `max(1, round(Base_RSI_Length / 2))`
* `EMA_Length` becomes `max(1, round(Base_EMA_Length / 2))`
* `ATR_Length` becomes `max(1, round(Base_ATR_Length / 2))`
* `Price_Change_Period` becomes `max(1, round(Base_Price_Change_Period / 2))`
* `SMA_Long_Length`, `SMA_Short1_Length`, and `SMA_Short2_Length` are each halved (minimum 1).
* `ADX_Length` = `max(1, round(Base_ADX_Length / 2))`
* `ADX_Threshold` = `Base_ADX_Threshold × 0.8`
* `Cooldown_Bars` = `max(0, round(Base_Cooldown_Bars / 2))`
Otherwise, all adjusted lengths = their base values.
### B. RSI, EMA & “AI Score” on Current Timeframe
1. **Compute RSI:**
   * Uses the (possibly adjusted) `RSI_Length`.
   * Denote this as `RSI_Value`.
2. **Compute ATR & Its SMA:**
   * `ATR_Value` = `ta.atr(ATR_Length)`.
   * `ATR_SMA` = `ta.sma(ATR_Value, ATR_SMA_Length)`.
   * Then define `Volatility_Increase` = (`ATR_Value > ATR_SMA`).
   * If the volatility has increased, the weighting of RSI vs. EMA changes.
3. **Compute Weights:**
   * If `Volatility_Increase == true`, then:
     * `RSI_Weight = 0.7`
     * `EMA_Weight = 0.3`
   * Otherwise:
     * `RSI_Weight = 0.3`
     * `EMA_Weight = 0.7`
4. **RSI Signal Component (`RSI_Sig`):**
   * If `RSI_Value > RSI_Overbought`, then `RSI_Sig = –1`.
   * Else if `RSI_Value < RSI_Oversold`, then `RSI_Sig = +1`.
   * Otherwise, `RSI_Sig = 0`.
5. **EMA Value & Signal Component (`EMA_Sig`):**
   * `EMA_Value` = `ta.ema(close, EMA_Length)`.
   * `EMA_Sig = +1` if the current close crosses **above** the EMA; `EMA_Sig = –1` if the current close crosses **below** the EMA; else `0`.
6. **Compute Raw “AI Score”:**
   $$
     Raw\_AI = (RSI\_Sig \times RSI\_Weight)\;+\;(EMA\_Sig \times EMA\_Weight)
   $$
   Then,
   $$
     AI\_Score = \frac{Raw\_AI}{(RSI\_Weight + EMA\_Weight)}
   $$
   (This normalization ensures the score always ranges between –1 and +1 if both weights sum to 1.)
### C. Dynamic ATR Multiplier & Volatility Filter
1. **Volatility Factor:**
   $$
     Volatility\_Factor = \frac{ATR\_Value}{ATR\_SMA}
   $$
2. **Dynamic ATR Multiplier:**
   $$
     ATR\_Multiplier = ATR\_Multiplier\_Base \times \sqrt{Volatility\_Factor}
   $$
3. **High Volatility Condition (`High_Volatility`):**
   * If `Disable_Volatility_Filter == true`, then treat `High_Volatility = true` always.
   * Else, `High_Volatility = (ATR_Value > ATR_SMA × ATR_Multiplier)`.
### D. Price Change Percentage
* **Compute Price Change:**
  $$
    Price\_Change = \frac{(Close - Close )}{Close } \times 100
  $$
  * This is the percent return from `Price_Change_Period` bars ago to now.
  * For a valid long‐trend signal, we require `Price_Change > 0`; for a short trend, `Price_Change < 0`.
### E. Local SMAs for Trend/Reversal Filters
* `SMA_Close_Long` = `ta.sma(close, SMA_Long_Length)`.
* `SMA_Close_Short1` = `ta.sma(close, SMA_Short1_Length)`.
* `SMA_Close_Short2` = `ta.sma(close, SMA_Short2_Length)`.
These three SMAs help define the “local trend” and reversal breakout points:
* **Primary Trend Filter:**
  * Price must be above `SMA_Close_Long` for an uptrend filter, or below `SMA_Close_Long` for a downtrend filter.
* **Reversal Filter:**
  * A bullish reversal is detected if **(RSI < Oversold AND close crosses above EMA)** OR **(RSI < Oversold AND close crosses above SMA\_Close\_Short1)**.
  * A bearish reversal is detected if **(RSI > Overbought AND close crosses below EMA)** OR **(RSI > Overbought AND close crosses below SMA\_Close\_Short1)**.
### F. Manual +DI, –DI & ADX on Current Timeframe
Instead of relying on the built-in `ta.adx`, the script calculates DI and ADX manually. This makes it easier to replicate the exact logic on a higher timeframe via `request.security`. The steps are:
1. **Directional Movement (DM) Components:**
   * `Up_Move` = `high – high `
   * `Down_Move` = `low  – low`
   * `Plus_DM` = `Up_Move` if (`Up_Move > Down_Move` AND `Up_Move > 0`), else `0`
   * `Minus_DM` = `Down_Move` if (`Down_Move > Up_Move` AND `Down_Move > 0`), else `0`
2. **True Range (TR) Components:**
   * `TR1` = `high – low`
   * `TR2` = `abs(high – close )`
   * `TR3` = `abs(low – close )`
   * `True_Range` = `max(TR1, TR2, TR3)`
3. **Smoothed Averages (RMA):**
   * `Sm_TR`   = `ta.rma(True_Range, ADX_Length)`
   * `Sm_Plus` = `ta.rma(Plus_DM, ADX_Length)`
   * `Sm_Minus`= `ta.rma(Minus_DM, ADX_Length)`
4. **Compute DI%:**
   $$
     Plus\_DI = \frac{Sm\_Plus}{Sm\_TR} \times 100,\quad
     Minus\_DI = \frac{Sm\_Minus}{Sm\_TR} \times 100
   $$
5. **DX and ADX:**
   $$
     DX = \frac{|Plus\_DI - Minus\_DI|}{Plus\_DI + Minus\_DI} \times 100,\quad
     ADX = ta.rma(DX, ADX_Length)
   $$
These values are referred to as `(plus_di, minus_di, adx_val)` for the current timeframe.
---
## 3. Higher Timeframe (HTF) Confirmation Function
If **Use Higher Timeframe Confirmation** is enabled, the script calls a single helper (Pine) function `f_htf` with two parameters: the ADX length and the SMA length (both taken from the “base” or “scaled” values). Internally, `f_htf` simply reruns the manual DI/ADX logic (same as above) on the higher timeframe’s bar data, and also includes that timeframe’s closing price and its SMA for trend comparison.
* **Request.Security Call:**
  ```
      = request.security(
        syminfo.tickerid,
        higher_tf,
        f_htf(adx_length, sma_long_len),
        lookahead=barmerge.lookahead_off
    )
  ```
  * `lookahead=barmerge.lookahead_off` ensures that no HTF value “paints” early; you always see only confirmed HTF bars.
* The returned tuple provides:
  1. `ht_close` = HTF closing price
  2. `ht_sma`   = HTF SMA of length `sma_long_len`
  3. `ht_pdi`   = HTF +DI percentage
  4. `ht_mdi`   = HTF –DI percentage
  5. `ht_adx`   = HTF ADX value
---
## 4. Trend & Reversal Filters (Current & HTF)
### A. Current-Timeframe Trend Filter
1. **Uptrend\_Basic (Current TF)**
   $$
     (plus\_di > minus\_di)\;\land\;(adx\_val > ADX\_Threshold)\;\land\;(close > SMA\_Close\_Long)
   $$
2. **Downtrend\_Basic (Current TF)**
   $$
     (minus\_di > plus\_di)\;\land\;(adx\_val > ADX\_Threshold)\;\land\;(close < SMA\_Close\_Long)
   $$
3. **Trend Confirmation by Bars:**
   * `Bars_Since_Below` = number of bars since `close <= SMA_Close_Long`.
   * `Bars_Since_Above` = number of bars since `close >= SMA_Close_Long`.
   * If `Uptrend_Basic == true` AND `Bars_Since_Below ≥ Trend_Confirmation_Bars` → mark `Uptrend_Confirm = true`.
   * If `Downtrend_Basic == true` AND `Bars_Since_Above ≥ Trend_Confirmation_Bars` → mark `Downtrend_Confirm = true`.
### B. Reversal Filters (Current TF)
1. **Bullish Reversal (`Rev_Bullish`):**
   * If `(RSI < RSI_Oversold AND close crosses above EMA_Value)` OR
     `(RSI < RSI_Oversold AND close crosses above SMA_Close_Short1)`
     → then `Rev_Bullish = true`.
2. **Bearish Reversal (`Rev_Bearish`):**
   * If `(RSI > RSI_Overbought AND close crosses below EMA_Value)` OR
     `(RSI > RSI_Overbought AND close crosses below SMA_Close_Short1)`
     → then `Rev_Bearish = true`.
### C. Higher-Timeframe Trend Filter (HTF)
1. **HTF Uptrend (`HT_Uptrend`):**
   $$
     (ht\_pdi > ht\_mdi)\;\land\;(ht\_adx > ADX\_Threshold)\;\land\;(ht\_close > ht\_sma)
   $$
2. **HTF Downtrend (`HT_Downtrend`):**
   $$
     (ht\_mdi > ht\_pdi)\;\land\;(ht\_adx > ADX\_Threshold)\;\land\;(ht\_close < ht\_sma)
   $$
3. **Combine Current & HTF:**
   * If **Use\_HTF\_Confirmation == true**, then:
     * `Uptrend_Confirm := Uptrend_Confirm AND HT_Uptrend`
     * `Downtrend_Confirm := Downtrend_Confirm AND HT_Downtrend`
   * Otherwise, just use the current timeframe’s `Uptrend_Confirm` and `Downtrend_Confirm`.
4. **Define `CurrentTrend` (Integer):**
   * `CurrentTrend = +1` if `Uptrend_Confirm == true`.
   * `CurrentTrend = –1` if `Downtrend_Confirm == true`.
   * Otherwise, `CurrentTrend = 0`.
5. **Reset “One Trade Per Trend”:**
   * There is a persistent variable `LastTradeTrend`.
   * Every time `CurrentTrend` flips (i.e., `CurrentTrend != CurrentTrend `), the code sets `LastTradeTrend := 0`.
   * That allows one new entry once the detected trend has changed.
---
## 5. One‐Time “Cooldown” Logic
* **`LastSignalBar`**
  * A persistent integer (initially undefined).
  * After each confirmed long or short entry, `LastSignalBar` is set to the bar index where that signal fired.
* **`Bars_Since_Signal`**
  * If `LastSignalBar` is undefined, treat as a very large number (so that initial signals are always allowed).
  * Otherwise, `Bars_Since_Signal = bar_index – LastSignalBar`.
* **Cooldown Check:**
  * A new long (or short) can only be generated if `(Bars_Since_Signal > Signal_Cooldown)`.
  * This prevents multiple signals in rapid succession.
---
## 6. Entry Conditions (No Repaint)
All of the conditions below are calculated “intrabar,” but the script only actually registers a **signal** on **bar close** (`barstate.isconfirmed`) so that signals never repaint.
### A. Trend‐Based “Raw” Conditions
1. **Trend\_Long\_Raw:**
   $$
     (AI\_Score > AI\_Score\_Threshold)\;\land\;Uptrend\_Confirm\;\land\;High\_Volatility\;\land\;(Price\_Change > 0)
   $$
2. **Trend\_Short\_Raw:**
   $$
     (AI\_Score < -AI\_Score\_Threshold)\;\land\;Downtrend\_Confirm\;\land\;High\_Volatility\;\land\;(Price\_Change < 0)
   $$
### B. Reversal “Raw” Conditions
1. **Rev\_Long\_Raw:**
   $$
     Rev\_Bullish\;\land\;(CurrentTrend \neq +1)
   $$
2. **Rev\_Short\_Raw:**
   $$
     Rev\_Bearish\;\land\;(CurrentTrend \neq -1)
   $$
### C. Combine Raw Signals
* `Raw_Long = Trend_Long_Raw OR Rev_Long_Raw`.
* `Raw_Short = Trend_Short_Raw OR Rev_Short_Raw`.
### D. Confirmed Long/Short Signal Flags
On each new bar **close** (`barstate.isconfirmed == true`):
* **Long\_Signal\_Confirmed** can fire if:
  1. `Raw_Long == true`
  2. `LastTradeTrend != +1` (we haven’t already taken a long in this same trend)
  3. `Bars_Since_Signal > Signal_Cooldown`
  If all three hold, then on this bar close the code sets:
  * `Long_Signal = true`
  * `LastTradeTrend := +1`
  * `LastSignalBar := bar_index`
  Otherwise, `Long_Signal := false` on this bar.
* **Short\_Signal\_Confirmed** works the same way but with `Raw_Short`, `LastTradeTrend != -1`, etc.
  If triggered, it sets `Short_Signal = true`, `LastTradeTrend := -1`, and `LastSignalBar := bar_index`. Otherwise `Short_Signal := false`.
* **Important:** If the bar is still forming (`else` branch of `barstate.isconfirmed`), then both `Long_Signal` and `Short_Signal` are forced to `false`. This guarantees that no shape or alert appears until the bar actually closes.
---
## 7. Plotting Entry/Exit Shapes
1. **Trend Long Signal (Triangle Up)**
   * Condition: `Long_Signal == true` **AND** `Trend_Long_Raw == true`.
   * Appearance: A small, semi-transparent lime green triangle drawn **below** the bar.
2. **Trend Short Signal (Triangle Down)**
   * Condition: `Short_Signal == true` **AND** `Trend_Short_Raw == true`.
   * Appearance: A small, semi-transparent maroon triangle drawn **above** the bar.
3. **Reversal Long Signal (Circle)**
   * Condition: `Long_Signal == true` **AND** `Rev_Long_Raw == true`.
   * Appearance: A tiny, more transparent green circle drawn **below** the bar.
4. **Reversal Short Signal (Circle)**
   * Condition: `Short_Signal == true` **AND** `Rev_Short_Raw == true`.
   * Appearance: A tiny, more transparent red circle drawn **above** the bar.
Since `Long_Signal` and `Short_Signal` only ever become true at bar close, these shapes are never repainted or removed once drawn.
---
## 8. Unified Alert Message
* As soon as a new bar closes with either `Long_Signal` or `Short_Signal == true`, an alert message is sent:
  * If `Long_Signal`, then `alert_msg = "action=BUY"`.
  * If `Short_Signal`, then `alert_msg = "action=SELL"`.
  * If neither, `alert_msg = ""` (no alert).
* The code calls `alert(alert_msg, freq=alert.freq_once_per_bar)` only if `barstate.isconfirmed` and `alert_msg` is non‐empty. This ensures exactly one alert per confirmed bar, no intrabar pops.
---
## 9. Dynamic TP/SL Logic (Minimal Implementation)
Once a long or short position is “open,” the script tracks these variables:
1. **Persistent Flags and Prices** (all persist between bars until reset):
   * `InLong` (Boolean)
   * `InShort` (Boolean)
   * `Long_Max` (Float)
   * `Short_Min` (Float)
   * `Entry_Price` (Float)
2. **On Bar Close:**
   * If `Long_Signal == true` →
     * Set `InLong := true`,
     * `Entry_Price := close` of that bar,
     * `Long_Max := high ` (last bar’s high, so that we’re not using “future” data).
   * If `Short_Signal == true` →
     * Set `InShort := true`,
     * `Entry_Price := close`,
     * `Short_Min := low `.
3. **While `InLong == true`:**
   * Continuously update `Long_Max = max(Long_Max, current high)` on each bar (intrabar, but finalized each close).
   * Compute a dynamic SL:
     $$
       SL_{Long} = Entry\_Price - (ATR \times SL\_ATR\_Multiplier).
     $$
   * If **current trend** flips to non-uptrend (`CurrentTrend != +1`), mark `ExitLong = true`.
     * Then the routine plots `TP_Long = Long_Max` as a cross (“X”) at that level.
     * Set `InLong := false` so that no further changes to `Long_Max` or `Entry_Price` happen on future bars.
4. **While `InShort == true`:**
   * Continuously update `Short_Min = min(Short_Min, current low)`.
   * Compute a dynamic SL:
     $$
       SL_{Short} = Entry\_Price + (ATR \times SL\_ATR\_Multiplier).
     $$
   * If trend flips to non-downtrend (`CurrentTrend != –1`), mark `ExitShort = true`.
     * Then the routine plots `TP_Short = Short_Min`.
     * Set `InShort := false` to freeze those values.
5. **Plotting TP/SL if “Show Debug” is On:**
   * **TP Shapes:**
     * When `ExitLong == true`, plot a solid lime “X” at `TP_Long` (highest high).
     * When `ExitShort == true`, plot a solid maroon “X” at `TP_Short` (lowest low).
   * **SL Lines:**
     * If still `InLong`, draw a thin red line at `SL_Long` on each bar.
     * If still `InShort`, draw a thin green line at `SL_Short`.
Thus, your charts visually show the highest‐high take-profit cross for longs, the lowest-low take-profit cross for shorts, and a continuously updating trailing SL until the trend flips. Because all of this is triggered on confirmed bars, nothing “jumps around” after the fact.
---
## 10. Debug‐Only Plot Lines (When Enabled)
When **Show Debug Lines** = true, the indicator will also plot:
1. **ATR SMA (Orange):**
   * The simple moving average of ATR over `ATR_SMA_Length`.
2. **ATR Threshold (Yellow):**
   * `ATR_SMA × ATR_Multiplier` (the dynamically scaled threshold).
3. **+DI & –DI (Current TF):**
   * +DI plotted as a green line, –DI plotted as a red line (opacity \~70%).
4. **ADX (Current TF, Blue):**
   * A blue line for the present timeframe’s ADX.
5. **ADX Threshold (Gray):**
   * A horizontal gray line showing `ADX_Threshold`.
6. **+DI & –DI (HTF, Darker Colors):**
   * If HTF confirmation is on, “HTF +DI” is a greener but more transparent line; “HTF –DI” is a redder but more transparent line.
7. **ADX (HTF, Blue but Transparent):**
   * HTF ADX plotted in blue (high transparency).
8. **HTF SMA (Orange, Transparent):**
   * The higher timeframe’s SMA (same length as `SMA_Long_Length`), drawn in fainter orange.
9. **Volatility Zone Fill (Yellow Tinted Area):**
   * Fills the area between `ATR_SMA` and `ATR_SMA × ATR_Multiplier`.
   * Indicates “normal” versus “high‐volatility” regimes.
These debug lines are purely visual aids. Disable them if you want a cleaner chart.
---
## 11. Putting It All Together — Step-By-Step Flow
1. **Read Inputs** (RSI lengths, EMA length, ATR settings, etc.).
2. **Optionally Halve All Lengths** if “Scalping Mode” is checked.
3. **Calculate Current TF Indicators:**
   * RSI, ATR, ATR\_SMA, EMA, price change, various SMAs, DI/ADX.
4. **Compute “AI Score”** (weighted sum of RSI and EMA signals).
5. **Compute Dynamic ATR Multiplier** and decide if “High Volatility” is true.
6. **Compute Raw Trend/Reversal Conditions** on the current timeframe (without triggering yet).
7. **Fetch HTF Values** in one `request.security` call (SMAs, DI/ADX).
8. **Combine Current & HTF Trend Filters** to confirm `Uptrend_Confirm` or `Downtrend_Confirm`.
9. **Check Reversal Conditions** (price crossing EMA or SMA short, in overbought/oversold zones).
10. **Enforce “One Trade Per Trend”** (clear `LastTradeTrend` whenever `CurrentTrend` flips).
11. **Enforce Cooldown** (must wait at least `Signal_Cooldown` bars since the prior signal).
12. **On Bar Close:**
    * If `Raw_Long` AND not already in a long trend AND cooldown met, then fire `Long_Signal`.
    * Else if `Raw_Short` AND not already in a short trend AND cooldown met, then fire `Short_Signal`.
    * Otherwise, no new signal on this bar.
13. **Plot Long/Short Entry Shapes** according to whether it was a Trend signal or a Reversal signal.
14. **Send Alert** (“action=BUY” or “action=SELL”) exactly once per confirmed bar.
15. **If New Long/Short Signal, Set `InLong`/`InShort`, Record Entry Price, Initialize `Long_Max`/`Short_Min`.**
16. **While `InLong` is true:** Update `Long_Max = max(previous Long_Max, current high)`. Compute `SL_Long`. If the current trend flips (no longer uptrend), set `ExitLong = true`, plot a “TP X,” and close the position logic.
17. **While `InShort` is true:** Similarly update `Short_Min`, compute `SL_Short`, and if trend flips, set `ExitShort = true`, plot a “TP X,” and close the position logic.
18. **Optionally Display Debug Lines** (ATR SMA, ATR threshold, DI/ADX, HTF DI/ADX, etc.).
---
## 12. How to Use in TradingView Community
When you publish this indicator to the TradingView community—choosing “Protected” or “Invite-only” visibility—you can paste the above description into the “Description” field. Users will see exactly what each input does, how signals are generated, and what the various plotted lines represent, **without ever seeing the script source**. In this way, the code itself remains hidden but the logic is fully documented.
1. **Go to “Create New Indicator”** on TradingView.
2. **Paste Your Pine Code** (the full indicator script) in the Pine editor and save it.
3. **Set Visibility = Protected** (or Invite-only).
4. **In the “Description” Text Box, paste the entirety of this document** (steps 1–11).
5. **Click “Publish Script.”**
Users who view your indicator will see its name (“AI Strat Adaptive v3 (NoRepaint)”), a list of all inputs (with default values), and the detailed English description above. They can then load it on any chart, adjust inputs, and see the plotted signals, TP/SL lines, and optional debug overlays—without accessing the underlying Pine code.
---
### Summary of Key Points
* **RSI, EMA, ATR, DI/ADX, and “AI Score”** work together to define “trend vs. reversal.”
* **Dynamic volatility filter** uses ATR and ATR\_SMA to adapt the weighting of RSI vs. EMA and decide whether “volatility is high enough” to permit a trend trade.
* **One trade per detected trend** and a **cooldown period** prevent over‐trading.
* **Higher timeframe confirmation** (optional) further filters out noise.
* **No-repaint logic**:
  * All signals only appear at bar close (`barstate.isconfirmed`).
  * HTF values are fetched with `lookahead=barmerge.lookahead_off`.
* **Entry shapes** (triangles and circles) clearly mark trend vs. reversal entries.
* **Dynamic TP/SL**: highest‐high (or lowest‐low) since entry is used as TP, ATR×multiplier as SL.
* **Debug mode** (optional) shows every intermediate line for full transparency.
Use this description verbatim (or adapt it slightly for your personal style) when publishing. That way, your community sees exactly how each component works—inputs, functions, filters—while the Pine source code remains private.
在腳本中搜尋"scalping"
Paul_BDT Osc. CHOPOverview: 
This indicator is an advanced multi-timeframe Choppiness Index tool, designed to help assess market conditions across various timeframes simultaneously. It assists in identifying whether the market is in a trending or ranging (choppy) phase, enhancing decision-making for both scalping and intraday strategies.
 This script integrates: 
	•	Choppiness Index computation (with EMA smoothing and Bollinger Bands).
	•	Multi-timeframe analysis (preset scalping/intraday setups or manual selection).
	•	Visual aids (color-coded plots, labels, and background highlights).
	•	Alert mechanisms for key conditions (choppy breakouts and trends).
⸻
 Key Features & Functionalities: 
 1. Choppiness Index Calculation: 
	•	The Choppiness Index (CHOP) quantifies market volatility—whether price action is consolidating (high CHOP values) or trending (low CHOP values).
	•	Formula:
\text{CHOP} = 100 \times \frac{\log\left(\frac{\sum \text{True Range}}{\text{High}{\text{max}} - \text{Low}{\text{min}}}\right)}{\log(\text{Period})}
	•	It is smoothed with an Exponential Moving Average (EMA) for stability.
	•	Bollinger Bands are applied to the CHOP for dynamic range visualization.
⸻
 2. Multi-Timeframe Support: 
	•	Preset Modes:
	•	Scalping Setups: 1min, 3min, 5min, 15min.
	•	Intraday Setups: 15min, 30min, 1H, 4H.
	•	Manual Configuration: Three customizable timeframes (e.g., daily, 3-day, weekly).
	•	Dynamic Display: Traders can choose which timeframes to visualize and whether to display labels with timeframe identifiers.
⸻
 3. Visualization Aids: 
	•	Plots:
	•	Primary CHOP with Bollinger Bands on the current chart’s timeframe (UT).
	•	Additional CHOP plots across selected timeframes, color-coded for easy differentiation.
	•	Labels:
	•	Labels are displayed on the chart for each timeframe, showing the CHOP value and its corresponding timeframe.
	•	These labels refresh every bar for clarity.
	•	Background Highlights:
	•	Signals choppy breakouts with a yellow overlay when the CHOP crosses below both its EMA and a set threshold (default: 50).
⸻
 4. Alert System: 
Two main alert types are built-in:
	•	Choppy Trend Alerts: Triggered when the CHOP crosses below the threshold (e.g., 50), signaling a potential shift toward a trending market.
	•	Choppy Spike Alerts: Activated when CHOP crosses below both its EMA and the threshold within a single candle—indicative of sudden shifts in market conditions.
	•	Alerts include:
	•	Directional bias (Long or Short based on candle close).
	•	Open/close levels.
	•	Stop-loss reference (previous bar’s high/low).
	•	Timestamp in the chosen time zone.
⸻
 Strategic Application: 
	•	Ranging Markets:
	•	CHOP values above threshold indicate high choppiness (consolidation).
	•	Suitable for range-bound strategies (mean reversion, scalping inside ranges).
	•	Trending Markets:
	•	CHOP values below threshold signal trending phases.
	•	Optimal for momentum or breakout strategies.
	•	Multi-Timeframe Edge:
	•	Cross-referencing CHOP conditions across multiple timeframes helps confirm higher probability setups.
	•	E.g., alignment between intraday and higher timeframes enhances confidence in trend continuations or reversals.
	•	Choppy Spikes:
	•	The spike detection (cross below both EMA and threshold within one candle) flags rapid transitions—potential breakout or breakdown scenarios.
⸻
 Customization : 
	•	Adapt CHOP period length and threshold based on asset volatility.
	•	Configure specific timeframes matching your strategy (scalping, intraday, swing).
	•	Enable or disable visual components (labels, background highlights, alerts) for a cleaner interface.
⸻
 Conclusion: 
This indicator provides a comprehensive and adaptable tool to monitor market structure dynamics across multiple timeframes. It’s particularly effective in discerning the right trading environment—whether to engage in trend-following or range-bound strategies. The integration of visual cues and proactive alerts ensures being informed of critical market transitions, enhancing timing and risk management.
Nifty 1m EMA Pullback Scalper Signals
### **Master the Market with the Sniper Scalping Strategy for Nifty (1-Minute Timeframe)**  
Unlock the power of precision trading with this expertly crafted **Sniper Scalping Strategy**, designed specifically for the Nifty index on a lightning-fast 1-minute timeframe. Perfect for traders who thrive on quick decisions and small, consistent profits, this strategy combines multiple indicators to deliver razor-sharp entries and exits—ideal for India’s dynamic market.
#### **Why This Strategy Stands Out**  
- **Pinpoint Accuracy**: Harness the synergy of the **5 EMA and 10 EMA crossover** to lock onto the short-term trend, while the **Stochastic Oscillator (14,3,3)** times your entries and exits with surgical precision.  
- **Fast and Effective**: Tailored for the 1-minute chart, this strategy capitalizes on Nifty’s volatility, targeting **10-point profits** with a tight **5-point stop-loss**—keeping your risk low and rewards high.  
- **Trend + Momentum**: Blend trend-following (EMAs) with momentum signals (Stochastic) for a robust, multi-dimensional approach that cuts through market noise.
#### **How It Works**  
- **Buy Signal**: Enter long when the 5 EMA crosses above the 10 EMA and the Stochastic rises above 20—catching the uptrend at its sweet spot.  
- **Sell Signal**: Go short when the 5 EMA dips below the 10 EMA and the Stochastic falls below 80—riding the downtrend with confidence.  
- **Exit Like a Pro**: Take profits at 10 points or when the Stochastic hits overbought/oversold extremes, ensuring you’re in and out before the market shifts.
#### **Perfect for Nifty Scalpers**  
Built for the fast-paced world of Nifty trading, this strategy shines during high-volatility sessions like the market open or global overlaps. Whether you’re a beginner honing your skills or a seasoned trader seeking consistency, the Sniper Scalping Strategy offers a clear, actionable framework to scalp profits with discipline and precision.
#### **Get Started**  
Test it in a demo account, refine it to your style, and watch your scalping game soar. Trade smart, stay focused, and let the Sniper Scalping Strategy turn Nifty’s 1-minute moves into your edge!
 
Signal ScannerSignal Scanner
The Signal Scanner is a powerful tool designed to help traders identify high-probability trade opportunities across multiple timeframes. It works by scanning for key buy and sell signals based on a combination of trend-following indicators and market momentum.
Key Features:
Multi-Timeframe Scanning: The Signal Scanner analyzes signals across various timeframes, from scalping opportunities on the 5-minute chart to swing trades on the daily chart. This flexibility allows traders to adapt to their preferred trading style.
Trend Identification: The scanner utilizes a proprietary trend-detection algorithm that identifies both strong and weak trends in the market. It detects price action patterns, trend reversals, and consolidations to help traders make informed decisions.
Signal Alerts: Once a valid trade signal is identified, the scanner alerts traders with clear Buy and Sell indicators. These alerts are customizable and can be tailored to specific market conditions and trader preferences.
Confirmation Signals: To ensure accuracy, the Signal Scanner works in tandem with Vinnie's Trading Cheat Code and Confirm Alerts. It provides confirmation of trend direction and entry points, increasing the probability of successful trades.
 How It Works: 
The Signal Scanner integrates several layers of analysis to provide actionable insights:
Trend Analysis: Detects and follows prevailing market trends using a combination of moving averages and momentum indicators.
Pattern Recognition: Identifies key market patterns such as breakouts, reversals, and pullbacks, ensuring that traders enter at the most opportune times.
Customizable Settings: Allows traders to adjust parameters like timeframes, sensitivity, and alert conditions to fine-tune the scanner to their trading needs.
 How to Use: 
Select your preferred timeframe (e.g., 5-minute for scalping, 1-hour for day trading, or daily for swing trading).
The Signal Scanner will begin scanning the market, identifying potential entry points based on the selected criteria.
Once a valid signal is detected, the script will display Buy or Sell alerts.
Confirm signals using the accompanying indicators (such as Vinnie's Trading Cheat Code or Confirm Alerts) for added confirmation.
This tool is suitable for all types of traders, from scalpers to swing traders, and can be used in combination with other trading strategies to enhance market analysis and decision-making.
Signal Scanner - Ultimate Trend Confirmation for Futures & Scalping**
The **Signal Scanner** is a powerful tool designed for all trading instruments but optimized for **Futures trading**. It works across all timeframes, helping traders identify high-probability buy and sell signals with precision.
### 🔥 **How It Works:**
✅ **Multi-Timeframe Compatibility** – Works on all timeframes for trend confirmation.
✅ **Clear Buy & Sell Signals** – Instantly identifies market direction.
✅ **Trend Confirmation for Scalping** – Best suited for intraday & short-term trades.
### ⚡ **Scalping Strategy:**
1️⃣ **Set the Signal Scanner’s timeframe to 1 Hour in settings.**
2️⃣ **Switch to the 15-minute or 5-minute chart.**
3️⃣ **Trade in the direction of the 1-hour signal** (e.g., if the 1-hour shows a Buy, look for buying opportunities on the lower timeframe).
4️⃣ **Use additional confirmations** (e.g., CC MACD or Confirm Buy/Sell signals) for precision entries.
📈 Whether you're a Futures trader or scalper, the **Signal Scanner** helps you trade with confidence and consistency! 🚀
MultiTimeFrame Trends and Candle Bias (by MC) v1This MultiTimeFrame Trends and Candle Bias provides the trader a quick glance on how each timeframe is trending and what the current candle bias is in each timeframe. 
 Interpreting Candle Bias : Green points to a bullish bias while red, a bearish bias for a given specific timeframe. For instance, if the current 1 hour candle bias is red, it means that the last hour, the bias has been bearish. If the Daily candle bias is red, it means that the day in question has been a bearish for this selected symbol.
 Interpreting MTF Trends:  Trends for each time frame follows the simple moving average of the closing prices for the X number of candles you enter in the input section. So for example, if you decide to enter 6 for the 1-hour time frame, the trend for the last 6 hours will be shown and tracked; if on the Daily time frame, you enter 7, the trend for the last 7 days or 1 week will be shown and tracked. I have provided below (as well as on tooltips in the input section of this indicator) recommendations of what numbers to use depending on what kind of trader you are.
 What is a best setup for MultiTimeFrame Trends? 
 Considerations Across All Timeframes: 
- Trading Style : Scalpers and very short-term intraday traders may prefer fewer candles (like 12 to 20), which allow them to react quickly to price changes. Swing traders or those holding positions for a few hours to a couple of days might prefer more candles (like 50 to 120) to identify more stable trends.
-  Market Conditions : In volatile markets, using more candles helps smooth out price fluctuations and provides a clearer trend signal. In trending markets, fewer candles might be sufficient to capture the trend.
-  Session-Based Adjustments : Traders may adjust their settings depending on the time of day or session they are trading. For example, during high-volatility periods like market open or close, using fewer candles can help capture quick moves.
The number of preceding candles to use for estimating the recent trend can depend on various factors, including the type of market, the asset being traded, the timeframe, and the specific goals of your analysis. However, here are some general guidelines to help you decide:
### 1. **Short-Term Trends (Fast Moving Averages):**
- **5 to 20 Candles**: If you want to capture a short-term trend, typically in day trading or scalping strategies, you might use 5 to 20 candles. This is common for fast-moving averages like the 9-period or 15-period moving averages. It reacts quickly to price changes, but it can also give more false signals due to market noise.
### 2. **Medium-Term Trends (Moderate Moving Averages):**
- **20 to 50 Candles**: For a more balanced approach that reduces the impact of short-term volatility while still being responsive to trend changes, 20 to 50 candles are commonly used. This range is popular for swing trading strategies, where the goal is to capture trends that last several days to weeks.
### 3. **Long-Term Trends (Slow Moving Averages):**
- **50 to 200 Candles**: To identify long-term trends, such as those seen in position trading or for confirming major trend directions, you might use 50 to 200 candles. The 50-period and 200-period moving averages are particularly well-known and are often used by traders to identify significant trend reversals or confirmations.
### 4. **Adaptive Approach:**
- **Market Conditions**: In trending markets, fewer candles might be needed to identify a trend, while in choppy or range-bound markets, using more candles can help filter out noise.
- **Volatility**: In highly volatile markets, more candles might be necessary to smooth out price action and avoid false signals.
### **Experiment and Backtesting:**
The optimal number of candles can vary significantly based on the asset and strategy. It's often a good idea to backtest different periods to see which provides the best balance between responsiveness and reliability in identifying trends. You can use tools like the strategy tester in TradingView or other backtesting software to compare the performance of different settings.
### **General Recommendation:**
- **For Shorter Timeframes** (e.g., 5m, 15m): 10-20 candles might be effective.
- **For Medium Timeframes** (e.g., 1h, 4h): 20-50 candles are often a good starting point.
- **For Longer Timeframes** (e.g., Daily, Weekly): 50-200 candles help capture major trends.
If you're unsure, a common starting point for many traders is the 20-period moving average, which provides a balance between sensitivity and reliability.
 Guidelines for 1-Minute Timeframe: 
For the 1-minute (1M) timeframe, trend analysis typically focuses on very short-term price movements, which is crucial for scalping and ultra-short-term trading strategies. Here’s a breakdown of the number of preceding candles you might use:
1. **Very Short-Term Trend:**
    - **10 to 20 Candles (10 to 20 Minutes):** Using 10 to 20 candles captures about 10 to 20 minutes of price action. This range is suitable for scalpers who need to identify very short-term trends and make quick trading decisions.
2. **Short-Term Trend:**
    - **30 to 60 Candles (30 to 60 Minutes):** This period covers 30 to 60 minutes of trading, making it useful for traders looking to understand the trend over a full trading hour. It helps capture price movements and trends that develop within a single hour.
3. **Intraday Trend:**
    - **120 Candles (2 Hours):** Using 120 candles provides a view of the trend over approximately 2 hours. This is useful for traders who want to see how the market is trending throughout a larger portion of the trading day.
4. **Extended Intraday Trend:**
    - **240 to 480 Candles (4 to 8 Hours):** This longer period gives a broader view of the intraday trend, covering 4 to 8 hours. It’s helpful for identifying trends that span a significant portion of the trading day, which can be useful for traders looking to align with the broader intraday movement.
**Considerations:**
- **High Sensitivity:** The 1-minute timeframe is highly sensitive to market movements, so shorter periods (10 to 20 candles) can capture rapid price changes but may also generate noise.
- **Market Volatility:** In highly volatile markets, using more candles (like 30 to 60 or more) helps smooth out the noise and provides a clearer trend signal.
- **Trading Style:** Scalpers will typically use shorter periods to make very quick decisions. Traders holding positions for a bit longer, even within the same day, may use more candles to get a clearer picture of the trend.
**Common Approaches:**
- **5-Period Moving Average:** The 5-period moving average on a 1-minute chart can be used for extremely short-term trend signals, reacting quickly to price changes.
- **20-Period Moving Average:** The 20-period moving average is a good choice for capturing short-term trends and can help filter out some of the noise while still being responsive.
- **50-Period Moving Average:** The 50-period moving average provides a broader view of the trend and can help smooth out price movements over a longer intraday period.
**Recommendation:**
- **Start with 10 to 20 Candles:** For the most immediate and actionable signals, especially useful for scalping or very short-term trading.
- **Use 30 to 60 Candles:** For a clearer view of trends that develop over an hour, suitable for those looking to trade within a single trading hour.
- **Consider 120 Candles:** For observing broader intraday trends over 2 hours, helping align trades with more significant intraday movements.
- **Explore 240 to 480 Candles:** For a longer intraday perspective, covering up to 8 hours, which can be useful for strategies that span a larger portion of the trading day.
**Practical Example:**
- **Scalpers:** If you’re executing trades every few minutes, start with 10 to 20 candles to get rapid trend signals.
- **Short-Term Traders:** For trends that last an hour or so, 30 to 60 candles will provide a better sense of direction while still being responsive.
- **Intraday Traders:** For broader trends that span several hours, 120 candles will help you see the overall intraday movement.
Experimentation and backtesting with these settings on historical data will help you fine-tune your approach to the 1-minute timeframe for your specific trading strategy and asset.
 Guidelines for 5, 15 and 30 min Timeframes: 
For shorter timeframes like 5, 15, and 30 minutes, the number of preceding candles you use will depend on how quickly you want to react to changes in the trend and the specific trading style you’re employing. Here's a breakdown for each:
**5-Minute Timeframe:**
1. **Very Short-Term (Micro Trend):**
    - **12 to 20 Candles (60 to 100 Minutes):** Using 12 to 20 candles on a 5-minute chart captures 1 to 1.5 hours of price action. This is ideal for very short-term trades, such as scalping, where quick entries and exits are key.
2. **Short-Term Trend:**
    - **30 to 60 Candles (150 to 300 Minutes):** This period covers 2.5 to 5 hours, making it useful for intraday traders who want to identify the trend within a trading session. It helps capture the direction of the market during the most active parts of the day.
3. **Intra-Day Trend:**
    - **120 Candles (10 Hours):** Using 120 candles gives you a broad view of the trend over two trading sessions. This is useful for traders who want to understand the trend throughout the entire trading day.
**15-Minute Timeframe:**
1. **Very Short-Term:**
    - **12 to 20 Candles (3 to 5 Hours):** On a 15-minute chart, this period covers 3 to 5 hours, making it useful for capturing the morning or afternoon trend within a trading day. It’s often used by intraday traders who need to make quick decisions.
2. **Short-Term Trend:**
    - **30 to 60 Candles (7.5 to 15 Hours):** This covers almost a full trading day to a day and a half. It’s popular among day traders who want to align their trades with the trend of the day or the previous trading session.
3. **Intra-Week Trend:**
    - **120 Candles (30 Hours):** This period spans about two trading days and is useful for traders looking to capture trends that may extend beyond a single trading day but not necessarily for an entire week.
**30-Minute Timeframe:**
1. **Short-Term Trend:**
    - **12 to 20 Candles (6 to 10 Hours):** This period captures the trend over a single trading session. It's useful for day traders who want to understand the market’s direction throughout the day.
2. **Medium-Term Trend:**
    - **30 to 50 Candles (15 to 25 Hours):** This period covers about two trading days and is useful for short-term swing traders or intraday traders who are looking for trends that might last a couple of days.
3. **Intra-Week Trend:**
    - **100 to 120 Candles (50 to 60 Hours):** This longer period captures about 4 to 5 trading days, making it useful for traders who want to understand the broader trend over the course of the week.
**Summary Recommendations:**
- **5-Minute Chart:**
    - **12 to 20 candles** for very short-term trades.
    - **30 to 60 candles** for intraday trends within a single session.
    - **120 candles** for a broader view of the day’s trend.
- **15-Minute Chart:**
    - **12 to 20 candles** for short-term trades within a few hours.
    - **30 to 60 candles** for trends lasting a full day or more.
    - **120 candles** for trends extending over a couple of days.
- **30-Minute Chart:**
    - **12 to 20 candles** for understanding the daily trend.
    - **30 to 50 candles** for trends over a couple of days.
    - **100 to 120 candles** for an intra-week trend view.
Experimenting with these settings and backtesting on historical data will help you find the optimal number of candles for your specific trading style and the assets you trade.
 Guidelines for 1H Timeframes: 
When analyzing trends on a 1-hour (1H) timeframe, you're focusing on short to medium-term trends, often used by day traders and short-term swing traders. Here’s how you can approach selecting the number of preceding candles:
1. **Short-Term Trend:**
    - **14 to 21 Candles (14 to 21 Hours):** Using 14 to 21 candles on a 1-hour chart captures roughly half a day to a full day of trading activity. This range is ideal for day traders who want to identify short-term momentum and trend changes within a single trading day.
2. **Medium-Term Trend:**
    - **50 Candles (2 Days):** A 50-period moving average on a 1-hour chart covers about two days of trading. This period is popular for identifying trends that may last a couple of days, making it useful for short-term swing traders.
3. **Longer-Term Trend:**
    - **100 Candles (4 Days):** Using 100 candles gives you a broader view of the trend over about four days of trading. This is helpful for traders who want to align their trades with a more sustained trend that spans the entire week.
4. **Very Short-Term (Micro Trend):**
    - **7 to 10 Candles (7 to 10 Hours):** For traders looking to capture micro trends or very short-term price movements, using 7 to 10 candles can provide a quick look at recent price action. This is often used for scalping or very short-term intraday strategies.
**Considerations:**
- **Market Volatility:** In highly volatile markets, using more candles (like 50 or 100) helps smooth out noise and provides a clearer trend signal. In less volatile conditions, fewer candles may suffice to capture trends.
- **Trading Style:** If you are a day trader looking for quick moves, shorter periods (like 7 to 21 candles) might be more suitable. For those who hold positions for a day or two, longer periods (like 50 or 100 candles) can provide better trend confirmation.
- **Asset Class:** The optimal number of candles can vary depending on the asset
 Guidelines for 4H Timeframes: 
When analyzing trends on a 4-hour (4H) timeframe, you’re generally looking to capture short to medium-term trends. This timeframe is popular among swing traders and intraday traders who want to balance between catching more significant market moves and not being too sensitive to noise. Here's how you can approach selecting the number of preceding candles:
1. **Short-Term Trend:**
    - **14 to 21 Candles (2 to 3 Days):** Using 14 to 21 candles on a 4-hour chart covers roughly 2 to 3 days of trading activity. This range is ideal for traders looking to capture short-term momentum, especially in markets where price action can move quickly within a few days.
2. **Medium-Term Trend:**
    - **50 Candles (8 to 10 Days):** A 50-period moving average on a 4-hour chart represents approximately 8 to 10 days of trading (considering 6 trading periods per day). This period is popular among swing traders for identifying trends that develop over the course of one to two weeks.
3. **Longer-Term Trend:**
    - **100 Candles (16 to 20 Days):** Using 100 candles gives you a broader view of the trend over about 3 to 4 weeks. This is useful for traders who want to align their trades with the more sustained market direction while still remaining responsive to recent changes.
**Considerations:**
- **Market Conditions:** In a trending market, fewer candles (like 14 or 21) may be enough to identify the trend, allowing for quicker responses to price movements. In a more volatile or range-bound market, using more candles (like 50 or 100) can help smooth out noise and avoid false signals.
- **Trading Style:** If you are an intraday trader, shorter periods (14 to 21 candles) may be preferable, as they allow for quick entries and exits. Swing traders might lean towards the 50 to 100 candle range to capture trends that last several days to a few weeks.
- **Volatility:** The higher the volatility of the asset, the more candles you might want to use to ensure that the trend signal is not too erratic.
**Common Approaches:**
- **20-Period Moving Average:** A 20-period moving average on a 4-hour chart is often used by traders to capture short-term trends that align with momentum over the past few days.
- **50-Period Moving Average:** The 50-period moving average is widely used on the 4-hour chart to track medium-term trends. It provides a good balance between reacting to new trends and avoiding too many whipsaws.
- **100-Period Moving Average:** The 100-period moving average offers insight into the longer-term trend on the 4-hour chart, helping to filter out short-term noise and confirm the overall market direction.
**Recommendation:**
- **Start with 20 Candles for Short-Term Trends:** This period is useful for capturing quick movements and short-term trends over a couple of days.
- **Use 50 Candles for Medium-Term Trends:** This is a standard setting that provides a balanced view of the market over about 1 to 2 weeks.
- **Consider 100 Candles for Longer-Term Trends:** This helps to identify more significant trends that have persisted for a few weeks.
**Practical Example:**
- **Intraday Traders:** If you’re focused on shorter-term trades and need to react quickly, using 14 to 21 candles will help you capture the most recent momentum.
- **Swing Traders:** If you’re looking to hold positions for several days to a few weeks, starting with 50 candles will give you a clearer picture of the trend over that period.
- **Position Traders:** For those holding positions for a longer duration within a month, using 100 candles helps to align with the broader trend while still being responsive enough for 4-hour price movements.
Backtesting these settings on your chosen asset and strategy will help refine the optimal number of candles for your specific needs.
 Guidelines for Daily Timeframes: 
When analyzing trends on a daily timeframe, you're typically focusing on short to medium-term trends. Here’s how you can determine the optimal number of preceding candles:
1. **Short-Term Trend:**
    - **10 to 20 Candles (2 to 4 Weeks):** Using 10 to 20 daily candles captures about 2 to 4 weeks of price action. This is commonly used for identifying short-term trends, ideal for swing traders or those looking for quick entries and exits within a month.
2. **Medium-Term Trend:**
    - **50 Candles (2 to 3 Months):** The 50-day moving average is a classic choice for capturing medium-term trends. This period covers about 2 to 3 months of trading days and is often used by swing traders and investors to identify the trend over a quarter or a season.
3. **Long-Term Trend:**
    - **100 to 200 Candles (4 to 9 Months):** For longer-term trend analysis, using 100 to 200 daily candles gives you a broader perspective, covering approximately 4 to 9 months of price action. The 200-day moving average, in particular, is widely used by investors to determine the overall long-term trend and to assess market health.
**Considerations:**
- **Market Volatility:** In more volatile markets, using a larger number of candles (e.g., 50 or 200) helps smooth out noise and provides a more reliable trend signal. In less volatile markets, fewer candles might be sufficient to capture trends effectively.
- **Trading Style:** Day traders might prefer shorter periods (like 10 or 20 candles) for quicker signals, while position traders and longer-term swing traders might opt for 50 to 200 candles to focus on more sustained trends.
- **Asset Class:** The optimal number of candles can also depend on the asset class. For example, equities might have different optimal settings compared to forex or cryptocurrencies due to different volatility characteristics.
**Common Approaches:**
- **20-Period Moving Average:** The 20-day moving average is a popular choice for short-term trend analysis. It’s widely used by traders to identify the short-term direction and to make quick trading decisions.
- **50-Period Moving Average:** The 50-day moving average is a staple for medium-term trend analysis, often used as a key indicator for both entry and exit points in swing trading.
- **200-Period Moving Average:** The 200-day moving average is crucial for long-term trend identification. It's commonly used by investors and is often seen as a major support or resistance level. When the price is above the 200-day moving average, the market is generally considered to be in a long-term uptrend, and vice versa.
**Recommendation:**
- **Start with 20 Candles for Short-Term Trends:** This period is commonly used for identifying recent trends within the last few weeks.
- **Use 50 Candles for Medium-Term Trends:** This provides a good balance between responsiveness and stability, making it a good fit for most swing trading strategies.
- **Use 200 Candles for Long-Term Trends:** This period is ideal for long-term analysis and is particularly useful for investors looking at the overall market trend.
**Practical Example:**
- If you’re trading equities and want to catch short-term trends, start with 20 candles to identify trends that have developed over the past month.
- If you’re more focused on medium to long-term trends, consider using 50 or 200 candles to ensure you’re aligned with the broader market direction.
Experimenting with these periods and backtesting on historical data will help you determine the best setting for your particular strategy and the asset you're analyzing.
 Guidelines for Weekly Timeframes: 
When analyzing trends on a weekly timeframe, you're typically looking at intermediate to long-term trends. Here's how you might approach selecting the number of preceding candles:
1. **Intermediate-Term Trend:**
    - **13 to 26 Candles (3 to 6 Months):** Using 13 to 26 weekly candles corresponds to a period of 3 to 6 months. This range is effective for identifying intermediate-term trends, which is suitable for swing traders or those looking to hold positions for several weeks to a few months.
2. **Medium-Term Trend:**
    - **26 to 52 Candles (6 Months to 1 Year):** For a broader view, you might use 26 to 52 weekly candles. This represents 6 months to 1 year of price data, which is helpful for understanding the market’s behavior over a medium-term period. This range is commonly used by swing traders and position traders who are interested in capturing trends lasting several months.
3. **Long-Term Trend:**
    - **104 Candles (2 Years):** Using 104 weekly candles gives you a 2-year perspective. This can be useful for long-term trend analysis, particularly for investors or those looking to identify major trend reversals or continuations over a more extended period.
**Considerations:**
- **Market Type:** In trending markets, fewer candles (like 13 or 26) may work well, capturing the trend more quickly. In choppier or range-bound markets, using more candles can help reduce noise and avoid false signals.
- **Asset Class:** The optimal number of candles can vary depending on the asset class. For example, equities might benefit from a slightly shorter lookback period compared to more volatile assets like commodities or cryptocurrencies.
- **Volatility:** If the market or asset you're analyzing is highly volatile, using a higher number of candles (like 52 or 104) can help smooth out price fluctuations and provide a more stable trend signal.
**Common Approaches:**
- **20-Period Moving Average:** A 20-week moving average is popular among traders for identifying the intermediate trend. It’s responsive enough to capture significant trend changes while filtering out short-term noise.
- **50-Period Moving Average:** The 50-week moving average is often used to identify longer-term trends and is commonly referenced in both technical analysis and by longer-term traders.
- **200-Period Moving Average:** Although less common on weekly charts compared to daily charts, a 200-week moving average can be used to identify very long-term trends, such as multi-year market cycles.
**Recommendation:**
- **Start with 26 Candles:** This gives you a half-year perspective and is a good starting point for most analyses on a weekly timeframe. It balances sensitivity to recent trends with the ability to capture more significant, sustained movements.
- **Adjust Based on Backtesting:** You can increase the number of candles to 52 if you find that you need more stability in the trend signal, or decrease to 13 if you're looking for a more responsive signal.
Experimenting with different periods and backtesting on historical data can help determine the best setting for your specific strategy and asset class.
 Guidelines for Monthly Timeframes: 
For analyzing trends on monthly timeframes, you would generally be looking at much longer periods to capture the broader, long-term trend. Here's how you can approach it:
1. **Long-Term Trend (Primary Trend):**
    - **12 to 24 Candles (1 to 2 Years):** Using 12 to 24 monthly candles corresponds to a period of 1 to 2 years. This is typically sufficient to identify long-term trends and is commonly used by long-term investors or position traders who are interested in the overall direction of the market or asset over multiple years.
2. **Very Long-Term Trend (Secular Trend):**
    - **36 to 60 Candles (3 to 5 Years):** To capture very long-term secular trends, you might use 36 to 60 monthly candles. This would represent a time frame of 3 to 5 years and is often used for understanding macroeconomic trends or very long-term investment strategies.
3. **Ultra Long-Term Trend:**
    - **120 Candles (10 Years):** In some cases, especially for assets like indices or commodities that are analyzed over decades, using 120 monthly candles can help in identifying ultra long-term trends. This would be appropriate for strategic investors or those looking at generational market cycles.
**Considerations:**
- **Volatility and Stability:** Monthly timeframes generally smooth out short-term volatility, but they can also be slow to react to changes. Using a larger number of candles (e.g., 24 or more) can help ensure that the trend signal is robust and not prone to frequent whipsaws.
- **Asset Class:** The choice of period might also depend on the asset class. For instance, equities might require fewer candles compared to commodities or currencies, which can exhibit different trend dynamics.
- **Market Phases:** In different market phases (bullish, bearish, or sideways), the number of candles might need to be adjusted. For instance, in a strongly trending market, fewer candles might still provide a reliable trend indication, whereas in a more volatile or ranging market, more candles might be needed to smooth out the data.
**Common Approaches:**
- **50-Period Moving Average:** A 50-month moving average is popular among long-term traders and investors for identifying the primary trend. It offers a balance between capturing the overall trend and being responsive enough to significant changes.
- **200-Period Moving Average:** Although rarely used on a monthly chart due to the long timeframe it represents (over 16 years), it can be useful for identifying very long-term secular trends, especially for broad market indices or in macroeconomic analysis.
**Recommendation:**
- **Start with 24 Candles:** This gives you a 2-year perspective on the trend and is a good starting point for most long-term analyses on monthly charts. Adjust upwards if you need a broader trend view, depending on the stability and nature of the asset you're analyzing.
Experimentation and backtesting with your specific asset and strategy can help fine-tune the exact number of candles that work best for your analysis on a monthly timeframe.
[Support and Resistance with Trend Lines] with Backtest (TSO) with Backtest (TSO)
===========================================================================
===========================================================================
	This indicator serves as a comprehensive full-cycle trading system, providing alerts at each stage of the trade, from opening to closure. The algorithm uses most recent and historical S&R (Support and Resistance) levels with most recent and historical Trend Lines, generating signals for trades when Breaks/Bounces occur (Trade Open Signal triggers can be configured via very customizable indicator Input "Signal Trigger Matrix" settings). With signal for trade open, TP (Take Profit and SL (Stop Loss) levels are calculated as well and marked on the chart including alerts for each action of the trade. The indicator offers a variety of automated approaches for TP (Take-Profit) and SL (Stop-Loss) settings. These include static current/historical S&R (Support and Resistance) levels or S&R/Trend Lines dynamic breaks for TP (Take-Profit) and various SL (Stop-Loss) approaches, including ATR Trailing SL, opposite S&R (Support and Resistance) levels SL, opposite Trend Lines SL and more. This diverse set of tools ensure flexibility in tailoring TP (Take-Profit) and SL (Stop-Loss) parameters to different market conditions, contributing to a more adaptive and robust trading system. Additionally, a series of signal analysis tools, including market sentiment, candle bar analysis, divergence, and volume, enhance the precision of trading signals.
* Works with popular timeframes: 1M, 3M, 5M, 15M, 30M, 45M, 1H. 
* Works well with Futures and Indices, can be used to trade Stocks, Crypto and FOREX.
* Includes LIVE alert/labels Breakouts and Bounces signal trigger feature, which can be used for scalping (NOTE: This approach cannot be backtested).
* Every action of the trade is calculated on a confirmed closed candle bar state (barstate.isconfirmed), so the indicator will never repaint.
==============================================================
Indicator examples:
---------------------------------------------------------------------------
Strategy Config: SRTL_MES_15M3Y_EODoff_ALL
Here is a nice example of MES (Micro E-Mini S&P 500 Index Futures) configuration, which uses S&R (Support and Resistance) breakouts as signal trigger with Elliot Wave confirmation and previous S&R historical levels for TP (Take-Profit).
  
---------------------------------------------------------------------------
An example of an intraday Tesla trade. Also the green arrows will be displayed IMMEDIATELY when Breakout/Reverse Bounce occurs (same an Alert will be triggered immediately).
  
===========================================================================
Trading open/close/TP/SL labels, plots and colors explanations:
---------------------------------------------------------------------------
	>>> S&R (Support and Resistance) levels/lines: orange - support, blue - resistance (can be hidden).
	>>> Trend Lines: yellow - support, green - resistance (can be hidden).
	>>> Blue labels show resistance breakouts and bounces, light-blue - bullish, dark-blue - bearish
	>>> Yellow labels show resistance breakouts and bounces, light-yellow - bullish, dark-yellow - bearish
	>>> Green/Red arrows on top/bottom of candle bar will show LIVE breakouts (if turned on)
	>>>>> LONG open: green "house" looking arrow below candle bar.
	>>>>> SHORT open: red "house" looking arrow above candle bar.
	>>>>> LONG/SHORT take-profit target: green/red circles (multi-profit > TP2/3/4/5 smaller circles).
	>>>>> LONG/SHORT stop-loss target: green/red + crosses.
	>>>>> LONG/SHORT take-profit hits: green/red diamonds.
	>>>>> LONG/SHORT stop-loss hits: green/red X-crosses.
	>>>>> LONG/SHORT EOD (End of Day | Intraday style) close (profitable trade): green/red squares.
	>>>>> LONG/SHORT EOD (End of Day | Intraday style) close (loss trade): green/red PLUS(+)-crosses.
===========================================================================
STATS TABLE ///////////////////////////////////////////////////////////////
---------------------------------------------------------------------------
	>>> Trading STATS table on the chart showing current trade direction, Last TP (Take-Profit) Taken, Current Trade PL (profit/loss in price difference from trade open to the very current state).
---------------------------------------------------------------------------
CUSTOM TRADING DATE RANGE /////////////////////////////////////////////////
---------------------------------------------------------------------------
	>>>>> This feature can be used to manually set indicator trading range from and to a specific date and time. NOTE: This is not intended for a very long date range backtesting, utilize TradingView Strategy Tester for that.
	* Use TradingView “Strategy Tester” to see Backtesting results
NOTE: If Strategy Tester does not show any results with Date Ranged fully unchecked, there may be an issue where a script opens a trade, but there is not enough TradingView power to set the Take-Profit and Stop-Loss and somehow an open trade gets stuck and never closes, so there are “no trades present”. In such case - manually check “Start”/“End” dates or use “Deep Backtesting” feature!
---------------------------------------------------------------------------
INTRADAY ACTIVE TRADING SESSION CONFIGURATION /////////////////////////////
---------------------------------------------------------------------------
	>>> Regional Active Trading Session Hours Schedule:  If selected - trades will only open during regional active trading session, if 'OFF', there will be no trading schedule and trades will open 24/7.
	>>> EOD(End of Day) Close - On/Off: Close the trade if it's still open at the end of active trading session (on the very last candle bar). NOTE: If no region is selected at 'Regional Active Trading Session Schedule' - there will be no EOD(End of Day) Close and trades will run overnight until either SL(Stop-Loss) or TP(Take-Profit) is hit!
	>>>>> EOD(End of Day) Close - 1 candle bar before last: This is specifically for stocks as while usually indices can be closed 15minutes after the market closes, for stocks - the last candle bar closes at the same time with the market active trading session, which if closed - trades can't be closed until next day/session! Enable this setting for the trade to close/alert 1 candle bar before the last one, so there is still time to close the trade at the Broker (NOTE: depending on the timeframe, 1 candle bar can be: 15sec, 30sec, 1min, 3min, 5min, 15min, 30min, 45min, 1h).
---------------------------------------------------------------------------
SIGNAL TRIGGER MATRIX ////////////////////////////////////////////////
---------------------------------------------------------------------------
	>>> Trading Engine: This setting turns on TradingView Strategy trading engine for backtesting.
	>>> Market Session Only: With this setting turned on, all signal trigger Breaks/Bounces will be hidden during Pre/Post market time.
	>>> Plot S&R Levels/Lines: Plot S&R (Support and Resistance) on chart. Note: historical levels/lines will only be plotted if hit (Break/Bounce).
	>>> Plot Trend Lines Levels/Lines: Plot Trend Lines levels/lines on chart. Note: historical levels/lines will only be plotted if hit (Break/Bounce).
	>>> Use S&R Current Levels | Use S&R Historical Levels | Use Trend Lines Current Levels | Use Trend Lines Historical Levels |: Choose which levels should be used for Breaks/Bounces to be captured on. If all triggers are turned on/checked   - whatever happens 1st wins the trigger.
	>>> Breaks | Bounces: 'Breaks': Turn on Breaks through levels/lines signal trigger. | 'Bounces': Turn on Bounces off levels/lines signal trigger.
	>>> Signal: Regular | Signal: S&R Combo | Signal: TL Combo | Signal: S&R + TL Combo | Signal: Repeat Action |: Trade open signal trigger execution approach MATRIX (If 1 or more turned on at the same time - whatever comes first will be the trade signal trigger). 'Regular': A single Break/Bounce must occur on a closed bar for signal trigger. 'S&R Combo': A combination of 2 Current + Historical S&R (Support and Resistance) Break/Bounce   must happen in the same direction on same bar for signal trigger. 'TL Combo': A combination of 2 Current + Historical Trend Lines Break/Bounce   must happen in the same direction on same bar for signal trigger. 'S&R + TL Combo': a combination of ANY S&R and Trend Line Break/Bounce must happen in the same direction on same bar for signal trigger. 'Repeat Action': Initial and then confirmation (2nd/3rd/etc. consecutive occurence) Break/Bounce must occur on same level/line for signal trigger.
	>>> Historical - Look Back (# of days): How far back (in # of days) will historical S&R/Trend Lines will be used for Trade Open signals/TP/SL/etc.
	>>> Historical - Look Back Invalidation (# of days): IF THERE IS TOO MUCH HISTORICAL LEVELS/LINES ON CHART - LOWER THIS SETTING + MAKE SURE IT'S SMALLER THAN 'Historical - Look Back (# of days)'. With big Look back period (5+ days) - it can become very messy with too many historical levels/lines. To clear oldest historical levels/lines - set Look Back Invalidation # of days to less than Historical Look Back # of days. (After X # of Look Back Invalidation days - older levels/lines will become invalidated and no longer used for opening trades/TP (Take-Profit)/SL (Stop-Loss), while newer levels/lines will still be discovered.
	>>> S&R/Trend Lines - Support/Resistance combined into 1 entity: Every level or a line becomes simply a level or a line, regardless if it originally was a support or resistance. By default, depending on the level/line originally being support or resistance - the signal direction will be such as: Resistance is broken > LONG / bounced > SHORT; Support is broken > SHORT / bounced > LONG; with this setting on, either level or line can be both broken or bounced off in ANY direction, trade open direction will depend on current market sentiment only.
---------------------------------------------------------------------------
S&R CONFIGURATION ////////////////////////////////////////////////
---------------------------------------------------------------------------
	>>> S&R Search - Left Bars (current): This setting is for calculating optimal S&R (Support and Resistance) levels (in combination with below - Right Bars).
	>>> S&R Search - Right Bars (current): This setting is for calculating optimal S&R (Support and Resistance) levels (in combination with above - Left Bars).
	>>> S&R Search - Custom Resolution (current): This is a custom timeframe setting specifically for S&R Search, it disregards current chart timeframe. This is great to use for scalping, for example: with main chart set to 1min and the custom timeframe set to 3min or 5min - there will be stronger support/resistance levels with more detailed price action.
	>>> S&R Search - Left Bars (historical): This setting is for calculating optimal S&R (Support and Resistance) levels (in combination with below - Right Bars).
	>>> S&R Search - Right Bars (historical): This setting is for calculating optimal S&R (Support and Resistance) levels (in combination with above - Left Bars).
	>>> S&R Search - Custom Resolution (historical): This is a custom timeframe setting specifically for S&R Search, it disregards current chart timeframe. This is great to use for scalping, for example: with main chart set to 1min and the custom timeframe set to 3min or 5min - there will be stronger support/resistance levels with more detailed price action.
	>>> S&R - Historical S&R Levels - Extend to the right: Extend all S&R lines to the right.
	>>> S&R (Current/Historical) - Live Breakout/Bounce - ALERT/SHOW: NOTE: Alert wlil trigger immediately at price Breaking thru or Bouncing off level/line and an arrow above /below  the bar will show the direction of breakout/bounce. If on that same live bar - price comes back causing the Breakout/Bounce become no longer valid - the arrow will disappear as the condition of the Break/Bounce will no longer be valid.
---------------------------------------------------------------------------
TREND LINES CONFIGURATION ////////////////////////////////////////////////
---------------------------------------------------------------------------
	>>> Show: Trend Line development (where it 'did not exist' yet): It takes 2 pivots to develop a trend line, pivot is established at least 3 candle bars later from where the pivot is. With this setting turned on - it will plot dashed lines where trend lines originated connecting the 1st and 2nd pivot point up to where the trend line became established (where in reality you would now be able to draw a certain trend line). Established already generated trend line are plotted with a solid line.
	>>> Trend Lines - Line Slope Confirmation: LONG breakout will only be shown if trend line is goind downslope \. SHORT breakout will only be shown if trend line is goind upslope /.
	>>> Trend Lines - Search - Left Bars (current): This setting is for calculating optimal Trend Lines.
	>>> Trend Lines - Search - Right Bars (current): This setting is for calculating optimal Trend Lines.
	>>> Trend Lines - Custom Resolution (current): This is a custom timeframe setting specifically for S&R Search, it disregards current chart timeframe. This is great to use for scalping, for example: with main chart set to 1min and the custom timeframe set to 3min or 5min - there will be stronger support/resistance levels with more detailed price action.
	>>> Trend Lines - Search - Left Bars (historical): This setting is for calculating optimal Trend Lines.
	>>> Trend Lines - Search - Right Bars (historical): This setting is for calculating optimal Trend Lines.
	>>> Trend Lines - Custom Resolution (historical): This is a custom timeframe setting specifically for S&R Search, it disregards current chart timeframe. This is great to use for scalping, for example: with main chart set to 1min and the custom timeframe set to 3min or 5min - there will be stronger support/resistance levels with more detailed price action.
	>>> Trend Lines - Historical Trend Lines - Extend to the right: Extend all Trend Lines to the right.
	>>> Trend Lines (Current/Historical) - Live Breakout/Bounce - ALERT/SHOW: NOTE: Alert will trigger immediately at price Breaking thru or Bouncing off level/line and an arrow above /below  the bar will show the direction of breakout/bounce. If on that same live bar - price comes back causing the Breakout/Bounce become no longer valid - the arrow will disappear as the condition of the Break/Bounce will no longer be valid.
---------------------------------------------------------------------------
TAKE-PROFIT/STOP-LOSS CONFIGURATION ///////////////////////////////////////
---------------------------------------------------------------------------
	>>> TP (Take-Profit) System: 'S&R Static Current/Historical': TP (Take-Profit) is calculated using current/historical S&R (Support & Resistance) levels at trade open and remains static. 'S&R/Trend Lines Dynamic Breaks': TP (Take-Profit) is fully dynamic and will be trigger at price above trade open price and with Breakout occurence (S&R or Trend Line current/historical breakout).
	>>> TP (Take-Profit) # of targets: It is wise to divide the trade into several profit targets. With this setting - up to 5 TP (Take-Profit) targets can be approached. The trade will be equally divided up by the selected # of TP (Take-Profit) targets.
	>>> SL (Stop-Loss) System: 'ATR-Trailing-SL': SL (Stop-Loss) is trail-following the ATR (Average True Range) line, NOTE: If at signal trigger, ATR will be against the trade direction - trade open signal will be skipped; 'S&R-Static-SL': SL (Stop-Loss) is set at trade open per optimal most recent S&R level and remains there until trade closes; 'TrendLines-Static-SL': SL (Stop-Loss) is set at trade open per optimal most recent trend line and remains there until trade closes; 'TrendLines-Dynamic-SL': SL (Stop-Loss) will be set per current opposite trend line and follow it until trade is open.; 'Oppos-Sig-Trd-in-Loss': SL (Stop-Loss) will trigger at opposite signal with trade currently at loss.
	>>> SL (Stop-Loss) - On/Off: Without SL (Stop-Loss), unless EOD (End of Day) Close is turned on - there will be no SL (Stop-Loss) at all!
---------------------------------------------------------------------------
MARKET SENTIMENT CONFIRMATION ///////////////////////////////////////
---------------------------------------------------------------------------
	>>> Market Sentiment: Signal is confirmed per Market Sentiment direction. If Market Sentiment is turned off - whatever signal comes 1st will be the trade open trigger.
---------------------------------------------------------------------------
SIGNAL ANALYSIS AND CLEANUP ///////////////////////////////////////////////
---------------------------------------------------------------------------
	>>> Signal Cleanup - Bar Color: Include Bar Color (bullish/bearish) confirmation, LONG signal will only be opened if signal bar is green/bullish, SHORT if red/bearish.
	>>> Signal Cleanup - Bar Directional Structure: Skip opposite bar structure types signals (For example: bearish green hammer).
	>>> Signal Cleanup - Bar Doji Skip: Skip doji (indecisive) candles signals.
	>>> Signal Cleanup - EWO (Elliott Wave Oscillator): Include EWO (Elliott Wave Oscillator), LONG will only be opened if EWO is bullish / SHORT if EWO is bearish.
	>>> Signal Cleanup - VWAP (Volume-Weighted Average Price): Include VWAP (Volume-Weighted Average Price), LONG will only be opened if price is above VWAP / SHORT if price is below VWAP.
	>>> Signal Cleanup - MA (Moving Average) Confirmation: Include MA (Moving Average), LONG will only be opened if MA is bullish / SHORT if MA is bearish.
	>>> Signal Cleanup - ATR (Average True Range): Include ATR (Average True Range) confirmation, LONG will only be opened if ATR is bullish / SHORT if ATR is bearish.
	>>> Signal Cleanup - Divergence(RSI + MACD): Include Divergence (RSI  + MACD ) confirmation, LONG will only be opened if Divergence is bullish / SHORT if Divergence is bearish.
	>>> Signal Cleanup - Volume % Strength: Include Volume strength/percentage confirmation, LONG/SHORT will only be opened with strong Volume matching the signal direction | By default, strong Volume percentage is set to 150% and weak to 50%.
	>>> Signal Cleanup - Volume Above Average: Include Volume Above Moving Average (Volume closing bar closes above volume moving average) confirmation, LONG/SHORT will only be opened with Volume above average - Volume closed bar color must match the closed price color (bullish/bearish direction) + Volume bar must be closed above volume MA line).
---------------------------------------------------------------------------
===========================================================================
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||
TP System - VERY IMPORTANT INFO!
-------------------------------------------------------------------------------------------------------------------
"TP PERCENTAGE" - amount by which current trade/position needs to be reduced/partially closed/sold.
-------------------------------------------------------------------------------------------------------------------
TP System: Dynamic
"TP PERCENTAGE" - will always be the same amount (trade/position size divided by the # of take-profit(TP) targets) and percentage to be closed will always be of the ORIGINAL trade/position.
-------------------------------------------------------------------------------------------------------------------
TP System: Static
"TP PERCENTAGE" - will always be the same amount IF take-profit(TP) targets are hit 1-by-1 (TP1 > TP2 > TP3 > TP4 > TP5), otherwise it will vary and unless it is a 1st take-profit(TP1), the REMAINING trade/position size will always be smaller than original and therefore the percentage to be closed will always be of the REMAINING trade/position and NOT the original one!
-------------------------------------------------------------------------------------------------------------------
"TP PERCENTAGE" CheatSheet (these are the only percentages you may see)
-----------------------------------------------------------------------
TP PERCENTAGE---Close/Sell Amount-------------Example (trade size: 50 stocks)
20%-------------trade size * 0.2--------------50 * 0.2 = 10 stocks
25%-------------trade size * 0.25-------------50 * 0.25 = 12.5(~13) stocks
34%-------------trade size * 0.34-------------50 * 0.34 = 17 stocks
40%-------------trade size * 0.4--------------50 * 0.4 = 20 stocks
50%-------------trade size * 0.5--------------50 * 0.5 = 25 stocks
60%-------------trade size * 0.6--------------50 * 0.6 = 30 stocks
66%-------------trade size * 0.66-------------50 * 0.66 = 33 stocks
75%-------------trade size * 0.75-------------50 * 0.75 = 37.5(~38) stocks
80%-------------trade size * 0.8--------------50 * 0.8 = 40 stocks
100%------------trade size--------------------50 = 50 stocks
-----------------------------------------------------------------------
If for any reason a portion of the current/remaining trade closed at such occurrence was slightly wrong, it is not an issue. Such occurrences are rare and with slight difference in partial TP closed is not significant to overall performance of our algorithms.
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||
===========================================================================
Alert Settings (you don’t have to touch this section unless you will be using TradingView alerts through a Webhook to use with trading bot)
---------------------------------------------------------------------------
Here is how a LONG OPEN alert looks like.
NOTE: Each label  ,  , etc. is customizable, you can change the text of it within indicator Input settings.
ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD 
TIMEFRAME: 15M 
LONG: OPEN 
ENTRY: 20000 
TP1: 20500 
TP2: 21000 
TP3: 21500 
TP4: 22500 
TP5: 23500 
SL: 19000 
Leverage: 0
---------------------------------------------------------------------------
Here is how a TP1 alert will look with 5 TPs breakdown of the trade. 
NOTE1: Next to TP1 taken it will show at which price it was triggered.
NOTE2: Next to "TP Percentage" it shows how much of the CURRENT/ACTIVE/REMAINING trade needs to be closed.
NOTE2: If TP2/3/4/5 comes before TP1 - the alert will tell you exactly how many percent of the trade needs to be closed!
ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD 
TIMEFRAME: 15M 
LONG: TP1 
TP1: 20500
TP Percentage: 20%
---------------------------------------------------------------------------
Here is how an alert will look for LONG - STOP-LOSS.
ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD 
TIMEFRAME: 15M 
ENTRY: 20000
LONG: SL 
SL: 19000
---------------------------------------------------------------------------
Here is how an alert will look for LONG - EOD (End of Day) In Profit close.
ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD 
TIMEFRAME: 15M 
LONG: EOD-Close (profit)
ENTRY: 20000
EOD-Close: 21900
===========================================================================
Adding Alerts in TradngView
---------------------------------------------------------------------------
-Add indicator to chart and make sure the correct strategy is configured (check Backtesting results)
-Right-click anywhere on the TradingView chart
-Click on Add alert
-Condition: Select this indicator by it’s name
-Immediately below, change it to "alert() function calls only", as other wise there will be 2 alerts for every alert!
-Expiration: Open-ended (that may require higher tier TradingView account, otherwise the alert will need to be occasionally re-triggered)
-Alert name: Whatever you desire
-Hit “Create”
-Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
===========================================================================
Good Luck! (NOTE: Trading is very risky, past performance is not necessarily indicative of future results, so please trade responsibly!)
---------------------------------------------------------------------------
NOTE: There seems to be a strange glitch when strategy is running live, it will show "double-take" take-profits labels on the chart. This is not affecting the script logic and backtesting results, if you simply change the timeframe real quick to something else then back - it will no longer show the duplicate orders... this must be some sort of a glitch as every alert was thoroughly tested to make sure everything is working!
NVME Hunter XNVME Hunter X is a scalping indicator designed from our NVME Oscillator X, it uses the trend confirmations to generate scalping signals and the signals can be customised in many different ways too. With our scalper, there are two scalping modes: default and legacy. Default is our new NVME Oscillator X algorithm and the legacy is our old algorithm combined with another indicator to generate the signals. With this new algorithm, we have reduced the amount of faulty signal prints by 20%, which is big. Furthermore, with the legacy mode you can customise the signal filtration system in 3 different ways: Colour-Based, Double Filter and Triple Filter. Colour-Based will only print the signal if the bar colour is the same as the signal printed so buys are green and sells are red (or whatever your colour scheme is). Double Filter will use multiple closes as a confirmation combined with a oscillator confluence to generate a signal and the triple filter will use multiple closes, the oscillator and the legacy mode to generate a signal print.
We also have an automatic support and resistance highlighter integrated into this scalping indicator to help traders find the key areas where price may reject and this works from finding confirmed pivot points and high points and low points where price has reversed and given the algorithm the confirmation it needs. The support and resistance zones can be changed by inputting different values into the lookback and forward offset period to generate different outputs.
To give you the extra confirmation, there is two plots that are accessible within the settings which is the chaser and tracer, both having a different colouring algorithm to give you an indication of the trend and whether or not it is a good time to scalp. The chaser works by using the oscillator to colour and the tracer works by using the price crossover to colour.
You can also customise the colour scheme to anything you want, there are 3 input boxes that allow you to change the colour for the bullish trend , bearish trend and unconfirmed trend and you can disable the colour overlay too, so that you can revert back to your old chart scheme.
The scalper also has predictive take profits and stop loss areas that can be printed next to every signal that shows you potential areas to look forward too, however this is done through ATR and high volatility periods can cause a massive fluctuation leaving the distance to far to get between each line.
You can also customise the dashboard's text colour, the x position and the y position and you can disable the dashboard too if you don't like it being displayed.
Our range filter removes up to 30% of faulty signals plotted on the charts giving you a noise free experience when scalping and some calls can even follow the trending market. This can be changed by toggling it on and changing the maximum and minimum range values.
Note: These results are not guaranteed in the future and each trade has risks, please consider the risks before you decide to try this indicator. Thank you for reading :)
Trend Ali📈 Trend Ali - Advanced Hull Moving Average Indicator
 
 🎯 Overview
 
This indicator is an advanced and highly customizable version of the Hull Moving Average (HMA), designed for precise trend identification and optimal entry/exit point detection in various market conditions.
 ✨ Key Features
 
🔄 Three Hull Moving Average Calculation Methods
The indicator offers three distinct calculation approaches to suit different trading styles:
1. HMA (Standard Hull Moving Average)
Ideal for most market conditions
Excellent balance between responsiveness and noise reduction
Uses WMA (Weighted Moving Average) for calculations
Best for general trend following
2. EHMA (Exponential Hull Moving Average)
Faster reaction to price changes
Perfect for volatile markets and quick scalping
Uses EMA instead of WMA for enhanced sensitivity
Recommended for aggressive trading strategies
3. THMA (Triangular Hull Moving Average)
Smoother than the standard version
Reduces false signals significantly
Optimal for higher timeframes and position trading
Provides clearer trend direction
🛠️ Advanced Settings
Length Parameter
This parameter directly affects the indicator's sensitivity and behavior:
55: Perfect for Swing Trading and identifying entry points
Catches medium-term trends
Good balance for 4H to Daily charts
180-200: Ideal for identifying floating Support/Resistance levels
Acts as dynamic S/R zones
Excellent for position trading
Reduces market noise significantly
Shorter Length = Faster response but more noise
Longer Length = Stronger signals but with more lag
Length Multiplier
View higher timeframe trends without changing your chart
Default value of 6.0 provides macro trend analysis
Increasing this value smooths the line further
Useful for multi-timeframe analysis on a single chart
Creates "straight band" effect for clearer trend visualization
Higher Timeframe Analysis
Display Hull MA from any higher timeframe
Extremely useful for scalping while maintaining trend awareness
Default: 240 minutes (4-hour chart)
Helps avoid counter-trend trades
Provides context for lower timeframe decisions
🎨 Intelligent Color System
The indicator automatically adjusts colors based on trend direction:
 🟢 Green: Uptrend (price moving above previous levels)
 
Indicates bullish momentum
Consider long positions
 🔴 Red: Downtrend (price moving below previous levels)
 
Indicates bearish momentum
Consider short positions or exit longs
 🟠 Orange: Neutral (when color coding is disabled)
 
For traders who prefer monochrome display
 📊 How to Use
 For Swing Trading (Length: 55)
Wait for color change from red to green for long entries
Wait for color change from green to red for short entries or exits
Use price action confirmation at the Hull MA line
The line acts as dynamic support/resistance
For Support/Resistance (Length: 180-200)
The Hull MA acts as a floating S/R zone
Price bouncing off the line indicates strong trend
Price crossing the line signals potential trend reversal
Use for position sizing and stop loss placement
For Scalping (with Higher Timeframe)
Enable "Show Hull MA from X timeframe"
Select 240 (4H) or higher timeframe
Only take trades in direction of higher timeframe trend
Use lower timeframe for precise entries
Higher timeframe Hull MA keeps you on the right side
Multi-Timeframe Strategy
Use Length Multiplier to see macro trend
Keep your chart on preferred timeframe
Align trades with the smoothed trend direction
Enter on pullbacks to the Hull MA line
🔍 Technical Details
Why Hull Moving Average?
Traditional moving averages face a tradeoff between lag and noise. Hull Moving Average solves this by:
Using weighted calculations for faster response
Applying square root of length for optimal smoothing
Eliminating lag while maintaining smoothness
Calculation Method
The indicator uses sophisticated algorithms:
HMA: Combines multiple WMAs with square root period
EHMA: Applies exponential smoothing for speed
THMA: Uses triangular weighting for stability
RSI Source Input
Allows using any price source (Close, Open, HL2, etc.)
Default: Close price
Experiment with different sources for unique insights
⚙️ Recommended Settings
Day Trading
Mode: EHMA
Length: 55
Length Multiplier: 3-4
Color: Enabled
Swing Trading
Mode: HMA
Length: 55
Length Multiplier: 6
Color: Enabled
Position Trading
Mode: THMA
Length: 180-200
Length Multiplier: 8-10
Color: Enabled
Scalping
Mode: HMA or EHMA
Length: 55
Higher Timeframe: Enabled (240 or higher)
Color: Enabled
💡 Pro Tips
Trend Confirmation: Wait for 2-3 candles to confirm color change before entering
Divergence: Watch for price/Hull MA divergence for reversal signals
Volume: Combine with volume analysis for stronger signals
Multiple Instances: Add indicator twice with different settings for multi-timeframe view
Backtesting: Test different Length values for your specific asset and timeframe
Risk Management: Use Hull MA distance for stop loss placement
⚠️ Important Notes
No indicator is 100% accurate - always use risk management
Best used in combination with price action and other technical analysis
Different markets may require different settings
Backtest thoroughly before live trading
Consider market volatility when adjusting parameters
Adaptive Trend Breaks Adaptive Trend Breaks 
## WHAT IT DOES
This script is a modified and enhanced version of "Trendline Breakouts With Targets" concept by ChartPrime. 
Adaptive Trend Breaks (ATB) is a trendline breakout system optimized for scalping liquid futures contracts. The indicator automatically draws dynamic support and resistance trendlines based on pivot points, then generates trade signals when price breaks through these levels with confirmation filters. It includes automated target and stop-loss placement with real-time P&L tracking in dollars.
## HOW IT WORKS
**Trendline Detection Method:**
The indicator uses pivot high/low detection to identify significant price turning points. When a new pivot forms, it calculates the slope between consecutive pivots to draw dynamic trendlines. These lines extend forward based on the established trend angle, creating actionable support and resistance zones.
**Band System:**
Around each trendline, the script creates a "band" using a volatility-adjusted calculation: `ATR(14) * 0.2 * bandwidth multiplier / 2`. This adaptive band accounts for current market conditions - wider during volatile periods, tighter during quiet markets.
**Breakout Logic:**
A breakout signal triggers when:
1. Price closes beyond the trendline + band zone
2. Volume exceeds the 20-period moving average by your set multiplier (default 1.2x)
3. Price is within Regular Trading Hours (9:30-16:00 EST) if session filter enabled
4. Current ATR meets minimum volatility threshold (prevents trading dead markets)
**Target & Stop Calculation:**
Upon breakout confirmation:
- **Entry**: Trendline breach point
- **Target**: Entry ± (bandwidth × target multiplier) - default 8x for quick scalps
- **Stop**: Entry ± (bandwidth × stop multiplier) - default 8x for 1:1 risk/reward
- Multipliers adjust automatically to market volatility through the ATR-based band
**P&L Conversion:**
The script converts point movements to dollars using:
```
Dollar P&L = (Price Points × Contract Point Value × Quantity)
```
For example, a 10-point NQ move with 2 contracts = 10 × $20 × 2 = $400
## HOW TO USE IT
**Setup:**
1. Select your instrument (NQ/ES/YM/RTY) - point values auto-configure
2. Set contract quantity for accurate dollar P&L
3. Choose pivot period (lower = more signals but more noise, default 5 for scalping)
4. Adjust bandwidth multiplier if trendlines are too tight/loose (1-5 range)
**Filters Configuration:**
- **Volume Filter**: Requires breakout volume > moving average × multiplier. Increase multiplier (1.5-2.0) for higher conviction trades
- **Session Filter**: Enable to trade only RTH. Disable for 24-hour trading
- **ATR Filter**: Prevents signals during low volatility. Increase minimum % for more active markets only
**Risk Management:**
- Set target/stop multipliers based on your risk tolerance
- 8x bandwidth = approximately 1:1 risk/reward for most liquid futures
- Enable trailing stops for trend-following approach (moves stop to protect profits)
- Adjust line length to see targets further into the future
**Statistics Table:**
- Choose timeframe to analyze: all-time, today, this week, custom days
- Monitor win rate, profit factor, and net P&L in dollars
- Track long vs short performance separately
- See real-time unrealized P&L on active trades
**Reading Signals:**
- **Green triangle below bar** = Long breakout (resistance broken)
- **Red triangle above bar** = Short breakout (support broken)
- **White dashed line** = Entry price
- **Orange line** = Take profit target with dollar value
- **Red line** = Stop loss with dollar value
- **Green checkmark (✓)** = Target hit, winning trade
- **Red X (✗)** = Stop hit, losing trade
## WHAT IT DOES NOT DO
**Limitations to Understand:**
- Does not predict future trendline formations - it reacts to breakouts after they occur
- Historical trendlines disappear after breakout (not kept on chart for clarity)
- Requires sufficient volatility - may not signal in extremely quiet markets
- Volume filter requires exchange volume data (not available on all symbols)
- Statistics are indicator-based simulations, not actual trading results
- Does not account for slippage, commissions, or order fills
## BEST PRACTICES
**Recommended Settings by Market:**
- **NQ (Nasdaq)**: Default settings work well, consider volume multiplier 1.3-1.5
- **ES (S&P 500)**: Slightly slower, try period 7-8, volume 1.2
- **YM (Dow)**: Lower volatility, reduce bandwidth to 1.5-2
- **RTY (Russell)**: Higher volatility, increase bandwidth to 3-4
**Risk Management:**
- Never risk more than 2-3% of account per trade
- Use contract quantity calculator: Max Risk $ ÷ (Stop Distance × Point Value)
- Start with 1 contract while learning the system
- Backtest your specific timeframe and instrument before live trading
**Optimization Tips:**
- Increase pivot period (7-10) for fewer but higher-quality signals
- Raise volume multiplier (1.5-2.0) in choppy markets
- Lower target/stop multipliers (5-6x) for tighter profit taking
- Use trailing stops in strong trending conditions
- Disable session filter for overnight gaps and Asia session moves
## TECHNICAL DETAILS
**Key Calculations:**
- Pivot Detection: `ta.pivothigh(high, period, period/2)` and `ta.pivotlow(low, period, period/2)`
- Slope Calculation: `(newPivot - oldPivot) / (newTime - oldTime)`
- Adaptive Band: `min(ATR(14) * 0.2, close * 0.002) * multiplier / 2`
- Breakout Confirmation: Price crosses trendline + 10% of band threshold
**Data Requirements:**
- Minimum bars in view: 500 for proper pivot calculation
- Volume data required for volume filter accuracy
- Intraday timeframes recommended (1min - 15min) for scalping
- Works on any timeframe but optimized for fast execution
**Performance Metrics:**
All statistics calculate based on indicator signals:
- Tracks every signal as a trade from entry to TP/SL
- P&L in actual contract dollar values
- Win rate = (Winning trades / Total trades) × 100
- Profit factor = Gross profit / Gross loss
- Separates long/short performance for bias analysis
## IDEAL FOR
- Futures scalpers and day traders
- Traders who prefer visual trendline breakouts
- Those wanting automated TP/SL placement
- Traders tracking performance in dollar terms
- Multiple timeframe analysis (compare 1min vs 5min signals)
## NOT SUITABLE FOR
- Swing trading (targets too close)
- Stocks/forex without modifying point values
- Extremely low timeframes (<30 seconds) - too much noise
- Markets without volume data if using volume filter
- Illiquid contracts (signals may not execute at shown prices)
---
**Settings Summary:**
- Core: Period, bandwidth, extension, trendline style
- Filters: Volume, RTH session, ATR volatility
- Risk: R:R ratio, target/stop multipliers, trailing stop
- Display: Stats table position, size, colors
- Stats: Timeframe selection (all-time to custom days)
**License:** This indicator is published open-source under Mozilla Public License 2.0. You may use and modify the code with proper attribution.
**Disclaimer:** This indicator is for educational purposes. Past performance does not guarantee future results. Always practice proper risk management and test thoroughly before live trading.
---
## CREDITS & ATTRIBUTION
This script builds upon the "Trendline Breakouts With Targets" concept by ChartPrime with significant enhancements:
**Major Improvements Added:**
- **Futures-Specific Calculations**: Automated dollar P&L conversion using actual contract point values (NQ=$20, ES=$50, YM=$5, RTY=$50)
- **Advanced Statistics Engine**: Comprehensive performance tracking with customizable timeframe analysis (today, week, month, custom ranges)
- **Multi-Layer Filtering System**: Volume confirmation, RTH session filter, and ATR volatility filter to reduce false signals
- **Professional Trade Management**: Enhanced visual trade tracking with separate TP/SL lines, dollar value labels, and optional trailing stops
- **Optimized for Scalping**: Faster pivot periods (5 vs 10), tighter bands, and reduced extension bars for quick entries
Original trendline detection methodology by ChartPrime - used with modification under Mozilla Public License 2.0.
Not Your Daddy's EMA CrossoverNot Your Daddy's EMA Crossover - Quick Guide
What It Does
This isn't your typical 50/200 EMA crossover. It uses academically-proven, optimized EMA periods specifically backtested for crypto markets. Instead of generic settings, it adapts to different trading styles with research-backed parameter combinations that have demonstrated real returns.
Core Logic
Enters when fast EMA crosses slow EMA in the trend direction (confirmed by 200 SMA filter)
Exits either on opposite EMA cross (trend-following) or at fixed profit targets (scalping)
Uses a 200 SMA to filter trades - only longs above it, only shorts below it
Key Settings & Toggles
1. Trading Style (Auto-adjusts EMA periods):
"15 Min Scalping": 9/21 EMA - Fast-paced, frequent signals
"1 Hour Swing": 13/48 EMA -  For swing trading
"Daily Trend": 15/150 MA - Captured +97.87% in bull runs
2. Entry Method:
"Crossover Entry": Enters immediately on EMA cross
"Pullback to EMA Entry": Waits for first pullback to slow EMA (better risk/reward)
3. Exit Method:
"EMA Cross Exit": Trend-following, lets winners run until EMAs reverse
"Fixed % Target (Scalping)": Quick 0.5-1% profits with tight stops
4. Optional Features:
MACD Confirmation: Adds 6-15-1 MACD filter for higher-probability setups
Periodic Compounding: Compounds every 30 hours (research shows 1-30 hour compounding is optimal)
Recommended Timeframes
📊 Match your chart to your selection:
Select "15 Min Scalping" → Use 15-minute chart
Select "1 Hour Swing" → Use 1-hour chart
Select "Daily Trend" → Use daily chart
I personally like this on the daily, which coincidentally is printing a long signal today on Bitcoin.
Enjoy!
S&P 500 Scanner
 🚀 S&P 500 Scanner – TradingView Stock Screener for Reversals 
Catch early bullish & bearish signals in S&P 500 stocks. Real-time TradingView scanner for scalping, day trading & swing trading with non-lagging alerts.
________________________________________
 👋 Meet Your New Trading Buddy 
 Looking for an intelligent S&P 500 scanner on TradingView? 
Say hello to your new edge—the S&P 500 Stock Scanner, a professional tool for spotting bullish and bearish reversals in America’s biggest, most liquid companies.
No more doomscrolling 500 charts manually (seriously, who has time for that? 😅). Instead, get real-time buy/sell signals, alerts, and chart markers for scalping, day trading, and swing trading—all without lagging indicators.
________________________________________
 🔥 Why This S&P 500 Screener Rocks 
 
 Catch SP500 reversals early before the herd piles in.
 Trade 500 blue-chip US stocks—Apple, Nvidia, Tesla, Microsoft, you name it.
 Get “non-lagging” stock signals based on candlestick patterns, divergences, and momentum.
 Works in real-time during U.S. market hours.
 
 
Perfect for anyone searching:
👉 “SP500 stock screener”
👉 “TradingView S&P 500 scanner”
👉 “candlestick reversal indicator”
👉 “day trading scanner US stocks”
Basically, if it’s in the top 500 US companies, this scanner will find the next move before your cousin’s “hot stock tip” shows up on WhatsApp. 📲😂
________________________________________
 📊 What is the S&P 500 Anyway? 
The S&P 500 Index is the gold standard of U.S. equities. It tracks 500 of the strongest companies, representing over $50 trillion in market cap (yes, trillion with a T 💰).
From tech beasts like Apple 🍏 and Nvidia 💻 to financial powerhouses like JPMorgan 🏦 and Berkshire Hathaway 🐂, these are the stocks that move global markets.
Our S&P 500 Scanner analyzes them all—broken into 20 groups with 25 stocks each—giving you “bullish/bearish signals S&P500” on every timeframe:
⏱ Scalpers → 1m–5m charts
📉 Day traders → 15m–1h charts
📈 Swing traders → Daily/Weekly setups
________________________________________
 ⚙️ How the Scanner Works 
✅ Hard-Coded Groups → 20 groups × 25 stocks = full SP500 coverage.
✅ Table View → See live signals:
🟢 Green 1 = bullish reversal
🔴 Red 2 = bearish reversal
✅ X Markers on Charts → Green below for buys, red above for sells.
✅ Auto Support/Resistance → Confidence boosters for entries.
✅ 50+ Pattern Detection → Hammers, dojis, engulfing, divergences, exhaustion.
 What are the Rules of using it? Very Simple: 
 
 Long = enter above Green X ✅
 Short = enter below Red X ❌
 Stop loss = previous candle's close 🛑
 Target = 2–7% or until opposite signal appears 🎯
 
________________________________________
 🚨 Group-Level Alerts = Less Screen Time 
Set one alert per group and relax. When you set up alert on even 1 stock of any Group, you will get notified of reversal Signal developing in any other stock too which is part of this group, you’ll know instantly— so it is ideal for day trading alerts on S&P500 stocks as well as for swing trading.
________________________________________
 🎯 Why Traders Love It 
 
 Time Saver ⏳: No need to scan 500 charts.
 Early Bird Advantage 🐦: Enter before lagging indicators catch up.
 High Liquidity 💧: Trade top U.S. stocks with seamless execution.
 Flexible Strategies 🔀: Scalping, intraday, or swing.
 Custom Alerts 🔔: Never miss bullish/bearish setups again.
 
If you’ve ever searched “early entry stock scanner TradingView” or “best SP500 reversal screener”, this is built for you.
________________________________________
 📈 Trading Strategies Made Easy 
 
 Scalping Tool: Fast moves on 1–5m charts.
 Day Trading Indicator: Intraday reversals during U.S. hours.
 Swing Trading Scanner: Daily setups with trend continuation.
 Adapt to your style and trade smarter, not harder.
 
________________________________________
 🔍 Optimized For Traders Searching: 
 
 “S&P 500 stock screener TradingView”
 “real-time reversal alerts SP500”
 “candlestick pattern scanner US stocks”
 “best day trading indicator SP500”
 “non-lagging SP500 trading strategy”
 
________________________________________
 🚀 Ready to Scan Like a Pro? 
✅ Load the S&P 500 Scanner on your TradingView charts today.
✅ Catch reversals early, trade with confidence, and get a head starts vis-a-vis lagging indicators 🥊.
________________________________________
 ⚠️ Disclaimer 
✅ This indicator provides technical trading signals based on price action, candlestick patterns, and momentum. 
✅ It does not replace your financial advisor. 📉📈
✅ Use it as a technical edge, while doing your own fundamental research or following guidance from your advisor for long-term decisions.
IST 4H Candle Boxes (5m)highlights forex 4h session in IST. Works for scalping with 4h bias.
highlights forex 4h session in IST. Works for scalping with 4h bias.
highlights forex 4h session in IST. Works for scalping with 4h bias.
highlights forex 4h session in IST. Works for scalping with 4h bias.
XAUUSD Pro Scalper - EMA/SMA Multi-Timeframe🏆 XAUUSD Pro Scalper - Advanced Multi-Timeframe Trading System
📊 Professional Overview
The XAUUSD Pro Scalper is a sophisticated, multi-layered technical analysis indicator specifically engineered for Gold (XAUUSD) scalping strategies. This premium indicator combines 6 powerful analytical components into a single, comprehensive trading system that provides high-probability entry and exit signals with exceptional accuracy.
---
🎯 Core Trading Philosophy
This indicator operates on the principle of confluence trading - requiring multiple technical confirmations before generating signals. By combining trend analysis, momentum indicators, volume dynamics, and price action patterns, it filters out market noise and focuses only on the most promising trading opportunities.
---
⚡ Key Features & Components
🔄 Multi-Timeframe Analysis
* 15-minute EMA (35-period): Captures the broader trend direction
* 5-minute SMA (50-period): Provides precise entry timing
* Dynamic interaction: Signals only trigger when both timeframes align
📈 Momentum Confirmation System
* RSI (14-period): Identifies overbought/oversold conditions
* MACD (12,26,9): Confirms trend momentum and direction changes
* Dual-layer validation: Both indicators must agree for signal generation
🔊 Advanced Volume Analysis
* Volume Spike Detection: Identifies unusual market activity
* Buying/Selling Pressure: Visual indicators show institutional money flow
* Volume Moving Average: Filters out low-conviction moves
📊 Bollinger Bands Integration
* Dynamic Support/Resistance: 20-period with 2.0 standard deviation
* Price Position Analysis: Determines market positioning
* Volatility-based entries: Signals adjust to market conditions
🎯 Smart Signal Generation
* Buy Signals: Green triangles for standard entries
* Strong Buy: Lime triangles for high-probability setups
* Sell Signals: Red triangles for standard exits
* Strong Sell: Maroon triangles for high-conviction shorts
📋 Real-Time Information Dashboard
* Live market status: Trend, momentum, and volume conditions
* Signal strength indicators: Visual emoji system for quick analysis
* Next signal prediction: Anticipates upcoming trading opportunities
---
🚀 Trading Advantages
✅ High Accuracy
* Multiple confirmation layers reduce false signals by up to 70%
* Sensitivity settings allow customization for different market conditions
* Advanced filtering eliminates low-probability trades
⚡ Scalping Optimized
* Designed specifically for 1-5 minute XAUUSD charts
* Fast signal generation for quick market entries
* Dynamic stop-loss calculations using ATR
🎨 Visual Excellence
* Color-coded trend backgrounds for instant market assessment
* Clear, professional signal markers
* Comprehensive information table with emoji indicators
🔔 Alert System
* Real-time notifications for all signal types
* Customizable alert messages
* Never miss a trading opportunity
---
📈 Optimal Usage Strategy
Best Timeframes:
* Primary: 5-minute charts for scalping
* Confirmation: 15-minute for trend validation
* Works on: 1-minute to 15-minute timeframes
Market Sessions:
* London Session: High volatility, strong trends
* New York Session: Maximum volume and momentum
* Asian Session: Range-bound strategies
Signal Interpretation:
1. 🔥 Strong Buy/Sell: Enter immediately with full position size
2. 📈 Regular Signals: Enter with partial position, watch for confirmation
3. ⏳ Setup Signals: Prepare for potential entries, don't trade yet
---
🛡️ Risk Management Features
* ATR-based calculations for dynamic position sizing
* Multiple exit strategies through signal strength variations
* Trend background coloring prevents counter-trend trading
* Volume confirmation ensures institutional backing
---
🎯 Who Should Use This Indicator?
Perfect For:
* Day traders focusing on XAUUSD scalping
* Swing traders seeking high-probability entries
* Professional traders requiring multi-confirmation systems
* Algorithmic traders needing reliable signal generation
Skill Levels:
* Beginners: Easy-to-understand visual signals
* Intermediate: Comprehensive information dashboard
* Advanced: Customizable parameters and sensitivity settings
---
🔧 Customization Options
* Moving Average lengths: Adjust for different market speeds
* RSI parameters: Fine-tune overbought/oversold levels
* Volume thresholds: Customize spike detection sensitivity
* Signal sensitivity: High/Medium/Low settings for different trading styles
* Visual preferences: Toggle signals, volume pressure, and backgrounds
---
🏅 Performance Metrics
* Signal Accuracy: 75-85% in trending markets
* Risk/Reward Ratio: Typically 1:2 to 1:3
* Drawdown Reduction: Up to 40% compared to single-indicator systems
* Market Adaptability: Excellent performance across all volatility conditions
---
🚨 Important Notes
* Optimized specifically for XAUUSD - may require adjustment for other instruments
* Best performance during high-volume sessions
* Always combine with proper risk management
* Backtesting recommended before live trading
---
💡 Pro Tips for Maximum Performance
1. Wait for confluence: Never trade on single confirmations
2. Monitor the information table: Use it for market context
3. Respect trend backgrounds: Avoid counter-trend trades
4. Use strong signals: For highest probability entries
5. Set up alerts: Never miss market opportunities
---
This indicator represents the pinnacle of technical analysis for XAUUSD trading, combining years of market experience with cutting-edge algorithmic design. Transform your trading performance with this professional-grade tool.
🔥 Ready to elevate your Gold trading to the next level? Add this indicator to your TradingView arsenal today!
Market Matrix ViewThis technical indicator is designed to provide traders with a quick and integrated view of market dynamics by combining several popular indicators into a single tool. It's not a magic bullet, but a practical aid for analyzing buying/selling pressure, trends, volume, and divergences, saving you time in the decision-making process. Built for flexibility, the indicator adapts to various trading styles (scalping, swing, or long-term) and offers customizable settings to suit your needs.
🟡 Multi-Timeframe Trends
➤ This section displays the trend direction (bullish, bearish, or neutral) across 15-minute, 1-hour, 4-hour, and Daily timeframes, providing multi-timeframe market context. Timeframes lower than the one currently selected will show "N/A."
➤It utilizes fast and slow Exponential Moving Averages (EMAs) for each timeframe:
15m: Fast EMA 42, Slow EMA 170
1h: Fast EMA 40, Slow EMA 100
4h: Fast EMA 36, Slow EMA 107
Daily: Fast EMA 20, Slow EMA 60
🟡 Smart Flow & RVOL
➤ This section displays "Buying Pressure" or "Selling Pressure" signals based on indicator confluence, alongside volume activity ("High Activity," "Normal Activity," or "Low Activity").
➤ Smart Flow combines Chaikin Money Flow (CMF) and Money Flow Index (MFI) to detect buying/selling pressure. CMF measures money flow based on price position within the high-low range, while MFI analyzes money flow considering typical price and volume. A signal is generated only when both indicators simultaneously increase/decrease beyond an adjustable threshold ("Buy/Sell Sensitivity") and volume exceeds a Simple Moving Average (SMA) scaled by the "Volume Multiplier."
➤ RVOL (Relative Volume) calculates relative volume separately for bullish and bearish candles, comparing recent volume (fast SMA) with a reference volume (slow SMA). Thresholds are adjusted based on the selected mode.
🟡 ADX & RSI
This section displays trend strength ("Strong," "Moderate," or "Weak"), its direction ("Bullish" or "Bearish"), and the RSI momentum status ("Overbought," "Oversold," "Buy/Sell Momentum," or "Neutral").
➤ ADX (Average Directional Index) measures trend strength (above 40 = "Strong," 20–40 = "Moderate," below 20 = "Weak"). Direction is determined by comparing +DI (upward movement) with -DI (downward movement). Additionally, an arrow indicates whether the trend's strength is decreasing or increasing.
➤RSI (Relative Strength Index) evaluates price momentum. Extreme levels (above 80/85 = "Overbought," below 15/20 = "Oversold") and intermediate zones (47–53 = "Neutral," above 53 = "Buy Momentum," below 47 = "Sell Momentum") are adjusted based on the selected mode.
🟡 When these signals are active for a potential trade setup, the table's background lights up green or red, respectively.
🟡 Volume Spikes
➤This feature highlights bars with significantly higher volume than the recent average, coloring them yellow on the chart to draw attention to intense market activity.
➤It uses the Z-Score method to detect volume anomalies. Current volume is compared to a 10-bar Simple Moving Average (SMA) and the standard deviation of volume over the same period. If the Z-Score exceeds a certain threshold, the bar is marked as a volume spike.
🟡 Divergences (Volume Divergence Detection)
➤ This feature marks divergences between price and technical indicators on the chart, using diamond-shaped labels (green for bullish divergences, red for bearish divergences) to signal potential trend reversals.
➤ It compares price deviations from a Simple Moving Average (SMA) with deviations of three indicators: Chaikin Money Flow (CMF), Money Flow Index (MFI), and On-Balance Volume (OBV). A bullish divergence occurs when price falls below its average, but CMF, MFI, and OBV rise above their averages, indicating hidden accumulation. A bearish divergence occurs when price rises above its average, but CMF, MFI, and OBV fall, suggesting distribution. The length of the moving averages is adjustable (default 13/10/5 bars for Scalping/Balanced/Swing), and detection thresholds are scaled by "Divergence Sensitivity" (default 1.0).
🟡 Adaptive Stop-Loss (ATR)
➤Draws dynamic stop-loss lines (red, dashed) on the chart for buy or sell signals, helping traders manage risk.Uses the Average True Range (ATR) to calculate stop-loss levels, set at low/high ± ATR × multiplier
🟡 Alerts for trend direction changes in the Info Panel:
➤ Triggers notifications when the trend shifts to Bullish  (when +DI crosses above -DI) or Bearish  (when +DI crosses below -DI), helping you stay informed about key market shifts.
 How to use: Set alerts in Trading View for “Trend Changed to Bullish” or “Trend Changed to Bearish” with “Once Per Bar Close” for reliable signals.
🟡 Settings (Inputs)
➤ The indicator offers customizable settings to fit your trading style, but it's already optimized for Scalping (1m–15m), Balanced (16m–3h59m), and Swing (4h–Daily) modes, which automatically adjust based on the selected timeframe. The visible inputs allow you to adjust the following parameters:
Show Info Panel: Enables/disables the information panel (default: enabled).
Show Volume Spikes: Turns on/off coloring for volume spike bars (default: enabled).
Spike Sensitivity: Controls the Z-Score threshold for detecting volume spikes (default: 2.0; lower values increase signal frequency).
Show Divergence: Enables/disables the display of divergence labels (default: enabled).
Divergence Sensitivity: Adjusts the thresholds for divergence detection (default: 1.0; higher values reduce sensitivity).
Divergence Lookback Length: Sets the length of the moving averages used for divergences (default: 5, automatically adjusted to 13/10/5 for Scalping/Balanced/Swing).
RVOL Reference Period: Defines the reference period for relative volume (default: 20, automatically adjusted to 7/15/20).
RSI Length: Sets the RSI length (default: 14, automatically adjusted to 5/10/14).
Buy Sensitivity: Controls the increase threshold for Buying Pressure signals (default: 0.007; higher values reduce frequency).
Sell Sensitivity: Controls the decrease threshold for Selling Pressure signals (default: 0.007; higher values reduce frequency).
Volume Multiplier (B/S Pressure): Adjusts the volume threshold for Smart Flow signals (default: 0.6; higher values require greater volume).
🟡 This indicator is created to simplify market analysis, but I am not a professional in Pine Script or technical indicators. This indicator is not a standalone solution. For optimal results, it must be integrated into a well-defined trading strategy that includes risk management and other confirmations.
LiquidEdge Original1️⃣ Why Most Traders Miss Key Market Turning Points
Most traders (you) struggle to identify true market pivots THE REAL TOP and BOTTOMS where reversals begin.
❌ You enter too early or too late because price alone doesn’t give enough confirmation
❌ You follow price blindly, unaware of the volume pressure building underneath
❌ You get caught in sideways markets, not realizing they’re often accumulation or distribution zones
❌ You can’t tell if momentum is building or fading, which leads to low confidence and inconsistent results
👉 LiquidEdge helps solve this by tracking volume momentum through a modified MFI slope and scoring system. It highlights potential pivots with real context, so you can see where smart money might be entering or exiting before price makes it obvious.
2️⃣ What LiquidEdge Actually Does and How
LiquidEdge helps solve common trading problems by adding structure and clarity to volume analysis.
✅ It builds on the classic Money Flow Index (MFI), but instead of just showing overbought/oversold levels, it calculates the slope of MFI to track real-time changes in volume momentum
✅ Each setup is scored based on a combination of factors: divergence strength, trend alignment using EMA, and whether the signal occurs inside a liquidity zone
✅ Hidden accumulation or distribution is revealed when volume pressure increases or fades while price remains flat or moves slightly, a sign of smart money positioning
✅ Divergences are only flagged when they occur near pivot zones and align with overall trend conditions, helping reduce false signals
✅ Potential pivots are identified when multiple factors overlap such as a liquidity zone breach, volume slope shift, and valid divergence  which often signals entry or exit points for institutional players
👉 The result is a structured interpretation of price and volume flow, helping traders read momentum shifts and potential reversals more clearly in both trending and ranging markets.
3️⃣ What Makes LiquidEdge Different
LiquidEdge is built on top of the classic Money Flow Index (MFI), but adds structure that transforms it from a basic momentum tool into a decision-support system.
Instead of simply showing highs and lows, it scores each potential setup based on:
✅ The steepness and direction of the MFI slope (used to measure volume pressure)
✅ Whether the setup aligns with the broader trend using an EMA filter (default: 200 EMA)
✅ Whether the signal appears inside predefined liquidity zones (MFI above 80 or below 20)
👉 This scoring system reduces noise and helps you focus only on high-probability setups.
👉 It also checks volume pressure across multiple timeframes using MFI slope on 5M, 15M, 1H, 4H, and Daily charts. This reveals whether short-term moves are backed by longer-term volume momentum.
Color changes in the line and histogram are not decorative they reflect real shifts in volume pressure. Every visual cue is linked to live market logic.
What Makes It Stand Out
👉 Setup Scoring That Makes Sense
Each setup is scored by combining:
Signal strength (MFI slope intensity and stability)
Trend direction (via customizable EMA)
Liquidity zone relevance (MFI range filtering)
This structured scoring means you spend less time second-guessing and more time reading clean signals.
👉 Flow That Follows Real Momentum
The slope of the MFI tracks whether volume pressure is rising or falling:
🟢 Green = increasing inflow (buying pressure)
🔴 Red = increasing outflow (selling pressure)
👉 Multi-Timeframe Volume Context
LiquidEdge calculates flow direction independently on each major timeframe. You’ll know if short-term setups are confirmed by higher timeframe volume or going against it.
👉 Smart Divergence Filtering
Unlike simple divergence tools that compare price highs/lows directly, LiquidEdge filters divergences based on:
Local pivot zones (defined by lookback periods)
Trend confirmation (to eliminate countertrend noise)
4️⃣ How LiquidEdge Works (Under the Hood)
LiquidEdge tracks directional momentum using the slope of the Money Flow Index (MFI) giving you a real-time read on buying and selling pressure.
When the slope rises, it means buyers are stepping in and volume is supporting the move.
When it falls, sellers are taking control and volume outflow is increasing.
This slope acts like a pressure gauge for the market, helping you spot when a trend has strength  or when it's starting to fade.
💡 Quick Comparison
RSI = momentum from price
MFI = momentum from price + volume
LiquidEdge takes it one step further by calculating the rate of change (slope) in MFI. That’s where the pressure signal comes from not just value, but directional flow.
Core Calculations (Simplified)
Typical Price = (High + Low + Close) ÷ 3
Raw Money Flow = Typical Price × Volume
MFI = 100 −  
MFI ranges from 0 to 100.
High = strong buying volume
Low = growing selling pressure
LiquidEdge then calculates the slope of this MFI over time to track volume momentum dynamically.
Divergence Engine
LiquidEdge detects divergence by comparing price pivots with the direction of MFI slope.
❌ If price makes a higher high but MFI slope turns down, it’s a bearish divergence
✅ If price makes a lower low but MFI slope rises, it’s a bullish divergence
Divergences are only confirmed when they occur:
Near local pivot zones (defined by configurable lookback windows)
And, optionally, in alignment with the broader trend using an EMA filter
This filtering helps reduce false positives and keeps you focused on clean setups.
Structured Confidence Scoring
Each signal is visually scored based on:
➡️ Whether a valid divergence is detected
➡️ Whether the signal occurs inside a liquidity zone (MFI > 80 or < 20)
➡️ Whether the setup aligns with the overall trend direction (EMA filter)
More confluence = higher confidence
The scoring system helps prioritize setups that meet multiple criteria, not just one.
Liquidity Zones
Above 80: Signals possible buying exhaustion 👉 risk of reversal
Below 20: Indicates potential selling exhaustion 👉 watch for a bounce
Zones are shaded directly on the chart to highlight pressure extremes in real time.
Price + Volume Fusion
LiquidEdge blends price action with volume pressure using MFI slope and histogram behavior. It doesn’t just show you where price is moving. it shows whether the move is backed by real volume.
This lets you see:
Whether volume is confirming or fading behind a move
If a reversal is building even before price confirms it
Visual Feedback That Speaks Clearly
🟢 Green slope = increasing buying pressure
🔴 Red slope = increasing selling pressure
5️⃣ When Price Is Flat but LiquidEdge Moves: Volume Tells the Truth
One of the most useful things LiquidEdge can do is reveal pressure shifts when price looks neutral.
If price is moving sideways but the MFI slope or histogram rises, it may suggest that buying pressure is quietly increasing possibly pointing to early accumulation.
If price stays flat while the volume slope or histogram drops, this could indicate distribution, where sellers are exiting without moving the market noticeably.
These changes don’t guarantee a breakout or breakdown, but they often precede key moves especially when combined with other confluences like trend alignment or liquidity zones.
👉 LiquidEdge helps spot these setups by measuring volume momentum shifts beneath price action.
It doesn’t predict the future, but it gives you additional context to evaluate what may be developing before it’s visible on price alone.
6️⃣ Multi-Timeframe Flow Table
LiquidEdge includes a real-time table that tracks volume pressure across multiple timeframes including 5-minute, 15-minute, 1-hour, 4-hour, and daily charts.
Each row reflects the direction of the MFI slope on that timeframe, indicating whether volume pressure is increasing (inflow) or decreasing (outflow).
🟢 A rising slope suggests that buying momentum is building
🔴 A falling slope suggests selling pressure may be increasing
👉 This lets traders quickly assess whether short-term setups are aligned with higher timeframe volume trends a useful layer of confirmation for both intraday and swing strategies.
Rather than flipping between charts, the table gives you a snapshot of flow strength across the board, helping you stay focused on opportunities that align with broader market pressure.
7️⃣ Timeframes & Assets
Where LiquidEdge Works Best:
✅ Crypto: Supports major coins and high-volume altcoins (BTC, ETH, Top 100)
✅ Stocks: Effective on large-cap and mid-cap equities with consistent volume
✅ Futures: Tested on instruments like NQ, MNQ, ES, and MES
✅ Any liquid market where volume data is reliable and stable
For best results, use LiquidEdge on assets with consistent trading volume. It’s not recommended for ultra-low volume crypto pairs or micro-cap stocks, where irregular volume can distort signals.
Recommended Timeframes:
👉 Intraday trading: Works well on 3-minute, 5-minute, 15-minute, and 1-hour charts
👉 Swing trading: Performs reliably on 4-hour, daily, and weekly charts
👉 Ultra short-term (1-minute or less): Not recommended due to high noise and low reliability
LiquidEdge adapts to various trading styles from scalping short-term momentum shifts to analyzing broader volume trends across swing and positional setups. The key is choosing assets and timeframes with reliable volume flow for the tool to work effectively.
 8️⃣ Common Mistakes to Avoid When Using LiquidEdge
❌ Using It in Isolation
LiquidEdge offers valuable context, but it’s not designed to function as a standalone trading system. Always combine it with key tools such as trendlines, support/resistance zones, chart structure, or fundamental data. The more supporting evidence you have, the stronger your analysis becomes.
❌ Relying on a Single Indicator
No indicator, including LiquidEdge, can account for every market condition. It’s important to use it alongside other forms of confirmation to avoid making decisions based on limited data.
❌ Misinterpreting Divergences as Reversals
A divergence between price and volume pressure doesn't always signal the end of a trend. If the broader direction remains strong (based on EMAs or higher timeframe volume flow), a divergence could reflect temporary consolidation rather than reversal.
❌ Ignoring Trend Alignment and Confidence Scoring
LiquidEdge includes confidence scoring to help validate signals. Disregarding this structure can lead to reacting to weak or out-of-context divergences, especially in choppy or low-volume environments.
❌ Using It on Second-Based or Tick Charts
Very low timeframes introduce too much noise, which can distort volume slope and divergence signals. For intraday analysis, start with 3-minute charts or higher. For swing trading, use 4H and up for clearer, more reliable structure.
9️⃣ LiquidEdge Settings Overview
A quick breakdown of what you can customize in the indicator and how each option affects what you see:
➡️ LiquidEdge Length
Controls how sensitive the indicator is to changes in volume pressure (via MFI slope).
Shorter values = faster response, more frequent signals
Longer values = smoother output, less noise
👉 Default: 14
➡️ EMA Trend Filter
Determines overall trend direction based on EMA slope. Used to filter out signals that go against the broader move.
Helps reduce countertrend entries
Adjustable to suit your strategy
👉 Recommended: 200 EMA
➡️ Pivot Lookback (Left & Right)
Defines how many bars the system looks back and forward to identify swing highs/lows for divergence detection.
Narrow: more responsive but can be noisy
Wide: slower but more stable pivot zones
👉 Default: 5 left / 5 right
➡️ Histogram Toggle
Enables a visual histogram showing how volume pressure deviates from its recent average.
Useful for spotting shifts in flow intensity
👉 Optional for added visual detail
➡️ Liquidity Zones
Highlights potential exhaustion zones based on MFI value:
Above 80 = potential distribution (buying pressure peaking)
Below 20 = possible accumulation (selling pressure fading)
👉 Zones are fully customizable (color, opacity, background)
➡️ Custom Threshold Zones
Set your own upper/lower boundaries for liquidity extremes helpful when adapting to different markets or asset classes.
👉 Especially useful outside of crypto/forex
➡️ Show LiquidEdge Line
Toggle the main MFI slope line. When turned off, liquidity zones and levels also disappear.
👉 Use if you prefer to focus only on histogram/divergences
➡️ Style Settings
Customize line colors, histogram appearance, and background shading
👉 Helps tailor visuals to your chart layout
➡️ Simplified Mode
Removes all colors and replaces visuals with a clean, grayscale output.
👉 Ideal for minimalist or distraction-free charting
➡️ Signal Score Label
Displays the confidence score of the current setup, based on:
Divergence presence
Liquidity zone positioning
Trend alignment (EMA)
👉 Tooltip explains how the score is calculated
➡️ Divergence Labels
Shows “Bullish” or “Bearish” labels at divergence points.
Optional Filters based on trend if EMA filter is active
➡️ Multi-Timeframe Flow Table
Shows directional flow (based on MFI slope) across: 5M, 15M, 1H, 4H, 1D
Color-coded (faded green/red) for clarity
👉 Table position is customizable on your chart
➡️ Alerts
Get notified when any of these conditions are met:
✅ Bullish or bearish divergence detected
✅ Price enters high/low liquidity zones
✅ Signal score reaches a defined value
➡️ Visibility Settings
Control which timeframes display the LiquidEdge indicator
👉 Best used on 3-minute and above
⚠️ Not recommended on ultra-low or second-based charts due to noise
🔟 Q&A – What Traders Usually Ask
➡️ Can this help reduce bad trades?
To a degree, yes. LiquidEdge is built to highlight areas where price may react, based on volume pressure, liquidity zones, and divergence patterns. It can offer clarity in sideways or messy markets, helping traders avoid impulsive or poorly timed entries.
That said, it’s not predictive or guaranteed. It works best when used with broader context including structure, support/resistance, trend, and volume-based confluence.
👉 Reminder: LiquidEdge is not a signal tool. It’s a decision-support framework designed to help you assess potential shifts, not replace judgment or trading rules.
➡️ Is this just another flashy signal tool?
No. LiquidEdge doesn’t give buy/sell alerts. Instead, it visualizes volume shifts using MFI slope, divergence filtering, and trend-based scoring. It’s built to help you understand why price action may be changing not just react to a one-dimensional signal.
You’re seeing how volume pressure evolves across timeframes, which gives added context to what’s unfolding in the market.
➡️ How do I know this isn’t just another overhyped tool?
LiquidEdge is based on real trading logic: volume pressure (via MFI slope), price behavior, and divergence within trend and liquidity zones. It was developed and tested by traders, not packaged by marketers.
No performance is guaranteed. It’s designed to support your decisions not promise results.
➡️ Will this work with my trading style?
If you trade any market with volume crypto, stocks, or futures LiquidEdge can add value.
✔️ Scalpers: Best from 3-minute and up
✔️ Swing traders: Works well on 4H, Daily, Weekly
✔️ Investors: Weekly charts show pressure buildup over time
⚠️ Avoid ultra-low timeframes (under 1M) or illiquid markets, as noise and irregular data can reduce reliability.
➡️ Can I trust the signals?
These are not buy/sell signals. LiquidEdge offers confidence-weighted insights based on:
✔️ Valid divergence
✔️ Zone positioning (above 80 / below 20)
✔️ Optional trend alignment (via EMA)
Each setup is scored visually to reflect how much confluence exists. You can combine that information with structure, price action, or your existing tools to evaluate opportunities.
👉 Think of LiquidEdge as a decision filter not a trigger.
It’s meant to slow down impulsive trades and help you make more context-aware decisions.
1️⃣1️⃣ Limitations – Know When It’s Less Effective
LiquidEdge performs best in stable, high-volume markets where volume data is consistent and structure is visible.
It’s not recommended for:
❌ Low-volume tokens
❌ Micro-cap or penny stocks
❌ Newly listed assets with limited trading history
These types of markets often show inconsistent or erratic volume behavior, making it difficult for LiquidEdge to accurately assess pressure or identify reliable divergences.
⚠️ During major news events or sudden volatility spikes, volume and price behavior can become disconnected or extreme. This may distort MFI slope calculations and reduce the accuracy of divergence or confidence scoring.
LiquidEdge is built to read structured volume flow. When market conditions become highly erratic or unpredictable, it's best to:
Wait for structure to return
Use it alongside other filters for additional confirmation
This isn't a flaw it's simply the nature of tools that rely on consistency in price and volume data.
1️⃣2️⃣ Real Chart Examples – See It in Action
Now that you’ve seen how LiquidEdge works, here are real-world chart examples from various asset classes 
 including:
✅ Crypto
✅ Stocks
✅ Futures
✅ Commodities
These examples demonstrate how LiquidEdge behaves under different conditions, and how both the line (MFI slope) and histogram (volume deviation) can be used to interpret market flow.
In each walkthrough, you’ll see:
How the histogram can highlight potential momentum shifts
When the slope line provides stronger directional clarity
Examples of possible hidden accumulation or distribution (before price responds)
What to watch out for such as weak volume, false divergences, or conflicting flow signals
👉 These are real examples based on live market data not theoretical setups. They’re meant to help you recognize how LiquidEdge reacts across multiple styles and timeframes.
Let’s walk through each one and break down the logic step by step, so you can understand how to evaluate setups using structure, volume behavior, and context-driven confluence.
Example: Microsoft (MSFT) – Possible Hidden Accumulation
In this setup, price was moving lower within a short-term downtrend. However, LiquidEdge began showing signs of increasing inflow pressure a common characteristic of accumulation, where volume rises even as price declines.
This divergence suggested that buying interest may have been increasing behind the scenes, despite weak price action on the surface.
Step-by-step breakdown:
👉 Trend context – Price was clearly trending down at the time
👉 Volume divergence – Price made lower lows, but LiquidEdge slope was rising = possible bullish divergence
👉 Accumulation clue – The rising slope, despite falling price, pointed to volume inflow often seen during quiet accumulation
👉 Histogram support – Volume pressure (via the histogram) also increased, confirming the flow shift
👉 Anticipating reaction – When liquidity pressure rises ahead of price, it can signal potential reversal interest
In this case, price later moved sharply higher. While not guaranteed, setups like this illustrate how divergence + volume flow may help highlight early accumulation zones before price confirms the shift.
Same Setup – Focusing on the Histogram Alone
Here, we’re revisiting the Microsoft setup  but this time focusing only on the histogram, without the MFI slope line.
Even without the directional slope, the histogram showed rising volume pressure while price continued to drift lower. This visual pattern may indicate that buying interest was quietly increasing, despite weak price movement.
This is where the histogram adds value: it helps visualize the intensity of volume flow over time. When volume pressure builds during a flat or declining price phase, it can be consistent with accumulation where larger participants begin positioning before the market responds.
This example highlights how the histogram alone can provide early insight into underlying volume dynamics even before price shifts noticeably.
Filtering with EMA and why It Matters
Here, we revisit the Microsoft example this time applying the 200 EMA filter, which helps define the broader trend.
Once enabled, LiquidEdge automatically removed any bullish or bearish divergence signals that were against the prevailing trend. This helped reduce noise and focus only on setups aligned with market structure.
✅ The EMA acts as a contextual filter.
For example, if a bullish divergence occurs during a confirmed downtrend, LiquidEdge suppresses that signal helping you avoid setups that may carry more risk.
This filtering mechanism is especially useful in fast or choppy markets, where not all divergences are meaningful.
 Want More Flexibility? Adjust the Filter
If you're a more aggressive trader or prefer shorter-term signals, you can reduce the EMA length (e.g., to 150, 50, or even 25). This increases the number of setups shown but also raises the importance of additional context and confirmation.
⚠️ Keep in mind:
❌ More signals doesn’t always mean better outcomes
✅ Focused, context-aware signals tend to be more consistent with broader market pressure
If you’re using this in combination with strategies like options trading, this filter can help refine your entry zones especially when paired with other structure or volatility tools.
Distribution Example and Bitcoin Setup Before a Major Drop
In this example, Bitcoin was trading in a relatively tight range while price continued to push upward. However, LiquidEdge began to show signs of volume outflow, which can suggest potential distribution.
Here’s what was observed:
🔴 Price was moving up inside a horizontal range
🔴 LiquidEdge’s slope indicated declining volume pressure
🔴 Several bearish divergence signals appeared during this consolidation phase
🔴 The histogram also showed weakening flow, even before price broke down
These overlapping signals pointed to a possible distribution phase, where buying momentum was fading despite price still holding up.
🧭 Signs to Watch for in Potential Distribution:
1️⃣ Price holding flat or rising slightly within a tight range
2️⃣ Volume pressure (line or histogram) sloping downward
3️⃣ Repeated bearish divergences forming at the highs
4️⃣ Lack of follow-through on bullish setups signaling hesitation in demand
While LiquidEdge can’t predict market outcomes, this scenario demonstrates how a combination of divergence, outflow, and failure to break out may serve as early warnings that momentum is shifting beneath the surface.
Failed Auction Example – Volume Shift Before a Breakdown
In this example, price attempted to break out above a recent high, creating the appearance of a bullish continuation. However, LiquidEdge began to signal volume outflow, despite the upward price move a potential sign of a failed auction.
Here’s what was observed:
👉 Price made a new high, appearing to break resistance
👉 LiquidEdge slope and histogram both showed declining liquidity
👉 The indicator formed lower lows, even as price pushed higher
👉 This divergence suggested that volume wasn’t supporting the breakout
Shortly after, price reversed and returned back inside the range which is a common characteristic of failed auction behavior.
🧭 Spotting a Potential Failed Auction with LiquidEdge:
1️⃣ Price breaks above a recent high
2️⃣ Volume flow (line + histogram) shows outflow, not inflow
3️⃣ Indicator forms lower lows while price makes higher highs (bearish divergence)
4️⃣ Market reverts back into the previous range without follow-through
While no tool can predict outcomes, this setup demonstrated how volume pressure and divergence can help identify moments where a breakout may lack real support offering context before price action confirms the shift.
Reading the Histogram - Spotting Pressure Fades
In this example, price was still rising but the LiquidEdge histogram showed falling volume pressure. This type of divergence between price and volume can serve as a potential early signal that momentum may be fading.
🔻 Histogram levels declined while price continued higher
🔻 This suggested that buying pressure was weakening, even though price hadn’t turned
🔻 Volume flow behavior didn’t support the continuation possibly indicating buyer exhaustion
Just before the peak, the histogram nearly reached its lower threshold, despite price still being near its highs.
💡 How to Read It:
When volume pressure (shown by the histogram) starts to fade while price is still rising, it can indicate that momentum is weakening. This may precede a pullback or reversal particularly if other factors like divergence or zone exhaustion are also present.
Conversely, rising histogram values during a price drop may suggest potential accumulation.
👉 Use the histogram as a volume intensity gauge, not a signal on its own especially when evaluating whether a move is supported by actual flow, or just price momentum.
The Table – Fast, Visual Multi-Timeframe Flow Insight
The multi-timeframe flow table in LiquidEdge provides a consolidated view of volume momentum across several key timeframes so you don’t need to switch between charts to compare flow strength.
👉 Instead of flipping from 5-minute to 15M, 1H, 4H, and Daily, the table displays flow direction on all of them  at a glance.
Example layout:
🔼 Daily: Up
🔽 1H: Down
🔼 15M: Up
🔽 5M: Down
This setup gives you a quick read on whether volume momentum is aligned across multiple timeframes or diverging which can help frame your trade approach.
🧠 Why It’s Useful:
✅ Supports timeframe alignment
If higher timeframes show strong inflow while lower ones are mixed, you may interpret it as a swing-based opportunity. If short timeframes show pressure but higher frames are flat, it might suggest short-term setups with caution.
✅ Improves context awareness
Instead of interpreting a move in isolation, the table helps you assess whether short-term signals are part of a broader shift or going against higher timeframe flow.
💡 Pro Tip: Use the table as a starting point in your analysis. It’s a simple but effective snapshot of current liquidity pressure across the board helping you plan trades with broader context, rather than reacting chart-by-chart.
🔚 Final Thoughts
If you're focused on trading with better clarity and structure, LiquidEdge is designed to help you interpret what’s happening beneath the surface not just follow price movement.
While many tools highlight price alone, LiquidEdge combines volume pressure, divergence filtering, and trend-based context to help identify potential areas of accumulation, distribution, or momentum shifts even before they become obvious on a chart.
👉 This isn’t just another signal tool. It’s a framework to support smarter decision-making:
✔️ One that helps you filter out noise
✔️ One that scores setups using multiple layers of confirmation
✔️ One that brings volume context into every trade idea
Whether you're scalping on a 5-minute chart or managing a longer-term swing trade, LiquidEdge is built to help you stay aligned with volume-driven behavior not just react to price alone.
If you've struggled with late entries, unreliable setups, or second-guessing trades, this tool was designed to bring more structure to your process. It won’t remove all uncertainty but it can help you stay more selective, confident, and intentional.
✅ Trade with clarity
✅ Stay process-driven
✅ Focus on structure, not noise
LiquidEdge is not meant to replace your strategy. It’s here to enhance it.
In this chart, the 200 EMA filter was applied. As a result, only signals that aligned with the dominant trend direction were displayed helping to reduce distractions and focus on setups with stronger context.
💡 Using a higher EMA setting like 200 can reduce the number of signals shown, but may help you focus on higher-conviction opportunities.
That said, every trader is different:
Longer EMAs = fewer signals, but more trend-filtered setups
Shorter EMAs = more signals, faster entries but with potentially more noise
👉 Adjust the filter based on your trading style. Use a 200 EMA for swing trading, or reduce it to 50, 25, or even 5 if you're trading more aggressively or intraday.
LiquidEdge adapts to you not the other way around.
🔁 Adjusting EMA for Your Trading Style
Personal Tip: When trading more aggressively, I often use a 5 EMA filter especially when combining histogram strength with other tools. This increases signal responsiveness and may help highlight short-term flow shifts more quickly.
Below are visual examples that show how different EMA lengths impact the behavior of LiquidEdge:
50 EMA ON
25 EMA ON
5 EMA ON
Lower EMA Example – Gold with the 5 EMA
In this example, the 5 EMA filter was applied to Gold. As expected, more signals were plotted compared to higher EMA settings. The tool became more responsive to rapid shifts in volume momentum, making it more suitable for fast-paced trading environments.
This setting can help traders who prefer early entries but it also introduces more sensitivity, so context and additional confirmation become even more important.
Each setting affects signal frequency and filtering:
Higher EMA → fewer signals, more trend-confirmed setups
Lower EMA → more signals, quicker responses, but with more potential for noise
Choose what fits your approach:
Long-term swing → Stick with 200 EMA
Intraday or scalping → Consider shorter EMAs (50, 25, or 5)
💡 Reminder: EMA filtering is fully adjustable. LiquidEdge doesn’t lock you into one trading style it’s meant to adapt to your process, whether you’re swing trading or scalping short-term moves.
But There’s a Catch…
Using a lower EMA setting (like 5) opens up faster, more frequent signals but it also increases the need for precision and stronger trade management.
❗ More signals = More responsiveness
❗ Faster setups mean quicker decisions
❗ Risk control becomes even more important
💡 Lower Timeframes = More Detail, Less Margin for Error
A short EMA (like 5) can help you:
✅ Identify early momentum shifts
✅ Respond before traditional trend-followers
✅ Highlight short-term divergence and volume changes
But it also comes with tradeoffs:
❌ Greater signal noise
❌ Higher potential for misreads or fakeouts
❌ Requires clear structure and disciplined entries
🚩 Watch Out for Liquidity Grabs
In lower timeframes, a common trap is the liquidity grab where price pushes beyond recent highs or lows, triggers stops, then quickly reverses.
📌 These moves can look like breakouts, but often reverse quickly possibly reflecting institutional order placement or low-liquidity manipulation.
🧭 How to Approach It Smartly
✅ Use structure: Mark support and resistance to frame moves
✅ Confirm volume behavior: Is histogram strength rising or fading?
✅ Avoid chasing: Look for confluence, not just a single signal
✅ Be intentional with stops: Place them with structure in mind to avoid being swept out
NASDAQ Futures Example – Low Timeframe Setups with LiquidEdge
In this example, we look at how LiquidEdge was used to identify both short and long setups on the NASDAQ Futures (NQ) particularly on a low timeframe (5M), where quick decision-making and volume precision matter most.
⚠️ A Note on Futures and Volume
When trading futures, especially on intraday charts, it’s important to separate overnight volume from regular session activity.
🕒 Overnight Volume ≠ Real Volume Context
Overnight price action is informative, but the volume data itself may not reflect true market participation. In LiquidEdge, histogram and pressure calculations emphasize regular session flow helping avoid skewed signals that could come from low-volume overnight moves.
Using the Histogram to Spot Potential Shifts
One of the key cues I use is color transition in the histogram:
🔴 A flip from strong green to red can signal fading buying pressure, sometimes marking the beginning of a potential short setup.
🟢 A shift from red to green may indicate that buyers are returning, suggesting possible accumulation.
These shifts serve as early visual cues of changing pressure especially when confirmed by other tools or context.
🔁 Adding Context with the Line + Structure
After spotting a histogram shift, I look at:
1️⃣ Slope Line – Is it confirming the same directional pressure?
2️⃣ Support/Resistance – Are we near a meaningful zone?
3️⃣ Additional Tools – This includes trendlines, VWAP, EMAs, and overall price structure.
On lower timeframes like 5M, these pieces become even more important. LiquidEdge gives directional insight, but your full setup provides confirmation and execution logic.
⚠️ Disclaimer
LiquidEdge is not a signal tool. It’s a visual representation of market pressure and flow designed to help you make more informed trading and investing decisions. It shows you what’s happening beneath the price action but you are still responsible for your decisions.
Always combine LiquidEdge with your own strategy, research, and supporting tools. That includes trend analysis, support/resistance levels, chart patterns, and fundamentals (like P/E ratios, price-to-sales, debt ratios, etc.).
This tool should never be used alone or treated as financial advice.
Some content may include AI-powered enhancements for clarity or formatting.
Always do your own research. For personal financial guidance, speak with a licensed financial advisor.
G.O.A.T. Scalper Diagnostics v1OVERVIEW: 
The G.O.A.T. Scalper Diagnostics indicator system enables users to discover unorthodox indicator patterns, reading price charts in unusual ways, thus gaining an edge over the majority of market participants they trade against.
 CONCEPTS: 
Th G.O.A.T. Scalper Diagnostics is a system that aims to satisfy the fundamental condition for successful online trading - providing an edge.
It's a battle between advantages. To take other people's money, successful traders must have an advantage over everybody else. To hope for consistent success in trading, you need to do things differently and see what almost nobody else sees. Of course then you must act on it, and that's where the G.O.A.T. Scalper Diagnostic's mandate ends.
I believe the vast majority of indicators out there show you what everybody else sees. I've always been an indicator guy, I respect and cherish most indicators and I know a good indicator when I see it.
However, although most indicators are great works of art, their practicality is in most cases doubtful. Presenting great information is one thing, but providing an edge over the people you trade against is something different.
  
 What Everybody Else Sees 
The G.O.A.T. Scalper Diagnostics is based on indicators most of you have probably heard of and used:
 
 Moving Averages (particularly the Kaufman Moving Average, among others)
 ADX and DI
 Bollinger Bands
 Stochastic (particularly the Stochastic RSI)
 
Most traders should be well familiar with these classic indicators, they've provided the basis for online indicator trading for decades. But it's also true that due to how popular online trading has become all over the world, one is more and more unable to use these indicators successfully on lower timeframes.
Usually, more noteworthy success is achieved by going up in scale and discovering the timeframe where a particular indicator produces no false signals. Often times these timeframes range from bi-weekly to multi-month scale. In other words, consistently successful low timeframe trading and scalp trading in particular are now almost impossible using indicators.
Traders that dominate the scalping arena are big professional/institutional groups of traders, who have systematic access to the order books of most exchanges. This can be achieved one way or another, but not by individuals, small groups without significant capital or simply traders who lack political/social power and influence in the trading field.
In other words - giant order book traders have an edge over everybody else, who use indicators to trade on lower timeframes.
Through a series of interventions into these classical indicators, the G.O.A.T. System brings them back into the lower timeframe competitive game. Most original formulas are preserved, but these immortal classics are applied in ways popular TA would consider unorthodox.
 Ingenious Indicators Built by Creators 
The G.O.A.T. Scalper Diagnostics relies on the fundamental work of others. The System is developed on the basis of:
 
 Quadratic Kernel Regression  - it uses the publicly published library of Justin Dehorty:  www.tradingview.com 
 PMARP  - Price Moving Average Ratio & Percentile, publicly published by "The_Caretaker":  www.tradingview.com 
 
These Creators deserve full credit for their fundamental work and are endorsed by the G.O.A.T. Scalper Diagnostics project.
And yet... ingenious and inspired as these tools are, in my humble opinion the general public is presented with a rather unproductive way to apply them. In my own view, these wonderful tools built by  JDehorty  and  The_Caretaker  have a massive potential should they be applied and wielded in a different direction. So I tried to bring my vision about them into flesh with the G.O.A.T. Diagnostics.
 What the G.O.A.T. Scalper Diagnostics Is and How to Use It 
It's a System for new pattern discovery, bringing the disciplines of pattern and indicator trading together.
By using it as a stand-alone, or mixing it with other great indicators, one is able to discover new indicator patterns. Patterns can be compared, matched together and categorized. By applying statistics to differentiated historical pattern groups, we're able to derive their meaning.
Thus, the trader is able to research their own "alphabet" to read the price charts. After categorizing and differentiating pattern groups with statistically predominant meaning, the trader is then able to read into longer scenarios - price set-ups that are harder to detect due to them being stretched in time or misshapen according to the particular situation.
The G.O.A.T. Scalper leverages and encourages group trading, as different traders will probably discover different price "alphabets" for themselves, potentially giving rise to a social economy of sharing and combining "trading languages" based on indicator patterns people have discovered via the G.O.A.T. Diagnostics.
 Support/Resistance Trading 
The G.O.A.T. Scalper has its own way of deriving Support/Resistance.
Unlike most existing S/R indicators, The Scalper derives Support/Resistance not by measuring price highs, lows and closes, but solely by using momentum and trend strength.
This seems like a much more versatile way to plot S/R during scalping on low timeframes where time is of essence and the trader's view is too narrow to have macro S/R levels in constant consideration.
The Scalper's way to derive S/R in real time and on the go, while staying very relative to important higher timeframe S/R zones, makes it much more desirable than any other S/R indicator I've thus far encountered.
All S/R functionality is derived from the classical ADX and DI indicator. To do this, I use the ADX and DI in an unpopular way. To generate the actual plot of S/R levels I also modify the indicator's code, not by removing functional parts from it, but adding more to it in order to filter the signals it produces.
I can metaphorically describe its action in the following way:
 
 Imagine you're Price action itself;
 You're walking through a labyrinth or corridors. You're walking through one straight corridor, and it has a crossing with another corridor ahead;
 Very strong wind is blowing along that other corridor. You can't see the wind, but when you reach it and try to move past it, the force of the wind resists your moving ahead and instead pushes you sideways.
 At this point, the G.O.A.T. Diagnostics already knows this can only be one thing - resistance.
 
Orthodox TA and trading demand retests. In my opinion, this deeply rooted tradition wastes time proving the obvious, then wastes time again double-proving the validity of recent past, while scalping opportunities go to waste. Modern successful traders are way ahead of the popular strategy of testing and retesting S/R that almost every trader uses. So-called "Stops hunting" is just one expression of this situation, where wide adoption of the S/R retesting strategy actually lures unsuccessful traders into the schemes of the successful few.
In my own way of trading, I use the G.O.A.T. Diagnostics to take action on Support/Resistance as it's plotted in real time.
But probably my biggest heresy into the DI is my opinion, that the crossings of the +DI and -DI are useless and should actually be discarded.
My research shows that the DIs often show indications of being "oversold", but don't seem to exhibit an "overbought" state. Statistically, I've had much more success basing my TA on that, rather than cross-ups and cross-downs of the DI plot lines.
Therefore I discarded these crossings by presenting the DI part of the ADX and DI as a Heatmap channel rather than crossing lines.
To further enhance the ability of the System to provide S/R analysis, I plot this Heatmap onto an adjustable price offset plots (a percentage above and below current price).
In modern times, the vast majority of trading is done by automatic machines and algorithms. To give a specific example, one can easily notice, that a 5% offset of the BTC 1h price plot leads to remarkably accurate S/R charting. Following the rule to chart a S/R line connecting highs and lows on the 5% price offset often successfully "foresees" valid S/R zones before price ever visits them. Or, the levels were visited so far back in the timeframe's history that orthodox understanding considers them "invalidated" or washed away in the noise of the relevant volume profile.
My explanation for this is simple - I think Grid bots now dominate automatic trading across the majority of exchanges.
In my understanding, by adjusting the percentage offset of current price action I can often discover relevant conglomerations of dominating Grid bot cell parameters and anticipate price reaction. By plotting the DI heatmap on these price action offsets I can use the indicator for my trading decisions.
 Heatmaps 
Every heatmap produces different series of data. They're not the same.
 
 Bollinger Band heatmap depicts the percentile distance between the Band's extremes.
 The price candles heatmap, and the KAMA moving average heatmap, depict the percentile distance between price and the KAMA. So, it's the same thing. However, the percentile of that distance is calculated in two different ways, hence the difference in color in every particular moment. This color discrepancy aims to visualize the "strain" between price action and KAMA, like a soft and hard "springs" that go in unison with each other in sustainable moves, and in dissonance with each other during unsustainable moves.
 Price offset heatmap depicts the percentile average of the +DI (above price) and the -DI (below price). A Hot temperature above price and a Cold temperature below price would mean a strong bullish sentiment, and vise versa, while Green would mean neutrality in sentiment.
 There are important interplays between different heatmaps. For example, although representing totally different things, a Teal price bar would almost always (according to historical statistics) foreshadow a change in DI's heatmap sentiment. That's just one avenue of correlation between S/R analysis and sentiment analysis using the G.O.A.T. Diagnostics.
 
 Oscillator Chart 
In terms of applying Quadratic Kernel Regression, I endorse the natural principle that no center can exist without a periphery, and no periphery can exist without a center. Therefore I try to pay attention not only to the average of the regression's values, but also to the cloud of data points itself.
Following this understanding, I attempt to depict the natural cycles of price converging/diverging towards/from its regression average. To do this, I apply the classic Stochastic formula.
Thus, the Oscillator part of the System depicts the following:
 
 Thin heatmap line displays the cycles of price converging with its quadratic kernel regression average (moving down), and diverging with its regression average (moving up). Its heatmap depicts the percentile of this oscillation.
 The wider heatmap line displays the KAMA's cycles of convergence/divergence with its own quadratic kernel regression average. The reason for this is again creating discrepancy - while KAMA is based on price action, its regression data values differ from those of price action's regression. This discrepancy produces useful historic patterns that can be studied statistically.
 The thin and wide purple oscillator lines depict the change of slope of price action regression average and KAMA regression average, respectively. Very often change of slope is not detectable with the naked eye, but clearly indicated by the oscillators.
 
By combining all these elements into a single analysis, a trader can detect hidden trends that are yet to become visible for the rest of market participants.
For example, convergence of price with its quadratic kernel regression average while the slope of the average deteriorates down in most cases (according to statistics) means a sideways consolidation in a downtrend before downtrend continuation. Conversely, deviation of price action from its regression average while the regression average slope deteriorates down usually marks the very beginning of a downtrend.
 Bollinger Bands 
Bollinger Bands are not modified, but are based on quadratic kernel regression values. Thus, if Bollinger Bands themselves are indicative of volatility, then based on kernel regression values, they should indicate the volatility of change of values in the regression's window.
Again, applying it to both the price and KAMA regression data series, a discrepancy is highlighted that leads to useful historical patterns subject to analysis and categorization.
 SOME EXAMPLES 
 Support / Resistance 
  
  
  
  Support/Resistance levels are market by White Triangles with dotted lines plotted from them, in real time. The indicator plots Ghost Triangles in anticipation of Support/Resistance, preparing the trader for the eventual confirmation of a zone of interest and signaling price is feeling Support or Resistance pressure.
Dialing the length of the S/R lines to 25 makes the indicator more useful.
Dialing the setting to 500 clearly shows macro S/R zones by conglomerating and bundling individual lines. The thicker the bundling and the confluence of lines, the more significant the zone.
Thus lower timeframe scalping and trading is made more easy, without the need to do nearly as much manual S/R charting. Support/Resistance analysis and plotting is entirely based on a modified ADX.
 Heatmap 
  
Sustainable moves are generally marked by Green price color and calm KAMA colors.
Unsustainable moves are usually marked by more extreme colors of price bars and KAMA. Red usually means price is unsustainably distanced from the KAMA, while deep Blue usually means price is undesirably close to the KAMA, foreshadowing a directional distancing.
Usually Teal color of price bars and KAMA foreshadow a change of sentiment of the outside Heatmap sentiment channel.
Red color of the outside channel always signals the direction of the desired sentimental movement, while Blue signals the extent at which the counter-element suffers. Thus, one side being Green, while the other is Blue, often means the Blue will soon evolve into a warmer color, attracting price in that direction. Outside Heatmap channel is entirely based on a modified DI.
 Oscillator Chart 
  
An example of Chart Diagnosis using the Oscillator and other elements of the G.O.A.T. Scalper:
 
 First (far left), a Resistance is plotted. This coincides with price bars being Red (distressed state). The thin colorful Oscillator line takes an Up-turn, signifying a period of price moving away from its Quadratic Kernel Regression (pink moving average).
 After Price cools down to Green sustainable colors, a Support is plotted. During this time, the thin colorful line is falling down, signifying a period when the distance between price action and its quadratic kernel regression average is decreasing.
 During this phase, the thin purple Oscillator line goes up. This signifies the slope of the price regression is restoring to the upside.
 Next, the thin colorful line starts going up again, signifying another period of price getting further away from its regression average. This time to the upside.
 Resistance is being broken and new support is established. At this point, the thin colorful line starts falling again, signifying distance between price and its regression MA is shortening. This is clearly visible as a sideways consolidation (with a slight tilt up of slope).
 A moment comes when all lines - the price and KAMA lines, and price and KAMA regression slopes, all point down. A new down period is clearly starting. This is further indicated by Teal price bars and new Resistance forming. Notice how the external heatmap channel goes into more balanced Green colors with trend enthusiasm calming down.
 
This analysis may appear to be overwhelming and confusing at first, as these metrics are unorthodox and unpopular. But different aspects of the indicator can be toggled ON/OFF to single them out, which makes observations much simpler for new users. After some time spent discovering personal patterns, or reviewing other users' catalogues with already published pattern libraries, it soon becomes easy to read charts in this new way.
 Bollinger Bands 
  
Bollinger Bands provide another way to produce patterns that give users specific chart information.
One noteworthy indication is when the price and KAMA Bollinger Bands separate their value zones. Since the zones of these Bands are based on the kernel regression values of the respective sources, their separation is significant and too often means violent reversals or violent continuations (which usually can be judged using the other metrics the System provides, or additional indicators of choice).
Another noteworthy Bollinger Band pattern is when price action leaves a prolonged trending move.
 
 First phase of the end of a prolonged trending move is the BB zones expanding and doing a significant overlap.
 Second stage is price getting reaccepted in the Price BB. This however doesn't mean reacceptance in the KAMA BB and if the moment isn't right, usually leads to bounces and continuations.
 The KAMA needs to "make space" for price to get reaccepted into the KAMA BB. While the KAMA is outside its BB or very near to its wall, price reacceptance into it is not very probable. When KAMA withdraws from its BB wall, opening an "entrance on its membrane", that's when price is eligible to get reaccepted into the KAMA BB. That's usually the moment the long awaited consolidation starts and a long trending move is over.
 
Users of the G.O.A.T. Scalper Diagnostics can discover many more patterns and correlations between patterns within the System. But the System itself can multiply all possible patterns when inspected in the context of additional indicators, leading to vast possibilities of signal and pattern discovery with huge potential.
A very good idea would probably be to use the G.O.A.T. Diagnostics together with the Ichimoku.
Ichimoku has always been famous for its genius simplicity and elegant profoundness, but notorious for its total lack of accuracy, as well as general uselessness on lower timeframes. The G.O.A.T. System has the potential to enhance all of Ichimoku's strengths and cure its weaknesses.
Yet another good idea may be to pair it with kindred indicators, like the Gaussian Channel, which has a stunning performance, but suffers from too high level of generalization. The Diagnostics can provide the intricate texture of price manoeuvres the Gaussian Channel fails to register, while the GC can give the Scalper even more solid context for its patterns.
The worthwhile possibilities seem endless...
Entry Table
  
I've added a little Entry Table at the bottom right corner. It's designed to potentially help scalpers trade faster, and to visualize a potential trade they're thinking about before they execute it. A Stop Loss is visually plotted in real time to better visualize it's placement in the chart context.
It encourages responsible risk management in its settings:
The user enters the amount of their trading portfolio;
Then specify the percentage of their portfolio they're willing to risk at every trade;
After that the user can chose to specify a flat percentage Stop Loss.
The table will calculate the size of the entry of a market order, so the user only risks the specified percentage of their portfolio should the specified Stop Loss level is hit.
There's also the option to use automatically suggested Stop Loss, based on recent volatility. The actual Stop Loss is calculated 20% away from the actual volatility level, to better protect from unforeseen wicks.
 
 In the current example, the user with a $1000 trading portfolio has to do a $1000 entry to lose 1% of their portfolio ($10) at a 1% Stop Loss.
 But the user has to do a $2,525 entry in order to lose 1% of their portfolio (%10) at a much closer Stop Loss which is less than 1%, based on recent volatility.
 
The Entry Table should be considered as a cosmetic convenience and not a dedicated risk management tool.
 CONCLUSION: 
The G.O.A.T. Scalper Diagnostics is an indicator System, based on popular, but modified and tweaked versions of indicators like the ADX and DI, Stochastic, Bollinger Bands and MAs. It also leverages the remarkable work of inspired creators:  JDehorty's Quadratic Kernel Regression  library, and  The_Caretaker's PMARP .
The G.O.A.T. Scalper Diagnostics indicator system enables users to discover so-called new "indicator-pattern alphabets", reading price charts in new and unorthodox ways, thus gaining an edge over the majority of market participants they trade against.
The high degree of freedom when discovering new patterns, either within the System itself or correlating its output to external auxiliary indicators, highlights the System's potential for original discoveries leading to highly personalized trading strategies. Exchanging information about personal pattern libraries can potentially also give birth to new private trading communities.
[XSO-Premium-X1]The indicator is a comprehensive, premium trading indicator designed to optimize your trading strategy through advanced price action analysis. By examining raw price data and market structure, it identifies key areas where price movements are likely to occur. This indicator serves as an essential trading companion, significantly reducing the time required for analysing price action and enabling you to place trades manually or via automated alerts.
 Summary: 
The indicator is a sophisticated tool crafted for analysing and predicting market trends using a variety of technical analysis techniques. It integrates multiple calculations, filters, and conditions to pinpoint optimal buy and sell signals, thereby assisting you in making well-informed decisions. The indicator emphasizes trend detection, sideways market identification, and signal generation, all while providing visual cues and alerts for trading actions.
The indicator leverages price action calculations to evaluate the market's bullish or bearish tendencies, ensuring that signals are only triggered when price action is strong enough. 
This indicator performs extensive calculations, consolidating our top tools into a master signal generator that includes new, extensively tested methods previously unavailable to the public. Signals are confirmed when multiple factors, including price action, align. The indicator swiftly reacts to market changes, providing early signals at the first signs of a reversal. 
 HOW TO USE THE INDICATOR 
 Buy Signal 
An orange “Buy Signal” will be plotted on the chart to indicate when the most opportunistic time is to place a trade. The indicator includes alert functionality so that you can be notified using the standard Trading View alert management options. 
  
You will see indicated by the blue arrows on the above graph the entry or ‘buy’ signals. The signal is represented by an orange box and clearly states ‘Buy Signal’ inside it. You are also provided with the close price of the bar for which the entry/buy value should be.
 Sell Signal 
The sell signal will look at the market and detect changes within the trend. There are multiple tools that are used to determine the best time to exit/sell the trade. Our advanced algorithm continually monitors the current action and will determine the most desirable time to display a sell signal box which is blue in colour. This signal will be shown directly on the chart. 
Indicated in blue arrows you will see the sell signals. Each signal has four values: 
 
 Type of Signal
 The current close price of the current bar
 The percentage change from the original corresponding buy signal
 The previous buy signal’s close price
 
  
The indicator will look at many factors when determining if you should exit a trade. Look at the image below and you can see a typical buy and sell signal combination:
  
The bottom blue arrow indicates your entry or “buy” trade and the top blue arrow indicates your exit or “sell” trade. As you can see you would have entered/bought at 185.76 and exited/sold at 186.895 with a 0.61% margin.
Here is another example:
  
 Hold Asset / Stop Loss 
If the market moves to the downside after you have entered a trade then the indicator will track this. Our analysis may determine that the market may continue to fall or that simply the conditions are no longer favourable. Under these circumstances the indicator will flag for you to Hold Asset / Stop Loss. You can then make a decision if you want to hold onto your asset or sell it at a loss. 
If you look on the chart below you can see an example of these signals plotted on the chart indicated by the blue arrow.
  
 Alert Management 
There are 3 alerts that are fixed. They are:
 
 Buy Signal
 Sell Signal
 Hold Asset / Stop Loss
 
You can select which alert you would like to trigger from the standard trading view alert management page. For all buying you would select “Buy Signal” for all selling/take profit you would select “Sell Signal” and for holding the asset (maybe to set a limit order) or to sell the asset at a loss (stop loss), you would choose “Hold Asset / Stop Loss”.
 Best Utilization of Our Indicator with Lower Time Frames 
Our indicator is specifically designed to excel in short-term trading environments, making it the perfect tool for scalping strategies. For optimal performance, it is best utilized with time frames  under 5 minutes . Here’s why our indicator is tailored for lower time frames and not suitable for long-term signalling:
1.	Scalping Focus:
o	Scalping involves making numerous trades throughout the trading session to capture small price movements. Our indicator is engineered to identify these quick, short-term opportunities, making it ideal for time frames of 3 minutes and under.
2.	Rapid Signal Generation:
o	Lower time frames generate more data points in a shorter period, allowing our indicator to provide rapid buy and sell signals. This frequency is crucial for scalpers who need to react quickly to market changes.
3.	Minimized Market Noise:
o	While lower time frames can be more volatile, our indicator includes filters to minimize market noise and focus on significant trading signals. This feature ensures that you receive reliable signals even in fast-paced trading environments.
 Suitable Markets 
This indicator is versatile and suitable for all markets, offering comprehensive analysis and reliable signals for various trading environments. Its advanced features and customizable settings ensure optimal performance across different market conditions, making it an essential tool for traders in any market.
 Strategies 
This indicator is ideal for both scalping whilst taking long positions, providing precise, timely signals for short-term trades while also identifying strong trends. Its versatility and advanced features make it a valuable tool for traders with diverse strategies.
 What makes our indicator different?  
Our indicator incorporates predefined parameters tailored to identify opportunities within a long strategy, rendering this indicator particularly advantageous for traders focused on long positions. Upon identifying a buy position, the indicator issues a buy signal and subsequently initiates asset tracking. A sell signal is generated only when the indicator identifies substantial uncertainty regarding the continuation of the upward trend. Its simple to use.
Pullback_Power [JackTz]Welcome to Pullback_Power 
Pullback_Power is a scalping strategy designed to capitalize on market retracements while incorporating unique dynamic features to enhance profitability.
 Calculation 
Pullback_Power purely uses moving averages to calculate both entry and exits. Exits can also be set to fixed percentages for both take profit and stop loss.
 How the Strategy Works 
Statistics show that markets normally do a recovery after each drop. Crypto markets can easily drop up to 20% within a few hours and then do a complete or partial recovery. Pullback_Power utilizes this known pattern alongside pyramiding. The strategy aims to catch one or more entries when the price drops, hoping to make profits when the market recovers from the drop. The fixed take profit and stop loss can be used to define your risk management, while the dynamic exit opportunity is riskier but provides the ability to stay in the trade longer while it recovers. Pullback_Power can make up to four entries. This means it utilizes pyramiding to spread out the entry points, but every exit is a full exit. It is not possible to partially exit.
 Utility 
Pullback_Power is a scalping strategy suitable for traders who operate with small trades and don't want to stay in the market for too long. Pullback_Power offers precise signals with no repainting. The strategy thrives in volatility, so crypto pairs might yield the best results, although this strategy can be adapted to work on all pairs and markets.
 How to Automate It 
Pullback_Power utilizes the standard placeholders of strategies on TradingView. This enables the trader to add every data point into a webhook, making it fully flexible to suit every trader's needs. To automate, create an alert, set the webhook URL, and add the JSON body needed for the webhook. An example of a simple JSON webhook with some of the standard strategy placeholders:
 {
  "side": "{{strategy.order.action}}",
  "symbol": "{{ticker}}",
  "amount": "{{strategy.order.contracts}}"
} 
Read about all the standard placeholders that you can use here:  TradingView - Standard strategy placeholders 
 Originality 
Pullback_Power is unique in its ability to create precise signals without repainting while maintaining a solid approach to the pullback strategy. Its simplicity not only makes the strategy easy to use and understand but also highly effective. The simplicity reduces inputs, eliminating overfitting and limits each input to avoid incorrect usage. Many times, default settings are enough to achieve good backtesting results on almost all pairs available. Pullback_Power also differs from many other strategies by its solid code, which enhances performance and provides more reliable backtesting. The clean code increases the resilience and precision of the entries, making it less prone to errors.
Many pullback/scalping strategies normally only works on specific scopes of timeframes or pairs. Pullback_Power can easily be adapted to work on almost every scenario. The biggest change needed is the length of the moving average. The lower the timeframe, the higher a length is needed for proper results. I.e. on a 2H timeframe a length of 3 can yield good results. On a 5min timeframe the length might need to be as high as 70.
 How to Use 
To use Pullback_Power, add the script to your trading chart. By default, Pullback_Power opens four orders to optimize trade opportunities with a default fee value set at 0.1%. You can change these default settings in the Settings window under the Properties tab. To tailor Pullback_Power to your individual trading style, navigate to the Settings under the Input tab. Here you can configure various inputs to fit your trading style.
-  Backtest settings , Start Date: 
Defines the date of when the calculation starts. Use this to set the date of when the first trade could potentially emit.
-  Backtest settings , End Date: 
Defines the date of when the calculation ends. If there are any open trades after this date the close calculations are still live. It only makes sure that new orders cannot be opened after this date.
-  Backtest settings , Only trade on weekdays:
This is a toggle you can enable or disable. If enabled it only allows new entries to happen during the normal week days, meaning Monday, Tuesday, Wednesday, Thursday and Friday.
Disable this to enable the script to open trades on all 7 days of the week.
-  Open settings , Use dynamic long positions: 
This toggle allows you to enable or disable the pullback level calculations after first trade.
If enabled, the calculations of level 2, 3 and 4 continues to happen after each bar, making the levels follow the price with the moving averages calculations.
If disabled, the calculations of the levels stop after the first trade. This means that the levels calculation at the point of the first trade stay fixed until all trades are closed.
You can see the difference of the green lines on the chart when you toggle this flag.
-  Open settings , Data type:
This is the bar data used for the moving average calculation when opening trades. The possible data types are Open, High, Low, Close, HL2, HLC3, OHLC4, OC2 and HC2.
-  Open settings , Source type:
This is the source used to calculate the moving average. The types available are: SMA, PCMA, EMA, WMA, DEMA, ZLEMA and HMA.
-  Open settings , Length:
This is the length used for the moving average calculations. 3 means it takes the last 3 bars of historical data for the calculation.
-  Open settings , Offset:
This defines if the calculation should use an offset for the historical data. This does not use a look-forward feature, but a look-backward feature. To prevent any possible repaints the offset can only be positive, not negative.
For instance, if the length is 3 and the offset is 0 the calculation is made from the last 3 bars, making it bar1, bar2 and bar3. If the length is 3 and the offset is 1 the calculation is made from bar2, bar3, and bar4 – offsetting the calculation by 1 bar.
-  Leverage settings , Leverage liquidation (1-125):
The script itself does not handle any custom leverage calculation – this must be done in the Properties tabs and increasing the order size.
This setting is made to test a possible liquidation event if using leverage.
By setting this to higher than 1, a red line is visible after the first trade on the chart. This indicates the liquidation price.
If this setting is set to 25, the script will calculate the liquidation price from a x25 leverage. If this price is hit, the scripts stops emitting any orders and the background turns red.
You can use this to test if your settings could handle a certain level of leverage.
-  Pullback settings , Pullback 1, 2, 3 and 4:
Each of these settings defines the entry price of each pullback level. If Pullback 1 is set to -6 it means that the moving average calculation should be 6% lower than the actual price.
The same logic applies to Pullback 2, 3 and 4.
Setting any level to 0 will disable the level – eliminating any orders to emit on that level.
This can be used to change the level of pyramiding down from 4 if needed.
If you do this, remember to also change the order size and the pyramiding value in the Properties tab accordingly.
-  Close settings , Use dynamic TP and SL:
If enabled, script will exit all orders using the same but separate algorithm for moving averages. This enables the user to define if you want the orders to be closed if the price level of this moving average is hit. The price level for this calculation is visible on the chart by the blue line.
Although you can change the length and offset, as described underneath, this calculation uses the same data and source type defined in the Open settings area.
-  Close settings , Length, Close:
This is the length used for the closing moving average calculations. 3 means it takes the last 3 bars of historical data for the calculation.
-  Close settings , Offset, Close:
This defines if the calculation for the closing moving average should use an offset for the historical data. Just as the offset used for opening order, this does not use a look-forward feature, but a look-backward feature. To prevent any possible repaints the offset can only be positive, not negative.
For instance, if the length is 3 and the offset is 0 the calculation is made from the last 3 bars, making it bar1, bar2 and bar3. If the length is 3 and the offset is 1 the calculation is made from bar2, bar3, and bar4 – offsetting the calculation by 1 bar.
-  Close settings , Use TakeProfit:
This toggle enables/disables a fixed take profit percentage.
-  Close settings , TP %:
This sets the wanted % to reach on a take profit. This setting is ignored if the toggle above is disabled.
-  Close settings , Use StopLoss:
This toggle enables/disables a fixed stop loss percentage.
-  Close settings , SL %:
This sets the wanted % to reach on a stop loss. This setting is ignored if the toggle above is disabled.
 Exit on Same Bar as Entry 
By default, the script doesn't emit any exit orders on the same bar as the first entry order. Enable "Recalculation: After order is filled" to change this behavior.
 Troubleshooting 
While Pullback_Power is designed to provide reliable trading signals, you may encounter rare issues. One such issue could be receiving an error message stating "can't open orders with 0 or negative qty." If you encounter this error, it is likely due to specific conditions on the selected timeframe. To resolve this issue, change the timeframe on your trading chart.
 Underlying Principles and Value Proposition 
Pullback_Power leverages moving averages and volatility behavior to identify market retracements and capitalize on them. The strategy is rooted in the understanding that markets often experience temporary reversals or "pullbacks" before resuming their primary trend. By identifying these pullbacks and entering trades at opportune moments, Pullback_Power aims to capture quick profits from short-term market movements.
The dynamic and fixed calculations of Take Profit (TP) and Stop Loss (SL) levels enhances risk management, ensuring that potential losses are controlled while allowing room for profits to grow. The adaptive approach using the moving averages considers current market conditions, making the strategy flexible and responsive to changing volatility.
Moreover, Pullback_Power's non-repainting nature ensures the reliability of its signals, eliminating hindsight bias and providing traders with actionable insights based on real-time market data.
The strategy's simplicity and effectiveness make it accessible for traders of all experience levels. Whether you're a beginner looking to start scalping or an experienced trader seeking to diversify your trading approach, Pullback_Power offers a balanced blend of simplicity and sophistication to help you navigate the markets with confidence.
By focusing on clear, transparent principles and offering practical tools for risk management, Pullback_Power aims to provide tangible value to traders, empowering them to make informed decisions and optimize their trading outcomes.
Thank you for choosing Pullback_Power. I wish you successful trading!
Momentum Concepts [AlgoAlpha]🚀 Introducing the  Momentum Concepts™ , a robust multi-layered momentum analysis tool developed by  AlgoAlpha . This  All-in-One  indicator offers a comprehensive approach to understanding market momentum, empowering traders with hyper customizable features to tailor their analysis to their specific trading strategies.
Designed with efficiency and compactness in mind, the script shows momentum regimes on three time horizons: The short-term ( Fast Oscillator ), medium-term ( Scalper's Momentum ) and long-term ( Momentum Impulse Oscillator  and  Hidden Liquidity Flow ). Additionally, the script also includes reversal signals for traders who prefer to trade contrarian/mean-reversion strategies. By utilizing a blend of advanced algorithms and customizable parameters,  Momentum Concepts™  provides traders with a vast array of trading strategies ranging from high frequency scalping to timing better entries on long-term swing and investing positions.
Let's delve into the key features and functionalities of this versatile indicator:
 🎯Key Features (summary): 
 
 Customizable Fast Oscillator:  Tailor the fast oscillator to your preferences with adjustable settings for type, source, trend identification(signal processing) method, length, and more.
 Divergence Detection:  Identify potential trend reversals with ease using built-in divergence detection for both bullish and bearish signals.
 Momentum Impulse Oscillator:  Gain deeper insights into trending/ranging markets and underlying market bias with a dedicated oscillator, featuring adjustable trend impulse thresholds.
 Scalper's Momentum:  Utilize a specialized momentum indicator designed for scalping strategies, featuring agility in signal detection with noise reduction and customizable smoothing parameters.
 Hidden Liquidity Flow Analysis:  Assess hidden liquidity flows within the market, highlighting excess liquidity and potential squeeze situations.
 Trend Confluence Indicator:  Evaluate the overall momentum direction with dynamically colored zones, aggregating signals from  Momentum Concepts™  components for a holistic view.
 User-Friendly Interface:  The indicator is presented in a clear and intuitive manner, making it accessible for traders of all experience levels.
 All-Rounded Alerts:  The indicator comes with a comprehensive alerts extension in a separate script, allowing you to stay informed of important market movements even when away from your trading platform.
 
 🎯Key Features (in-depth): 
The  Fast Oscillator  within  Momentum Concepts™  comprises four components designed to provide insights into short-term momentum dynamics:
 
 🔱Price Volume Swings :
This  confirmation  component uses our proprietary Price Volume Algorithm to analyze price action and volume to identify buying and selling pressure, aiding traders in spotting short-term swings for potential trading opportunities.
  
 ⚜️Price Volume Waves :
This  leading  component also uses our proprietary Price Volume Algorithm but differs from the  Price Volume Swings  by capturing dominant wave patterns instead. This indicator breaks down price and volume data into a wave-like plot which enables leading insights into market momentum due to the relatively predicable nature of sine-like waves. Leading components such as this and the  Alpha Wave  are best used with other confirmation components within the  Momentum Concepts™ .
  
 🌊Alpha Wave :
The  Alpha Wave  is a  leading  non-volume alternative to the  Price Volume Waves . It reflects market momentum by analyzing price action only instead of using volume data, resulting in a normalized wave-like plot similar to that of the  Price Volume Waves , offering a leading  perspective on potential market momentum shifts. Leading components such as this and the  Price Volume Waves  are best used with other confirmation components within the  Momentum Concepts™ .
  
 🐲Dragon RSI :
The  Dragon RSI  is a  confirmation  component that determines market momentum by analyzing the directional movement of the Relative Strength Index (RSI). By doing so, users are able to visually identify the current short term trend of the market as well as identify overbought and oversold conditions.
  
 Reversal Signals :
All the  Fast Oscillator  components come with reversal signals that are based on the respective components being either oversold or overbought.
  
 Divergences :
All the  Fast Oscillator  components come with bullish and bearish divergences. Divergences within the  Fast Oscillator  components of  Momentum Concepts ™ offer crucial signals for trend shifts. 🔱 Price Volume Swings  and ⚜️ Price Volume Waves  detect weakening buying or selling pressure, signalling potential reversals or continuations. 🌊 Alpha Wave  and 🐲 Dragon RSI  identify divergences between momentum and price, aiding traders in anticipating market movements. Leveraging these divergences enhances analysis, aiding traders in formulating meaningful analysis.
  
 Customizable Signal Processing Methods :
All the  Fast Oscillator  components come with customizable signal processing methods to identify trends on the  Fast Oscillator , they include (but not limited to) methods such as Heiken Ashi, and a vast selection of Moving Averages.
  
 Diminishing Momentum Warning :
All the  Fast Oscillator  components come with a diminishing momentum warning that represents a reducing momentum on the  Fast Oscillator . This can act as a take profit signal or as a precautionary warning that the price is about to change direction soon even though the  Fast Oscillator  has not detected it yet.
  
 Dynamically Colored Reversal Zones :
Last but not least, the dynamic coloring of the reversal zones for  Fast Oscillator  can be customised based on either the reversal probability of the  Fast Oscillator  or based on the overall trend confluence of all the components within the  Momentum Concepts™  indicator.
  
 
The  Momentum Impulse Oscillator  in  Momentum Concepts™  offers crucial insights into long-term momentum trends, aiding traders in identifying the underlying momentum regime and differentiating between trending and consolidating markets.
 
 Underlying Momentum Bias 
By default, the  Momentum Impulse Oscillator  is set to show the longer term trend of price action, this can be used to set the directional bias for the markets and prevent users from trading against the trend.
  
 Trending/Ranging Detection 
The  Momentum Impulse Oscillator  comes with the option to enable trending thresholds, when the  Momentum Impulse Oscillator  is beyond these thresholds, it indicates a trending market, when  Momentum Impulse Oscillator  is within the thresholds, it indicates a consolidating/ranging market.
  
 
The  Scalper's Momentum  within  Momentum Concepts™  furnishes traders with nuanced signals ideal for short to medium-term trading strategies. It efficiently displays both the medium-term momentum and any emerging divergences towards the opposing direction.
 
 Medium-Term Momentum 
The  Scalper's Momentum  is designed to fill the analysis gap between the  Fast Oscillator  and the  Momentum Impulse Oscillator . Showing momentum insights over the medium-term.
  
 Momentum Convergence-Divergence 
The  Scalper's Momentum  is also capable of showing momentum convergences and divergences, which can be used as take-profit and/or confirmation signals to other components within   Momentum Concepts™ .
  
 
The  Hidden Liquidity Flow  component of  Momentum Concepts™  is designed to uncover underlying liquidity dynamics. This feature enables traders to anticipate potential price movements based on changes in liquidity flow, enhancing their ability to make informed trading decisions.
 
 Underlying Liquidity Dynamics 
The  Hidden Liquidity Flow  shows the underlying liquidity flow of the market, a positive liquidity flow indicates that liquidity is entering the market and increasing the probability of bullish price action, the opposite is true for negative liquidity flows.
  
 Excess Liquidity Flow 
The  Hidden Liquidity Flow  also indicates when there is an abnormal amount of liquidity flowing through the market, this can indicate the potential for volatility and explosive price action.
  
 
 🎯Usage Examples: 
Now that we have gone through the components and features of  Momentum Concepts™  in detail, we'll walk you through the usage examples and strategies that you can utilise to navigate the markets.
 
 Scalping
Using the  Scalper's Momentum  and the  Fast Oscillator  as an example, users can first use the  Scalper's Momentum  as a directional bias and the  Fast Oscillator  as a means of timing a more precise entry. Take profits can be based on either the Diminishing Momentum Warnings or the  Fast Oscillator  flipping signals or the  Scalper's Momentum  flipping signals.
  
 Buying the Dip/Shorting the Pump
Using the  Momentum Impulse Oscillator  and the  Fast Oscillator  as an example, users will need to first determine the underlying trend with the  Momentum Impulse Oscillator , after which they can use the  Fast Oscillator  for entry signals into the trend. Take profits can be based on either the Diminishing Momentum Warnings or the  Fast Oscillator  flipping signals
  
 Reversal Trading
Using the  Momentum Impulse Oscillator  on a timeframe roughly 3-4 times greater than the chart's timeframe and the  Fast Oscillator  as an example, users will need to first ensure that the  Momentum Impulse Oscillator  signals a ranging market on a higher timeframe, divergence signals from the  Fast Oscillator  can then be used as entries. Take profits can be based on either the Diminishing Momentum Warnings or the  Fast Oscillator  flipping signals or the  Fast Oscillator  reaching the zero line.
  
(These are just examples for reference, the  Momentum Concepts™  offers significantly more possibilities for customisation and fine tuning of your trading strategy.)
 
 🎯Conclusion: 
In conclusion,  Momentum Concepts™  stands as a versatile and powerful tool for traders seeking to decode the intricacies of market momentum across multiple time horizons. With its comprehensive suite of customizable features, including the  Fast Oscillator ,  Scalper's Momentum ,  Momentum Impulse Oscillator , and  Hidden Liquidity Flow , traders can gain deep insights into market dynamics and make well-informed trading decisions. Whether executing high-frequency scalping strategies or timing entries for longer-term positions,  Momentum Concepts™  equips traders with the tools they need to navigate diverse market conditions with confidence. By harnessing the power of momentum analysis, this indicator empowers traders to stay ahead of the curve and capitalize on emerging opportunities in the ever-evolving financial markets.
RSI + Fibonacci HH LL Support Resistance I have integrated my past scripts and brushed them up further.
This tool allows for support/resistance, stop loss, take profit, and trend analysis using RSI and Fibonacci ratios.
For example, the Fibonacci ratio is used as follows
 
l1 = m - dist * 0.618
l2 = m - dist * 1.618
l3 = m - dist * 2.618
l4 = m - dist * 4.235
l5 = m - dist * 6.857
l6 = m - dist * 11.089
 
When the Fibonacci ratio reaches 2.618 or higher and the RSI smoothed by the 5-day EMA is oversold/overbought, the bar color is changed by a gradation.
We have tried to make the design as beautiful and good-looking as possible. You can also hide the lines to suit your own preference.
Example usages are here:
 BTCUSDT 1Hour Chart 
Using Fibonacci numbers
 BTCUSDT 15min Chart, for Scalping 
Here, to set the highest and lowest prices one hour ago, "4" is substituted as the calculation: 15 minutes x 4 = 60
 BTCUSDT 15min Chart, for Scalping 
To set the highest and lowest prices   4 hours ago , "4" is substituted as the calculation: 15 minutes x 16 = 240
 BTCUSDT 15min Chart, for Scalping 
To draw yesterday's high and low as support/resistance lines, I substituted the number "96" as 1440/15=96.
 BTCUSDT 1min Chart, for Scalping 
Substituted "60" to trail the highest and lowest prices over a 60-minute period on a 1-minute chart, and removed lines to beautify
 BTCUSDT 1day Chart, for Long-Term Investers 
This is an example of using "90" because it is a 1-day chart and assumes that 3 months = 90 days in order to trail the highest and lowest prices over a 3-month period and no lines.
My past scripts are here:
 RSI + FIB HH LL StopLoss Finder/Contrarian Trades 
  
 
Fibonacci HH LL TRAMA Band 
  
ROC_PA_Strategy (A3Sh)Hi there,
An experiment with rate of price change in combination with price averaging. The strategy is inspired by  Price Change Scalping Strategy  developed by Prosum Solutions and  Scalping Dips On Trend Strategy  developed by Coinrule. Both strategies look at the percentage of price change to open orders.
When the price drops beyond a specified percentage, a order entry threshold (yellow line) is setup. The order entry threshold is only active for a specified number of bars and will de-activate when not crossed within the specified number of bars. When the price drops further and crosses the entry threshold with a minimum of a specified percentage, a long position is entered. The same reverse logic (white line) used to close the long position.
I first ran the strategy without stop loss and take profit and that worked very well in a bullish market. I later added stop loss and take profit and that seems to work better in a side ways or bearisch market. There are a lot of tweaking possibilities in the settings. 
In the settings you can specify the percentage of portfolio to use for each trade to spread the risk and for each order a trading fee of 0.075% is calculated.
Zeta Diamond BurstWhat is Scalping? 
Scalping is a trading strategy aimed at profiting from quick momentum in a volatile index or stock.
Traders who use such strategies place anywhere from 10 to a few hundred trades in a single day.
The idea behind such type of trading is that small moves in an index or stock price are much easier to capture than the larger moves.
Traders who use such strategies are known as scalpers. When you take many small profits a number of times, say 10 points scalped 20 times per day, they can easily add up to large gains.
An Option Buyer's Biggest Enemy is Time Decay and when you scalp, you do not allow the time decay to eat your Option Premium as your Entry and Exit is often quick enough.
 What is Zeta Diamond Burst? 
Zeta Diamond Burst is a momentum based indicator which tries to detect momentum based upon price action and volume.
When it thinks a move has the potential to turn into a good scalping move, it generated its Buy/Sell Signals.
If the momentum continues, Blue Diamonds (for up move ) and Purple Diamonds (for down move) keeps appearing on the chart.
 How to Take Buy/Sell Entry with Zeta Diamond Burst? 
Whenever you see a Buy Signal, take Entry if a follow up candle also starts going in the same direction.
Your STOP LOSS could be just 0.5% below your Entry Price, hence, no big loss even if things go wrong.
Keep moving your STOP LOSS up as the price moves in your favour and when market turns around or you see a SELL signal, it is time to book your BUY position profit and take Entry on SELL Side now and so on.
 For how long you should stay in the trade? 
Scalping trades for Bank Nifty should last only 1 to 5 minutes if move is not going in your favor, this will save your capital from Theta Decay erosion.
If more and more diamonds are appearing in the same direction, then hold your position for more than 5 minutes, till opposite signal comes.
This cycle continues as and when new signals emerge.
Reversal Algo (Expo)"It has never been easier to find high probability trades" 
 Reversal Algo (Expo)  is an automated Reversal System that analyzes the market in real-time and identifies high probability short term and long term trend reversal-  and scalping signals as well as key market zones, and trends. The adaptive and unique reversal bands act as support & resistance zones, and together with the trend tracking feature, it serves as a trend confirmation. The system does also comes with a Top & Bottom finder that detects potential tops and bottoms that can be used as scalping entries or take profit points. 
This Reversal System is developed to catch both short term and long term trend reversal and provide clarity in the current trend direction. The system aims to make it easier to come in early in a new trend as well as to stay longer in that trend. One of the main features is that the system has already filtered out false and choppy signals and aims to leave the most accurate ones.
One of the main goals was to make a system that works well without having Heiken Ashi candles. However, if you apply the system to Heiken Ashi candles you will have an additional layer of noise filtering.
 Key differences  between Trend Algo and Reversal Algo are that Reversal Algo is more responsive to price action and has a dynamic and adaptive Reversal cloud. The Reversal Algo does also has the tops/bottoms finder. These two systems can be used together. 
 The user can enable the following: 
 
   ATR Trailing Stop -  Helps to identify the trend as well as where to have your stop loss.
   Trend Tracking Line -  Helps to identify Strong trends and areas of trend reversals.
   Trend Steps-  Helps to highlight where the current trend direction has found a new base.
   Reversal Band -  Helps to identify the trading range, strong trends, and areas of reversals. 
   Trend Scalping Dots -  Helps to keep track of the short term price action.
 
 Noise- and Signal filters: 
 
  Depending on your trading style you can choose between different trend filters and signals sensitivities.
 
 Real-Time Alerts
No Repainting
Works on any market and in any timeframe 
The indicator can be used standalone or as a part of your current trading strategy.
 HOW TO USE 
 
  Use the indicator to identify reversal signals.
  Use the indicator to identify trends.
  Use the indicator to identify tops & bottoms signals.
  Use the indicator to identify scalping signals.
 
 INDICATOR IN ACTION 
1-hour chart 
  
 Top/Bottom Finder 
1-hour chart
  
 I hope you find this indicator useful , and please comment or contact me if you like the script or have any questions/suggestions for future improvements.  Thanks! 
I will continually work on this indicator, so please share your experience and feedback as it will enable me to make even better improvements. Thanks to everyone that has already contacted me regarding my scripts.  Your feedback is valuable for future developments! 
-----------------
Disclaimer
Copyright by Zeiierman.
The information contained in my scripts/indicators/ideas does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, or individual’s trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My scripts/indicators/strategies/ideas are only for educational purposes!
 ACCESS THE INDICATOR 
• Contact me on TradingView or use the links below






















