1 Minute 4-5 Tick ScalperA scalping technique built around AI and bot algorithms. When the signal appears there will be an 70-80 percent chance of a quick 3-5 tick scalp on the ES.
Hareketli Ortalamalar
Codigo Trading 1.0📌Codigo Trading 1.0
This indicator strategically combines SuperTrend, multiple Exponential Moving Averages (EMAs), the Relative Strength Index (RSI), and the Average True Range (ATR) to offer clear entry and exit signals, as well as an in-depth view of market trends. Ideal for traders looking to optimize their operations with an all-in-one tool.
🔩How the Indicator Works:
This indicator relies on the interaction and confirmation of several key components to generate signals:
SuperTrend: Determines the primary trend direction. An uptrend SuperTrend signal (green line) indicates an upward trend, while a downtrend (red line) signals a downward trend. It also serves as a guide for setting Stop Loss and Take Profit levels.
EMAs: Includes EMAs of 10, 20, 55, 100, 200, and 325 periods. The relationship between the EMA 10 and EMA 20 is fundamental for confirming the strength and direction of movements. An EMA 10 above the EMA 20 suggests an uptrend, and vice versa. Longer EMAs act as dynamic support and resistance levels, offering a broader view of the market structure.
RSI: Used to identify overbought (RSI > 70/80) and oversold (RSI < 30/20) conditions, generating "Take Profit" alerts for potential trade closures.
ATR: Monitors market volatility to help you manage exits. ATR exit signals are triggered when volatility changes direction, indicating a possible exhaustion of the movement.
🗒️Entry and Exit Signals:
I designed specific alerts based on all the indicators I use in conjunction:
Long Entries: When SuperTrend is bullish and EMA 10 crosses above EMA 20.
Short Entries: When SuperTrend is bearish and EMA 10 crosses below EMA 20.
RSI Exits (Take Profit): Indicated by "TP" labels on the chart, when the RSI reaches extreme levels (overbought for longs, oversold for shorts).
EMA 20 Exits: When the price closes below EMA 20 (for longs) or above EMA 20 (for shorts).
ATR Exits: When the ATR changes direction, signaling a possible decrease in momentum.
📌Key Benefits:
Clarity in Trend: Quickly identifies market direction with SuperTrend and EMA alignment.
Strategic Entry and Exit Signals: Receive timely alerts to optimize your entry and exit points.
Assisted Trade Management: RSI and ATR help you consider when to take profits or exit a position.
Intuitive Visualization: Arrows, labels, and colored lines make analysis easy to interpret.
Disclaimer:
Trading in financial markets carries significant risks. This indicator is an analysis tool and should not be considered financial advice. Always conduct your own research and trade at your own risk.
Pucci Trend EMA-SMA Crossover with TolerancePucci Trend EMA-SMA Crossover with Tolerance
This indicator helps identify market trends and generates trading signals based on the crossover between an Exponential Moving Average (EMA) and a Simple Moving Average (SMA) with an adjustable tolerance threshold. The signals work as follows:
Buy Signal (B) -> Triggers when the EMA crosses above the SMA, exceeding a user-defined tolerance (in basis points). Optionally, a price filter can require the high or low to be below the EMA for confirmation.
Sell Signal (S) -> Triggers when the SMA crosses above the EMA, exceeding the tolerance. The optional price filter may require the high or low to be above the EMA.
The tolerance helps reduce false signals by requiring a minimum distance between the moving averages before confirming a crossover. The price filter adds an extra confirmation layer by checking if price action respects the EMA level.
Important Notes:
1º No profitability guarantee: This tool is for analysis only and may generate losses.
2º "As Is" disclaimer: Provided without warranties or responsibility for trading outcomes.
3º Use Stop Loss: Users must determine their own risk management.
4º Parameter adjustment needed: Optimal MA periods and tolerance vary by timeframe.
5º Filter impact varies: Enabling/disabling the price filter may improve or worsen performance.
CVD Trend IndikatorCVD Trend Indicator (Cumulative Volume Delta)
This Pine Script indicator is designed to help traders visualize the underlying buying and selling pressure in the market by analyzing the Cumulative Volume Delta (CVD). It provides insights into whether buyers or sellers are more aggressive over time, aiding in trend confirmation and potential reversal identification.
How it Works:
The indicator calculates the Cumulative Volume Delta for each candlestick.
If the candle closes higher than it opened (close > open), its entire volume is considered buying volume (positive delta).
If the candle closes lower than it opened (close < open), its entire volume is considered selling volume (negative delta).
If the candle closes at the same price it opened (close == open), its delta is considered zero.
These individual candle deltas are then cumulatively summed up over time, creating the CVD line. A rising CVD indicates increasing buying pressure, while a falling CVD suggests growing selling pressure.
The indicator also features an optional Simple Moving Average (SMA) of the CVD, which helps smooth out the CVD line and identify the prevailing trend in buying/selling pressure more clearly.
Key Features:
Cumulative Volume Delta (CVD) Line:
Rising CVD (Blue Line): Indicates aggressive buying pressure is dominant, supporting bullish price action.
Falling CVD (Blue Line): Suggests aggressive selling pressure is dominant, supporting bearish price action.
CVD Moving Average (Red Line, optional):
A user-defined SMA of the CVD, which acts as a trend filter for the volume delta.
When the CVD crosses above its MA, it can signal increasing buying momentum.
When the CVD crosses below its MA, it can signal increasing selling momentum.
Session Reset:
The CVD automatically resets at the beginning of each new trading session (daily by default). This provides a fresh perspective on the day's accumulated buying or selling pressure, which is particularly useful for day traders.
Background Color Visuals:
The indicator panel's background changes color to visually represent periods of dominant buying pressure (green background when CVD > CVD MA) or selling pressure (red background when CVD < CVD MA), offering a quick glance at the market's underlying bias.
Trading Insights:
Trend Confirmation: Use a rising CVD (and its MA) to confirm an uptrend, or a falling CVD (and its MA) to confirm a downtrend.
Divergences: Look for CVD Divergences as potential reversal signals:
Bullish Divergence: Price makes a lower low, but CVD makes a higher low (suggests selling pressure is weakening).
Bearish Divergence: Price makes a higher high, but CVD makes a lower high (suggests buying pressure is weakening).
Momentum Shifts: Sudden, sharp changes in the CVD's direction or its cross over/under its MA can signal shifts in market momentum.
Support/Resistance Confirmation: Observe CVD behavior around key price levels. Weakening buying pressure at resistance or weakening selling pressure at support can confirm the strength of these levels.
Customization:
showMA: Toggle the visibility of the CVD's Moving Average.
maLength: Adjust the period for the CVD's Moving Average to control its sensitivity to recent price action. A shorter length makes it more reactive, while a longer length makes it smoother.
Disclaimer: No indicator is foolproof. Always use the CVD Trend Indicator in conjunction with other technical analysis tools, price action, and robust risk management strategies. Backtesting and forward testing are crucial for understanding its effectiveness in different market conditions and timeframes.
Institutional MFI + VWAP Engine PROMoney flow index, shows green when momentum is bullish and red when bearish
Touch of Rising 9EMA (v3)Have a rising 9EMA
Have the 9EMA above the 21EMA
For the last 10 bars (excluding the current one), price has closed above the 9EMA
In the last bar (1 bar ago):
Price has touched the 9EMA (high/low crossed it)
Price closed above or exactly on the 9EMA
EMA 12/21 Crossover with ATR-based SL/TPRecommended
ATR Lenght: 7
ATR multiplier for stop loss: 1.5
ATR multiplier for take profit: 2
Recalculate- aftter order is filled: Make sure you put this on if using these settings.
Using standard OHLC: put on.
Theses settings make you 50% win rate with 1.5 profit factor
📈 Ultimate Scalper v2
Strategy Type: Trend-Pullback Scalping
Indicators Used: EMA (12/21), MACD Histogram, ADX, ATR
Platform: TradingView (Pine Script v5)
Author: robinunga16
🎯 Strategy Overview
The Ultimate Scalper v2 is a scalping strategy that catches pullbacks within short-term trends using a dynamic combination of 12/21 EMA bands, MACD Histogram crossovers, and ADX for trend confirmation. It uses ATR-based stop-loss and take-profit levels, making it suitable for volatility-sensitive environments.
🧠 Logic Breakdown
🔍 Trend Detection
Uses the 12 EMA and 21 EMA to identify the short-term trend:
Uptrend: EMA 12 > EMA 21 and ADX > threshold
Downtrend: EMA 12 < EMA 21 and ADX > threshold
The ADX (default: 25) filters out low-momentum environments.
📉 Pullback Identification
Once a trend is detected:
A pullback is flagged when the MACD Histogram moves against the trend (below 0 in uptrend, above 0 in downtrend).
An entry signal is triggered when the histogram crosses back through zero (indicating momentum is resuming in the trend direction).
🟢 Entry Conditions
Long Entry:
EMA 12 > EMA 21
ADX > threshold
MACD Histogram was below 0 and crosses above 0
Short Entry:
EMA 12 < EMA 21
ADX > threshold
MACD Histogram was above 0 and crosses below 0
❌ Exit Logic (ATR-based)
The strategy calculates stop-loss and take-profit levels using ATR at the time of entry:
Stop-Loss: Entry Price −/+ ATR × Multiplier
Take-Profit: Entry Price ± ATR × 2 × Multiplier
Default ATR Multiplier: 1.0
⚙️ Customizable Inputs
ADX Threshold: Minimum trend strength for trades (default: 25)
ATR Multiplier: Controls SL/TP distance (default: 1.0)
📊 Visuals
EMA 12 and EMA 21 band can be added manually for visual reference.
Entry and exit signals are plotted via TradingView’s built-in backtesting engine.
⚠️ Disclaimer
This is a backtesting strategy, not financial advice. Performance varies across markets and timeframes. Always combine with additional confluence or risk management when going live.
AMIT'S EMA'SIndicator Name:** AMIT'S EMA'S
**📝 Description:**
This all-in-one TradingView indicator is designed for serious traders who want clear trend direction, powerful candlestick signals, and session-based analysis—all in one screen.
### 🔹 Features:
#### 1. **Exponential Moving Averages (EMAs):**
* Tracks **EMA 21, 50, 100, and 200** to identify short-, medium-, and long-term trends.
* Color-coded for quick recognition of crossovers and momentum shifts.
* Helps spot golden/death crosses and trend alignment zones.
#### 2. **Custom Candlestick Patterns:**
* **Big Bar Up:** Highlights large bullish candles indicating potential breakouts or strong buying interest.
* **Big Bar Down:** Marks large bearish candles signaling breakdowns or heavy selling pressure.
#### 3. **Reversal Candlestick Patterns:**
* **3 Line Strike Up:** A strong bullish reversal signal after three consecutive down candles, followed by a large bullish candle engulfing them.
* **3 Line Strike Down:** A strong bearish reversal signal after three up candles, followed by a large bearish engulfing candle.
* Patterns are plotted with icons/labels for easy spotting.
#### 4. **Session Timings with Background Highlight:**
* Visual background shading to mark major **trading sessions**:
* Asian
* London
* New York
* Helps identify volatility zones and session overlap opportunities.
#### 5. **Trend Cloud:**
* A dynamic cloud formed using a combination of EMAs or custom logic to represent **overall trend bias**.
* Green cloud = bullish trend.
* Red cloud = bearish trend.
* Acts as a visual filter to avoid counter-trend trades.
---
**🛠️ Customization Options:**
* Enable/disable specific EMAs or patterns.
* Adjustable candle size threshold for "Big Bar" detection.
* Session times and cloud smoothing periods can be tailored.
**📈 Best For:**
* Intraday traders
* Swing traders
* Trend followers
* Price action traders
---
ZEN 🍵ZEN TEMPLE Indicator (w/ Moving Averages & FVGs)
The ZEN TEMPLE indicator is a hybrid market structure and price action tool designed for traders seeking clarity and confluence in volatile markets. It combines trend-following logic with liquidity and imbalance detection to support intraday and swing trading strategies.
✅ Features:
ZEN TEMPLE Core Logic
A proprietary framework that identifies key zones of equilibrium and directional bias. These zones serve as potential reversal or continuation points, similar to supply/demand areas, but filtered by volatility and trend strength.
Moving Averages (MAs)
Dual or triple moving averages (EMA/SMA) are used to determine trend direction and momentum. Crossovers or dynamic support/resistance from MAs aid in decision-making.
Example: 20 EMA (fast), 50 EMA (medium), 200 SMA (macro trend)
Fair Value Gaps (FVGs)
Automatically detects imbalances in price action—gaps formed when price moves too quickly, leaving behind untraded zones.
Bullish FVG: potential long re-entry zones
Bearish FVG: potential short re-entry zones
FVGs are highlighted and optionally filtered by trend direction or recent swing highs/lows.
🎯 Use Cases:
Identify trend direction and momentum shifts using MAs.
Enter or exit trades at FVG levels aligned with the ZEN TEMPLE bias.
Use the ZEN zones for anticipating high-probability reaction areas in price.
🔧 Customization:
Toggle visibility of MAs, FVGs, or ZEN zones.
Adjustable length and type for each MA.
FVG sensitivity and highlight duration can be configured.
EMA 12/21 Crossover with ATR-based SL/TP📈 Ultimate Scalper v2
Strategy Type: Trend-Pullback Scalping
Indicators Used: EMA (12/21), MACD Histogram, ADX, ATR
Platform: TradingView (Pine Script v5)
Author:
🎯 Strategy Overview
The Ultimate Scalper v2 is a scalping strategy that catches pullbacks within short-term trends using a dynamic combination of 12/21 EMA bands, MACD Histogram crossovers, and ADX for trend confirmation. It uses ATR-based stop-loss and take-profit levels, making it suitable for volatility-sensitive environments.
🧠 Logic Breakdown
🔍 Trend Detection
Uses the 12 EMA and 21 EMA to identify the short-term trend:
Uptrend: EMA 12 > EMA 21 and ADX > threshold
Downtrend: EMA 12 < EMA 21 and ADX > threshold
The ADX (default: 25) filters out low-momentum environments.
📉 Pullback Identification
Once a trend is detected:
A pullback is flagged when the MACD Histogram moves against the trend (below 0 in uptrend, above 0 in downtrend).
An entry signal is triggered when the histogram crosses back through zero (indicating momentum is resuming in the trend direction).
🟢 Entry Conditions
Long Entry:
EMA 12 > EMA 21
ADX > threshold
MACD Histogram was below 0 and crosses above 0
Short Entry:
EMA 12 < EMA 21
ADX > threshold
MACD Histogram was above 0 and crosses below 0
❌ Exit Logic (ATR-based)
The strategy calculates stop-loss and take-profit levels using ATR at the time of entry:
Stop-Loss: Entry Price −/+ ATR × Multiplier
Take-Profit: Entry Price ± ATR × 2 × Multiplier
Default ATR Multiplier: 1.0
⚙️ Customizable Inputs
ADX Threshold: Minimum trend strength for trades (default: 25)
ATR Multiplier: Controls SL/TP distance (default: 1.0)
📊 Visuals
EMA 12 and EMA 21 band can be added manually for visual reference.
Entry and exit signals are plotted via TradingView’s built-in backtesting engine.
⚠️ Disclaimer
This is a backtesting strategy, not financial advice. Performance varies across markets and timeframes. Always combine with additional confluence or risk management when going live.
AWR R & LR Oscillator with plots & tableHello trading viewers !
I'm glad to share with you one of my favorite indicator. It's the aggregate of many things. It is partly based on an indicator designed by gentleman goat. Many thanks to him.
1. Oscillator and Correlation Calculations
Overview and Functionality: This part of the indicator computes up to 10 Pearson correlation coefficients between a chosen source (typically the close price, though this is user-configurable) and the bar index over various periods. Starting with an initial period defined by the startPeriod parameter and increasing by a set increment (periodIncrement), each correlation coefficient is calculated using the built-in ta.correlation function over successive ranges. These coefficients are stored in an array, and the indicator calculates their average (avgPR) to provide a complete view of the market trend strength.
Display Features: Each individual coefficient, as well as the overall average, is plotted on the chart using a specific color. Horizontal lines (both dashed and solid) are drawn at levels 0, ±0.8, and ±1, serving as visual thresholds. Additionally, conditional fills in red or blue highlight when values exceed these thresholds, helping the user quickly identify potential extreme conditions (such as overbought or oversold situations).
2. Visual Signals and Automated Alerts
Graphical Signal Enhancements: To reinforce the analysis, the indicator uses graphical elements like emojis and shape markers. For example:
If all 10 curves drop below -0.79, a 🌋 emoji appears at the bottom of the chart;
When curves 2 through 10 are below -0.79, a ⛰️ emoji is displayed below the bar, potentially serving as a buy signal accompanied by an alert condition;
Likewise, symmetrical conditions for correlations exceeding 0.79 produce corresponding emojis (🤿 and 🏖️) at the top or bottom of the chart.
Alerts and Notifications: Using these visual triggers, several alertcondition statements are defined within the script. This allows users to set up TradingView alerts and receive real-time notifications whenever the market reaches these predefined critical zones identified by the multi-period analysis.
3. Regression Channel Analysis
Principles and Calculations: In addition to the oscillator, the indicator implements an analysis of regression channels. For each of the 8 configurable channels, the user can set a range of periods (for example, min1 to max1, etc.). The function calc_regression_channel iterates through the defined period range to find the optimal period that maximizes a statistical measure derived from a regression parameter calculated by the function r(p). Once this optimal period is identified, the indicator computes two key points (A and B) which define the main regression line, and then creates a channel based on the calculated deviation (an RMSE multiplied by a user-defined factor).
The regression channels are not displayed on the chart but are used to plot shapes & fullfilled a table.
Blue shapes are plotted when 6th channel or 7th channel are lower than 3 deviations
Yellow shapes are plotted when 6th channel or 7th channel are higher than 3 deviations
4. Scores, Conditions, and the Summary Table
Scoring System: The indicator goes further by assigning scores across multiple analytical categories, such as:
1. BigPear Score
What It Represents: This score is based on a longer-term moving average of the Pearson correlation values (SMA 100 of the average of the 10 curves of correlation of Pearson). The BigPear category is designed to capture where this longer-term average falls within specific ranges.
Conditions: The script defines nine boolean conditions (labeled BigPear1up through BigPear9up for the “up” direction).
Here's the rules :
BigPear1up = (bigsma_avgPR <= 0.5 and bigsma_avgPR > 0.25)
BigPear2up = (bigsma_avgPR <= 0.25 and bigsma_avgPR > 0)
BigPear3up = (bigsma_avgPR <= 0 and bigsma_avgPR > -0.25)
BigPear4up = (bigsma_avgPR <= -0.25 and bigsma_avgPR > -0.5)
BigPear5up = (bigsma_avgPR <= -0.5 and bigsma_avgPR > -0.65)
BigPear6up = (bigsma_avgPR <= -0.65 and bigsma_avgPR > -0.7)
BigPear7up = (bigsma_avgPR <= -0.7 and bigsma_avgPR > -0.75)
BigPear8up = (bigsma_avgPR <= -0.75 and bigsma_avgPR > -0.8)
BigPear9up = (bigsma_avgPR <= -0.8)
Conditions: The script defines nine boolean conditions (labeled BigPear1down through BigPear9down for the “down” direction).
BigPear1down = (bigsma_avgPR >= -0.5 and bigsma_avgPR < -0.25)
BigPear2down = (bigsma_avgPR >= -0.25 and bigsma_avgPR < 0)
BigPear3down = (bigsma_avgPR >= 0 and bigsma_avgPR < 0.25)
BigPear4down = (bigsma_avgPR >= 0.25 and bigsma_avgPR < 0.5)
BigPear5down = (bigsma_avgPR >= 0.5 and bigsma_avgPR < 0.65)
BigPear6down = (bigsma_avgPR >= 0.65 and bigsma_avgPR < 0.7)
BigPear7down = (bigsma_avgPR >= 0.7 and bigsma_avgPR < 0.75)
BigPear8down = (bigsma_avgPR >= 0.75 and bigsma_avgPR < 0.8)
BigPear9down = (bigsma_avgPR >= 0.8)
Weighting:
If BigPear1up is true, 1 point is added; if BigPear2up is true, 2 points are added; and so on up to 9 points from BigPear9up.
Total Score:
The positive score (posScoreBigPear) is the sum of these weighted conditions.
Similarly, there is a negative score (negScoreBigPear) that is calculated using a mirrored set of conditions (named BigPear1down to BigPear9down), each contributing a negative weight (from -1 to -9).
In essence, the BigPear score tells you—in a weighted cumulative way—where the longer-term correlation average falls relative to predefined thresholds.
2. Pear Score
What It Represents: This category uses the immediate average of the Pearson correlations (avgPR) rather than a longer-term smoothed version. It reflects a more current picture of the market’s correlation behavior.
How It’s Calculated:
Conditions: There are nine conditions defined for the “up” scenario (named Pear1up through Pear9up), which partition the range of avgPR into intervals. For instance:
Pear1up = (avgPR > -0.2 and avgPR <= 0)
Pear2up = (avgPR > -0.4 and avgPR <= -0.2)
Pear3up = (avgPR > -0.5 and avgPR <= -0.4)
Pear4up = (avgPR > -0.6 and avgPR <= -0.5)
Pear5up = (avgPR > -0.65 and avgPR <= -0.6)
Pear6up = (avgPR > -0.7 and avgPR <= -0.65)
Pear7up = (avgPR > -0.75 and avgPR <= -0.7)
Pear8up = (avgPR > -0.8 and avgPR <= -0.75)
Pear9up = (avgPR > -1 and avgPR <= -0.8)
There are nine conditions defined for the “down” scenario (named Pear1down through Pear9down), which partition the range of avgPR into intervals. For instance:
Pear1down = (avgPR >= 0 and avgPR < 0.2)
Pear2down = (avgPR >= 0.2 and avgPR < 0.4)
Pear3down = (avgPR >= 0.4 and avgPR < 0.5)
Pear4down = (avgPR >= 0.5 and avgPR < 0.6)
Pear5down = (avgPR >= 0.6 and avgPR < 0.65)
Pear6down = (avgPR >= 0.65 and avgPR < 0.7)
Pear7down = (avgPR >= 0.7 and avgPR < 0.75)
Pear8down = (avgPR >= 0.75 and avgPR < 0.8)
Pear9down = (avgPR >= 0.8 and avgPR <= 1)
Weighting:
Each condition has an associated weight, such as 0.9 for Pear1up, 1.9 for Pear2up, and so on, up to 9 for Pear9up.
Sum up :
Pear1up = 0.9
Pear2up = 1.9
Pear3up = 2.9
Pear4up = 3.9
Pear5up = 4.99
Pear6up = 6
Pear7up = 7
Pear8up = 8
Pear9up = 9
Total Score:
The positive score (posScorePear) is the sum of these values for each condition that returns true.
A corresponding negative score (negScorePear) is calculated using conditions for when avgPR falls on the positive side, with similar weights in the negative direction.
This score quantifies the current correlation reading by translating its relative level into a numeric score through a weighted sum.
3. Trendpear Score
What It Represents: The Trendpear score is more dynamic as it compares the current avgPR with its short-term moving average (sma_avgPR / 14 periods ) and also considers its relationship with an even longer moving average (bigsma_avgPR / 100 periods). It is meant to capture the trend or momentum in the correlation behavior.
How It’s Calculated:
Conditions: Nine conditions (from Trendpear1up to Trendpear9up) are defined to check:
Whether avgPR is below, equal to, or above sma_avgPR by different margins;
Whether it is trending upward (i.e., it is higher than its previous value).
Here are the rules
Trendpear1up = (avgPR <= sma_avgPR -0.2) and (avgPR >= avgPR )
Trendpear2up = (avgPR > sma_avgPR -0.2) and (avgPR <= sma_avgPR -0.07) and (avgPR >= avgPR )
Trendpear3up = (avgPR > sma_avgPR -0.07) and (avgPR <= sma_avgPR -0.03) and (avgPR >= avgPR )
Trendpear4up = (avgPR > sma_avgPR -0.03) and (avgPR <= sma_avgPR -0.02) and (avgPR >= avgPR )
Trendpear5up = (avgPR > sma_avgPR -0.02) and (avgPR <= sma_avgPR -0.01) and (avgPR >= avgPR )
Trendpear6up = (avgPR > sma_avgPR -0.01) and (avgPR <= sma_avgPR -0.001) and (avgPR >= avgPR )
Trendpear7up = (avgPR >= sma_avgPR) and (avgPR >= avgPR ) and (avgPR <= bigsma_avgPR)
Trendpear8up = (avgPR >= sma_avgPR) and (avgPR >= avgPR ) and (avgPR >= bigsma_avgPR -0.03)
Trendpear9up = (avgPR >= sma_avgPR) and (avgPR >= avgPR ) and (avgPR >= bigsma_avgPR)
Weighting:
The weights here are not linear. For example, the lightest condition may add 0.1 point, whereas the most extreme condition (e.g., when avgPR is not only above the moving average but also reaches a high proportion relative to bigsma_avgPR) might add as much as 90 points.
Trendpear1up = 0.1
Trendpear2up = 0.2
Trendpear3up = 0.3
Trendpear4up = 0.4
Trendpear5up = 0.5
Trendpear6up = 0.69
Trendpear7up = 7
Trendpear8up = 8.9
Trendpear9up = 90
Total Score:
The positive score (posScoreTrendpear) is the sum of the weights from all conditions that are satisfied.
A negative counterpart (negScoreTrendpear) exists similarly for when the trend indicates a downward bias.
Trendpear integrates both the level and the direction of change in the correlations, giving a strong numeric indication when the market starts to diverge from its short-term average.
4. Deviation Score
What It Represents: The “Écart” score quantifies how far the asset’s price deviates from the boundaries defined by the regression channels. This metric can indicate if the price is excessively deviating—which might signal an eventual reversion—or confirming a breakout.
How It’s Calculated:
Conditions: For each channel (with at least seven channels contributing to the scoring from the provided code), there are three levels of deviation:
First tier (EcartXup): Checks if the price is below the upper boundary but above a second boundary.
Second tier (EcartXup2): Checks if the price has dropped further, between a lower and a more extreme boundary.
Third tier (EcartXup3): Checks if the price is below the most extreme limit.
Weighting:
Each tier within a channel has a very small weight for the lowest severities (for example, 0.0001 for the first tier, 0.0002 for the second, 0.0003 for the third) with weights increasing with the channel index.
First channel : 0.0001 to 0.0003 (very short term)
Second channel : 0.001 to 0.003 (short term)
Third channel : 0.01 to 0.03 (short mid term)
4th channel : 0.1 to 0.3 ( mid term)
5th channel: 1 to 3 (long mid term)
6th channel : 10 to 30 (long term)
7th channel : 100 to 300 (very long term)
Total Score:
The overall positive score (posScoreEcart) is the sum of all the weights for conditions met among the first, second, and third tiers.
The corresponding negative score (negScoreEcart) is calculated similarly (using conditions when the price is above the channel boundaries), with the weights being the same in magnitude but negative in sign.
This layered scoring method allows the indicator to reflect both minor and major deviations in a gradated and cumulative manner.
Example :
Score + = 321.0001
Score - = -0.111
The asset price is really overextended in long term view, not for mid term & short term expect the in the very short term.
Score + = 0.0033
Score - = -1.11
The asset price is really extended in short term view, not for mid term (even a bit underextended) & long term is neutral
5. Slope Score
What It Represents: The Slope score captures the trend direction and steepness of the regression channels. It reflects whether the regression line (and hence the underlying trend) is sloping upward or downward.
How It’s Calculated:
Conditions:
if the slope has a uptrend = 1
if the slope has a downtrend = -1
Weighting:
First channel : 0.0001 to 0.0003 (very short term)
Second channel : 0.001 to 0.003 (short term)
Third channel : 0.01 to 0.03 (short mid term)
4th channel : 0.1 to 0.3 ( mid term)
5th channel: 1 to 3 (long mid term)
6th channel : 10 to 30 (long term)
7th channel : 100 to 300 (very long term)
The positive slope conditions incrementally add weights from 0.0001 for the smallest positive slopes to 100 for the largest among the seven checks. And negative for the downward slopes.
The positive score (posScoreSlope) is the sum of all the weights from the upward slope conditions that are met.
The negative score (negScoreSlope) sums the negative weights when downward conditions are met.
Example :
Score + = 111
Score - = -0.1111
Trend is up for longterm & down for mid & short term
The slope score therefore emphasizes both the magnitude and the direction of the trend as indicated by the regression channels, with an intentional asymmetry that flags strong downtrends more aggressively.
Summary
For each category—BigPear, Pear, Trendpear, Écart, and Slope—the indicator evaluates a defined set of conditions. Each condition is a binary test (true/false) based on different thresholds or comparisons (for example, comparing the current value to a moving average or a channel boundary). When a condition is true, its assigned weight is added to the cumulative score for that category. These individual scores, both positive and negative, are then displayed in a table, making it easy for the trader to see at a glance where the market stands according to each analytical dimension.
This comprehensive, weighted approach allows the indicator to encapsulate several layers of market information into a single set of scores, aiding in the identification of potential trading opportunities or market reversals.
5. Practical Use and Application
How to Use the Indicator:
Interpreting the Signals:
On your chart, observe the following components:
The individual correlation curves and their average, plotted with visual thresholds;
Visual markers (such as emojis and shape markers) that signal potential oversold or overbought conditions
The summary table that aggregates the scores from each category, offering a quick glance at the market’s state.
Trading Alerts and Decisions: Set your TradingView alerts through the alertcondition functions provided by the indicator. This way, you receive immediate notifications when critical conditions are met, allowing you to react as soon as the market reaches key levels. This tool is especially beneficial for advanced traders who want to combine multiple technical dimensions to optimize entry and exit points with a confluence of signals.
Conclusion and Additional Insights
In summary, this advanced indicator innovatively combines multi-scale Pearson correlation analysis (via multiple linear regressions) with robust regression channel analysis. It offers a deep and nuanced view of market dynamics by delivering clear visual signals and a comprehensive numerical summary through a built-in score table.
Combine this indicator with other tools (e.g., oscillators, moving averages, volume indicators) to enhance overall strategy robustness.
Touch of Rising 21EMA (v3)Have a rising 21EMA
The 21EMA is above the 50EMA
For the last 10 bars (excluding the most recent), price has closed above the 21EMA
In the last bar (1 bar ago):
Price touched the 21EMA (high/low crossed it)
Price closed above or on the 21EMA
3 EMA Trend Strategy (Locks Trailing Stop Tightening)3 EMA Trend Strategy (with Trailing Stop Tightening)
This open-source strategy uses three Exponential Moving Averages (7, 21, 35) to detect bullish alignment and trigger long entries during strong upward trends.
* Entry Logic:
A long trade is triggered when EMA 7 > EMA 21 > EMA 35. This alignment signals a confirmed uptrend.
* Exit Logic:
The strategy uses a trailing stop mechanism.
An initial stop (e.g., 10%) follows the high since entry.
Once profit reaches a customizable threshold (e.g., 20%), the trailing stop tightens (e.g., to 5%) to help lock in gains.
* Backtest Settings (default):
Starting capital: $10,000
Commission: 0.1%
Slippage: 1 tick
Position sizing: 100% of equity per trade (can be reduced to lower risk)
* Customization:
All trailing logic and EMA settings are configurable.
Designed for swing trading and adaptable for multiple timeframes.
⚠️ This is for educational purposes only. Always test on different symbols and timeframes before using in live environments.
RSIBBExtremeMT-ATRv5.3Swiss army knife of indicators. Updated indicator allowing better viewing of the trend ribbon. Trend Ribbon 12 / 26 ema.
Bollinger band extremes ( | ) line vertical on trend ribbon.
RSI Extreme = up or down arrow.
Labels displaying multi timeframes for RSI and ATR.
HP Strategy (Hannah's Precise) - with AlertsThis script is for a custom indicator called HP Strategy (Hannah’s Precise). It identifies high-probability buy and sell setups based on:
Order block detection (based on specific bullish/bearish candle formations)
EMA confluences (price bouncing off 20, 50, 100 EMAs)
Hull Moving Average (HMA100) for trend direction
A custom Trama line for added confirmation
The strategy ensures only buys above HMA100 and EMA100, and only sells below them
When all these conditions align with a valid order block, the indicator shows a BUY or SELL label and optionally triggers an alert.
Kaufman Trend Strength Signal█ Overview
Kaufman Trend Strength Signal is an advanced trend detection tool that decomposes price action into its underlying directional trend and localized oscillation using a vector-based Kalman Filter.
By integrating adaptive smoothing and dynamic weighting via a weighted moving average (WMA), this indicator provides real-time insight into both trend direction and trend strength — something standard moving averages often fail to capture.
The core model assumes that observed price consists of two components:
(1) a directional trend, and
(2) localized noise or oscillation.
Using a two-step Predict & Update cycle, the filter continuously refines its trend estimate as new market data becomes available.
█ How It Works
This indicator employs a Kalman Filter model that separates the trend from short-term fluctuations in a price series.
Predict & Update Cycle : With each new bar, the filter predicts the price state and updates that prediction using the latest observed price, producing a smooth but adaptive trend line.
Trend Strength Normalization : Internally, the oscillator component is normalized against recent values (N periods) to calculate a trend strength score between -100 and +100.
(Note: The oscillator is not plotted on the chart but is used for signal generation.)
Filtered MA Line : The trend component is plotted as a smooth Kalman Filter-based moving average (MA) line on the main chart.
Threshold Cross Signals : When the internal trend strength crosses a user-defined threshold (default: ±60), visual entry arrows are displayed to signal momentum shifts.
█ Key Features
Adaptive Trend Estimation : Real-time filtering that adjusts dynamically to market changes.
Visual Buy/Sell Signals : Entry arrows appear when the trend strength crosses above or below the configured threshold.
Built-in Range Filter : The MA line turns blue when trend strength is weak (|value| < 10), helping you filter out choppy, sideways conditions.
█ How to Use
Trend Detection :
• Green MA = bullish trend
• Red MA = bearish trend
• Blue MA = no trend / ranging market
Entry Signals :
• Green triangle = trend strength crossed above +Threshold → potential bullish entry
• Red triangle = trend strength crossed below -Threshold → potential bearish entry
█ Settings
Entry Threshold : Level at which the trend strength triggers entry signals (default: 60)
Process Noise 1 & 2 : Control the filter’s responsiveness to recent price action. Higher = more reactive; lower = smoother.
Measurement Noise : Sets how much the filter "trusts" price data. High = smoother MA, low = faster response but more noise.
Trend Lookback (N2) : Number of bars used to normalize trend strength. Lower = more sensitive; higher = more stable.
Trend Smoothness (R2) : WMA smoothing applied to the trend strength calculation.
█ Visual Guide
Green MA Line → Bullish trend
Red MA Line → Bearish trend
Blue MA Line → Sideways/range
Green Triangle → Entry signal (trend strengthening)
Red Triangle → Entry signal (trend weakening)
█ Best Practices
In high-volatility conditions, increase Measurement Noise to reduce false signals.
Combine with other indicators (e.g., RSI, MACD, EMA) for confirmation and filtering.
Adjust "Entry Threshold" and noise settings depending on your timeframe and trading style.
❗ Disclaimer
This script is provided for educational purposes only and should not be considered financial advice or a recommendation to buy/sell any asset.
Trading involves risk. Past performance does not guarantee future results.
Always perform your own analysis and use proper risk management when trading.
EMA/MA Bands + Golden Ratio Fibonacci Multiplier20/50/100/200 EMA/MA Colored Bands + Golden Ratio Fibonacci Multiplier
RSIBBExtremeMT-ATRv5.1Multi-Tool Indicator:
Trend uses 12/26 ema. 12>26 = Green 12<26 = Red
Multi-timeframe labels for RSI & ATR
Bollinger Band = | (Wait until 1 tick past where the solid line ends)
RSI Oversold = 30- (Customizable) RSI = Oversold then up arrow
RSI Overbought = 70+ (Customizable) RSI = Overbought then down arrow
Tip: Have BB & RSI flag together.
2 Full Candle Strategy with Sequential Signals and Sound Alerts2 Full Candle Strategy with Sequential Signals and Sound Alerts
Croisement de Moyennes Mobiles (9,21)Moving Average Crossover (9, 21)
- Short Moving Average (9 periods)
- Long Moving Average (21 periods)
Signals:
- Display a green arrow when the short MA crosses above the long MA (buy signal)
- Display a red arrow when the short MA crosses below the long MA (sell signal)
CHN BUY SELL with EMA 200Overview
This indicator combines RSI 7 momentum signals with EMA 200 trend filtering to generate high-probability BUY and SELL entry points. It uses colored candles to highlight key market conditions and displays clear trading signals with built-in cooldown periods to prevent signal spam.
Key Features
Colored Candles: Visual momentum indicators based on RSI 7 levels
Trend Filtering: EMA 200 confirms overall market direction
Signal Cooldown: Prevents over-trading with adjustable waiting periods
Clean Interface: Simple BUY/SELL labels without clutter
How It Works
Candle Coloring System
Yellow Candles: Appear when RSI 7 ≥ 70 (overbought momentum)
Purple Candles: Appear when RSI 7 ≤ 30 (oversold momentum)
Normal Candles: All other market conditions
Trading Signals
BUY Signal: Triggered when closing price > EMA 200 AND yellow candle appears
SELL Signal: Triggered when closing price < EMA 200 AND purple candle appears
Signal Cooldown
After a BUY or SELL signal appears, the same signal type is suppressed for a specified number of candles (default: 5) to prevent excessive signals in ranging markets.
Settings
RSI 7 Length: Period for RSI calculation (default: 7)
RSI 7 Overbought: Threshold for yellow candles (default: 70)
RSI 7 Oversold: Threshold for purple candles (default: 30)
EMA Length: Period for trend filter (default: 200)
Signal Cooldown: Candles to wait between same signal type (default: 5)
How to Use
Apply the indicator to your chart
Look for yellow or purple colored candles
For LONG entries: Wait for yellow candle above EMA 200, then enter BUY when signal appears
For SHORT entries: Wait for purple candle below EMA 200, then enter SELL when signal appears
Use appropriate risk management and position sizing
Best Practices
Works best on timeframes M15 and higher
Suitable for Forex, Gold, Crypto, and Stock markets
Consider market volatility when setting stop-loss and take-profit levels
Use in conjunction with proper risk management strategies
Technical Details
Overlay: True (plots directly on price chart)
Calculation: Based on RSI momentum and EMA trend analysis
Signal Logic: Combines momentum exhaustion with trend direction
Visual Feedback: Colored candles provide immediate market condition awareness
Buying/Selling ProxyTiltFolio Buying/Selling Proxy
This simple but effective indicator visualizes short-term buying or selling pressure using log returns over a rolling window.
How It Works:
Calculates the average of logarithmic returns over the past N bars (default: 20).
Positive values suggest sustained buying pressure; negative values indicate selling pressure.
Plotted as a color-coded histogram:
✅ Green = net buying
❌ Red = net selling
Why Use It:
This proxy helps traders gauge directional bias and momentum beneath the surface of price action — especially useful for confirming breakout strength, timing entries, or filtering signals.
- Inspired by academic return normalization, but optimized for practical use.
- Use alongside TiltFolio's Breakout Trend indicator for added context.