TuxTune - Dynamic Vertical LineVisual aid. The vertical line moves dynamically with the last candle of the selected time frame.
The middle of the line moves with the latest price.
The line range (height) can be set to any value to aid in quickly gauging the size of the candles without having to keep looking at the numbers on the vertical axis to determine how big the candles are.
Line width, color, and distance from the last candle can also be set.
The label can be turned off/on.
Candlestick analysis
MACD"In the true spirit of TradingView, the creator of this script has open-sourced it so traders can inspect and verify its functionality. Hats off to the author! While you're free to use it, remember that republishing code must comply with our site's rules."
BySq - Market PsychologyThe script I provided is a Market Psychology Index indicator for TradingView, which focuses on three key psychological market phases:
FOMO (Fear of Missing Out)
Panic Selling
Reversal
This indicator uses volume, price changes, and specific time periods to gauge market sentiment. Let me break it down:
1. Input Parameters:
FOMO Period: Defines how many bars (candles) the FOMO index will consider for its calculation.
Panic Period: Defines the period to evaluate Panic Selling.
Reversal Period: Defines the period to evaluate potential price reversals.
You can adjust these periods based on your analysis preferences. The default for each period is 14.
2. FOMO Index:
The FOMO Index aims to capture the "fear of missing out" behavior in the market.
It uses volume and price change:
Volume is compared to the Simple Moving Average (SMA) of volume over the specified period.
Price change is calculated as the percentage change in price compared to the previous bar.
If both volume and price change indicate strong upward movement, the FOMO index spikes.
3. Panic Selling Index:
The Panic Selling Index captures when traders are selling out of fear, often in a rapid or irrational way.
Similar to the FOMO Index, it considers volume and price change:
It uses volume and compares it to the SMA of volume for the panic period.
Price change is negative, meaning it considers only price drops.
When there is high volume coupled with significant price drops, it signals panic selling.
4. Reversal Index:
The Reversal Index aims to detect potential trend reversals in the market.
This index also considers volume and price change:
It focuses on upward price movement and compares volume to its SMA.
If there’s strong upward price movement along with increasing volume, it signals the possibility of a price reversal.
5. Graphical Output:
Histograms are drawn on the chart for each of the three indices:
FOMO is shown in green (indicating the presence of FOMO) and red (when the index is low).
Panic Selling is shown in orange.
Reversal is shown in purple.
The Zero Line (horizontal dotted line) helps identify when any of the indices is positive or negative.
6. Labels:
Labels for each index are shown on the chart at the relevant bar when the index spikes.
FOMO is labeled "FOMO" in green when it spikes.
Panic Selling is labeled "Panic Selling" in orange when it spikes.
Reversal is labeled "Reversal" in purple when it spikes.
Additionally, period labels show above the chart, indicating the specific periods (FOMO, Panic, and Reversal periods) currently being applied. This provides clarity on what time frame each index is analyzing.
7. How to Use:
FOMO: High values may indicate that traders are buying out of fear of missing out on a rally, suggesting a potentially overheated market.
Panic Selling: High values could suggest irrational selling behavior or capitulation, potentially marking the bottom of a downtrend.
Reversal: High values signal the potential for a market reversal, where the price could change direction due to increased volume and upward movement.
8. Visual Appearance:
The indicator’s histograms change colors based on the level of market sentiment detected. The color-coded approach provides an easy-to-read visual representation of different psychological phases in the market.
The horizontal zero line allows easy differentiation between positive and negative values.
Summary:
This script combines the psychology of the market (FOMO, Panic Selling, and Reversal) into a set of indicators that help traders identify potential turning points or emotional states in the market. By focusing on volume and price change, the script attempts to give a clear picture of market sentiment and possible future movements.
FeraTrading Multi-Timeframe FVG w/ Volume FilteringWelcome to the FeraTrading Multi-Timeframe FVG w/ Volume Filtering Indicator.
This Fair Value Gap (FVG) indicator identifies bullish and bearish FVGs across up to 5 customizable timeframes—from intraday scalps to higher-timeframe confluences.
🔹 Volume-Filtered FVGs: Optionally filter for high-volume zones only, focusing on strong institutional interest.
🔹 Bullish & Bearish Toggles: Choose which setups you want to see.
🔹 Dynamic Gap Lengths: Gap size automatically scales with volume intensity using a smart multiplier.
🔹 Multi-Timeframe Support: Pulls FVGs from higher timeframes without cluttering your chart.
🔹 Color-Coded Zones: Easily distinguish between bullish and bearish areas with custom transparency.
Great for scalpers, day traders, and swing traders looking for precise entry zones backed by volume and structure.
We made this indicator open-source on purpose: So you can tweak it, improve it, or build on it. Whether you’re a developer or a trader with some coding skills, we want you to make it your own and help the tool evolve with the community. Mess with the volume logic or how the FVGs interact with candles, it is all setup for you to do so. If you are not a coder, enjoy using a great indicator!
This indicator was developed by FeraTrading to visualize market structure.
No Wick Candle Finder"No Wick Candle Finder", is a visual that identifies and confirms candlestick patterns with no wicks—a rare but significant type of price action. Here's a breakdown of what it does, how it works, and why traders might find it useful:
This script highlights candles with no wicks and adds an extra layer of confirmation before plotting a signal.
📌 What is a No-Wick Candle?
A "no-wick" candle means:
Bullish (green) no-wick candle:
Open = Low
Close = High
Strong buying pressure from start to end of the candle.
Bearish (red) no-wick candle:
Open = High
Close = Low
Strong selling pressure throughout the candle.
These candles indicate a clear directional move with no retracement during the timeframe.
🧠 Trading Use Cases
Trend Continuation Entry: These candles can signal strong momentum continuation.
Breakout Confirmation: Often appear on breakouts—confirming strength.
Scalping or Intraday: Great for short timeframes where clean moves matter most.
Directional RSI Signal MapDirectional RSI Signal Map
This script analyzes RSI values across four different timeframes to detect market bias (bullish, bearish, or neutral) and trend direction. It generates:
Green up arrows for bullish signals (bias and trend are both bullish)
Red down arrows for bearish signals (bias and trend are both bearish)
Green circles when trend is bullish but bias is neutral
Red circles when trend is bearish but bias is neutral
You can adjust RSI levels, timeframes, and choose whether to enable the RSI filter. Alerts are included for the main bullish/bearish signals.
AllMA Trend Radar [trade_lexx]📈 AllMA Trend Radar is your universal trend analysis tool!
📊 What is AllMA Trend Radar?
AllMA Trend Radar is a powerful indicator that uses various types of Moving Averages (MA) to analyze trends and generate trading signals. The indicator allows you to choose from more than 30 different types of moving averages and adjust their parameters to suit your trading style.
💡 The main components of the indicator
📈 Fast and slow moving averages
The indicator uses two main lines:
- Fast MA (blue line): reacts faster to price changes
- Slow MA (red line): smoother, reflects a long-term trend
The combined use of fast and slow MA allows you to get trend confirmation and entry/exit points from the market.
🔄 Wide range of moving averages
There are more than 30 types of moving averages at your disposal:
- SMA: Simple moving average
- EMA: Exponential moving average
- WMA: Weighted moving average
- DEMA: double exponential MA
- TEMA: triple exponential MA
- HMA: Hull Moving Average
- LSMA: Moving average of least squares
- JMA: Eureka Moving Average
- ALMA: Arnaud Legoux Moving Average
- ZLEMA: moving average with zero delay
- And many others!
🔍 Indicator signals
1️⃣ Fast 🆚 Slow MA signals (intersection and ratio of fast and slow MA)
Up/Down signals (intersection)
- Buy (Up) signal:
- What happens: the fast MA crosses the slow MA from bottom to top
- What does the green triangle with the "Buy" label under the candle look
like - What does it mean: a likely upward trend reversal or an uptrend strengthening
- Sell signal (Down):
- What happens: the fast MA crosses the slow MA from top to bottom
- What does it look like: a red triangle with a "Sell" mark above the candle
- What does it mean: a likely downtrend reversal or an increase in the downtrend
Greater/Less signals (ratio)
- Buy signal (Greater):
- What happens: the fast MA becomes higher than the slow MA
- What does it look like: a green triangle with a "Buy" label under the candle
- What does it mean: the formation or confirmation of an uptrend
- Sell signal (Less):
- What happens: the fast MA becomes lower than the slow MA
- What does it look like: a red triangle with a "Sell" mark above the candle
- What does it mean: the formation or confirmation of a downtrend
2️⃣ Signals ⚡️ Fast MA (fast MA and price)
Up/Down signals (intersection)
- Buy signal (Up Fast):
- What happens: the price crosses the fast MA from bottom to top
- What does it look like: a green triangle with a "Buy" label under the candle
- What does it mean: a short-term price growth signal
- Sell signal (Down Fast):
- What happens: the price crosses the fast MA from top to bottom
- What does it look like: a red triangle with a "Sell" label above the candle
- What does it mean: a short-term price drop signal
Greater/Less signals (ratio)
- Buy signal (Greater Fast):
- What happens: the price is getting higher than the fast MA
- What does it look like: a green triangle with a "Buy" label under the candle
- What does it mean: the price is above the fast MA, which indicates an upward movement
- Sell signal (Less Fast):
- What happens: the price is getting lower than the fast MA
- What does it look like: a red triangle with a "Sell" mark above the candle
- What does it mean: the price is under the fast MA, which indicates a downward movement
3️⃣ Signals 🐢 Slow MA (slow MA and price)
Up/Down signals (intersection)
- Buy signal (Up Slow):
- What happens: the price crosses the slow MA from bottom to top
- What does it look like: a green triangle with a "Buy" label under the candle
- What does it mean: a potential medium-term upward trend reversal
- Sell signal (Down Slow):
- What happens: the price crosses the slow MA from top to bottom
- What does it look like: a red triangle with a "Sell" label above the candle
- What does it mean: a potential medium-term downward trend reversal
Greater/Less signals (ratio)
- Buy signal (Greater Slow):
- What happens: the price is getting above the slow MA
- What does it look like: a green triangle with a "Buy" label under the candle
- What does it mean: the price is above the slow MA, which indicates a strong upward movement
- Sell signal (Less Slow):
- What is happening: the price is getting below the slow MA
- What does it look like: a red triangle with a "Sell" mark above the candle
- What does it mean: the price is under the slow MA, which indicates a strong downward movement
🛠 Filters to filter out false signals
1️⃣ Minimum distance between the signals
- What it does: sets the minimum number of candles between signals of the same type
- Why it is needed: it prevents the appearance of too frequent signals, especially during periods of high volatility
- How to set it up: Set a different value for each signal type (default: 3-5 bars)
- Example: if the value is 3 for Up/Down signals, after the buy signal appears, the next buy signal may appear no earlier than 3 bars later
2️⃣ Advanced indicator filters
🔍 RSI Filter
- What it does: Checks the Relative Strength Index (RSI) value before generating a signal
- Why it is needed: it helps to avoid countertrend entries and catch reversal points
- How to set up:
- For buy signals (🔋 Buy): set the RSI range, usually in the oversold zone (for example, 1-30)
- For sell signals (🪫 Sell): set the RSI range, usually in the overbought zone (for example, 70-100)
- Example: if the RSI = 25 (in the range 1-30), the buy signal will be confirmed
📊 MFI Filter (Cash Flow Index)
- What it does: analyzes volumes and the direction of price movement
- Why it is needed: confirms signals with data on the activity of cash flows
- How to set up:
- For buy signals (🔋 Buy): set the MFI range in the oversold zone (for example, 1-25)
- For sell signals (🪫 Sell): set the MFI range in the overbought zone (for example, 75-100)
- Example: if MFI = 80 (in the range of 75-100), the sell signal will be confirmed
📈 Stochastic Filter
- What it does: analyzes the position of the current price relative to the price range
- Why it is needed: confirms signals based on overbought/oversold conditions
- How to configure:
- You can configure the K Length, D Length and Smoothing parameters
- For buy signals (🔋 Buy): set the stochastic range in the oversold zone (for example, 1-20)
- For sell signals (🪫 Sell): set the stochastic range in the overbought zone (for example, 80-100)
- Example: if stochastic = 15 (is in the range of 1-20), the buy signal will be confirmed
🔌 Connecting to trading strategies
The indicator provides various connectors to connect to your trading strategies.:
1️⃣ Individual connectors for each type of signal
- 🔌Fast vs Slow Up/Down MA Signal🔌: signals for the intersection of fast and slow MA
- 🔌Fast vs Slow Greater/Less MA Signal🔌: signals of the ratio of fast and slow MA
- 🔌Fast Up/Down MA Signal🔌: signals of the intersection of price and fast MA
- 🔌Fast Greater/Less MA Signal🔌: signals of the ratio of price and fast MA
- 🔌Slow Up/Down MA Signal🔌: signals of the intersection of price and slow MA
- 🔌Slow Greater/Less MA Signal🔌: Price versus slow MA signals
2️⃣ Combined connectors
- 🔌Combined Up/Down MA Signal🔌: combines all the crossing signals (Up/Down)
- 🔌Combined Greater/Less MA Signal🔌: combines all the signals of the ratio (Greater/Less)
- 🔌Combined All MA Signals🔌: combines all signals (Up/Down and Greater/Less)
❗️ All connectors return values:
- 1: buy signal
- -1: sell signal
- 0: no signal
📚 How to start using AllMA Trend Radar
1️⃣ Selection of types of moving averages
- Add an indicator to the chart
- Select the type and period for the fast MA (default: DEMA with a period of 14)
- Select the type and period for the slow MA (default: SMA with a period of 14)
- Experiment with different types of MA to find the best combination for your trading style
2️⃣ Signal settings
- Turn on the desired signal types (Up/Down, Greater/Less)
- Set the minimum distance between the signals
- Activate and configure the necessary filters (RSI, MFI, Stochastic)
3️⃣ Checking on historical data
- Analyze how the indicator works based on historical data
- Pay attention to the accuracy of the signals and the presence of false alarms
- Adjust the settings if necessary
4️⃣ Introduction to the trading strategy
- Decide which signals will be used to enter the position.
- Determine which signals will be used to exit the position.
- Connect the indicator to your trading strategy through the appropriate connectors
🌟 Practical application examples
Scalping strategy
- Fast MA: TEMA with a period of 8
- Slow MA: EMA with a period of 21
- Active signals: Fast MA Up/Down
- Filters: RSI (range 1-40 for purchases, 60-100 for sales)
- Signal spacing: 3 bars
Strategy for day trading
- Fast MA: TEMA with a period of 10
- Slow MA: SMA with a period of 20
- Active signals: Fast MA Up/Down and Fast vs Slow Greater/Less
- Filters: MFI (range 1-25 for purchases, 75-100 for sales)
- Signal spacing: 5 bars
Swing Trading Strategy
- Fast MA: DEMA with a period of 14
- Slow MA: VWMA with a period of 30
- Active signals: Fast vs Slow Up/Down and Slow MA Greater/Less
- Filters: Stochastic (range 1-20 for purchases, 80-100 for sales)
- Signal spacing: 8 bars
A strategy for positional trading
- Fast MA: HMA with a period of 21
- Slow MA: SMA with a period of 50
- Active signals: Slow MA Up/Down and Fast vs Slow Greater/Less
- Filters: RSI and MFI at the same time
- The distance between the signals: 10 bars
💡 Tips for using AllMA Trend Radar
1. Select the types of MA for market conditions:
- For trending markets: DEMA, TEMA, HMA (fast MA)
- For sideways markets: SMA, WMA, VWMA (smoothed MA)
- For volatile markets: KAMA, AMA, VAMA (adaptive MA)
2. Combine different types of signals:
- Up/Down signals work better when moving from a sideways trend to a directional
one - Greater/Less signals are optimal for fixing a stable trend
3. Use filters effectively:
- The RSI filter works great in trending markets
- MFI filter helps to confirm the strength of volume movement
- Stochastic filter works well in lateral ranges
4. Adjust the minimum distance between the signals:
- Small values (2-3 bars) for short-term trading
- Average values (5-8 bars) for medium-term trading
- Large values (10+ bars) for long-term trading
5. Use combination connectors:
- For more reliable signals, connect the indicator through the combined connectors
💰 With the AllMA Trend Radar indicator, you get a universal trend analysis tool that can be customized for any trading style and timeframe. The combination of different types of moving averages and advanced filters allows you to significantly improve the accuracy of signals and the effectiveness of your trading strategy!
sideways market for strangle📌 Description of "Sideways Market for Strangle" Script**
This **Pine Script** is designed to identify a **sideways market**, which is ideal for **option strangle strategies**. The script plots a **green signal** below the price chart when the market is in a low-volatility, non-trending phase.
---
🔹 How It Works**
1️⃣ **RSI Condition (Measures Market Momentum)**
- The script uses a **Relative Strength Index (RSI) with a length of 11**.
- If **RSI is between 40 and 60**, the market is neither overbought nor oversold, indicating a range-bound or sideways trend.
2️⃣ **ADX Condition (Checks Trend Strength)**
- The **Average Directional Index (ADX)** is used to measure trend strength.
- If **ADX is below 25**, it confirms a weak trend.
- Additionally, ADX must be **lower than both DI+ and DI-**, ensuring that there’s no strong bullish or bearish momentum.
3️⃣ **Signal Plotting**
- When both conditions are met (RSI between 40-60 and ADX < 25 with ADX < DI+ & DI-), a **green shape appears below the price chart**.
- This signal suggests that the market is in a **sideways phase**, making it suitable for **strangle or non-directional option strategies**.
---
🔹 Why Use This for a Strangle Strategy?**
- **Strangles perform best in a sideways market** where implied volatility is low.
- This indicator helps traders avoid **trending markets**, reducing risk.
- **Simple visualization** makes it easy to identify low-movement zones at a glance.
---
🔹 How to Use in TradingView**
1. **Add this script** as a custom indicator.
2. **Look for green signals** appearing below candles.
3. When the signal appears, consider setting up a **strangle options strategy**.
4. Avoid trading when the market shows **strong trends** (RSI out of range or ADX above 25).
---
🚀 Summary**
✅ **Detects sideways markets for strangle strategies**
✅ **Uses RSI (11) & ADX (14) for confirmation**
✅ **Filters out trending conditions**
✅ **Easy-to-use signal for option traders**
15Min Engulfing Break StrategyThe strategy involves the Engulfing Theory, Bullish and Bearish Engulfing patterns. Its specifically for 15 Minute chart. win ratio is 76%.
Close-EMA120 Bias Histogram### **Indicator: Close-EMA120 Bias Histogram**
**Purpose**:
Visualizes the deviation (bias rate) between the closing price and its 120-period EMA (Exponential Moving Average) as a histogram.
**Calculation**:
\
- Positive values: Price is **above** EMA120 (bullish momentum).
- Negative values: Price is **below** EMA120 (bearish momentum).
**Key Features**:
1. **Clean Histogram**:
- Green bars: Price > EMA120
- Red bars: Price < EMA120
- Transparency (30%) for subtle visualization.
2. **Zero Line Reference**:
- Solid gray line at 0% for quick divergence assessment.
3. **Minimalist Design**:
- No overbought/oversold thresholds or clutter.
- Adjustable EMA period via input (default: 120).
**Use Cases**:
- Identify mean-reversion opportunities when bias extremes occur.
- Confirm trend strength (sustained positive/negative bias).
- Combine with price action for divergence signals.
**Code Simplicity**:
- Only 10 lines of core logic.
- Easy to modify (e.g., change EMA length or colors).
Reversal Strength Meter – Adib NooraniThe Reversal Strength Meter is an oscillator designed to identify potential reversal zones based on supply and demand dynamics. It uses smoothed stochastic logic to reduce noise and highlight areas where momentum may be weakening, signaling possible market turning points.
🔹 Smooth, noise-reduced stochastic oscillator
🔹 Custom zones to highlight potential supply and demand imbalances
🔹 Non-repainting, compatible across all timeframes and assets
🔹 Visual-only tool — intended to support discretionary trading decisions
This oscillator assists scalpers and intraday traders in tracking subtle shifts in momentum, helping them identify when a market may be preparing to reverse — always keeping in mind that trading is based on probabilities, not certainties.
📘 How to Use the Indicator Efficiently
For Reversal Trading:
Buy Setup
– When the blue line dips below the 20 level, wait for it to re-enter above 20.
– Look for reversal candlestick patterns (e.g., bullish engulfing, hammer, or morning star).
– Enter above the pattern’s high, with a stop loss below its low.
Sell Setup
– When the blue line rises above the 80 level, wait for it to re-enter below 80.
– Look for bearish candlestick patterns (e.g., bearish engulfing, inverted hammer, or evening star).
– Enter below the pattern’s low, with a stop loss above its high.
🛡 Risk Management Guidelines
Risk only 0.5% of your capital per trade
Book 50% profits at a 1:1 risk-reward ratio
Trail the remaining 50% using price action or other supporting indicators
Reversal Scalping Ribbon - Adib NooraniThe Reversal Scalping Ribbon is a trend-following overlay tool designed to visually identify potential reversal zones based on price extremes and dynamic volatility bands. It calculates adaptive upper and lower bands using price action and custom ATR logic, helping traders quickly assess market direction and possible turning points
🔹 Volatility-adjusted bands based on price highs/lows
🔹 Color-coded ribbons to indicate trend bias and potential reversal shifts
🔹 No repainting, works on all timeframes and assets
🔹 Visual-only display, no trade signals — supports discretion-based entries
This ribbon is designed for scalpers and intraday traders to spot reversal setups with clarity. It enhances your trading by showing real-time market bias without unnecessary distractions. By focusing on probabilities, it helps to improve decision-making in fast-paced environments
How to use the indicator efficiently
For Reversal Trading:
Buy: When price closes below the green ribbon with a red candle, then re-enters with a green candle. Enter above the high of the green candle with a stop loss below the lowest low of the recent green/red candles
Sell: When price closes above the red ribbon with a green candle, then re-enters with a red candle. Enter below the low of the red candle with a stop loss above the highest high of the recent red/green candles
Risk Management:
Limit risk to 0.5% of your capital per trade
Take 50% profit at a 1:1 risk-reward ratio
For the remaining 50%, trail using the lower edge of the green band for buys and the upper edge of the red band for sells
Liquidity Sweep with EMAThis Pine Script indicator helps traders identify potential market reversals based on liquidity sweeps, where the price moves through the previous candle's low or high and then closes above or below the previous candle's wick. These are often seen as significant market moves or liquidity grabs before a potential reversal or continuation.
The indicator is also equipped with an EMA (Exponential Moving Average) as an optional visual aid to give traders a sense of the prevailing trend, though it is not used as part of the signal generation logic.
Key Features:
Liquidity Sweep Detection:
Bullish Sweep: Triggered when the current candle sweeps below the low of the previous candle and then closes above the high of the previous candle. This indicates a potential market reversal to the upside after the liquidity sweep.
Bearish Sweep: Triggered when the current candle sweeps above the high of the previous candle and then closes below the low of the previous candle. This indicates a potential market reversal to the downside after the liquidity sweep.
EMA:
The EMA (50) is plotted on the chart for visual trend guidance. While it is not used to confirm the signals, it can help traders see if the market is in a general uptrend or downtrend.
Signal Presentation:
Buy Signal: The indicator will plot a green upward arrow below the candle when a bullish liquidity sweep is detected.
Sell Signal: The indicator will plot a red downward arrow above the candle when a bearish liquidity sweep is detected.
Timeframe Filter:
The indicator only generates signals on the following timeframes: 30-minute, 1-hour, 4-hour, and Daily. This helps to ensure the sweeps are significant and likely to result in meaningful price moves.
Alerts:
Alerts can be set up for both bullish and bearish sweep signals, so traders can be notified when these events occur.
Customizable:
EMA Length: The length of the Exponential Moving Average (EMA) can be adjusted. By default, it is set to 50, but you can modify this to fit your trading strategy.
Show EMA Option: You can toggle whether or not to display the EMA line on the chart.
How It Works:
The indicator looks for price action patterns where the current candle sweeps through the high or low of the previous candle and closes beyond the previous wick.
These patterns are often seen as potential traps, where the price initially moves in one direction (sweeping the liquidity) and then quickly reverses, making them important for traders who want to catch reversals or breakouts after a liquidity sweep.
The EMA (50) gives a general trend direction but doesn't directly affect the trade signals. It serves as a visual reference for trend analysis.
Potential Use Cases:
Reversal Trading: Traders can use this indicator to catch reversals after a liquidity sweep. The green upward arrows may indicate a bullish reversal, while the red downward arrows may indicate a bearish reversal.
Trend Trading: The EMA can help traders gauge the overall market trend. If the price is above the EMA, the market may be in an uptrend, and traders may focus on bullish sweeps. Conversely, if the price is below the EMA, the market may be in a downtrend, and traders may focus on bearish sweeps.
Confirmation with Other Indicators: Although the EMA is not used to confirm signals in this script, it can be combined with other indicators (like RSI, Volume, or MACD) to enhance the accuracy of your trades.
Final Thoughts:
This script is designed to identify liquidity sweeps and price reversals based on price action alone, without relying on complex indicators. The optional EMA serves as a helpful tool for understanding the overall market trend. It’s ideal for traders looking to spot potential reversal points after significant price sweeps and is suitable for multiple timeframes (30m, 1h, 4h, Daily).
You can use this description to help potential users understand the functionality of your indicator when publishing it on TradingView or selling it as an invite-only script. Let me know if you need any adjustments or further details!
Magnetic Zones - Multi TimeframeKey Features and Benefits:
1. Multiple Timeframe Analysis
- Daily (D) timeframe for primary trend
- Weekly (W) for longer-term perspective
- Monthly (M) for major structural levels
2. Support/Resistance Levels
- PDHL (Previous Day High/Low)
- Pivot Points (P)
- Multiple SR levels (SR1-SR6)
- Color-coded for easy identification
3. Trading Applications:
- Identify key support/resistance zones
- Find potential reversal areas
- Plan entries and exits
- Set stop-loss levels
How to Use:
1. Zone Analysis
- Green zones indicate support areas
- Red zones show resistance levels
- Gray zones represent subsidiary levels
2. Multiple Timeframe Strategy
- Use Daily zones for intraday trading
- Weekly zones for swing trading
- Monthly zones for position trading
3. Moving Average Integration
- Optional EMA/SMA for trend confirmation
- Customize MA settings for your strategy
- Use MA crossovers with zones
4. Best Practices:
- Look for price reaction at zone intersections
- Higher probability trades when multiple zones align
- Use box transparency to gauge zone strength
- Combine with volume for better confirmation
5. Risk Management:
- Place stops beyond relevant zones
- Scale positions based on zone strength
- Use zone boundaries for position sizing
Trend Dashboard (Short / Medium / Long)🔍 Overview
This script:
Calculates the short, medium, and long-term trend based on moving average crossovers
Displays the current trend status in a color-coded table on your TradingView chart
Helps you visually identify market trend direction at a glance — great for quick decision making
🧱 1. Inputs Section
shortMA_len = input.int(9, title="Short-Term MA")
mediumMA_short = input.int(21, title="Medium-Term Fast MA")
mediumMA_long = input.int(50, title="Medium-Term Slow MA")
longMA_short = input.int(50, title="Long-Term Fast MA")
longMA_long = input.int(200, title="Long-Term Slow MA")
This part lets you customize the moving averages used to determine each trend type:
Short-term: 9 vs 21 SMA
Medium-term: 21 vs 50 SMA
Long-term: 50 vs 200 SMA
You can change these from the indicator settings on your chart.
📈 2. Calculating the Moving Averages
shortMA = ta.sma(close, shortMA_len)
mediumFast = ta.sma(close, mediumMA_short)
mediumSlow = ta.sma(close, mediumMA_long)
longFast = ta.sma(close, longMA_short)
longSlow = ta.sma(close, longMA_long)
This section calculates:
The short MA (e.g. 9-period)
The medium fast & slow MAs (21 & 50)
The long fast & slow MAs (50 & 200)
📊 3. Determining the Trend
shortTrend = shortMA > mediumFast ? "Bullish" : shortMA < mediumFast ? "Bearish" : "Neutral"
mediumTrend = mediumFast > mediumSlow ? "Bullish" : mediumFast < mediumSlow ? "Bearish" : "Neutral"
longTrend = longFast > longSlow ? "Bullish" : longFast < longSlow ? "Bearish" : "Neutral"
Here, each trend is determined by a simple moving average crossover:
If the fast MA is above the slow MA → Bullish
If below → Bearish
If equal → Neutral
🎨 4. Trend Color Helper Function
getColor(trend) =>
trend == "Bullish" ? color.lime : trend == "Bearish" ? color.red : color.gray
Returns a color based on the trend type:
Green for Bullish
Red for Bearish
Gray for Neutral
📋 5. Creating and Updating the Table
var table trendTable = table.new(position.top_right, 2, 4, border_width=1)
This creates a 2-column, 4-row table in the top-right of the chart.
pinescript
Copy
Edit
table.cell(...)
Updates the table every few bars:
Row 1: headers
Row 2: Short-term trend
Row 3: Medium-term trend
Row 4: Long-term trend
Each trend is colored based on its status.
📌 6. Optional: Plot the Moving Averages
plot(shortMA, ...)
plot(mediumFast, ...)
...
Just to give you a visual reference, it plots each moving average on the chart in a different color.
✅ Summary: What You Get
🧠 Short-Term Trend: (e.g., 9 vs 21 SMA)
📈 Medium-Term Trend: (e.g., 21 vs 50 SMA)
📉 Long-Term Trend: (e.g., 50 vs 200 SMA)
🎨 Color-coded dashboard for instant recognition
📊 Great for trend-following, filtering trades, and quick analysis
Market Session StrategyMarket Session Strategy Indicator Explanation
This is a TradingView Pine Script indicator called "Market Session Strategy" that monitors different market sessions and generates trading signals based on pattern analysis between sessions. Let me break down how it works:
Core Functionality
The indicator divides the trading day into three sessions:
Pre-Market (7:30 PM - 3:00 AM ET by default)
Regular Market (3:00 AM - 9:30 AM ET by default)
After Hours (9:30 AM - 4:00 PM ET by default)
For each session, it:
Tracks price action (open, high, low, close)
Calculates range percentages
Identifies session bias (bullish or bearish)
Draws visual session boxes on the chart
Generates trading signals based on historical patterns
Signal Generation Methodology
The indicator generates BUY/SELL signals at the beginning of the Regular Market and After Hours sessions using three main strategies:
1. Trend Continuation/Reversal Analysis
The script tracks how often a bullish/bearish trend in one session continues or reverses in the next session. For example:
If pre-market trends historically continue into regular hours 70% of the time and today's pre-market is bullish, it may generate a BUY signal.
If reversals are more common, it may generate a counter-trend signal.
2. Tight Range Breakout Signal
The indicator identifies "tight range" sessions (where price movement is unusually constrained compared to recent averages). A tight range with a bullish bias generates a BUY signal, while a bearish bias generates a SELL signal.
3. Day of Week Pattern Analysis
The script analyzes which days of the week show stronger trend continuation probabilities. If a particular day (like Monday) historically shows strong trend continuation and the threshold is met, it generates a signal accordingly.
Visual Components
The indicator provides several visual elements:
Colored session boxes showing high/low ranges
Signal labels at entry points
Session background colors with high transparency
A comprehensive dashboard showing session status, range percentages, bias, and signals
Performance Tracking
The script tracks trade success by session and day of week, which helps refine future signals. A trade is considered successful if:
A BUY signal is followed by a close higher than open
A SELL signal is followed by a close lower than open
Stockbee 4% DaysStockbee 4% / -4% identifier. Helps with depicting mom bursts in either direction. I find it particularily helpful when I am looking to determine tightness and quality of a consolidation. You don't want more than one -4% day in a quality consolidation before a breakout.
Consecutive Small CandlesThis script identifies relatively "small" candles based on their being smaller than a maximum size you set based on the instrument and your own criteria. Default is 5, as I use this indicator largely on CL which rarely has candles smaller than 3 ticks but frequently greater than 5.
It identifies 2 or more consecutive candles to help identify patterns similar to Bob Volman's Double Doji Break methodolgy. Written by Grok 3.
PRIME 2.0PRIME 2.0 — Precision Entry Tool
PRIME 2.0 is a smart price action-based indicator designed for intraday traders who want to catch high-probability moves during the London session. It uses a combination of market structure shifts (CHOCH – Change of Character) and session-based timing to identify potential entries.
🔍 Key Features:
Session-Based Logic: Activates after the London market opens, filtering noise from other sessions.
CHOCH Detection: Spots shifts in market structure by identifying crossover and crossunder of candle highs/lows.
Visual Entry Points: Plots real-time entry points based on structure change.
🧠 Who Is It For?
Scalpers and day traders
Traders who follow Smart Money Concepts (SMC)
Anyone looking to improve entry precision without clutter
⚠️ Disclaimer:
This indicator does not generate buy/sell signals or exit points. It is meant to be used as a tool within a broader trading strategy. Combine it with your own risk management and market knowledge for best results
Candlestick Pattern Indicator – Doji, Harami, More [algo_aakash]This Candlestick Pattern Indicator is designed to help traders identify key price action patterns like Bullish Engulfing, Bearish Engulfing, Doji, Hammer, Morning Star, Evening Star, and many more directly on your TradingView chart. With customizable options to display both bullish and bearish patterns , this indicator provides real-time visual markers and labels, helping you make informed trading decisions.
Key features of the indicator include:
Detects popular candlestick patterns such as Bullish Engulfing, Bearish Engulfing, Hammer, Morning Star, Tweezer Tops, and more.
Customizable settings for displaying pattern shapes, labels, and opacity, tailored to your trading preferences.
Option to plot signals only after a candle closes, ensuring accuracy.
Alerts for immediate notification of detected patterns.
Visual markers on the chart, including arrows and labels, for quick recognition of potential trade setups.
This indicator is ideal for traders who rely on candlestick patterns for technical analysis and want an automated tool to highlight these setups for easier decision-making.
Whether you're a beginner or an experienced trader, this tool will help you spot important patterns in real-time without cluttering your chart.
2x Marubozu Signal (Wick ≤ 30%)The 2x Marubozu Signal (Wick ≤ 30%) is a powerful, momentum-based price action indicator designed to catch strong bullish or bearish trends early. It scans for two consecutive Marubozu-style candles (where wicks are ≤ 30% of the total candle size) to identify moments of solid conviction from buyers or sellers.
This indicator detects:
Bullish Signal: Two green candles in a row, both with tiny wicks (≤ 30% of total candle size), indicating strong buying pressure and momentum.
Bearish Signal: Two red candles in a row, both with tiny wicks (≤ 30%), signaling dominant selling pressure.
The signal appears on the second candle — confirming the continuation move after initial momentum.
Key Features:
🔍 Wick Ratio Filter: Only triggers if both candles have upper and lower wicks less than or equal to 30% of the full candle range (High - Low).
📈 Visual Signal Arrows:
Green Up Arrow on bullish 2x Marubozu
Red Down Arrow on bearish 2x Marubozu
⚙️ Clean and Lightweight: No lag, perfect for intraday, swing, or trend-based strategies.
🎯 Use Case:
Trend Confirmation: Enter after the second strong Marubozu to ride breakout moves.
Momentum Filter: Combine with your existing strategy to filter only high-conviction price action setups.
Reversal Spotting: Catch reversals at key support/resistance when Marubozus form.
🧠 Pro Tips:
Works best on 15m–1D charts, especially after consolidation.
Combine with support/resistance, volume, or EMA/SMA zones for confirmation.
Avoid overtrading in choppy zones—this is a momentum-only tool.
🚀 Who’s It For?
Price Action Traders
Scalpers & Swing Traders
Trend-followers
Crypto, Forex, Stocks
📌 Author Note:
This indicator was crafted for traders who trust pure candle structure over lagging indicators. If you respect momentum, this is your edge.
3 Consecutive Inside Bars - RSTInside bars are often used to identify potential consolidation periods or breakout setups.
This will provide tight range for 3 consecutive inside bars.
Remember that inside bar patterns are just one tool, and no indicator is perfect. Always use sound risk management.
7-Day Narrow Range (NR7)NR7
NR7 stands for "Narrow Range 7." It identifies a day (or bar) with the narrowest trading range of the past seven days.
Traders often watch for NR7 patterns as they can indicate a period of consolidation before a potential breakout. A narrow range suggests that volatility is low, and a breakout could lead to a significant price move.
NR7 signals are often used in conjunction with other technical indicators and analysis techniques.
Remember that NR7 is just one tool, and no indicator is perfect. Always use sound risk management.
Rocket Engulfing Candles🚀 Rocket Engulfing Candles — Bullish & Bearish Detection
This script highlights powerful engulfing candles that resemble rockets — perfect for identifying potential reversals or momentum shifts.
Bullish Rocket (Green Triangle Up)
Fully engulfs the previous candle (higher high, lower low)
Closes higher (bullish body)
Has a longer lower wick (blast-off tail)
Bearish Rocket (Red Triangle Down)
Fully engulfs the previous candle
Closes lower (bearish body)
Has a longer upper wick (crash tail)
These patterns suggest strong buying/selling pressure with possible trend reversals. Ideal for traders looking to spot high-impact candle formations with a visual edge.