ICT Strategy Full Bot - Sweep + BOS + FVG + FibStrategy Summary – ICT-Based Precision Trading
This strategy follows a Smart Money Concept (ICT) approach, focusing on:
Liquidity sweeps at key daily and 4H swing highs/lows or FVG zones
Reversals confirmed by a strong impulse and structure break (BOS/ChoCH) on the 15-minute chart
Precise entries using confluence between a Fair Value Gap (FVG) and the 50% Fibonacci retracement
Tight risk management with Stop Loss under the liquidity sweep
Two Take Profit options: next HTF swing or a valid FVG in the opposing leg
Break-even automation after internal structure confirms the move
Perfect for traders who want a rule-based, high-probability entry system rooted in institutional price action theory.
Chỉ báo và chiến lược
SignalCore AI: Double Cloud SMA📈 SignalCore AI: Double Cloud SMA
Visualize market strength through multi-layered precision
The Double Cloud SMA is a visual and strategic module within the SignalCore AI framework, designed to highlight key price zones using two Simple Moving Average (SMA) bands combined with dynamic standard deviation projections.
🧠 What this script does:
Plots two SMA-based “clouds” (short-term and long-term), projecting upper and lower bands based on volatility.
Highlights Buy and Sell Zones (including “Strong” levels) using intuitive visual fills between key lines.
Helps identify compression areas, potential reversals, and trend continuation points.
🔍 Core Components:
Short-term SMA cloud: captures fast market movements.
Long-term SMA cloud: acts as a macro trend filter.
Volatility-based band projections (25% to 125%) create dynamic zones of interest.
Visual mapping of Buy Zones, Sell Zones, Strong Buy/Sell areas.
💼 Ideal for:
Scalpers, day traders, and swing traders who rely on moving averages.
Traders who use confluence strategies with RSI, Bollinger Bands, SAR, etc.
Anyone who wants clearer, smarter decision points on the chart.
⚙️ Customizable Inputs:
Short SMA Period: 224 (default)
Long SMA Period: 3320 (default)
Offset control for projecting into future or past bars
🔔 Pro Tip: Combine this script with other SignalCore AI modules for a complete multi-dimensional market view.
📩 For feedback, custom versions, or collaborations, feel free to reach out to the author.
www.youtube.com
MACD STRATEJİ esat6606A sophisticated MACD (Moving Average Convergence Divergence) indicator with advanced signal generation and protection mechanisms. Built with proprietary algorithms for enhanced accuracy and security.
. Visual Indicators
• White line: Primary MACD line
• Yellow line: Signal line
• Histogram: Trend strength visualization
• Green/Red coloring: Trend direction
• Triangle markers: Confirmed signals
• Green Triangle: Bullish signal confirmation
• Color Changes: Trend strength and direction
• Histogram: Momentum visualization
Institutional Footprint IndicatorThe Institutional Footprint Indicator is designed to help traders identify institutional activity by tracking large block trades, unusual volume spikes, and buy/sell pressure. It highlights key market moves that are often invisible to the average trader, giving you a significant edge.
🔎 Key Features:
• Block Trade Detection: Plots green square blocks above bars when large institutional trades occur.
• Unusual Volume Alerts: Highlights bright orange shaded areas when volume exceeds a customizable threshold, signaling major institutional interest.
• Buy and Sell Pressure Identification:
• Upward Arrows: Show strong buy pressure when the price moves with increased bullish momentum.
• Downward Arrows: Indicate strong sell pressure, often signaling distribution or short-selling.
• Liquidity Zone Detection: Marks high and low liquidity zones where institutions are likely accumulating or distributing.
🚀 How to Use:
1. Confirm Breakouts or Breakdowns:
• When block trades and unusual volume align with price movement, it often indicates a powerful move driven by institutions.
2. Spot Fakeouts:
• If you see block trades but no follow-through or the price reverses, it may be a market maker trap.
3. Follow Smart Money:
• Track buy or sell pressure to gauge institutional sentiment and enter trades with confidence.
4. Identify Reversal Zones:
• Unusual volume spikes at key levels often signal the start of a major reversal.
⚙️ Customization Options:
• Lookback Period: Adjust the period for volume and block trade detection.
• Block Trade Multiplier: Set the sensitivity for identifying large trades.
• Volume Threshold: Control when unusual volume is highlighted.
• Delta Sensitivity: Fine-tune buy/sell pressure detection.
ICT Order Blocks v2 (Debug) ICT Breaker Blocks v2 (Break Refined) Indicator Explanation
This document provides a comprehensive overview of the ICT Breaker Blocks v2 (Break Refined) indicator, which is designed to identify and visualize Breaker Blocks in trading. A Breaker Block represents a prior Order Block that has failed to hold price, indicating potential institutional support or resistance levels. The indicator highlights these flipped zones, allowing traders to anticipate future price reactions based on previous market behavior.
Purpose
The primary purpose of the ICT Breaker Blocks v2 indicator is to identify Breaker Blocks, which are crucial for understanding market dynamics. When price decisively breaks through an Order Block, it can change its role from support to resistance or vice versa. This indicator helps traders visualize these changes, providing insights into potential areas for price reactions.
How it Works
The indicator operates through a series of steps on each bar:
1. Identify Potential Order Blocks (OBs)
The indicator continuously searches for the most recent potential Order Blocks based on basic price action:
Potential Bullish OB: The last down-closing candle before an upward move that breaks its high.
Potential Bearish OB: The last up-closing candle before a downward move that breaks its low.
It retains the price range (high/low) and location of the most recent potential OB of each type.
2. Detect the "Break" of a Potential OB
A Breaker is confirmed when the price fails to respect a potential OB and moves decisively through it. The indicator checks:
If the current price closes above the high of the stored potential Bearish OB.
If the current price closes below the low of the stored potential Bullish OB.
3. Apply Displacement Filter (Optional)
To enhance the accuracy of break detection, traders can enable the "Require Displacement on Break?" filter in the settings. This filter adds a condition that the candle causing the break must have a larger body size than the preceding candle, indicating stronger momentum.
4. Store the Active Breaker Block
When a valid break occurs (and passes the displacement filter if active):
A Bullish Breaker (+BB) is confirmed if a potential Bearish OB is broken to the upside, storing the high/low price range of that original Bearish OB.
A Bearish Breaker (-BB) is confirmed if a potential Bullish OB is broken to the downside, storing the high/low price range of that original Bullish OB.
The indicator tracks only the most recent valid, unmitigated Breaker Block of each type, replacing the previous one when a new one forms.
5. Mitigation (Invalidation)
The indicator checks if the currently displayed Breaker zone has been invalidated by subsequent price action. The mitigation rules are as follows:
A Bullish Breaker is considered mitigated and removed if the price later closes below its low.
A Bearish Breaker is considered mitigated and removed if the price later closes above its high.
Visualization
For the currently active, unmitigated Breaker Block of each type (if enabled in settings):
A box is drawn representing the price zone (high/low) of the original Order Block that was broken.
The box starts from the bar where the break was confirmed.
If "Extend Breaker Boxes?" is enabled, the box extends to the right edge of the chart until the Breaker is mitigated.
A small label ("+BB" or "-BB") is added to the box, with colors and border styles configurable in the settings.
This indicator automates the identification of significant "flipped" zones, allowing traders to incorporate Breaker Blocks into their ICT analysis effectively. It is essential to evaluate the indicator's effectiveness on your chosen market and timeframe and consider using the displacement filter to refine the signals.
Malama's ScalpingMalama's Scalping Strategy Description
Purpose
"Malama's Scalping" is a strategy designed for traders who want to capitalize on short-term price movements in fast-moving markets. It identifies precise buy and sell opportunities by combining trend analysis, momentum, volume, volatility, and candlestick patterns. This script solves the problem of finding reliable entry and exit points in choppy or unpredictable markets, making it ideal for scalpers—traders who aim to profit from small, quick price changes—while offering built-in risk management through stop-loss and take-profit settings.
How It Works
The strategy uses a blend of popular technical indicators and custom logic to confirm trading signals:
Trend Direction: A 50-period Simple Moving Average (SMA) acts as a trend filter. If the price is above this line, it’s a bullish (buy-friendly) market; if below, it’s bearish (sell-friendly).
Momentum: The Relative Strength Index (RSI) measures price speed over 14 periods. It ensures the market isn’t overbought (RSI < 70) for buys or oversold (RSI > 30) for sells.
Volume: It compares current trading volume to a 20-period average to confirm strong market participation—only high-volume moves trigger signals.
Volatility: The Average True Range (ATR) over 14 periods checks if price swings are big enough (above a user-set minimum, default 2.0) to justify a trade.
Candlestick Patterns: Simple yet effective patterns (e.g., a bullish candle closing higher than the previous day’s close after opening lower) add confirmation to signals.
A buy or sell signal only triggers when all these conditions align, ensuring high-probability trades. Once a signal fires, the strategy automatically places trades with customizable stop-loss (e.g., 1% below entry) and take-profit (e.g., 2% above entry) levels.
How to Use It
Adding to TradingView: Open TradingView, go to the "Pine Editor" at the bottom, paste the script, and click "Add to Chart." You’ll see a blue trend line and buy/sell labels appear.
Configuring Settings: Adjust inputs in the "Settings" menu:
Trend Length (50): Increase for smoother trends, decrease for faster signals.
RSI Length (14): Tweak for sensitivity to momentum.
Stop Loss (1%) and Take Profit (2%): Set based on your risk tolerance.
Volume Length (20): Adjust to filter volume strength.
Volatility Length (14) and Minimum Volatility (2.0): Fine-tune for your asset (e.g., higher for volatile stocks like TSLA).
Interpreting Signals:
A green "Buy" label below a bar means enter a long position.
A red "Sell" label above a bar means enter a short position.
Watch the blue trend line to gauge the bigger picture.
Tips for Beginners: Start with the default settings on a 1- or 5-minute chart for scalping. Test it on a demo account first to get comfortable with the signals.
For Pros: Pair it with your favorite indicators (e.g., Bollinger Bands) or adjust the ATR minimum for specific markets. Use backtesting in TradingView’s "Strategy Tester" to optimize settings.
Originality
What makes "Malama's Scalping" stand out is its multi-filter approach. Unlike basic strategies relying on one or two indicators, it demands agreement across trend, momentum, volume, volatility, and candlestick patterns—reducing false signals and boosting confidence. The built-in automation with customizable risk management also sets it apart, offering a hands-off option for scalpers who want precision without constant monitoring. Plus, its flexibility (e.g., adjustable volatility for stocks like TSLA) makes it adaptable to various assets and timeframes, a rarity in scalping tools.
This strategy bridges the gap between simplicity for beginners and robustness for pros, delivering a unique, all-in-one scalping solution.
Croak Indicator Trend Filtered🐸 Croak Indicator – Trend-Filtered Market Structure Visualizer
🔍 Overview
The Croak Indicator is a visual market structure tool designed to highlight potential reversal zones by identifying key swing highs and lows. It uses price action and trend context to help traders understand possible turning points in the market.
This version introduces a trend filter using Exponential Moving Averages (EMA), so:
🐸 Frogs (bottom signals) only appear in uptrends
🦊 Foxes (top signals) only appear in downtrends
This helps reduce noise and keeps the indicator aligned with the prevailing trend.
🧠 How It Works
Detects significant swing points based on local highs/lows over a lookback period (Pattern Length).
Adds a trend filter using EMA 21 and EMA 50 to improve signal quality.
A structure score (Frog Jump Score) optionally appears in the corner to show how symmetrical the recent market swings have been.
The script uses bar-based historical analysis and repaints past signals as more candles form.
⚠️ Important Note on Repainting
This is a repainting indicator, meaning it uses future price action to confirm swing points. Signals may change or disappear as new bars form. It is not intended for real-time signal execution, but rather as a visual aid for understanding market structure in hindsight.
⚙️ Key Features
✅ Plots intuitive frog and fox icons for bullish/bearish swing points.
✅ Includes a trend filter using EMA crossover logic.
✅ Optional scoring table for structure geometry confidence.
✅ Useful for swing traders, market structure learners, and chart artists.
⚠️ Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial advice. Always do your own analysis and apply risk management when trading.
Bank/Psychological Levels by TBTPHPine Script code creates an indicator for plotting bank/psychological levels, which are typically round numbers like 100, 1000, etc. This is useful in technical analysis, as traders often watch these levels. Here's a quick breakdown of how the script works:
Key Features:
Bank Level Multiplier:
This controls the spacing between the levels. For example, if set to 100, the levels plotted will be multiples of 100 (100, 200, 300, etc.), and if set to 1000, they will be multiples of 1000.
Highlight Color:
This sets the color of the horizontal lines representing the bank levels (dotted lines).
Label Background and Text Colors:
These inputs control the appearance of the labels showing the exact values at each bank level.
Bank Level Calculation:
The function isBankLevel(price) checks if the price is exactly a bank level.
baseLevel is calculated based on the current closing price (close), rounded to the nearest bank level.
Level Range:
This defines how many levels above and below the current price will be plotted, allowing the user to visualize a range of relevant levels.
Plotting Levels:
The loop for i = -bankLevelRange to bankLevelRange iterates through a range of levels, plotting horizontal dotted lines and placing labels at each level.
Crypto MA Cross StrategyBuy with MA crossover. Take profit when price reaches your percentage target. Stops at defined percentage below the buy price
Malama's Candle SniperMalama's Candle Sniper - Indicator Description
Purpose
"Malama's Candle Sniper" is a powerful TradingView indicator designed to help traders identify key candlestick patterns that signal potential reversals or continuations in price action. Whether you're looking to catch the start of a bullish uptrend or spot a bearish downturn before it happens, this tool simplifies the process by automatically detecting and labeling a wide range of classic candlestick formations. It solves a common problem for traders: the time-consuming task of manually scanning charts for reliable patterns, making it easier to focus on decision-making and strategy execution.
How It Works
The indicator uses predefined logic to analyze candlestick data—open, high, low, and close prices—across multiple bars to detect specific patterns. It’s split into two categories: bullish patterns (e.g., Bullish Engulfing, Morning Star, Hammer) that suggest upward momentum, and bearish patterns (e.g., Bearish Engulfing, Three Black Crows, Hanging Man) that hint at downward pressure. Each pattern is coded with conditions based on price relationships, such as the size of candle bodies, wicks, or gaps between bars. When a pattern forms, the indicator places a clear label directly on your chart, color-coded green for bullish and red for bearish, so you can spot opportunities at a glance.
The script ensures accuracy by only triggering a label when a pattern transitions from "not present" to "detected," avoiding clutter from repetitive signals. This focus on precision makes it a reliable companion for timing entries and exits.
How to Use It
Adding to TradingView: Open TradingView, click "Indicators" at the top, search for "Malama's Candle Sniper," and add it to your chart. Since it’s an overlay indicator, it works directly on your price candles without cluttering a separate panel.
Configuring Settings: There are no adjustable inputs by default, making it beginner-friendly—just apply it and start trading! For pros, you can dive into the script to tweak pattern definitions (e.g., adjusting wick-to-body ratios) if you prefer custom sensitivity.
Interpreting Signals: Look for green labels above candles for bullish setups—these suggest potential buying opportunities. Red labels below candles indicate bearish setups, signaling possible sell or short positions. Pair these signals with your existing strategy, like support/resistance levels or trend direction, for confirmation.
Beginner Tip: Start with a daily or 4-hour chart to practice spotting patterns in less noisy conditions before moving to shorter timeframes.
Pro Tip: Combine with volume analysis or a trend indicator (like a moving average) to filter out weaker signals and boost reliability.
Originality
What makes "Malama's Candle Sniper" stand out is its comprehensive coverage and user-friendly design. While many indicators focus on just one or two candlestick patterns, this script packs over 20 patterns—both bullish and bearish—into a single tool, from common ones like the Hammer to rarer setups like the Abandoned Baby or Three Line Strike. The clean, color-coded labeling system also sets it apart, offering instant visual clarity without overwhelming your chart. Unlike generic pattern scanners, it’s built to minimize false positives by only highlighting newly formed patterns, giving traders a sharper edge in fast-moving markets. Whether you’re a newbie learning the ropes or a seasoned trader refining your edge, this indicator delivers a unique blend of simplicity, depth, and precision.
Fuerza relativa vs SP500This TradingView indicator analyzes the daily relative strength of a selected asset compared to the SP500, and provides both a visual histogram and a scoring system based on recent performance over the last 10 candles.
✅ Green: SP500 is down, but the asset is up (strong bullish signal).
🟧 Orange: SP500 is down, asset also down but performing better than the SP500 (mild strength).
🔴 Red: SP500 is down, and the asset performs even worse (clear weakness).
🟩 Light green: SP500 is up, and the asset performs better (moderate strength).
🟧 Light orange: SP500 is up, but the asset performs worse (mild weakness)
SMA 12, 36, 200 with Signals and AlertsFeatures:
✅ Simple Moving Averages:
SMA 12 (short-term)
SMA 36 (mid-term)
SMA 200 (long-term trend filter)
✅ Buy & Sell Signals:
Buy: When SMA 12 crosses above SMA 36
Sell: When SMA 12 crosses below SMA 36
✅ Built-in Alerts:
Receive real-time alerts when a signal is triggered.
🧠 Strategy Overview – Multi-Timeframe Trading
This script is designed to be used with multi-timeframe analysis:
1H Chart – Trend Direction
If the price is above the SMA 200 on the 1-hour chart → look for Long opportunities.
If the price is below the SMA 200 on the 1-hour chart → look for Short opportunities.
5-Min Chart – Entry Timing
Once the higher-timeframe trend is clear, switch to the 5-minute chart.
Use SMA 12 and SMA 36 crossovers to time your entry in the direction of the main trend.
This approach helps filter out false signals and improves overall trade accuracy.
Supply & Demand Zones
_____________________________________________________________________
Supply and Demand Zones
This indicator displays valid Supply and Demand zones on any chart and timeframe, using dynamically updating visuals. Users can see the moment that zones become validated, used, and then invalidated during live sessions. It is sleek, lightweight, and offers a feature-rich settings panel that allows customization of how each element appears and functions. Zones can enhance the probability of successful trades by locating areas that are most likely to contain resting orders of Supply or Demand, which are needed for price reversals.
Disclaimer
____________________
Like all indicators, this can be a valuable tool when incorporated into a comprehensive, risk-based trading system.
Supply and Demand is not the same thing as Support and Resistance.
Trading based on price hitting a zone without understanding which zones are of higher quality and which are of lower quality (only discernible with a trained human eye) will yield poor results.
Supply and Demand works well as a system and even better when added to an existing one. However, like all effective trading techniques, it requires diligent study, practice, and repetition to become proficient. This is an indicator for use with Supply and Demand concepts, not a replacement for learning them.
Features
____________________
Once a valid candle sequence is confirmed, a box will appear that displays the zone over the precise zone range. At 50% zone penetration, a zone becomes used , and at 100% it becomes invalidated . Each of these zone classifications changes the behavior of the zone on the chart immediately. The settings panel offers custom colors for Supply , Demand , Used , and Invalidated zone types.
Borders : The subtle border colors can be changed or hidden.
Boxes or Bases : Advanced users can opt to hide zone boxes and instead display small, subtle tags over base candle groups. This allows for more customizable selection over what is displayed and how.
Max Zones and Hide Invalidated :
There are limitations on how many objects TradingView allows at once. Because of this, once zones go from used to invalidated , they are hidden (deleted) by default. This allows the zones index to be allocated to display more valid , usable zones instead. If a user prefers to keep invalidated zones visible, they can be enabled; however, this will result in showing more recent zones for fewer historical zones.
All zones share one pool, so if you allow fifty max zones, forty-five might be supply while five might be demand on a big sell-off trend. You will always see the most recent zones, regardless of type or status.
It’s up to you how much clutter you want on your screen and how much improved load time you want - but once loaded, zone creation and function are always instantaneous.
Load Time
____________________
Load time refers to the time it takes from when you switch tickers or timeframes before the zones are displayed initially. There is zero lag in the dynamic function and minimal load time, regardless of settings. However, if you are a fine-tuner or multi-screener, the number of Max Zones displayed is the only major variable affecting load time.
I run everything at Max when I develop. When I trade, I run mine at 25 max zones because I change timeframes often and want a very quick display of zones when I do. I have invalidated hidden, and simply enable it if I want to check an old zone. This gives me more zones than I need and reduces the load time to right where I like it.
Thresholds
____________________
It is recommended to leave these as the default.
Base Body Threshold : Determines the maximum ratio of a candle’s body to wick before invalidation. Default (50% or 0.5). A higher number loosens thresholds, resulting in more zones being displayed.
Unrequire 2nd FT if LO is Strong & Strength Multiplier :
The standard logic sequence requires two Follow-Through candles. Under some strong price movement, Leg-Out candles can make an explosive directional move from a base, making a convincing argument for supply and demand perfectly at work, if not for a single Follow-Through candle instead of two.
By enabling this feature, you can tell the script to ignore second Follow-Through candles, if and only if, the Leg-Out candle's range is (Strength) X the base range. exceeds the range of the Base by a factor of X (Strength). ie: At 5x, this would require a Leg-Out range to be 500% the range of the Base.
If enabled and the Leg-Out is not strong enough, the default logic kicks in, and a second follow-through candle will validate the zone as per usual. This loosens thresholds overall and should result in more zones.
Recommended Usage
____________________
Form a thesis using your primary trend trading system (eg: Elliott Wave, Structure Reversal, TheStrat, et al) to identify locations of a pullback for a long or short entry.
Identify a pullback area using your system, then use this indicator to find a high-quality zone on your chosen timeframe.
Once located, draw your own channel over the indicator's zone box. Start on 1m, check for zones, 2m, 3m, and so on. When you see a zone you like, recreate it; thus, when finished, you can see every timeframe’s highest-quality zones that you created, regardless of what timeframe you switch to. Tip: Be selective
To make the process faster, save a channel design in settings for “Demand” and one for “Supply”, then you can quickly get through this process in less than a minute with practice.
Optional: Use additional methods (eg: Fibonacci retracements, Elliott Wave Theory, Anchored VWAPs) to find congruent confirmation.
Version 1.0
____________________
No known bugs remain from the closed beta.
In Development
____________________
Powerful combination zones occur when standard zone sequences are extended with additional levels of demand or supply by adding more conditionals to the state machine logic. Got this mostly working in a dev version and it adds minimal extra resources. Set aside to polish a clean standard 1.0 for release first, but now displaying these extended zones is my top priority for next version.
MTF support is essentially working in a dev copy, but adds resources. Not sure if it is in the spirit of price action being the primary focus of a chart for serious traders, rather than indicators. If there is demand for it, I'll consider it.
Additional Threshold Settings
Thanks!
____________________
Thank you for your interest in my work. This was a personal passion project of mine, and I was delighted it turned out better than I hoped, so I decided to share it. If you have any comments, bugs, or suggestions, please leave them here, or you can find me on Twitter or Discord.
@ ContrarianIRL
Open-source developer for over 25 years
Intraday Trading for Indices by TBTPHThis script is written in Pine Script (version 6) for use in TradingView, and it's designed to display an intraday trading strategy for indices. Here's a breakdown of its components and functionality:
Key Features:
VWAP (Volume Weighted Average Price):
The script computes the VWAP for a given period, with the option to choose an anchor period (Session, Week, Month, etc.).
The calcModeInput allows you to choose between "Standard Deviation" and "Percentage" for the band calculation.
The VWAP is plotted on the chart, with the color of the VWAP changing based on whether the price is above or below it.
Bands:
Bands are plotted above and below the VWAP, with the distance from the VWAP determined by a multiplier of the VWAP’s standard deviation or percentage.
The bands are configurable and adjustable via inputs such as multiplier and band type.
Moving Averages:
A 50-period Simple Moving Average (SMA) and a 20-period Exponential Moving Average (EMA) are plotted on the chart for trend analysis.
The background color changes based on the price relative to the 50-period SMA:
Green if the price is above the 50 SMA.
Red if the price is below the 50 SMA.
Session Indicator Logic:
The script distinguishes between the London Stock Exchange (LSE) and the New York Stock Exchange (NYSE) trading sessions.
It only plots signals and executes logic during these active trading sessions.
Candle Color Change (VWAP Cross):
When the price crosses the VWAP, the candle's body color changes to white to highlight the event.
This is useful for identifying potential entry or exit points based on VWAP crossovers.
Key Inputs:
VWAP Settings:
Anchor Period: Defines the period used for the VWAP calculation (Session, Week, Month, etc.).
Source: The price used for VWAP calculation (default is the average of high, low, and close prices hlc3).
Offset: Allows for shifting the plotted VWAP and bands on the chart.
Bands Settings:
Bands Multiplier: Controls the width of the bands.
Calculation Mode: Switch between using standard deviation or percentage for band calculation.
Session Settings:
The LSE and NYSE session times are defined, and the script only plots signals during these sessions.
Alerts and Plotting:
VWAP and bands are dynamically plotted on the chart.
A background color change is applied based on the price's position relative to the 50-period SMA.
Candle colors change to white when the price crosses the VWAP, which serves as a key signal for the trader.
5-Min EMA (5 & 20) + RSI + MACD StrategyThis strategy uses a combination of Exponential Moving Averages (EMA), Relative Strength Index (RSI), and the Moving Average Convergence Divergence (MACD) to identify potential buy (bullish) and sell (bearish) signals on a 5-minute intraday chart_______________By Million mantra Telugu
MA CloudsMA Clouds – Adaptive Moving Average Visualization (with Bollinger bands)
The MA Clouds indicator is designed to help traders visualize multiple moving averages simultaneously, providing a dynamic view of trend direction, momentum, and potential support/resistance zones. This tool overlays Simple Moving Averages (SMA) and Exponential Moving Averages (EMA) in an easy-to-read cloud format, allowing traders to interpret market structure at a glance.
Key Features:
✅ Customizable Moving Averages – Adjust SMA and EMA lengths to suit your strategy.
✅ Cloud-Based Visualization – Color-coded clouds between different moving averages highlight areas of potential trend shifts.
✅ Toggle Price Lines – Option to enable or disable individual price lines for a cleaner chart.
✅ Bollinger Bands Integration – Adds upper and lower bands for additional confluence in volatility analysis.
✅ Quick Trend Identification – Helps traders gauge short-term and long-term trend strength.
✅ Preset View Modes – Toggle between a simplified 5-10 SMA/EMA setup or a full multi-timeframe cloud setup with one click.
This indicator is ideal for traders looking to combine trend-following strategies with dynamic support/resistance insights. Whether you're scalping intraday moves or managing longer-term swing trades, MA Clouds provides an efficient way to keep market structure in focus.
Black–Scholes model - Options premium calculatorBlack-Scholes Options Pricing Calculator in Pine Script Introduction
The Black-Scholes model is one of the most widely used mathematical models for pricing options. It provides a theoretical estimate of the price of European-style options based on factors such as the underlying asset price, strike price, time to expiration, volatility, risk-free rate, and option type.
This Pine Script implementation of the Black-Scholes options pricing model enables traders to calculate call and put option prices directly within TradingView, helping them assess potential trades more efficiently.
What Does This Script Do?
This script allows traders to input essential option parameters and instantly calculate both call and put option prices using the Black-Scholes formula. It provides:
• A user-friendly interface for inputting option parameters.
• Automatic computation of option prices.
• Real-time updates as market data changes.
Key Features:
• Uses the Black-Scholes formula to compute European call and put option prices.
• User-defined inputs for stock price, strike price, time to expiration, volatility, and risk-free rate.
• Displays calculated option prices on the TradingView chart.
Understanding the Black-Scholes Formula:
The Black-Scholes model is given by the following equations:
C=S0N(d1)−Xe−rtN(d2)C = S_0 N(d_1) - Xe^{-rt} N(d_2) P=Xe−rtN(−d2)−S0N(−d1)P = Xe^{-rt} N(-d_2) - S_0 N(-d_1)
Where:
• CC = Call option price
• PP = Put option price
• S0S_0 = Current stock price
• XX = Strike price
• rr = Risk-free interest rate
• tt = Time to expiration (in years)
• σ\sigma = Volatility of the stock (annualized)
• N(x)N(x) = Cumulative standard normal distribution
• d1d_1 and d2d_2 are given by:
d1=ln(S0/X)+(r+σ2/2)tσtd_1 = \frac{ \ln(S_0/X) + (r + \sigma^2/2)t }{ \sigma \sqrt{t} } d2=d1−σtd_2 = d_1 - \sigma \sqrt{t}
This script implements these calculations efficiently in Pine Script to help traders quickly determine fair values for options based on current market conditions.
Example Calculation:
(The following example values were true at the time of publishing this script. Option prices fluctuate constantly, so actual values may vary.)
• Underlying asset price (NIFTY): 23,519.35
• ATM Call Strike Price: 23,500
• ATM Put Strike Price: 23,550
• IV (Implied Volatility) for Call Option: 8.1%
• IV (Implied Volatility) for Put Option: 10.1%
• Expiry Date: April 3, 2025
Using the Black-Scholes model, the calculated theoretical prices are:
• Theoretical ATM CE price: ₹129
• Theoretical ATM PE price: ₹118
For comparison, the actual option prices from the option chain table at the time of writing were:
• Actual ATM CE price: ₹139.70
• Actual ATM PE price: ₹120.30
As we can see, there is a larger difference between the theoretical price and actual market price for the ATM Call option compared to the ATM Put option.
If you're an experienced trader, you likely know how to use this kind of information to identify potential market inefficiencies or trading opportunities.
How to Use This Script:
1. Add the script to your TradingView chart.
2. Input the necessary parameters such as stock price, strike price, volatility, risk-free rate, and time to expiration.
3. View the calculated call and put option prices directly on the chart.
This Black-Scholes options pricing calculator provides a convenient way to compute theoretical option prices within TradingView. It helps traders analyse whether an option is fairly priced based on market conditions.
While the Black-Scholes model has its limitations (e.g., it does not account for early exercise of American options or dividend payments), it remains a powerful tool for European-style options pricing and a foundational concept in financial markets.
A handy little tool! Unfortunately, this script requires manual data entry since automatic data capture is currently not possible. If this ever becomes feasible in the future, an updated version will be released.
Try it out and let me know your feedback!
Disclaimer:
Please note that this is only for study/educational purpose and is just one of the many tools a trader may use.
Use it at your own risk.
Regards!
SPY Frequent Trading Strategythis is my SPY long term trading strategy:
entry if all conditions are met:
5 day rs is below 30
5 day rsi reading is down for the third day in a row
5 day rsi was below 60 three trading days ago
the close is higher than the 200 day moving average
exit when the 5 day rsi is above 50
I want to convert it into a strategy that trades more frequently, so adjust the rules so that it willl be taking multiple trades a week. and build it in pine script
ATR from VWAP📌 ATRs from VWAP – Intraday Volatility Tracker
This script measures how far price is from VWAP in ATR units, helping traders assess short-term overextension and reversion potential.
🔹 Key Features:
✅ ATR Distance from VWAP – Calculates how many ATRs the price is from the VWAP.
✅ Dynamic Table Display – Shows ATR distance in real-time for quick decision-making.
✅ Intraday Focus – Designed for scalpers and day traders using minutes or hourly timeframes.
📊 How to Use:
Look for price moving away from VWAP to identify extended moves.
Use as a reversion signal when price deviates too far from VWAP.
Volume Profile Fixed Range [EagleEye]This Pine Script code implements a "Volume Profile Fixed Range" indicator on TradingView, specifically designed by "EagleEye." Here's a breakdown of its key features and functionality:
Inputs:
Number of Bars (bbars): Determines how many bars of data to consider for volume profiling (150 bars by default).
Row Size (cnum): Defines the number of price levels for the volume profile (default is 24).
Value Area Volume Percentage (percent): Sets the percentage of total volume to define the Value Area (default is 70%).
Colors for Different Elements: Defines colors for Point of Control (POC), Value Areas, and volume bars (both up and down).
Volume Profile Calculation:
Price Levels (levels): The price levels are calculated based on the highest and lowest price points within the chosen range of bars.
Volume Allocation (volumes): Calculates volume distribution across different price levels, considering the volume at each price level during each bar.
Point of Control (POC):
The script calculates the price level with the highest total volume, referred to as the Point of Control (POC).
POC Label: If show_poc is enabled, the label for POC will be displayed on the chart.
Value Area (VA):
The Value Area is the range where the total volume reaches a certain percentage of the overall volume (default is 70%).
The script calculates the volume distribution around the POC and adjusts the Value Area accordingly.
Visualization (Boxes for Volume Levels):
The script uses box.new to draw volume bars for each price level. The bars are color-coded to show whether the volume is in the "up" or "down" direction, and they also visually highlight the Value Area.
Dynamic Updates:
The boxes representing the volume profile levels update dynamically with each new bar.
The script considers various components of each bar (body, wicks, and volume) to calculate the volume at each price level.