MAD_MacD_MTFThis is Educational purpose only but not financial advice. Script modified on top Chris Moody.
Educational
Supertrend - PineConnectorThis strategy uses the Supertrend indicator to identify trend-based buy and sell opportunities. A trade is entered when the price crosses over or under the Supertrend line:
Buy Entry: Triggered when the price crosses above the Supertrend line.
Sell Entry: Triggered when the price crosses below the Supertrend line.
Exit Conditions: Opposite crossover signals indicate a potential trend reversal and are used to close positions.
FA Dashboard: Valuation, Profitability & SolvencyFundamental Analysis Dashboard: A Multi-Dimensional View of Company Quality
This script presents a structured and customizable dashboard for evaluating a company’s fundamentals across three key dimensions: Valuation, Profitability, and Solvency & Liquidity.
Unlike basic fundamental overlays, this dashboard consolidates multiple financial indicators into visual tables that update dynamically and are grouped by category. Each ratio is compared against configurable thresholds, helping traders quickly assess whether a company meets certain value investing criteria. The tables use color-coded checkmarks and fail marks (✔️ / ❌) to visually signal pass/fail evaluations.
▶️ Key Features
Valuation Ratios:
Earnings Yield: EBIT / EV
EV / EBIT and EV / FCF: Enterprise value metrics for profitability
Price-to-Book, Free Cash Flow Yield, PEG Ratio
Profitability Ratios:
Return on Invested Capital (ROIC), ROE, Operating, Net & Gross Margins, Revenue Growth
Solvency & Liquidity Ratios:
Debt to Equity, Debt to EBITDA, Current Ratio, Quick Ratio, Altman Z-Score
Each of these metrics is calculated using request.financial() and can be viewed using either annual (FY) or quarterly (FQ) data, depending on user preference.
🧠 How to Use
Add the script to any stock chart.
Select your preferred data period (FY or FQ).
Adjust thresholds if desired to match your personal investing strategy.
Review the visual dashboard to see which metrics the company passes or fails.
💡 Why It’s Useful
This tool is ideal for traders or long-term investors looking to filter stocks using fundamental criteria. It draws inspiration from principles used by Benjamin Graham, Warren Buffett, and Joel Greenblatt, offering a fast and informative way to screen quality businesses.
This is not a repackaged built-in or autogenerated script. It’s a custom-built, interactive tool tailored for fundamental analysis using official financial data provided via Pine Script’s request.financial().
Darvas Box Breakout Signals v6 (Manus)Purpose:
This script is designed for TradingView to automatically identify potential "Darvas Boxes" on your price chart and signal when the price breaks out of these boxes.
How it Works:
Finds Highs: It looks back over a set number of bars (default is 20, but you can change this) to find the highest price point.
Confirms Box Top: It waits until the price stays below that high point for a specific number of bars (default is 3) to confirm the top of the box.
Confirms Box Bottom: After the top is confirmed, it looks for the lowest price reached and waits until the price stays above that low point for the same number of bars (3) to confirm the bottom of the box.
Draws Box (Optional): If enabled in the settings, it draws lines on the chart representing the top and bottom of the confirmed box.
What Signals It Shows:
Breakout Signal: When the price closes above the top line of a confirmed box, it plots a green upward-pointing triangle above that price bar. This suggests the stock might be starting a move higher.
Breakdown Signal: When the price closes below the bottom line of a confirmed box, it plots a red downward-pointing triangle below that price bar. This suggests the stock might be starting a move lower.
Key Features:
Uses the Darvas Box theory logic.
Provides clear visual signals for potential entries based on breakouts or breakdowns.
Allows customization of the lookback period and confirmation bars via the indicator settings.
Written in Pine Script version 6.
Remember, this script just provides signals based on price patterns; it doesn't predict the future or guarantee profits. It should be used as one tool within the larger trading plan we discussed, especially considering risk management.
NuEdge EMA Retest StrategyThis strategy is designed for the 2-minute chart and performs best on highly liquid ETFs like SPY, QQQ, and IWM.
It combines:
PDH/PDL breaks (Previous Day High/Low)
13/48/200 EMA trend filtering
Pullback-to-EMA entries
R:R projections and dynamic visual coaching
Time-based filters (default: 9:30 AM to 4:00 PM EST)
Optional day filters (e.g., exclude Mondays or Fridays)
⚠️ Built for momentum conditions — not ideal during chop, premarket, or low-volume sessions.
📈 Optimized for SPY, QQQ, IWM, and also performs well on:
TSLA
AAPL
AMD
META
(All using 2-minute timeframe)
Toggles available for:
Entry/TP markers
R:R visualization
Session restrictions
Durbtrade BBW Bollinger Bands Width (+EMA) [Main Chart]If green arrow comes then it means volatility is coming
WaveFunction MACD (TechnoBlooms)WaveFunction MACD — The Next Generation of Market Momentum
WaveFunction MACD is an advanced hybrid momentum indicator that merges:
• The classical MACD crossover logic (based on moving averages)
• Wave physics (modeled through phase energy and cosine functions)
• Hilbert Transform theory from signal processing
• The concept of a wavefunction from quantum mechanics, where price action is seen as a probabilistic energy wave—not just a trend.
✨ Key Features of WaveFunction MACD
• Wave Energy Logic : Instead of using just price and MA differences, this indicator computes phase-corrected momentum using the cosine of the wave phase angle — revealing the true energy behind market moves.
• Phase-Based Trend Detection : It reads cycle phases using Hilbert Transform-like logic, allowing you to spot momentum before it becomes visible in price.
• Ultra-Smooth Flow : The main line and histogram are built to follow price flow smoothly — eliminating much of the noise found in traditional MACD indicators.
• Signal Amplification via Energy Histogram : The histogram doesn’t just show momentum changes — it shows the intensity of wave energy, allowing you to confirm the strength of the trend.
• Physics-Driven Structure : The algorithm is rooted in real-world wave mechanics, bringing a scientific edge to trading — ideal for traders who believe in natural models like cycles and harmonics.
• Trend Confirmation & Early Reversals : It can confirm strong trends and also catch subtle shifts that often precede big reversals — giving you both reliability and anticipation.
• Ready for Fusion : Designed to work seamlessly with liquidity zones, price action, order blocks, and structure trading — a perfect fit for modern trading systems.
🧪 The Science Behind It
This tool blends:
• Hilbert Transform: Measures the phase of a waveform (price cycle) to detect turning points
• Cosine Phase Energy: Calculates true wave energy using the cosine of the phase angle, revealing the strength behind price movements
• Quantum Modeling: Views price like a wavefunction, offering predictive insight based on phase dynamics
SessionBarThis PineScript is designed to display various visual elements on a chart to help traders track session activity within the lower time frames, specifically for the USA main session. Here's a breakdown of the script's functionality:
Session Tracking
The script tracks the USA main session, defined as 9:30 AM to 4:00 PM ET, Monday through Friday.
Visual Elements
The script displays various visual elements, including:
1. Session Open and Close Lines: Lines marking the open and close of the USA main session.
2. Session High and Low Lines: Lines marking the high and low of the USA sessions.
3. Active Session Bar: A Realtime Candle as the current session bar.
4. Overnight Session Bar: A Realtime Candle as the overnight session bar.
5. Session Timer: A label displaying the time left until the next session.
6. Background Colors: Colors indicating different session periods, such as pre-market, post-market, and active session.
Customization
The script allows users to customize various aspects, including:
1. Session Time: Users can adjust the session time.
2. Colors: Users can choose colors for different visual elements.
3. Display Options: Users can toggle the display of various visual elements.
Overall, this script provides a educational tool for traders to track session activity and visualize key market data.
Missing Candle AnalyzerMissing Candle Analyzer: Purpose and Importance
Overview The Missing Candle Analyzer is a Pine Script tool developed to detect and analyze gaps in candlestick data, specifically for cryptocurrency trading. In cryptocurrency markets, it is not uncommon to observe missing candles—time periods where no price data is recorded. These gaps can occur due to low liquidity, exchange downtime, or data feed issues.
Purpose The primary purpose of this tool is to identify missing candles in a given timeframe and provide detailed statistics about these gaps. Missing candles can introduce significant errors in trading strategies, particularly those relying on continuous price data for technical analysis, backtesting, or automated trading. By detecting and quantifying these gaps, traders can: Assess the reliability of the price data. Adjust their strategies to account for incomplete data. Avoid potential miscalculations in indicators or trade signals that assume continuous candlestick data.
Why It Matters In cryptocurrency trading, where volatility is high and trading decisions are often made in real-time, missing candles can lead to: Inaccurate Technical Indicators : Indicators like moving averages, RSI, or MACD may produce misleading signals if candles are missing. Faulty Backtesting : Historical data with gaps can skew backtest results, leading to over-optimistic or unreliable strategy performance. Execution Errors : Automated trading systems may misinterpret gaps, resulting in unintended trades or missed opportunities.
By using the Missing Candle Analyzer, traders gain visibility into the integrity of their data, enabling them to make informed decisions and refine their strategies to handle such anomalies.
Functionality
The script performs the following tasks: Gap Detection : Identifies time gaps between candles that exceed the expected timeframe duration (with a configurable multiplier for tolerance). Statistics Calculation : Tracks total candles, missing candles, missing percentage, and the largest gap duration. Visualization : Displays a table with analysis results and optional markers on the chart to highlight gaps. User Customization : Allows users to adjust font size, table position, and whether to show gap markers.
Conclusion The Missing Candle Analyzer is a critical tool for cryptocurrency traders who need to ensure the accuracy and completeness of their price data. By highlighting missing candles and providing actionable insights, it helps traders mitigate risks and build more robust trading strategies. This tool is especially valuable in the volatile and often unpredictable cryptocurrency market, where data integrity can directly impact trading outcomes.
MC High/LowMC High/Low is a minimalist precision tool designed to show traders the most critical price levels — the High and Low of the current Day and Week — in real-time, without any visual clutter or historical trails.
It automatically tracks:
🔼 HOD – High of Day
🔽 LOD – Low of Day
📈 HOW – High of Week
📉 LOW – Low of Week
Each level is plotted using simple black horizontal lines, updated dynamically as the session evolves. Labels are clearly marked and positioned to the right of the screen for easy reference.
There’s no trailing history, no background colors, and no distractions — just pure price structure for clean confluence.
Perfect for:
Intraday scalpers
Swing traders
Liquidity & range traders
This is a tool built for sniper-level execution — straight from the MadCharts mindset.
🛠 Created by:
🔒 Version: Public Release
🎯 Use this with your favorite price action, liquidity, or market structure strategies.
Average Daily LiquidityIt is important to have sufficient daily trading value (liquidity) to ensure you can easily enter and, importantly, exit the trade. This indicator allows you to see if the traded value of a stock is adequate. The default average is 10 periods and it is common to average the daily traded value as both price and volume can have spikes causing trading errors. Some investors use a 5 period for a week, 10 period for 2 weeks, 20 or 21 period for 4 weeks/month and 65 periods for a quarter. You need to ascertain your buying amount such as $10000 and then have the average daily trading value be your comfortable moving average more such as average liquidity is more than 10 x MA(close x volume) or $100000 in this example. The value is extremely important for small and micro cap stocks you may wish to purchase.
Market Structure: BoS & CHoCH (Math by Thomas)📌 Description:
Market Structure: BoS & CHoCH (Math by Thomas) is a clean and reliable market structure tool designed to visually mark Swing Highs, Swing Lows, and classify each one as HH (Higher High), LH (Lower High), LL (Lower Low), or HL (Higher Low) based on price action. It also detects and labels Break of Structure (BoS) and Change of Character (CHoCH) to help identify potential continuation or reversal in trend.
🛠️ How to Use:
Add the indicator to your chart (works on any timeframe and asset).
Adjust the "Swing Sensitivity" input to fine-tune how many bars the script uses to detect a swing high/low. A higher number smooths out noise.
The script will automatically:
Mark every confirmed swing high or low with a solid line.
Label the swing as HH, LH, HL, or LL depending on its relative position.
Show BoS (trend continuation) or CHoCH (trend reversal) labels with the current trend direction.
Toggle labels or lines on or off with the corresponding checkboxes in settings.
🔍 Tip:
Use this indicator alongside other tools like volume or RSI for more confident entries. A CHoCH followed by two BoS in the same direction often signals a strong trend reversal.
RedAndBlue M2 Global Liquidity Index (Lag in Days)This indicator shows M2 with a lag in days.
This lag feature is used to analyze the correlation with BTC, as it is currently believed that BTC follows the M2 chart with a lag of several weeks.
Credit to @Mik3Christ3ns3n for original M2 indicator (without lag in days feature)
Volume towers by GSK-VIZAG-AP-INDIAVolume Towers by GSK-VIZAG-AP-INDIA
Overview :
This Pine Script visualizes volume activity and provides insights into market sentiment through the display of buying and selling volume, alongside moving averages. It highlights high and low volume candles, enabling traders to make informed decisions based on volume anomalies. The script is designed to identify key volume conditions, such as below-average volume, high-volume candles, and their relationship to price movement.
Script Details:
The script calculates a Simple Moving Average (SMA) of the volume over a user-defined period and categorizes volume into several states:
Below Average Volume: Volume is below the moving average.
High Volume: Volume exceeds the moving average by a multiplier (configurable by the user).
Low Volume: Volume that doesn’t qualify as either high or below average.
Additionally, the script distinguishes between buying volume (when the close is higher than the open) and selling volume (when the close is lower than the open). This categorization is color-coded for better visualization:
Green: Below average buying volume.
Red: Below average selling volume.
Blue: High-volume buying.
Purple: High-volume selling.
Black: Low volume.
The Volume Moving Average (SMA) is plotted as a reference line, helping users identify trends in volume over time.
Features & Customization:
Customizable Inputs:
Volume MA Length: The period for calculating the volume moving average (default is 20).
High Volume Multiplier: A multiplier for defining high volume conditions (default is 2.0).
Color-Coded Volume Histograms:
Different colors are used for buying and selling volume, as well as high and low-volume candles, for quick visual analysis.
Alerts:
Alerts can be set for the following conditions:
Below-average buying volume.
Below-average selling volume.
High-volume conditions.
How It Works:
Volume Moving Average (SMA) is calculated using the user-defined period (length), and it acts as the baseline for categorizing volume.
Volume Conditions:
Below Average Volume: Identifies candles with volume below the SMA.
High Volume: Identifies candles where volume exceeds the SMA by the set multiplier (highVolumeMultiplier).
Low Volume: When volume is neither high nor below average.
Buying and Selling Volume:
The script identifies buying and selling volume based on the closing price relative to the opening price:
Buying Volume: When the close is greater than the open.
Selling Volume: When the close is less than the open.
Volume histograms are then plotted using the respective colors for quick visualization of volume trends.
User Interface & Settings:
Inputs:
Volume MA Length: Adjust the period for the volume moving average.
High Volume Multiplier: Define the multiplier for high volume conditions.
Plots:
Buying Volume: Green bars indicate buying volume.
Selling Volume: Red bars indicate selling volume.
High Volume: Blue or purple bars for high-volume candles.
Low Volume: Black bars for low-volume candles.
Volume Moving Average Line: Displays the moving average line for reference.
Source Code / Authorship:
Author: prowelltraders
Disclaimer:
This script is intended for educational purposes only. While it visualizes important volume data, users are encouraged to perform their own research and testing before applying this script for trading decisions. No guarantees are made regarding the effectiveness of this script for real-world trading.
Contact & Support:
For questions, support, or feedback, please reach out to the author directly through TradingView (prowelltraders).
Signature:
GSK-VIZAG-AP-INDIA
Seekho roj kamao V6 StrategyThis strategy is based on the Chandelier Exit indicator, a volatility-based trailing stop developed by Chuck LeBeau. It uses the Average True Range (ATR) to dynamically determine stop levels for both long and short positions. The strategy aims to capture trends by entering trades when the Chandelier Exit signal changes direction.
📌 How It Works:
Long Entry: A buy signal is generated when price breaks above the Chandelier short stop, indicating a potential upward trend. The strategy enters a long position at this point.
Short Entry: A sell signal is generated when price falls below the Chandelier long stop, suggesting a downtrend. The strategy enters a short position here.
Exit Conditions:
Long positions are closed when a short signal appears.
Short positions are closed when a buy signal appears.
⚙️ Key Parameters:
ATR Period: Defines how many bars are used to calculate volatility.
ATR Multiplier: Adjusts the sensitivity of the stop levels.
Use Close for Extremes: Determines whether the highest/lowest close is used instead of highs/lows for calculating stops.
Bar Confirmation: Waits for the bar to close before confirming a signal.
This strategy works best in trending markets and may produce whipsaws in sideways or choppy conditions. It can be used standalone or in combination with other filters like volume, moving averages, or higher time frame confirmation.
Seekho roj kamao buy sell v6Take the guesswork out of trading with our powerful Auto Buy/Sell Indicator, designed exclusively for TradingView. This intelligent tool automatically identifies high-probability buy and sell opportunities based on a combination of price action, momentum, and trend confirmation. Whether you're trading crypto, forex, or stocks, the indicator adapts to any market and time frame, making it a versatile addition to your trading toolkit.
The indicator plots clear buy and sell signals directly on the chart, helping you time your entries and exits with confidence. It also includes customizable settings to adjust sensitivity, filter noise, and align with your personal trading style. Built-in alerts ensure you never miss a trading opportunity, even when you’re away from your screen.
Ideal for both beginners and experienced traders, this indicator simplifies decision-making by visually representing market signals in real time. No coding or complex setup required—just plug it into your TradingView chart and start trading smarter.
Whether you're day trading or swing trading, the Auto Buy/Sell Indicator helps you stay ahead of the market and improve consistency. Combine it with sound risk management for a complete trading edge.
4H MA Crossover Pullback StrategyMedium-High frequency Moving Average Crossover Pullback strategy
Fast EMA (50) > Slow EMA (200) for trend confirmation.
Entries occur when price pulls back to a 20 EMA, then resumes with a crossover.
RSI filter added to ensure momentum is aligned.
ATR-based stop loss and take profit with a 1.2:1 risk-reward ratio.
EMA Trend Bias (200 & 50)🔥 How It Works
📌 Green 200 EMA = Price above (Long-term Bullish trend)
📌 Red 200 EMA = Price below (Long-term Bearish trend)
📌 Blue 50 EMA = Price above (Short-term Bullish bias)
📌 Orange 50 EMA = Price below (Short-term Bearish bias)
This script helps confirm both short-term & long-term trend direction, making it easier to identify strong setups! 🚀
Would you like me to add alerts when price crosses either EMA for automated trade notifications?
Let me know if you need any refinements!
Timeframe StrategyThis is a multi-timeframe trading strategy inspired by Ross Cameron's style, optimized for scalping and trend-following across various timeframes (1m, 5m, 15m, 1h, and 1D). The strategy integrates a comprehensive set of technical indicators, dynamic risk management, and visual tools.
Core Features
Dynamic Take Profit, Stop Loss & Trailing Stop
> Separate settings per timeframe for:
-TP% (Take Profit)
-SL% (Stop Loss)
-Trailing Stop %
-Cooldown bars
> Configurable via UI inputs.
>Smart Entry Conditions
Bullish entry: EMA9 crossover EMA20 and EMA50 > EMA200
Bearish entry: EMA9 crossunder EMA20 and EMA50 < EMA200
>Additional confirmation filters:
-Volume Filter (enabled/disabled via UI)
-Time Filter (e.g., only between 15:00–20:00 UTC)
-Spike Filter: rejects high-volatility candles
-RSI Filter: above/below 50 for trend confirmation
-ADX Filter (only applied on 1m, e.g., ADX > 15)
-Micro-Volatility Filter: minimum range percentage (1m only)
-Trend Filter (1m only): price must be above/below EMA200
>Trailing Stop Logic
-Configurable for each timeframe.
- Optional via toggle (use_trailing).
>Trade Cooldown Logic
-Prevents consecutive trades within X bars, configurable per timeframe.
>Technical Indicators Used
-EMA 9 / 20 / 50 / 200
-VWAP
-RSI (14)
-ATR (14) for volatility-based spike filtering
-Custom-calculated ADX (14) (manually implemented)
>Visual Elements
🔼/🔽 Entry signals (long/short) plotted on the chart.
📉 Table in bottom-left:
Displays current values of EMA/VWAP/volume/ATR/ADX.
> Optional "Tab info" panel in top-right (toggleable):
-Timeframe & strategy settings
-Live status of filters (volume, time, cooldown, spike, RSI, ADX, range, trend)
-Uses emoji (✅ / ❌) for quick diagnostics.
>User Customization
-Inputs per timeframe for all key parameters.
-Toggle switches for:
-Trailing stop
-Volume filter
-Info table visibility
This strategy is designed for active traders seeking a balance between momentum entry, risk control, and adaptability across timeframes. It's ideal for backtesting quick reversals or breakout setups in fast markets, especially at lower timeframes like 1m or 5m.
Ticker DataThis script mostly for Pine coders but may be useful for regular users too.
I often find myself needing quick access to certain information about a ticker — like its full ticker name, mintick, last bar index and so on. Usually, I write a few lines of code just to display this info and check it.
Today I got tired of doing that manually, so I created a small script that shows the most essential data in one place. I also added a few extra fields that might be useful or interesting to regular users.
Description for regular users (from Pine Script Reference Manual)
tickerid - full ticker name
description - description for the current symbol
industry - the industry of the symbol. Example: "Internet Software/Services", "Packaged software", "Integrated Oil", "Motor Vehicles", etc.
country - the two-letter code of the country where the symbol is traded
sector - the sector of the symbol. Example: "Electronic Technology", "Technology services", "Energy Minerals", "Consumer Durables", etc.
session - session type (regular or extended)
timezone - timezone of the exchange of the chart
type - the type of market the symbol belongs to. Example: "stock", "fund", "index", "forex", "futures", "spread", "economic", "fundamental", "crypto".
volumetype - volume type of the current symbol.
mincontract - the smallest amount of the current symbol that can be traded
mintick - min tick value for the current symbol (the smallest increment between a symbol's price movements)
pointvalue - point value for the current symbol
pricescale - a whole number used to calculate mintick (usually (when minmove is 1), it shows the resolution — how many decimal places the price has. For example, a pricescale 100 means the price will have two decimal places - 1 / 100 = 0.01)
bar index - last bar index (if add 1 (because indexes starts from 0) it will shows how many bars available to you on the chart)
If you need some more information at table feel free to leave a comment.
StochRSI Strategy with SL/TPSimple approach the StochiRSi strategy that has stop loss and take profit, A fully control the inputs of stochi RSi and back testing date.. code are credit to ryzinray@gmail.com
Seekho roj kamao StrategyThe "Seekho Roj Kamao Strategy" is a powerful backtesting tool designed to identify high-probability trend continuation setups. It combines RSI, Chande Momentum Oscillator (CMO), and adaptive ATR-based trailing stop logic to detect precise entry points and manage risk through automated take profit (1R, 2R, 3R) and stop loss levels. This strategy dynamically evaluates trend direction shifts using price action and momentum divergence, enabling traders to test robust trading scenarios with clearly defined exits. Ideal for forex, crypto, and stock traders, it allows full customization of sensitivity and volatility filters, making it suitable for both intraday and swing trading approaches.