BTC/USDC 50x Futures Strategy with Multi-TPScript in the workings for btc/usdt 50x leverage trading at 1% portfolio margin. Please do not use to save your money
Candlestick analysis
EMA 21 and SMA 50 Low ConditionsDescription:
This indicator highlights trend zones on a daily chart using the 21-day Exponential Moving Average (EMA) and 50-day Simple Moving Average (SMA). It’s designed to identify bullish conditions with two distinct background colors:
• Green Background: Signals a strong bullish trend. Appears when the low of the candle stays above the 21 EMA for 3 or more consecutive days, with either the 3rd or 4th day closing higher than its open (an “up” day). The green zone persists until a candle closes below the 21 EMA.
• Yellow Background: Indicates a potential support zone. Triggers when the low of the candle remains above the 50 SMA after the green condition ends, suggesting the price is still holding above a longer-term average. The yellow zone lasts until a candle closes below the 50 SMA.
Features:
• Plots the 21 EMA (blue line) and 50 SMA (orange line) for visual reference.
• Uses background colors to mark trend zones, making it easy to spot bullish phases and support levels.
• Optimized for daily timeframes, ideal for swing traders or long-term trend followers.
How to Use:
1. Apply the indicator to a daily chart.
2. Watch for the green background to identify strong bullish momentum (lows holding above the 21 EMA with an up close confirmation).
3. Look for the yellow background as a sign of potential support after the short-term trend weakens (lows above the 50 SMA).
4. Exit zones are triggered by closes below the respective averages (21 EMA for green, 50 SMA for yellow).
Notes:
• Best used on symbols with sufficient historical data to ensure accurate EMA and SMA calculations.
• The indicator prioritizes the green condition over yellow—green will override if both could apply.
Author’s Intent:
Created to help traders visualize sustained bullish trends and key support levels using simple moving average rules. Perfect for confirming uptrends and monitoring pullbacks within a broader bullish context.
BTC Trading RobotOverview
This Pine Script strategy is designed for trading Bitcoin (BTC) by placing pending orders (BuyStop and SellStop) based on local price extremes. The script also implements a trailing stop mechanism to protect profits once a position becomes sufficiently profitable.
________________________________________
Inputs and Parameter Setup
1. Trading Profile:
o The strategy is set up specifically for BTC trading.
o The systemType input is set to 1, which means the strategy will calculate trade parameters using the BTC-specific inputs.
2. Common Trading Inputs:
o Risk Parameters: Although RiskPercent is defined, its actual use (e.g., for position sizing) isn’t implemented in this version.
o Trading Hours Filter:
SHInput and EHInput let you restrict trading to a specific hour range. If these are set (non-zero), orders will only be placed during the allowed hours.
3. BTC-Specific Inputs:
o Take Profit (TP) and Stop Loss (SL) Percentages:
TPasPctBTC and SLasPctBTC are used to determine the TP and SL levels as a percentage of the current price.
o Trailing Stop Parameters:
TSLasPctofTPBTC and TSLTgrasPctofTPBTC determine when and by how much a trailing stop is applied, again as percentages of the TP.
4. Other Parameters:
o BarsN is used to define the window (number of bars) over which the local high and low are calculated.
o OrderDistPoints acts as a buffer to prevent the entry orders from being triggered too early.
________________________________________
Trade Parameter Calculation
• Price Reference:
o The strategy uses the current closing price as the reference for calculations.
• Calculation of TP and SL Levels:
o If the systemType is set to BTC (value 1), then:
Take Profit Points (Tppoints) are calculated by multiplying the current price by TPasPctBTC.
Stop Loss Points (Slpoints) are calculated similarly using SLasPctBTC.
A buffer (OrderDistPoints) is set to half of the take profit points.
Trailing Stop Levels:
TslPoints is calculated as a fraction of the TP (using TSLTgrasPctofTPBTC).
TslTriggerPoints is similarly determined, which sets the profit level at which the trailing stop will start to activate.
________________________________________
Time Filtering
• Session Control:
o The current hour is compared against SHInput (start hour) and EHInput (end hour).
o If the current time falls outside the allowed window, the script will not place any new orders.
________________________________________
Entry Orders
• Local Price Extremes:
o The strategy calculates a local high and local low using a window of BarsN * 2 + 1 bars.
• Placing Stop Orders:
o BuyStop Order:
A long entry is triggered if the current price is less than the local high minus the order distance buffer.
The BuyStop order is set to trigger at the level of the local high.
o SellStop Order:
A short entry is triggered if the current price is greater than the local low plus the order distance buffer.
The SellStop order is set to trigger at the level of the local low.
Note: Orders are only placed if there is no current open position and if the session conditions are met.
________________________________________
Trailing Stop Logic
Once a position is open, the strategy monitors profit levels to protect gains:
• For Long Positions:
o The script calculates the profit as the difference between the current price and the average entry price.
o If this profit exceeds the TslTriggerPoints threshold, a trailing stop is applied by placing an exit order.
o The stop price is set at a distance below the current price, while a limit (profit target) is also defined.
• For Short Positions:
o The profit is calculated as the difference between the average entry price and the current price.
o A similar trailing stop exit is applied if the profit exceeds the trigger threshold.
________________________________________
Summary
In essence, this strategy works by:
• Defining entry levels based on recent local highs and lows.
• Placing pending stop orders to enter the market when those levels are breached.
• Filtering orders by time, ensuring trades are only taken during specified hours.
• Implementing a trailing stop mechanism to secure profits once the trade moves favorably.
This approach is designed to automate BTC trading based on price action and dynamic risk management, although further enhancements (like dynamic position sizing based on RiskPercent) could be added for a more complete risk management system.
Perfect MA Touch (EMA/SMA + Font Size)Counts the bars from 1 to 7 to help you enter after a range has completed. Has multiple Moving averages, so when the first bar touches the Moving average, the 7th bar will either be trending or ranging.
Perfect MA Touch (1 & 7 Boxes + Font Size)This counts 7 candles from the first touch of the Moving average, helping you see if the range is breaking after the 8th candle to help you exit.
Machine Learning: Lorentzian ClassificationUpdated with just the indicator for easier analysis. Moving average with machine learning built in.
Adaptive Fibonacci Pullback System -FibonacciFluxAdaptive Fibonacci Pullback System (AFPS) - FibonacciFlux
This work is licensed under a Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). Original concepts by FibonacciFlux.
Abstract
The Adaptive Fibonacci Pullback System (AFPS) presents a sophisticated, institutional-grade algorithmic strategy engineered for high-probability trend pullback entries. Developed by FibonacciFlux, AFPS uniquely integrates a proprietary Multi-Fibonacci Supertrend engine (0.618, 1.618, 2.618 ratios) for harmonic volatility assessment, an Adaptive Moving Average (AMA) Channel providing dynamic market context, and a synergistic Multi-Timeframe (MTF) filter suite (RSI, MACD, Volume). This strategy transcends simple indicator combinations through its strict, multi-stage confluence validation logic. Historical simulations suggest that specific MTF filter configurations can yield exceptional performance metrics, potentially achieving Profit Factors exceeding 2.6 , indicative of institutional-level potential, while maintaining controlled risk under realistic trading parameters (managed equity risk, commission, slippage).
4 hourly MTF filtering
1. Introduction: Elevating Pullback Trading with Adaptive Confluence
Traditional pullback strategies often struggle with noise, false signals, and adapting to changing market dynamics. AFPS addresses these challenges by introducing a novel framework grounded in Fibonacci principles and adaptive logic. Instead of relying on static levels or single confirmations, AFPS seeks high-probability pullback entries within established trends by validating signals through a rigorous confluence of:
Harmonic Volatility Context: Understanding the trend's stability and potential turning points using the unique Multi-Fibonacci Supertrend.
Adaptive Market Structure: Assessing the prevailing trend regime via the AMA Channel.
Multi-Dimensional Confirmation: Filtering signals with lower-timeframe Momentum (RSI), Trend Alignment (MACD), and Market Conviction (Volume) using the MTF suite.
The objective is to achieve superior signal quality and adaptability, moving beyond conventional pullback methodologies.
2. Core Methodology: Synergistic Integration
AFPS's effectiveness stems from the engineered synergy between its core components:
2.1. Multi-Fibonacci Supertrend Engine: Utilizes specific Fibonacci ratios (0.618, 1.618, 2.618) applied to ATR, creating a multi-layered volatility envelope potentially resonant with market harmonics. The averaged and EMA-smoothed result (`smoothed_supertrend`) provides a robust, dynamic trend baseline and context filter.
// Key Components: Multi-Fibonacci Supertrend & Smoothing
average_supertrend = (supertrend1 + supertrend2 + supertrend3) / 3
smoothed_supertrend = ta.ema(average_supertrend, st_smooth_length)
2.2. Adaptive Moving Average (AMA) Channel: Provides dynamic market context. The `ama_midline` serves as a key filter in the entry logic, confirming the broader trend bias relative to adaptive price action. Extended Fibonacci levels derived from the channel width offer potential dynamic S/R zones.
// Key Component: AMA Midline
ama_midline = (ama_high_band + ama_low_band) / 2
2.3. Multi-Timeframe (MTF) Filter Suite: An optional but powerful validation layer (RSI, MACD, Volume) assessed on a lower timeframe. Acts as a **validation cascade** – signals must pass all enabled filters simultaneously.
2.4. High-Confluence Entry Logic: The core innovation. A pullback entry requires a specific sequence and validation:
Price interaction with `average_supertrend` and recovery above/below `smoothed_supertrend`.
Price confirmation relative to the `ama_midline`.
Simultaneous validation by all enabled MTF filters.
// Simplified Long Entry Logic Example (incorporates key elements)
long_entry_condition = enable_long_positions and
(low < average_supertrend and close > smoothed_supertrend) and // Pullback & Recovery
(close > ama_midline and close > ama_midline) and // AMA Confirmation
(rsi_filter_long_ok and macd_filter_long_ok and volume_filter_ok) // MTF Validation
This strict, multi-stage confluence significantly elevates signal quality compared to simpler pullback approaches.
1hourly filtering
3. Realistic Implementation and Performance Potential
AFPS is designed for practical application, incorporating realistic defaults and highlighting performance potential with crucial context:
3.1. Realistic Default Strategy Settings:
The script includes responsible default parameters:
strategy('Adaptive Fibonacci Pullback System - FibonacciFlux', shorttitle = "AFPS", ...,
initial_capital = 10000, // Accessible capital
default_qty_type = strategy.percent_of_equity, // Equity-based risk
default_qty_value = 4, // Default 4% equity risk per initial trade
commission_type = strategy.commission.percent,
commission_value = 0.03, // Realistic commission
slippage = 2, // Realistic slippage
pyramiding = 2 // Limited pyramiding allowed
)
Note: The default 4% risk (`default_qty_value = 4`) requires careful user assessment and adjustment based on individual risk tolerance.
3.2. Historical Performance Insights & Institutional Potential:
Backtesting provides insights into historical behavior under specific conditions (always specify Asset/Timeframe/Dates when sharing results):
Default Performance Example: With defaults, historical tests might show characteristics like Overall PF ~1.38, Max DD ~1.16%, with potential Long/Short performance variance (e.g., Long PF 1.6+, Short PF < 1).
Optimized MTF Filter Performance: Crucially, historical simulations demonstrate that meticulous configuration of the MTF filters (particularly RSI and potentially others depending on market) can significantly enhance performance. Under specific, optimized MTF filter settings combined with appropriate risk management (e.g., 7.5% risk), historical tests have indicated the potential to achieve **Profit Factors exceeding 2.6**, alongside controlled drawdowns (e.g., ~1.32%). This level of performance, if consistently achievable (which requires ongoing adaptation), aligns with metrics often sought in institutional trading environments.
Disclaimer Reminder: These results are strictly historical simulations. Past performance does not guarantee future results. Achieving high performance requires careful parameter tuning, adaptation to changing markets, and robust risk management.
3.3. Emphasizing Risk Management:
Effective use of AFPS mandates active risk management. Utilize the built-in Stop Loss, Take Profit, and Trailing Stop features. The `pyramiding = 2` setting requires particularly diligent oversight. Do not rely solely on default settings.
4. Conclusion: Advancing Trend Pullback Strategies
The Adaptive Fibonacci Pullback System (AFPS) offers a sophisticated, theoretically grounded, and highly adaptable framework for identifying and executing high-probability trend pullback trades. Its unique blend of Fibonacci resonance, adaptive context, and multi-dimensional MTF filtering represents a significant advancement over conventional methods. While requiring thoughtful implementation and risk management, AFPS provides discerning traders with a powerful tool potentially capable of achieving institutional-level performance characteristics under optimized conditions.
Acknowledgments
Developed by FibonacciFlux. Inspired by principles of Fibonacci analysis, adaptive averaging, and multi-timeframe confirmation techniques explored within the trading community.
Disclaimer
Trading involves substantial risk. AFPS is an analytical tool, not a guarantee of profit. Past performance is not indicative of future results. Market conditions change. Users are solely responsible for their decisions and risk management. Thorough testing is essential. Deploy at your own considered risk.
Candle Pattern Color PainterThis helps you isolate the most powerful candles on the chart. Use with significant levels and enter and exit at better times. The inside, outside, doji, hammer, shooter and engulfing candles can be colored to your own preference! enjoy
ICT V2 Scalping Bot - Nasdaq & DAX✅ Fibonacci zone logic
✅ RSI filter
✅ Engulfing candle confirmation
✅ Session restriction (Euro/US)
✅ Wyckoff logic placeholder
✅ HTF trend via moving averages
✅ ATR-based stop-loss and 2.5x TP
✅ Signal plotting on chart
Candle Body PercentageShow you the candle percentage that you can use.
Perfect to know strength candle.
EMA & RSI with SignalsThis is an indicator founded by Crypto Ming , which indicates the ema5 and ema12 along with the rsi 21 on top
6F SignalsRelease Notes
"6F Signals (With Labels) - Alternating" is a powerful Pine Script (version 5) indicator designed for TradingView, overlaying directly on your price chart to deliver clear buy and sell signals based on Heikin Ashi (HA) candlestick patterns. This indicator leverages HA’s smoothing capabilities to identify trend reversals and generate alternating signals, making it an intuitive tool for traders seeking precise entry and exit points.
Key Features
Heikin Ashi Integration: Calculates HA values (open, high, low, close) from raw OHLC data to reduce market noise and highlight trends more effectively than traditional candlesticks.
C Candle Detection: Identifies "C Candles" at trend reversal points (bullish to bearish or vice versa), using these as key reference levels for signal generation.
Alternating Signals: Generates buy signals when the HA close crosses above a C Candle’s high and sell signals when it crosses below a C Candle’s low, ensuring only the first signal per trend change is triggered to avoid repetition.
Visual Elements:
Lines: Plots solid blue lines (default) from a C Candle’s high to the buy signal bar and solid red lines (default) from a C Candle’s low to the sell signal bar, both with a 2-pixel width for clarity.
Labels: Displays green "Buy: " labels below the signal bar for buy signals and red "Sell: " labels above the signal bar for sell signals, showing the exact closing price.
Customization: Allows users to adjust the high line color (default blue) and low line color (default red) via input settings, tailoring the visuals to personal chart preferences.
How It Works
Trend Detection: Uses Heikin Ashi close and open prices to determine bullish (close > open) or bearish (close < open) trends.
C Candle Identification: Marks a C Candle when a trend reversal occurs, storing its high and low prices and bar index.
Signal Logic: Triggers a buy signal when the HA close exceeds the C Candle high or a sell signal when it falls below the C Candle low, but only after the C Candle bar and if no prior signal has been triggered for that reversal. Signals alternate to maintain clarity (e.g., a buy follows a sell, not another buy).
Visualization: Draws horizontal lines from the C Candle to the signal bar and adds labels at the signal point, making it easy to spot trading opportunities.
Visual Description
On your chart, you’ll see:
Candlesticks overlaid with blue and red horizontal lines connecting C Candles to signal bars.
Green "Buy: " labels below bullish candles where buy signals occur (e.g., "Buy: 98305").
Red "Sell: " labels above bearish candles where sell signals occur (e.g., "Sell: 91552.88").
Lines are solid, stopping at the signal bar, ensuring a clean and focused display.
Ideal For
Trend Traders: Perfect for those following reversals or momentum shifts using Heikin Ashi.
Visual Learners: Suits traders who prefer clear, labeled signals over complex calculations.
Customizers: Offers flexibility with adjustable line colors to match any chart theme.
Customization Options
High Line Color: Default blue, adjustable in settings.
Low Line Color: Default red, adjustable in settings.
Why Use It?
"6F Signals (With Labels) - Alternating" simplifies trend reversal trading by combining Heikin Ashi’s noise reduction with precise, alternating signals. Its visual clarity—through colored lines and labeled prices—helps traders act confidently without second-guessing. Test it on your charts to enhance your strategy with a straightforward, effective tool tailored for TradingView!
Feb 28
Release Notes
The 6F Signals (With Labels) - Alternating indicator is a versatile and visually intuitive tool designed to help traders identify potential buy and sell opportunities using Heikin Ashi (HA) trend analysis. By smoothing price action and detecting key reversal points, this indicator generates actionable signals overlaid directly on your chart, making it ideal for swing traders and trend followers.
Key Features:
Heikin Ashi-Based Analysis: Calculates its own HA values from raw OHLC data to smooth price fluctuations and enhance trend detection, independent of your chart’s display settings.
C Candle Detection: Identifies "C Candles" at points where the HA trend reverses (e.g., from bullish to bearish or vice versa), marking potential support and resistance zones.
Breakout Signals:
Buy Signal: Triggered when the HA close crosses above the high of the most recent C Candle, suggesting a potential upward breakout.
Sell Signal: Triggered when the HA close crosses below the low of the most recent C Candle, indicating a potential downward breakout.
Alternating Logic: Ensures signals alternate between buy and sell, allowing only one signal per C Candle to capture market swings and prevent consecutive signals of the same type.
Visual Indicators:
Horizontal Lines: Teal lines (high) and maroon lines (low) connect the C Candle’s high and low levels to the signal bar, highlighting key price levels.
Labels: Clear "Buy: " and "Sell: " labels appear at signal points, displaying the raw closing price for precise entry/exit reference.
Customizable Colors: Adjust the high and low line colors via input settings to match your chart preferences.
How It Works:
Trend Reversal Detection: The indicator uses HA calculations to detect trend changes, labeling these points as C Candles based on shifts in bullish (HA close > HA open) or bearish (HA close < HA open) conditions.
Signal Generation:
A buy signal occurs when the HA close breaks above the C Candle’s high.
A sell signal occurs when the HA close breaks below the C Candle’s low.
Signal Control: Only one signal is allowed per C Candle, and signals must alternate (e.g., a buy cannot follow another buy), ensuring a balanced trading approach.
Visualization:
Solid teal lines (width 2) extend from the C Candle’s high to the buy/sell signal bar.
Solid maroon lines (width 2) extend from the C Candle’s low to the signal bar.
Labels are placed below bars for buys (teal, semi-transparent) and above bars for sells (gray, semi-transparent), showing the raw close price.
Usage Tips:
Chart Compatibility: Works on any chart type (regular candlesticks or Heikin Ashi) since it calculates HA values internally from raw OHLC data.
Confirmation: Combine with other indicators (e.g., moving averages, volume) or price action analysis to validate signals and refine your trading strategy.
Customization: Modify the teal (high) and maroon (low) line colors in the settings to suit your visual preferences or chart theme.
Timeframes: Effective on various timeframes, though it shines in swing trading setups on daily or higher charts (e.g., 1D, as seen in BTC/USD examples).
Notes:
Price Display: Labels show the actual (raw) closing price at the signal bar, not the HA close, providing real-world entry/exit levels.
Signal Clarity: Cyan dots mark buy signals, and red dots mark sell signals on some chart setups, enhancing visibility alongside the labels and lines.
This indicator offers a systematic way to spot trend-driven opportunities, leveraging Heikin Ashi’s smoothing effect to reduce noise and focus on significant price movements. Whether you’re trading cryptocurrencies like BTC/USD or other assets, the 6F Signals indicator provides clear, actionable insights with a professional and user-friendly design.
Feb 28
Release Notes
The 6F Signals (With Labels) - Alternating indicator is a versatile and visually intuitive tool designed to help traders identify potential buy and sell opportunities using Heikin Ashi (HA) trend analysis. By smoothing price action and detecting key reversal points, this indicator generates actionable signals overlaid directly on your chart, making it ideal for swing traders and trend followers.
Key Features:
Heikin Ashi-Based Analysis: Calculates its own HA values from raw OHLC data to smooth price fluctuations and enhance trend detection, independent of your chart’s display settings.
C Candle Detection: Identifies "C Candles" at points where the HA trend reverses (e.g., from bullish to bearish or vice versa), marking potential support and resistance zones.
Breakout Signals:
Buy Signal: Triggered when the HA close crosses above the high of the most recent C Candle, suggesting a potential upward breakout.
Sell Signal: Triggered when the HA close crosses below the low of the most recent C Candle, indicating a potential downward breakout.
Alternating Logic: Ensures signals alternate between buy and sell, allowing only one signal per C Candle to capture market swings and prevent consecutive signals of the same type.
Visual Indicators:
Horizontal Lines: Teal lines (high) and maroon lines (low) connect the C Candle’s high and low levels to the signal bar, highlighting key price levels.
Labels: Clear "Buy: " and "Sell: " labels appear at signal points, displaying the raw closing price for precise entry/exit reference.
Customizable Colors: Adjust the high and low line colors via input settings to match your chart preferences.
How It Works:
Trend Reversal Detection: The indicator uses HA calculations to detect trend changes, labeling these points as C Candles based on shifts in bullish (HA close > HA open) or bearish (HA close < HA open) conditions.
Signal Generation:
A buy signal occurs when the HA close breaks above the C Candle’s high.
A sell signal occurs when the HA close breaks below the C Candle’s low.
Signal Control: Only one signal is allowed per C Candle, and signals must alternate (e.g., a buy cannot follow another buy), ensuring a balanced trading approach.
Visualization:
Solid teal lines (width 2) extend from the C Candle’s high to the buy/sell signal bar.
Solid maroon lines (width 2) extend from the C Candle’s low to the signal bar.
Labels are placed below bars for buys (teal, semi-transparent) and above bars for sells (gray, semi-transparent), showing the raw close price.
Usage Tips:
Chart Compatibility: Works on any chart type (regular candlesticks or Heikin Ashi) since it calculates HA values internally from raw OHLC data.
Confirmation: Combine with other indicators (e.g., moving averages, volume) or price action analysis to validate signals and refine your trading strategy.
Customization: Modify the teal (high) and maroon (low) line colors in the settings to suit your visual preferences or chart theme.
Timeframes: Effective on various timeframes, though it shines in swing trading setups on daily or higher charts (e.g., 1D, as seen in BTC/USD examples).
Notes:
Price Display: Labels show the actual (raw) closing price at the signal bar, not the HA close, providing real-world entry/exit levels.
Signal Clarity: Cyan dots mark buy signals, and red dots mark sell signals on some chart setups, enhancing visibility alongside the labels and lines.
This indicator offers a systematic way to spot trend-driven opportunities, leveraging Heikin Ashi’s smoothing effect to reduce noise and focus on significant price movements. Whether you’re trading cryptocurrencies like BTC/USD or other assets, the 6F Signals indicator provides clear, actionable insights with a professional and user-friendly design.
Feb 28
Release Notes
The 6F Signals (With Labels) - Alternating indicator is a versatile and visually intuitive tool designed to help traders identify potential buy and sell opportunities using Heikin Ashi (HA) trend analysis. By smoothing price action and detecting key reversal points, this indicator generates actionable signals overlaid directly on your chart, making it ideal for swing traders and trend followers.
Key Features:
Heikin Ashi-Based Analysis: Calculates its own HA values from raw OHLC data to smooth price fluctuations and enhance trend detection, independent of your chart’s display settings.
C Candle Detection: Identifies "C Candles" at points where the HA trend reverses (e.g., from bullish to bearish or vice versa), marking potential support and resistance zones.
Breakout Signals:
Buy Signal: Triggered when the HA close crosses above the high of the most recent C Candle, suggesting a potential upward breakout.
Sell Signal: Triggered when the HA close crosses below the low of the most recent C Candle, indicating a potential downward breakout.
Alternating Logic: Ensures signals alternate between buy and sell, allowing only one signal per C Candle to capture market swings and prevent consecutive signals of the same type.
Visual Indicators:
Horizontal Lines: Teal lines (high) and maroon lines (low) connect the C Candle’s high and low levels to the signal bar, highlighting key price levels.
Labels: Clear "Buy: " and "Sell: " labels appear at signal points, displaying the raw closing price for precise entry/exit reference.
Customizable Colors: Adjust the high and low line colors via input settings to match your chart preferences.
How It Works:
Trend Reversal Detection: The indicator uses HA calculations to detect trend changes, labeling these points as C Candles based on shifts in bullish (HA close > HA open) or bearish (HA close < HA open) conditions.
Signal Generation:
A buy signal occurs when the HA close breaks above the C Candle’s high.
A sell signal occurs when the HA close breaks below the C Candle’s low.
Signal Control: Only one signal is allowed per C Candle, and signals must alternate (e.g., a buy cannot follow another buy), ensuring a balanced trading approach.
Visualization:
Solid teal lines (width 2) extend from the C Candle’s high to the buy/sell signal bar.
Solid maroon lines (width 2) extend from the C Candle’s low to the signal bar.
Labels are placed below bars for buys (teal, semi-transparent) and above bars for sells (gray, semi-transparent), showing the raw close price.
Usage Tips:
Chart Compatibility: Works on any chart type (regular candlesticks or Heikin Ashi) since it calculates HA values internally from raw OHLC data.
Confirmation: Combine with other indicators (e.g., moving averages, volume) or price action analysis to validate signals and refine your trading strategy.
Customization: Modify the teal (high) and maroon (low) line colors in the settings to suit your visual preferences or chart theme.
Timeframes: Effective on various timeframes, though it shines in swing trading setups on daily or higher charts (e.g., 1D, as seen in BTC/USD examples).
Notes:
Price Display: Labels show the actual (raw) closing price at the signal bar, not the HA close, providing real-world entry/exit levels.
Signal Clarity: Cyan dots mark buy signals, and red dots mark sell signals on some chart setups, enhancing visibility alongside the labels and lines.
This indicator offers a systematic way to spot trend-driven opportunities, leveraging Heikin Ashi’s smoothing effect to reduce noise and focus on significant price movements. Whether you’re trading cryptocurrencies like BTC/USD or other assets, the 6F Signals indicator provides clear, actionable insights with a professional and user-friendly design.
Feb 28
Release Notes
The 6F Signals indicator uses Heikin Ashi candles to identify high-probability buy and sell signals on your chart, perfect for traders of stocks, forex, or cryptocurrencies like Bitcoin. It displays solid teal and maroon lines to mark the high and low of key "C Candles" (trend change points), along with dynamic dashed lines that act as trailing stop-loss levels—teal lines rise for buy signals, and maroon lines fall for sell signals. Optional labels show the exact price of each signal, and you can toggle small triangles to visually highlight buy and sell opportunities. Ideal for spotting trend reversals and managing risk with automatic stop-loss adjustments.
Features:
Buy/Sell Signals: Automatically detects buy signals (blue labels) when the price crosses above the C High, and sell signals (gray labels) when it crosses below the C Low, based on Heikin Ashi calculations.
Trailing Stops: Dashed teal lines step up for buy signals (using Heikin Ashi lows), and dashed maroon lines step down for sell signals (using Heikin Ashi highs), helping you track dynamic stop-loss levels.
Customizable: Adjust the colors of the high and low lines, and toggle labels or arrows for signals via the input settings.
Overlay: Works directly on your price chart, making it easy to see signals alongside price action.
How to Use:
Add the indicator to your chart (e.g., Bitcoin/USD, 1-day timeframe).
Look for blue "Buy" labels or triangles below the price for long opportunities, and gray "Sell" labels or triangles above the price for short opportunities.
Use the trailing stop lines (teal for buys, maroon for sells) to manage your risk and adjust your stop-loss as the price moves.
Customize the colors or toggle labels/arrows in the settings to suit your trading style.
Note: This indicator is designed for educational and informational purposes. Always test it on a demo account before using it in live trading.
Mar 1
Release Notes
Let’s break down “6F Signals”
How It Works: The Nitty-Gritty
The script starts by smoothing out price noise, making trends easier to spot than with regular candlesticks. It checks if the HA close is above or below the HA open to determine if the trend’s bullish (upward) or bearish (downward).
C Candle Detection: This is where the magic happens. The indicator hunts for “C Candles”—key reversal points where the HA trend flips, like from bullish to bearish or vice versa. When it spots one, it locks in the high and low prices of that candle, along with the bar index, as reference levels for signals. These C Candles act like critical support and resistance zones.
Signal Generation: Here’s the play-by-play for the signals:
Buy Signal: A buy signal fires when the HA close breaks above the high of the most recent C Candle. This suggests a potential upward breakout or trend reversal.
Sell Signal: A sell signal triggers when the HA close drops below the low of the most recent C Candle, indicating a possible downward breakout or reversal.
Alternating Logic: The script’s smart—it only allows one signal (buy or sell) per C Candle and ensures signals alternate. So, you won’t get back-to-back buy signals or sell signals, keeping things clean and preventing confusion.
Signal Control & Timing: The indicator tracks whether a signal’s already been triggered for a given C Candle. It won’t fire another signal until a new C Candle forms and the conditions are met. It also checks the bar index to ensure signals only happen after the C Candle bar, keeping everything timed right.
Visualization on Your Chart:
Lines: It draws solid lines from the C Candle’s high and low to the bar where the signal occurs. By default, high lines are blue (or customizable), and low lines are gray (also customizable), with a clean 2-pixel width. These lines stop at the signal bar, giving you a clear visual of the price levels driving the signal.
Labels: When a signal hits, you’ll see green “Buy: ” labels below the bar for buys and gray “Sell: ” labels above the bar for sells. These show the raw closing price at the signal bar—not the HA close—so you get real-world entry/exit levels.
Optional Arrows: You can toggle small triangles—blue for buys (below the bar) and gray for sells (above the bar)—to visually pop those signals if you want extra flair.
Customization & Flexibility: You’re in control, bro. The script lets you tweak the high and low line colors (default blue for buys, gray for sells) via input settings, plus toggle on or off labels, arrows, and even additional data like high/low prices in the labels. It’s built for any chart type (regular candlesticks or HA) since it calculates HA internally, so it’s versatile AF.
Why It’s Fire for Traders
This indicator’s perfect for swing traders or day traders chasing trends in volatile markets, like crypto (think BTC/USD) or forex. It uses HA’s noise-reducing power to focus on big moves, and the alternating signal logic keeps you from getting overwhelmed. The visual cues—lines, labels, and optional arrows—make it easy to spot opportunities, whether you’re on a 1D chart or shorter timeframes. Pair it with other tools like moving averages or volume for confirmation, and you’ve got a solid setup to ride those market waves.
Notes to Keep It Real
The prices in the labels are the raw close, not HA values, so you’re getting actionable levels for trading.
It’s educational and informational—always test it on a demo account before going live, yeah?
Works across assets, but it really shines on charts with clear trends, like swing setups on daily or higher timeframes.
So, there you have it—smooth, detailed, and ready to help you dominate your charts. This “6F Signals” script isn’t just a tool; it’s your trading co-pilot, keeping it clean, sharp, and totally customizable for your style. Let’s crush it!
7 days ago
Release Notes
Overview
"6F Signals (With Labels) - Alternating" is a powerful Pine Script (v5) indicator for TradingView, designed to help traders identify high-probability buy and sell opportunities using Heikin Ashi (HA) trend analysis. By smoothing price action and detecting key reversal points, this indicator overlays clear, alternating signals directly on your chart—perfect for swing traders, trend followers, and visual learners.
Key Features
Heikin Ashi Smoothing: Calculates HA values (open, high, low, close) from raw OHLC data to reduce market noise and enhance trend detection, independent of your chart type.
C Candle Detection: Identifies "C Candles" at trend reversal points (bullish to bearish or vice versa), marking potential support and resistance zones.
Alternating Breakout Signals:
Buy Signal: Triggers when the HA close crosses above the C Candle’s high, suggesting an upward breakout.
Sell Signal: Triggers when the HA close crosses below the C Candle’s low, indicating a downward breakout.
Signals alternate (e.g., a buy follows a sell) to avoid repetition and maintain clarity.
Visual Elements:
Lines: Solid teal lines (high) and maroon lines (low) connect the C Candle’s levels to the signal bar, with a 2-pixel width for visibility.
Labels: Green "Buy: " labels appear below buy signal bars, and red "Sell: " labels appear above sell signal bars, showing the raw closing price.
Optional Arrows: Toggle small triangles (blue for buys, gray for sells) to highlight signals.
Customization: Adjust high and low line colors (default teal and maroon) and toggle labels or arrows via input settings to match your chart preferences.
How It Works
Trend Detection: Uses HA close and open prices to identify bullish (close > open) or bearish (close < open) trends.
C Candle Identification: Marks a C Candle at trend reversals, storing its high, low, and bar index.
Signal Logic: Triggers a buy when the HA close exceeds the C Candle high, or a sell when it falls below the C Candle low. Signals only fire after the C Candle bar and alternate to keep the chart clean.
Visualization: Draws horizontal lines from the C Candle to the signal bar and adds labels (and optional arrows) at the signal point for easy identification.
Visual Description
Candlesticks: Overlaid with teal (high) and maroon (low) lines connecting C Candles to signal bars.
Labels: Green "Buy: " below bullish candles (e.g., "Buy: 98305") and red "Sell: " above bearish candles (e.g., "Sell: 91552.88").
Lines: Solid, stopping at the signal bar for a clean display.
Usage Tips
Chart Compatibility: Works on any chart type (regular candlesticks or Heikin Ashi) since it calculates HA values internally.
Confirmation: Pair with other indicators (e.g., moving averages, volume) or price action analysis to validate signals.
Timeframes: Shines in swing trading on daily or higher charts (e.g., 1D for BTC/USD), but effective across various timeframes.
Customization: Modify line colors or toggle labels/arrows in the settings to suit your style.
Why Use It?
This indicator simplifies trend reversal trading by combining Heikin Ashi’s noise reduction with precise, alternating signals. Its visual clarity—through colored lines, labeled prices, and optional arrows—helps traders act confidently. Whether you’re trading cryptocurrencies like BTC/USD, stocks, or forex, "6F Signals" offers a straightforward, effective tool to enhance your strategy.
Notes
Price Display: Labels show the raw closing price at the signal bar (not HA close) for real-world entry/exit levels.
Signal Clarity: Optional cyan dots (buy) and red dots (sell) can enhance visibility on some setups.
Disclaimer: For educational purposes. Always test on a demo account before live trading.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Ravi_021
Follow
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
1-Minute Gap Linesgood script to auto mark gaps on the chart, shows flash wick zones and reversal zones when used with news events and DXY and Gold correlation
Custom NYSE Hourly Intervals (Gris Extra Claro/T)NYSE Custom Hourly Intervals (Background Shading)
Indicator Overview:
This TradingView indicator visually highlights specific hourly intervals during the NYSE trading session (9:30 AM - 4:00 PM ET) using background shading. Its purpose is to help traders easily identify these key periods while analyzing price action.
Features:
Hourly Segmentation: Clearly marks the following hourly blocks within the NYSE session:
9:30 - 10:00 ET
10:00 - 11:00 ET
11:00 - 12:00 ET
12:00 - 13:00 ET
13:00 - 14:00 ET
14:00 - 15:00 ET
15:00 - 16:00 ET
Alternating Background: Uses a subtle, alternating background pattern for visual distinction:
Transparent: Applied during the 9:30-10:00, 11:00-12:00, 13:00-14:00, and 15:00-16:00 intervals (shows your default chart background).
Very Light Gray: Applied during the 10:00-11:00, 12:00-13:00, and 14:00-15:00 intervals.
Timeframe Restriction: The background shading is active only on chart timeframes of 30 minutes or less (e.g., 30m, 15m, 5m, 1m). It will not appear on higher timeframes.
Session Restriction: Shading only occurs during the defined NYSE session hours (9:30 AM - 4:00 PM ET).
Customization: The color and transparency level of the "Very Light Gray" shading can be adjusted in the indicator's settings.
Purpose & Use Case:
This indicator is ideal for intraday traders who want a clean visual guide to track price movement within specific hourly segments of the NYSE trading day, without needing complex overlays.
Relative Strength IndexRSI means "Relative Strength Index". It’s a momentum indicator in trading that shows if an asset is overbought or oversold. It moves between 0 and 100—above 70 means maybe too high (overbought), below 30 maybe too low (oversold). Traders use it to spot possible reversals.
Trend Count with Numbers (Heiken Ashi)This indicator tracks the direction of the trend using Heiken Ashi candles and displays a count of consecutive bars moving in the same direction. The count increases for each bar that continues the trend and resets when the trend changes. The numbers are displayed in white text with a black label background above the bars during an uptrend and below the bars during a downtrend.
Perfect for visualizing the strength of the trend on any intraday chart.
BTC High-Reliability Candlestick Patterns🔍 BTC High-Reliability Candlestick Patterns
This script highlights bullish and bearish candlestick patterns based on their reliability level (High / Moderate) and trend role (Reversal / Continuation). It's optimized for intraday traders on BTC.
✅ Key Features
📊 Legend Overlay: Visual legend with emoji and color codes for clarity.
⏱️ Timeframe Restriction: Works only on intraday charts — 2min, 3min, 8min, 10min, 15min, 30min, 60min.
🔄/🔁 Pattern Types:
🔄 Reversal patterns
🔁 Continuation patterns
🎯 Reliability Levels & Colors:
🟩 BuH = High Bullish (Lime Green)
🟢 BuM = Moderate Bullish (Dark Green)
🟥 BeH = High Bearish (Light Red)
🔴 BeM = Moderate Bearish (Dark Red)
🚨 Built-in alerts & box/label visualizations for fast recognition.
📈 Patterns Included:
Bullish High: Morning Star, Three Inside Up, Bullish Engulfing, etc.
Bullish Moderate: Stick Sandwich, Ladder Bottom, Piercing Line, etc.
Bearish High: Evening Star, Three Crows, Bearish Engulfing, etc.
Bearish Moderate: Harami Cross, In Neck, Side By Side White Lines, etc.
(Its open source I used Claude AI and Chat GPT to create the whole code)
Pin Bar Detector (v1.0.0) Description:
This script detects Pin Bar candlestick patterns based on their shadows and body size.
It analyzes the candle's structure and trend direction using moving averages
to determine valid Pin Bars in an uptrend or downtrend.
The purpose of this script is to help traders identify potential reversal points
by spotting Pin Bar formations in line with the prevailing market trend.
Heikin Ashi Buy/Sell with Custom TimeframeSimple indicator that can catch trend,it helps to catch trends,prevent noise and uses heikin ashi calculation
Volume Spikes Pro - relative volume comparisonThe Enhanced Volume Spike Detector builds on the basic relative volume comparison by adding price direction analysis and more sophisticated categorization of volume events.
Directional Analysis
This indicator doesn't just identify volume spikes, but categorizes them as:
- **Bullish**: Volume spike with upward price movement
- **Bearish**: Volume spike with downward price movement
- **Neutral**: Volume spike with minimal price change
- **Strong**: Exceptional volume spike (2.5x+ default) regardless of direction
Visual Classification
Different color schemes instantly communicate the volume spike type:
- Green for bullish volume (price rising)
- Red for bearish volume (price falling)
- Dark Green for strong bullish volume
- Dark Red for strong bearish volume (price falling)
Customization Tips
- For day trading or short timeframes: Consider reducing MA length to 10-15
- For swing trading: The default 20 is appropriate
- For position trading or longer timeframes: Consider increasing to 30-50
- For more selective signals: Increase multiplier to 2.0 or higher
- For more comprehensive detection: Decrease multiplier to 1.3-1.4