Trend Detector [victhoreb]Trend Detector is a streamlined indicator that uses the Pearson correlation coefficient between the average price and time to determine market trends. It measures how closely price movement follows the progression of time over a user-defined period, providing a clear gauge of trend direction on a scale from -1 to 1.
How It Works:
The indicator calculates the correlation between price and time. A positive correlation means that as time advances, the price generally rises—signaling an uptrend. Conversely, a negative correlation indicates that the price tends to fall over time, highlighting a downtrend.
With its simple yet effective approach, Trend Detector offers traders an immediate visual and quantitative insight into prevailing market trends.
Analyse de la tendance
Fair Value Gap FinderFunctionality
Detection of Fair Value Gaps:
A bullish Fair Value Gap (FVG Up) is identified when the low of two candles before the current bar (low ) is greater than the high of the current bar (high ).
A bearish Fair Value Gap (FVG Down) is identified when the high of two candles before the current bar (high ) is lower than the low of the current bar (low ).
Color Coding:
Bullish Fair Value Gaps are highlighted in green to indicate potential areas of support.
Bearish Fair Value Gaps are highlighted in red to indicate potential areas of resistance.
Visualization Using Rectangles:
If an FVG is detected, the script creates a rectangle spanning a fixed number of bars (right=bar_index+5) to visualize the price inefficiency.
The rectangle extends from the upper to the lower boundary of the gap and has a semi-transparent fill (bgcolor=color.new(color, 90)) for better readability.
Implementation Details
Variable Initialization: The script defines floating-point variables (fvgUpTop, fvgUpBottom, fvgDownTop, fvgDownBottom) to store the price levels of identified gaps.
Conditional Assignments: When an FVG is detected, the corresponding top and bottom boundaries are assigned to the respective variables.
Box Creation: The box.new function is used to draw a rectangle on the chart, marking the FVG zones for better visualization.
ALL Candelstick Pattern✅ User Input for Shadow Ratio
✔ You can now set the shadow-to-body ratio in the settings.
✔ Default value = 2.0 (you can change it).
Bullish Hammer (Green Arrow & Label)
Bearish Inverted Hammer (Red Arrow & Label)
Trend Reversal Alert*When you see a red Close, you can close a Long/Buy position or open a Short position.
*When you see a blue Close, you can open a Long/Buy position or close a Short position.
15 minutes and above makes a clearer, less noisy notification. My recommendation is 30 minutes, everyone can use a time interval suitable for their own strategy. At the same time, 50SMA and 10SMA are there for extra confirmation. 50SMA is purple, for extra confirmation, you can evaluate buying above 50, selling below and selling when 10sma cuts 50sma down, buying when up is certain.
This code in an uptrend; 1) there should be at least 3 green candles at the end (last green candle) after closing, 2) if a red first candle is formed that is larger than 50% of its body length And this red candle (Moving Average 10) is a value below this value, it gives a warning and shows a red "Close" label on the chart. While creating this code, I want you to check and take as a condition that the new first red candle is 50% larger by taking the last 3 green uptrend candles and the last closed green candle as basis and item 1) and item 2) should meet the conditions at the same time, accordingly, red close
In a downtrend within the same code sequence, this code; 3) there should be at least 3 red candles at the end (last red candle) after closing, 4) if a green first candle is formed that is larger than 50% of its body length And this green candle (Moving Average 10) is a value above this value, it gives a warning and shows a blue "Close" label on the chart It shows a label. When creating this code, I want you to check and take as a condition that the first new green candle is 50% larger, based on the last 3 red bearish candles and the last closed red candle, and item 3) and item 4) must meet the conditions at the same time, accordingly, blue clos
Trend Reversal Alert*When you see a red Close, you can close a Long/Buy position or open a Short position.
*When you see a blue Close, you can open a Long/Buy position or close a Short position.
15 minutes and above makes a clearer, less noisy notification. My recommendation is 30 minutes, everyone can use a time interval suitable for their own strategy. At the same time, 50SMA and 10SMA are there for extra confirmation. 50SMA is purple, for extra confirmation, you can evaluate buying above 50, selling below and selling when 10sma cuts 50sma down, buying when up is certain.
This code in an uptrend; 1) there should be at least 3 green candles at the end (last green candle) after closing, 2) if a red first candle is formed that is larger than 50% of its body length And this red candle (Moving Average 10) is a value below this value, it gives a warning and shows a red "Close" label on the chart. While creating this code, I want you to check and take as a condition that the new first red candle is 50% larger by taking the last 3 green uptrend candles and the last closed green candle as basis and item 1) and item 2) should meet the conditions at the same time, accordingly, red close
In a downtrend within the same code sequence, this code; 3) there should be at least 3 red candles at the end (last red candle) after closing, 4) if a green first candle is formed that is larger than 50% of its body length And this green candle (Moving Average 10) is a value above this value, it gives a warning and shows a blue "Close" label on the chart It shows a label. When creating this code, I want you to check and take as a condition that the first new green candle is 50% larger, based on the last 3 red bearish candles and the last closed red candle, and item 3) and item 4) must meet the conditions at the same time, accordingly, blue close
Golden Cross & Death Cross Signal by BARIŞ MERAL🌟 Golden Cross Indicator - Created by Barış Meral 🌟
📅 Date: 2025
🔍 This indicator detects Golden Cross and Death Cross signals using exponential moving averages (EMAs).
When the fast MA crosses above the slow MA, a green upward triangle appears.
When the fast MA crosses below the slow MA, a red downward triangle appears.
🇹🇷 Golden Cross İndikatörü - Barış Meral tarafından oluşturuldu 🇹🇷
Bu indikatör, üstel hareketli ortalamaları (EMA) kullanarak Golden Cross ve Death Cross sinyallerini tespit eder.
Hızlı MA, yavaş MA'yı yukarı keserse yeşil yukarı üçgen, aşağı keserse kırmızı aşağı üçgen görünür.
Nifty BankNifty Option Selling Strategynifty 5 mins indicator, just take the first trade of the day, you can sell options of 10-15rs each side
Order Block Signals - Exclusive & Dynamicchhayanidhaval
high bracke then buy low brack then sell 1:1 tp
Marubozu and Strong Candle DetectorMarubozu and Strong Candle Detector - Indicator Description
This TradingView Pine Script indicator identifies powerful price action signals by detecting two key candle types that can signal strong market momentum:
What It Detects
1. Marubozu Candles: These are candles with little to no wicks, where the body makes up almost the entire candle. Marubozu means "bald head" or "shaved head" in Japanese, referring to the absence of shadows (wicks).
o Bullish Marubozu: A green/up candle with minimal wicks, showing buyers controlled the entire session
o Bearish Marubozu: A red/down candle with minimal wicks, showing sellers dominated the session
2. Strong Candles: These are candles that are significantly larger than the recent average, suggesting exceptional momentum.
o Strong Bullish: Large green/up candles showing powerful buying pressure
o Strong Bearish: Large red/down candles showing powerful selling pressure
Trading Significance
• Bullish Marubozu/Strong Bullish Candles: Often signal the beginning of bullish trends or strong continuation of existing uptrends. These can be excellent entry points for long positions.
• Bearish Marubozu/Strong Bearish Candles: Often indicate the start of bearish trends or powerful continuation of existing downtrends. These can be good entry points for short positions or exit points for long positions.
Key Features
• Customizable Parameters: Adjust sensitivity for body ratio threshold and size comparison
• Visual Indicators: Easy-to-spot markers appear on your charts
• Information Display: Shows key metrics about the current candle
• Alert System: Set notifications for when significant candles form
How To Use This Indicator
1. For Entry Signals:
o Look for bullish Marubozu/strong bullish candles at support levels or after pullbacks
o Look for bearish Marubozu/strong bearish candles at resistance levels or after rallies
2. For Exit Signals:
o Consider taking profits on long positions when bearish Marubozu/strong bearish candles appear
o Consider taking profits on short positions when bullish Marubozu/strong bullish candles appear
3. For Trend Confirmation:
o Multiple signals in the same direction strengthen the case for a trend
This indicator works best on larger timeframes (1H, 4H, Daily) where candle formations have more significance, but can be applied to any timeframe based on your trading style.
EMA & RSI Scalping Strategy🚀 Overview:
This scalping strategy combines Exponential Moving Averages (EMAs) and Relative Strength Index (RSI) to capture high-probability trades in short timeframes (1M, 5M, 15M).
📈 How It Works:
Buy Signal: When the 7-EMA crosses above 14-EMA and RSI is between 30-70.
Sell Signal: When the 7-EMA crosses below 14-EMA and RSI is between 30-70.
Includes Take Profit & Stop Loss for risk management.
⚡ Best For:
Fast-paced scalping in Forex, Crypto, and Indices
Works on 1M, 5M, 15M timeframes
📊 Why Use It?
✅ Trend Confirmation with EMAs
✅ Momentum Strength via RSI
✅ Optimized Risk-to-Reward Ratio
Multi-Timeframe Ichimoku TableThis script is a Multi-Timeframe Ichimoku Table indicator for TradingView, written in Pine Script version 6. It provides a table displaying Ichimoku trend signals for different timeframes: 1-minute, 3-minute, 5-minute, and 15-minute. Here’s a breakdown of what the script does:
1. Indicator Setup
The script starts by defining a non-overlay indicator (i.e., it will be shown separately from the main price chart).
2. Ichimoku Calculation Function
The function f_ichimoku(_tf) computes the Tenkan-sen (Conversion Line) and Kijun-sen (Base Line) for a given timeframe.
It does this by taking:
The highest high and lowest low over the past 9 periods (Tenkan-sen).
The highest high and lowest low over the past 26 periods (Kijun-sen).
It then returns these values.
3. Getting Ichimoku Values for Multiple Timeframes
The function is called for four different timeframes:
1-minute ("1"), 3-minute ("3"), 5-minute ("5"), and 15-minute ("15").
The results are stored in variables:
t1_tenkan, t1_kijun for 1-minute
t3_tenkan, t3_kijun for 3-minute
t5_tenkan, t5_kijun for 5-minute
t15_tenkan, t15_kijun for 15-minute
4. Trend Color Determination
The function getColor(tenkan, kijun) assigns colors based on Ichimoku trend signals:
Green (color.green) if Tenkan-sen is above Kijun-sen → BUY Signal.
Red (color.red) if Tenkan-sen is below Kijun-sen → SELL Signal.
5. Creating the Table
A table is created in the top-right of the chart.
The table has 2 columns:
First column: Timeframe labels (1m, 3m, 5m, 15m).
Second column: Trend status (BUY or SELL) based on Tenkan-sen and Kijun-sen.
The color of each trend cell is dynamically updated based on getColor():
Green for BUY
Red for SELL
6. Displaying Data in the Table
The table headers are set: "Timeframe" and "Trend".
The trend status for each timeframe is added:
"1m" row → Displays BUY or SELL with color.
"3m" row → Displays BUY or SELL with color.
"5m" row → Displays BUY or SELL with color.
"15m" row → Displays BUY or SELL with color.
Final Output
This script provides an easy-to-read color-coded table showing Ichimoku trend signals across multiple timeframes. It helps traders quickly determine the momentum direction across different short-term periods.
RSI with Moving AveragesThis Indicator can be used in tandem to other indicators since this one moves with the price and it will help spot divergences when you use another indicator that is susceptible to divergence
The 2 EMA closely follows Price, the 7 EMA represents a short term trend change and the 21 represents a medium term trend change
Multi-Ticker RS vs SPYThis Pine Script, titled "Multi-Ticker RS vs SPY," is a clean and efficient indicator designed for TradingView, enabling traders to monitor the relative strength (RS) of up to 10 ticker symbols compared to the S&P 500 ETF (SPY) on a single chart. Ideal for options traders, such as those managing a $1,400 account, it provides a simple way to assess which stocks are outperforming or underperforming the broader market. As of February 26, 2025, the script supports any chart timeframe, such as 5-minute or daily intervals, and calculates RS based on a user-defined lookback period, defaulting to 1 bar for real-time insights.
Users can input ticker symbols via customizable settings, with defaults set to popular stocks like AAPL, TSLA, NVDA, GOOGL, AMZN, MSFT, FB, NFLX, INTC, and PYPL. The script fetches closing prices for each ticker and SPY, computes their percentage changes over the lookback period, and determines RS as the ratio of each ticker’s change to SPY’s change, handling division by zero gracefully. It displays each ticker’s current RS score in a vertical column of labels on the chart’s top-left corner, updated on the last bar to avoid clutter. Users can adjust label size (tiny, small, normal, large) and text color for visibility, ensuring a tailored, error-free experience for quick market analysis.
TradingCircuit EMA Cloud Features
✅ EMA Clouds for Better Visualization
Short-Term Cloud (10 & 21 EMA) → Captures short-term momentum
Medium-Term Cloud (44 & 63 EMA) → Confirms trend strength
Long-Term EMA (200 EMA) → Acts as the main trend filter
✅ Dynamic Trend Coloring
The clouds change color based on EMA crossovers, providing instant visual trend identification.
Green Cloud = Bullish Momentum
Red/Orange Cloud = Bearish Momentum
✅ 📊 Trend Dashboard with 7-Class Trend Detection
A trend label appears on the chart based on the alignment of EMAs:
1️⃣ 🔥 Strong Uptrend → All EMAs aligned upwards (10 > 21 > 44 > 63 > 200)
2️⃣ 📈 Mild Uptrend → Short and Medium EMAs above the 200 EMA but not perfectly aligned
3️⃣ 🟢 Weak Uptrend → Only Short-Term EMA Cloud is above 200 EMA
4️⃣ 🟡 Sideways Market → Mixed EMA alignment, no clear trend
5️⃣ 🔴 Weak Downtrend → Short-Term EMA Cloud is below the 200 EMA, but Medium-Term isn’t
6️⃣ 📉 Mild Downtrend → Both Short and Medium EMA Clouds below 200 EMA
7️⃣ 🚨 Strong Downtrend → All EMAs aligned downward (10 < 21 < 44 < 63 < 200)
✅ Fully Customizable
Enable/Disable individual EMA clouds
Toggle Trend Dashboard ON/OFF
Transparent clouds for a clean look
Long-Term 200 EMA plotted as a black line for clear reference
🔧 How to Use?
1️⃣ Add this indicator to your chart on TradingView
2️⃣ Observe EMA Clouds for trend confirmation
3️⃣ Follow the Trend Dashboard for easy decision-making
4️⃣ Use in combination with other indicators like RSI or Volume for better confirmation
⚡ Best Suited For?
✅ Day Traders & Swing Traders – Quickly spot reversals and trend shifts
✅ Trend Followers – Stay in sync with the dominant trend
✅ Algo Traders – Can be used as a base for automated strategies
📌 Notes
⚠️ This indicator does not generate buy/sell signals! It is meant to enhance trend visualization.
🚀 Best results when used with other confluence factors like price action, support/resistance, and volume analysis.
👉 If you find this indicator useful, don’t forget to like & comment! 🚀
Happy Trading! 📊🔥
Anchored Powered KAMA [LuxAlgo]The Anchored Powered KAMA tool is a new flavor of the famous Kaufman's Adaptive Moving Average (KAMA).
It adds 5 different anchoring periods, a power exponent to the original KAMA calculation to increase the degree of filtering during ranging trends, and standard deviation bands calculated against the KAMA itself.
🔶 USAGE
In the image above we can see the different parts of the tool, it displays the Anchored Powered KAMA surrounded by standard deviation bands at 2x (solid) and 1x (dashed) by default.
This tool provides a simple and easy way to determine if the current market is ranging or trending and where the market extremes are in the current period.
As a rule of thumb, traders may want to trade extremes in ranges and pullbacks in trends.
When the KAMA is flat, a range is in place, so traders may want to wait for the price to reach an extreme before opening a trade in the other direction.
Conversely, if the KAMA is moving up or down, a trend is in place and traders may want to wait for the price to pull back to the KAMA before opening a trade in the direction of the trend.
🔹 Anchor Period
On the above chart, we can see different anchor periods on different chart timeframes.
This option is very useful for those traders who use multi-timeframe analysis, allowing them to see how the market behaves over different timeframes.
The valid values for this parameter are:
Hourly
Daily
Weekly
Monthly
Yearly
The tool has a built-in Auto feature for traders convenience, it automatically selects the optimal Anchor Period in function of the chart timeframe.
timeframes up to 2m: Hourly
timeframes up to 15m: Daily
timeframes up to 1H: Weekly
timeframes up to 4H: Monthly
larger timeframes: Yearly
🔹 Choosing the Right Anchor Period
In the chart above we can see the custom error message that the tool displays when the Auto feature is disabled and the Anchor Period is too large for the current chart timeframe.
Traders can select a smaller Anchor Period or a larger chart timeframe for the tool to display correctly.
🔶 DETAILS
The tool uses Welford's algorithm to calculate the KAMA's standard deviation, then plots the outer bands at the multiplier specified in the settings panel, and the inner bands at the multiplier specified minus 1.
🔹 Power Exponent
The graph above shows how different values of this parameter can affect the output.
To display the original KAMA a value of 1 must be set, by default this parameter is set to 2.
The higher the value, the better the tool's ability to detect ranges.
🔶 SETTINGS
Anchor Period: Select up to 5 different time periods from Hourly, Daily, Weekly, Monthly, and Yearly.
Source: Choose the source for all calculations.
Power Exponent: Fine-tune the KAMA calculation, a value of 1 will output the original KAMA, and is set to 2 by default.
Band Multiplier: Select the multiplier for the standard deviation bands.
Supertrend with Percentage HysteresisThis Pine Script indicator is designed to generate buy and sell signals based on the Supertrend indicator, with an added layer of hysteresis to filter out small, insignificant price fluctuations. It provides visual cues through background coloring and buy/sell arrows.
Key Features:
Supertrend Calculation:
The script calculates the Supertrend indicator using the Average True Range (ATR).
Users can customize the ATR period and multiplier through input parameters.
It offers the option to choose between two ATR calculation methods.
Percentage-Based Hysteresis:
To prevent signals from flipping back and forth due to minor price changes, the script incorporates a percentage-based hysteresis.
Users can adjust the hysteresis percentage through the "Hysteresis Percentage" input.
This feature ensures that a signal change only occurs when the price moves beyond a certain percentage threshold, effectively filtering out noise.
Buy and Sell Signal Generation:
Buy signals are generated when the Supertrend indicates an uptrend and the price crosses above a calculated hysteresis level.
Sell signals are generated when the Supertrend indicates a downtrend and the price crosses below a calculated hysteresis level.
The script stores the previous trend, so signals are only generated when the trend changes.
Visual Cues:
Buy/Sell Arrows: Green upward-pointing triangles are plotted below the chart for buy signals, and red downward-pointing triangles are plotted above the chart for sell signals.
Background Coloring: The background below the chart is colored green during buy signals, and the background above the chart is colored red during sell signals.
The Supertrend lines themselves are not plotted, leaving a cleaner chart.
Alerts:
The script includes alert conditions for buy and sell signals, allowing users to receive notifications when signals are generated.
Input Parameters:
ATR Period: The period used to calculate the Average True Range (ATR).
ATR Multiplier: The multiplier applied to the ATR.
Change ATR Calculation Method?: A boolean option to switch between different ATR calculation methods.
Hysteresis Percentage: The percentage threshold that the price must move beyond to trigger a signal change.
How It Works:
Supertrend Calculation: The script first calculates the Supertrend indicator based on the user-defined parameters.
Hysteresis Levels: It then calculates the hysteresis levels based on the Supertrend lines and the hysteresis percentage.
Signal Generation: The script monitors the Supertrend direction and price movements. When the price crosses a hysteresis level in the opposite direction of the current trend, a signal is generated.
Visual and Alert Outputs: The script plots arrows, colors the background, and triggers alerts based on the generated signals.
Use Cases:
This indicator is useful for traders who want to identify potential trend reversals while minimizing the impact of short-term price fluctuations.
It can be used in various markets and timeframes, and the input parameters can be adjusted to suit different trading styles.
Important Notes:
Like any indicator, the Supertrend with Percentage Hysteresis is not foolproof and should be used in conjunction with other forms of technical analysis.
Experiment with the input parameters to find the optimal settings for your trading strategy.
This script does not plot the supertrend lines, only the buy/sell signals, and the background coloring.
HHHL Long Strategy with 61.8% Entryhigh win rate and high RR, my code only do long, and only take higher high and higher low for that
Shavarie's MCV IndicatorShavarie's MCV Indicator (MACD + CCI + Volume Delta) is a custom-built trend-following and volume-based indicator that helps traders confirm market direction with high accuracy. It combines the MACD (Moving Average Convergence Divergence), CCI (Commodity Channel Index), and Volume Delta, ensuring that all three indicators align before making a trading decision. The goal is to filter out false signals and provide high-probability trade setups.
History & Development
Shavarie's MCV Indicator was developed by Shavarie Gordon, an experienced swing trader, to improve trend confirmation on Gold (XAUUSD) and other markets. After testing various indicators, Shavarie discovered that MACD, CCI, and Volume Delta together provide the best combination of trend strength, momentum, and real-time volume flow. This indicator was designed to eliminate lagging signals, improve win rates, and enhance market timing for both swing and scalping strategies.
How It Works & Calculations
MACD (Moving Average Convergence Divergence)
Measures momentum and trend strength using the difference between a 12-period EMA and a 26-period EMA.
The MACD line and Signal line crossover confirms buy/sell signals.
A rising MACD histogram confirms bullish strength, while a falling histogram confirms bearish strength.
CCI (Commodity Channel Index)
Measures how far the price is from its statistical average.
Above +100 → Overbought (strong trend continuation or reversal).
Below -100 → Oversold (strong trend continuation or reversal).
When CCI aligns with MACD, it confirms momentum strength.
Volume Delta
Measures the difference between buying and selling volume in real time.
A positive delta means more aggressive buying (bullish).
A negative delta means more aggressive selling (bearish).
Helps confirm MACD and CCI trends by showing real volume strength.
Key Takeaways & Features
✅ No false signals: All three indicators must align before entering a trade.
✅ Trend confirmation: Ensures momentum and volume agree before trading.
✅ Works on multiple timeframes: Designed for swing trading on the daily and scalping on 45 min + 5 min.
✅ Great for Gold & Metals: Optimized for XAUUSD, XAUJPY, XAU/AUD, and possibly Palladium (XPDUSD).
✅ Custom-built by a professional trader: Developed by Shavarie Gordon after extensive testing.
Summary
Shavarie’s MCV Indicator is a powerful and reliable trading tool that combines momentum, trend, and volume analysis. By ensuring that MACD, CCI, and Volume Delta align, it eliminates false signals and increases trade accuracy. Whether used for swing trading or scalping, this indicator helps traders enter high-probability trades with confidence.
AN_B_EMACrossEMA crossover (short-term EMA crossing above long-term EMA).
Positive MACD (MACD line greater than the signal line).
RSI above 55.
A "B" label is plotted below the candle when conditions are satisfied.
RSI & MACDRSI & MACD combined for tradingview users
RSI & MACD combined for tradingview users
RSI & MACD combined for tradingview users
TA Monks Sessions + NewsColor candles based on UTC+0 market sessions
Show inside bars
Show forex factory news on the chart as vertical lines for future news, red dots for past news and toggle visibility of weekly and daily news on the chart
Display current session on top left
MACD + SMA + VWMAMACD + SMA + VWMA v.2.0 for Nikolay
MACD + SMA + VWMA v.2.0 for Nikolay
MACD + SMA + VWMA v.2.0 for Nikolay