RIFMA - Ruiz Icochea Fibonacci MA"RIFMA, created by Pharaoh BRC-20, is a powerful technical analysis tool harnessing Fibonacci sequence-aligned moving averages (5, 8, 13, 21, 55, 89, 144, 233, 377, 610, 987, 1597). Designed for precision, it dynamically adjusts colors—vivid green for short periods, transitioning through red to deep brown for longer ones—reflecting trends against a dark backdrop. With thin lines for short-term MAs and thicker ones for long-term, RIFMA excels at identifying trends, supports, and resistances across any market. Optimized for TradingView, it’s an essential companion for traders seeking clarity and actionable insights in their charts."
Chart patterns
QQE Reversal Strategy for GoldThis script provides a solid foundation for using the QQE indicator to identify potential reversal points in Gold. Always backtest the strategy and combine it with other tools (e.g., support/resistance, trendlines) for better accuracy.
Optimized Target Trend Strategy v2This script works well for 15 min timeframe on NQ chart with with rate over 74 percent and profit factor 2.4
Nobitadqt trading systemXác nhận có quán tính hoặc cấu trúc đỉnh đáy
Xác định xu hướng chính trên khung D1/D2
Điều kiện vào lệnh Long & Short
Wick Reversal Strategy with Body ConditionThe Wick Reversal strategy identifies potential trend reversals by analyzing candlestick patterns, focusing on wick length and body closure. When a candle closes near its high or low after forming a long wick, it signals a possible reversal. A long upper wick with a close near the low suggests bearish reversal potential, while a long lower wick with a close near the high indicates bullish reversal potential. This code automates the detection of such patterns, enabling traders to capitalize on early reversal signals. By incorporating body closure direction, it enhances accuracy, providing actionable insights for both uptrend and downtrend scenarios.
It is recommended to use this on 15 minutes, 30 minutes and 1hr time frames.
Black Rhino : EMA and SMAUsed to determine the underlying trend direction.
Day Trade - 5 EMA over 10 EMA
Short Term Uptrend - 20 EMA over 40 EMA
Medium Term Uptrend - 50 SMA over 150 SMA
Long Term Uptrend - Price over 200 SMA
Long Term Uptrend Order
50 SMA over 100 SMA; 100 SMA over 150 SMA, 150 SMA over 200 SMA
Watch for Dip on Uptrend - Price bounce of 50/100/150 or 200 SMA
Alden Trading SystemĐây là một chỉ báo kết hợp RSI, EMA, WMA, SMC, FVG và CVD để xác định tín hiệu giao dịch chính xác hơn - nobitadinhquoctuan
ICP Staking Dashboard - EnhancedScript for ICP Based of staking supply and real supply etc, then calulated the real pirce
Scalp Precision Matrix//@version=5
indicator("Scalp Precision Matrix", overlay=true)
// EMA
emaFast = ta.ema(close, 5)
emaSlow = ta.ema(close, 13)
plot(emaFast, color=color.green)
plot(emaSlow, color=color.red)
// Volume Filter
volAvg = ta.sma(volume, 10)
volSurg = volume > volAvg * 1.2
// Levels
support = ta.lowest(low, 20)
resistance = ta.highest(high, 20)
// ATR Filter
atr = ta.atr(14)
atrAvg = ta.sma(atr, 20)
atrConf = atr > atrAvg
// RSI
rsi = ta.rsi(close, 7)
// Signals
buySignal = ta.crossover(emaFast, emaSlow) and volSurg and close > support and atrConf and rsi < 70
sellSignal = ta.crossunder(emaFast, emaSlow) and volSurg and close < resistance and atrConf and rsi > 30
plotshape(buySignal, title="Buy", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
plotshape(sellSignal, title="Sell", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
RSI + EMA + WMA + SMC + FVG + CVDĐây là một chỉ báo kết hợp RSI, EMA, WMA, SMC, FVG và CVD để xác định tín hiệu giao dịch chính xác hơn. nbt
FractalsThis indicator is based on the classic Williams Fractals concept. It scans the price chart to identify potential reversal points by looking for fractal patterns in the highs and lows. Here's what it does:
Customizable Periods: You can set the number of bars (using the n input) that the indicator examines on both sides of a central bar.
Up Fractals: An up fractal is detected when the current bar's high is higher than the highs of the preceding n bars, and it is also confirmed by additional conditions checking the following bars.
Down Fractals: Similarly, a down fractal is identified when the current bar's low is lower than the lows of the preceding n bars, with further validation from subsequent bars.
Visual Markers: Once identified, up fractals are marked by a small upward-pointing triangle above the bar, while down fractals are marked by a small downward-pointing triangle below the bar. The shapes are kept minimal (using size.auto) to avoid cluttering the chart.
This setup helps traders spot potential support and resistance areas, providing visual cues for possible trend reversals.
Candle Range-BarsThe Candle Range Bars indicator visually represents the range of each candlestick in either pips or ticks, depending on your preference. It plots vertical bars to show the size of each candle, making it easy to identify periods of high or low volatility. The indicator also displays the exact range value (in pips or ticks) above each bar, with customizable text size and color for better readability.
Key Features
Pips or Ticks Mode:
Choose to display the candle range in pips (for forex traders) or ticks (for other instruments).
Customizable Text:
Adjust the text color and text size (Tiny, Small, Normal, Large) to suit your chart style.
Clear Visuals:
Bars are colored green for bullish candles and red for bearish candles, making it easy to distinguish between up and down moves.
Flexible Use:
Ideal for analyzing volatility, identifying consolidation zones, and comparing candle ranges across different timeframes.
How to Use:
Add the indicator to your chart.
Customize the settings:
Choose between pips or ticks.
Adjust the text color and text size for the range values.
Observe the bars and their corresponding range values to analyze market volatility.
Why Use This Indicator?:
Simplify Range Analysis: Quickly see the size of each candlestick without manual calculations.
Customizable: Tailor the appearance to match your trading style.
Versatile: Works on any instrument and timeframe.
Settings:
Show Pips (Otherwise Ticks): Toggle between pips and ticks mode.
Text Color: Choose the color of the range value text.
Text Size: Select the size of the range value text (Tiny, Small, Normal, Large).
Ideal For:
Forex, stocks, commodities, and crypto traders.
Traders who focus on volatility and range analysis.
Anyone looking for a clear and customizable way to visualize candle ranges.
This description highlights the key features, benefits, and usability of your indicator, making it appealing to other TradingView members. Let me know if you'd like to tweak it further! 😊
RSI + EMA + WMA + SMC + FVG + CVD(dinhquoctuan)Đây là một chỉ báo kết hợp RSI, EMA, WMA, SMC, FVG và CVD để xác định tín hiệu giao dịch chính xác hơn
Supertrend with 1% Target and 1% StoplossSupertrend Calculation: The Supertrend indicator is calculated using the Average True Range (ATR) and a factor. The factor and ATR length can be adjusted in the inputs.
Long and Short Conditions: The strategy enters a long position when the price crosses above the Supertrend line and a short position when the price crosses below it.
Target and Stop Loss: The strategy places a 1% target and a 1% stop loss for both long and short positions.
Visuals: The stop loss and take profit levels are plotted on the chart for better visibility.
MH Strategy – Hull Moving Average-Based Trading StrategyThe MH Strategy is a TradingView strategy that leverages the Hull Moving Average (HullMA) to generate precise buy and sell signals. This strategy is designed to identify trend reversals and momentum shifts using a combination of weighted moving averages and HullMA-based calculations.
Key Features:
✅ Hull Moving Average-Based Signals – Uses a modified HullMA calculation to detect trend changes.
✅ Dynamic Support & Resistance – The strategy plots adaptive levels that act as dynamic entry and exit points.
✅ Trend-Based Entries & Exits – Generates long (buy) signals when the price moves above the calculated Hull retraction level and short (sell) signals when the price moves below it.
✅ Automated Trade Execution – Integrates with TradingView’s strategy function to open and close trades automatically based on signal conditions.
✅ Customizable Parameters – Allows users to adjust the HullMA period and price data source to optimize performance across different markets and timeframes.
How It Works:
HullMA Calculation: The strategy calculates a smoothed Hull Moving Average (HullMA) using a two-step weighted moving average method.
Trend Confirmation: The difference between the HullMA values helps determine trend direction and retraction levels.
Entry Conditions:
A buy signal is generated when the price is above the retraction level, and the previous price confirms the trend.
A sell signal is triggered when the price is below the retraction level with trend confirmation.
Exit Conditions:
The strategy closes long trades when the price drops below a threshold.
It closes short trades when the price rises above a set level.
Ideal Use Cases:
🔹 Swing & trend traders looking for momentum-based entries and exits.
🔹 Traders aiming for reduced lag compared to traditional moving averages.
🔹 Markets with strong price trends, such as forex, stocks, and crypto.
Try the MH Strategy and enhance your trading decisions with a refined HullMA-based trend detection system! 🚀
Electronic Trading Hours Session/CandlesThis indicator visually distinguishes the electronic trading session, spanning from the prior day's close (e.g., 5:00 PM EST) through the overnight period until the next day's opening bell (e.g., 9:30 AM EST).
It can be customized to highlight this period with a shaded zone or colored candles depending on the trader’s preference.
The overnight levels that create the opening range gap often act as critical zones of liquidity.
The indicator provides a clear visual cue of potential price magnets that smart money (institutional traders) may target during the opening bell session to trigger liquidity sweeps.
Enhanced Doji Candle StrategyYour trading strategy is a Doji Candlestick Reversal Strategy designed to identify potential market reversals using Doji candlestick patterns. These candles indicate indecision in the market, and when detected, your strategy uses a Simple Moving Average (SMA) with a short period of 20 to confirm the overall market trend. If the price is above the SMA, the trend is considered bullish; if it's below, the trend is bearish.
Once a Doji is detected, the strategy waits for one or two consecutive confirmation candles that align with the market trend. For a bullish confirmation, the candles must close higher than their opening price without significant bottom wicks. Conversely, for a bearish confirmation, the candles must close lower without noticeable top wicks. When these conditions are met, a trade is entered at the market price.
The risk management aspect of your strategy is clearly defined. A stop loss is automatically placed at the nearest recent swing high or low, with a tighter distance of 5 pips to allow for more trading opportunities. A take-profit level is set using a 2:1 reward-to-risk ratio, meaning the potential reward is twice the size of the risk on each trade.
Additionally, the strategy incorporates an early exit mechanism. If a reversal Doji forms in the opposite direction of your trade, the position is closed immediately to minimize losses. This strategy has been optimized to increase trade frequency by loosening the strictness of Doji detection and confirmation conditions while still maintaining sound risk management principles.
The strategy is coded in Pine Script for use on TradingView and uses built-in indicators like the SMA for trend detection. You also have flexible parameters to adjust risk levels, take-profit targets, and stop-loss placements, allowing you to tailor the strategy to different market conditions.
Trend CounterTREND COUNTER is a Trend Exhaustion Indicator that tracks the persistence of price movements over a series of bars, helping traders identify potential trend exhaustion and reversals.
It compares each bar's value (typically the closing price) to a previous bar from a set lookback period (the lookback bar), counting consecutive bullish or bearish price movements.
The count resets when the trend reverses, signaling a potential shift in momentum.
• Price movement is considered bullish if the current price exceeds the lookback bar's price, incrementing the bullish count with each consecutive occurrence.
• Price movement is considered bearish if the current price is lower than the lookback bar's price, incrementing the bearish count with each consecutive occurrence.
• The count resets when the trend reverses.
• The user sets the threshold for sequence resets by defining the maximum number of consecutive occurrences.
• The count may reset before a trend reversal if it surpasses the user-defined threshold.
This type of indicator is useful for detecting trends, trend exhaustion, overbought or oversold conditions, and potential reversal points, helping traders anticipate market turns.
• Sequential occurrences gauge trend strength.
A long sequence of bullish bars suggests strong upward momentum, while consecutive bearish bars indicate sustained downward pressure.
This helps traders assess whether a trend is likely to continue or weaken.
• Identify thresholds for potential reversal points.
Counting consecutive bullish or bearish price movements can highlight overextended trends.
A trend reaching a predefined threshold may signal an upcoming reversal or momentum slowdown.
• Identify potential entry or exit points.
If trends are showing signs of exhaustion after a certain number of consecutive price movements, traders may use this for timing adjustments to their position.
• Assess risk.
Understanding trend strength helps traders better adjust stop-loss or take-profit levels.
Sequential counting provides a structured approach to trade management.
Visualization & Customization
The Sequential Momentum indicator visually represents consecutive bullish or bearish price movements to define trends and highlight key shifts.
• The bullish/bearish bar sequences are based on user-defined thresholds.
• Customizable bar coloring, labels, and plot shapes enhanced trend visualization.
• Dynamic color transitions make trend shifts easily identifiable.
Tracking consecutive bullish or bearish price movements can be effective when combined with other indicators or applied in specific market conditions (e.g., trending or volatile markets).
However, its reliability depends on market conditions and the trader’s interpretation.
This indicator is best used as a complementary tool rather than a standalone signal, helping traders visualize and quantify market momentum within a broader strategy.
DCSessionStatsOHLC_v1.0DCSessionStatsOHLC_v1.0
© dc_77 | Pine Script™ v6 | Licensed under Mozilla Public License 2.0
This indicator overlays customizable session-based OHLC (Open, High, Low, Close) statistics on your TradingView chart. It tracks price action within user-defined sessions, calculates average manipulation and distribution levels based on historical data, and visually projects these levels with lines and labels. Additionally, it provides a session count table to monitor bullish and bearish sessions.
Key Features:
Session Customization: Define session time (e.g., "0000-1600") and time zone (e.g., UTC, America/New_York). Analyze up to 20 historical sessions.
Anchor Line: Displays a vertical line at session start with customizable style, color, and optional label.
Session Open Line: Plots a horizontal line at the session’s opening price with adjustable appearance and label.
Manipulation Levels: Calculates and projects average price extensions (high/low relative to open) for manipulative moves, shown as horizontal lines with labels.
Distribution Levels: Displays average price ranges (high/low beyond open) for distribution phases, with customizable lines and labels.
Visual Flexibility: Adjust line styles (solid, dashed, dotted), colors, widths, label sizes, and projection offsets (bars beyond session start).
Session Stats Table: Optional table showing counts of bullish (close > open) and bearish (close < open) sessions, with configurable position and size.
How It Works:
Tracks OHLC data within each session and identifies session start/end based on the specified time range.
Computes averages for manipulation (e.g., low below open in bullish sessions) and distribution (e.g., high above open) levels from past sessions.
Projects these levels forward as horizontal lines, extending them by a user-defined offset for easy reference.
Updates a table with real-time bullish/bearish session counts.
Use Case:
Ideal for traders analyzing intraday or custom session behavior, identifying key price levels, and gauging market sentiment over time.
Toggle individual elements on/off and fine-tune visuals to suit your trading style.
LineReg Candles with Hma filterOverview
Purpose:
The indicator creates “LinReg Candles” by recalculating OHLC values using linear regression (to smooth out noise) and overlays additional features such as a customizable signal line and an HMA (Hull Moving Average) filter for trend detection. It also plots buy/sell signals and supports alerts.
Customization:
Users can adjust settings for signal smoothing (choosing SMA, EMA, or WMA), HMA periods (preset for Scalping/Intraday or custom values), linear regression length, colors, display options, and alert messages. Inputs are organized into groups for clarity.
Input Definitions
Signal Settings:
signal_length and smoothingType define the period and method used to smooth the close price, creating a signal line.
HMA Filter Settings:
A dropdown (t_type) lets you choose between Scalping, Intraday, or Custom. Based on this, three HMA periods (hma1, hma2, hma3) are set either to fixed values or user-defined custom inputs.
LinReg Settings:
Users can toggle linear regression for OHLC values (lin_reg) and set its period (linreg_length) to reduce price noise.
Color and Display Settings:
These control the colors for buy/sell candles, default bullish/bearish candles, markers, and background highlighting. Display toggles decide whether to show the background, signal line, HMA filter, and the recalculated candles.
Alert and Plot Customization:
Alerts can be enabled with custom messages. Additionally, line width and transparency for the plotted signal and HMA lines are adjustable.
Function Definitions
calcOHLC Function:
Computes OHLC values using linear regression if enabled. Otherwise, it returns the raw price values. This helps in reducing noise.
calcSignalLine Function:
Applies the chosen moving average (SMA, EMA, or WMA) to smooth the recalculated close values and generate a signal line.
getBaseCandleColor Function:
Determines the candle’s base color. It assigns buy/sell colors if specific crossover conditions are met; if not, it defaults to bullish (green) or bearish (red) based on the open/close relationship.
HMA Filter Calculations
HMA Computation:
The script calculates three HMAs (ma1, ma2, ma3) for different periods.
Trend Determination:
It sets a bullish condition (bcn) when ma3 is lower than both ma1 and ma2 with ma1 above ma2. Conversely, a bearish condition (scn) is set when ma3 is higher and the order of the HMAs indicates a downtrend.
Color Coding:
The HMA filter line color changes dynamically (green for bullish, red for bearish) based on these conditions.
Main Calculations
LinReg Candles:
Using the calcOHLC function, the script calculates the new open, high, low, and close values that reduce price noise.
Signal Line:
The signal line is computed on the basis of the smoothed close values using the selected moving average.
Buy/Sell Conditions:
Initial conditions are determined by checking if the recalculated close price crosses over (buy) or under (sell) the signal line.
The base candle color is then adjusted: if the HMA filter confirms the trend (bullish for buy or bearish for sell), the respective buy/sell colors are enforced.
A change in candle color compared to the previous bar triggers a buy or sell signal.
Plotting and Alerts
Visual Elements:
Background: Highlights the chart with a custom color when buy or sell conditions are met.
HMA Filter Line: Plotted (if enabled) with the dynamic color determined earlier.
Candles: The recalculated LinReg candles are drawn with colors based on the combined conditions.
Signal Line: Plotted over the candles with adjustable transparency and width.
Markers: Buy and sell markers are added to visually indicate signal points on the chart.
Alerts:
Alert conditions are set to trigger with predefined messages when a buy or sell signal is generated.
Modularity & Flexibility:
The code is structured with modular functions and clear grouping of inputs, making it highly customizable and user-friendly for open-source TradingView users.
Important how to track the real price on chart:
Locate the Chart Type Menu:
At the top of your TradingView chart, you’ll see a button showing the current chart type (likely a candlestick icon).
Select “Line” from the Dropdown:
Click that button and choose “Line” in the dropdown menu. This changes the main chart to a line chart of the real price.
Screenshots:
Volatility-Driven CandleThis indicator identifies and highlights "volatility-driven candles" on a price chart, based on their body size relative to market volatility. It calculates the Average True Range (ATR) over a 14-period window to measure volatility. A candle is considered "volatility-driven" if its body (the difference between the close and open prices) exceeds a user-defined threshold, which is specified as a multiple of the ATR.
The script distinguishes between bullish and bearish volatility-driven candles:
Bullish volatility-driven candles (where the close is greater than the open) are marked with a blue label.
Bearish volatility-driven candles (where the close is less than the open) are marked with an orange label.
Additionally, the background color of the chart is shaded:
Blue for bullish volatility-driven candles.
Orange for bearish volatility-driven candles.
This script helps traders easily spot significant price movements relative to volatility, highlighting potential reversal points based on candle body size.
Market DNA: Structure, Volume, Range, and SessionsMarket DNA: Structure, Volume, Range, and Sessions**
The Market DNA indicator combines market structure, volume analysis, trading ranges, and global trading sessions into a single, comprehensive tool for traders. It helps identify key price levels, volume patterns, consolidation phases, and active market periods, enabling informed trading decisions.
Market Structure Detects swing highs and lows using `ta.pivothigh` and `ta.pivotlow`, plotting them as red/green triangles to highlight support/resistance and trend reversals.
- Fractal Volume Zones (FVG): Highlights areas of significant buying/selling pressure by comparing current volume to an average over a lookback period; high-volume zones are marked with a semi-transparent blue background.
- Trading Range: Defines a price channel using the Average True Range (ATR) and a multiplier, creating upper/lower bands to identify consolidation, breakouts, and potential trade levels.
- Market Sessions: Highlights major global trading sessions (Asia, Europe, US) with colored backgrounds (purple, teal, yellow) to indicate liquidity and volatility shifts.
How It Works
- Swing points help analyze trends and reversals.
- FVG confirms price movements with high volume for stronger signals.
- Trading range bands assist in identifying breakout opportunities and setting stops/take-profits.
- Session highlights allow traders to adapt strategies based on regional activity.
Customization
- Adjust `swing_length` for sensitivity in detecting turning points.
- Modify `volume_lookback` to control volume averaging.
- Tune `range_multiplier` for wider/narrower trading bands.
- Enable/disable session highlighting via `session_highlight`.
Use Cases
- Identify trends and key levels using swing points and FVG.
- Spot breakout opportunities with trading range bands.
- Adapt strategies to regional trading sessions for optimal timing.
This all-in-one indicator provides a clear, customizable view of the market, empowering traders to make data-driven decisions across asset classes and timeframes.