NIFTY Options Breakout StrategyThis strategy trades NIFTY 50 Options (CALL & PUT) using 5-minute breakout logic, strict trend filters, expiry-based symbol validation, and a dynamic trailing-profit engine.
1️⃣ Entry Logic
Only trades NIFTY 50 options, filtered automatically by symbol.
Trades only between 10:00 AM – 2:15 PM (5m bars).
Breakout trigger:
Price enters the buy breakout zone (high of last boxLookback bars ± buffer).
Trend filter:
Price must be above EMA50 or EMA200,
AND EMA50 ≥ EMA100 (to avoid weak conditions).
Optional strengthening:
EMA20>EMA50 OR EMA50>EMA100 recent cross can be enforced.
Higher-timeframe trend check:
EMA50 > EMA200 (bullish regime only).
Start trading options only after expiry–2 months (auto-parsed).
2️⃣ One Trade Per Day
Maximum 1 long trade per day.
No shorting (long-only strategy).
3️⃣ Risk Management — SL, TP & Trailing
Includes three types of exits:
🔹 A) Hard SL/TP
Hard Stop-Loss: -15%
Hard Take-Profit: +40%
🔹 B) Step-Ladder Trailing Profit
As the option price rises, trailing activates:
Max Profit Reached Exit Trigger When Falls To
≥ 35% ≤ 30%
≥ 30% ≤ 25%
≥ 25% ≤ 20%
≥ 20% ≤ 15%
≥ 15% ≤ 10%
≥ 5% ≤ 0%
🔹 C) Loss-Recovery Exit
If loss reaches –10% but then recovers to 0%, exit at breakeven.
4️⃣ Trend-Reversal Exit
If price closes below 5m EMA50, the long is exited instantly.
5️⃣ Optional Intraday Exit
EOD square-off at 3:15 PM.
6️⃣ Alerts for Automation
The strategy provides alerts for:
BUY entry
TP/SL/Trailing exit
EMA50 reversal exit
EOD exit
Moving Averages
Nifty Breakout Levels Strategy (v7 Hybrid)Nifty Breakout Levels Strategy (v7 Hybrid – Compounding from Start Date)
Instrument / TF: Designed for current-month NIFTY futures on 1-hour timeframe, with at most 1 trade per day.
Entry logic: Uses a 10-bar breakout box with a 0.3% buffer, plus EMA-based trend + proximity filter.
Longs: price in breakout-high zone, above EMA50/EMA200 and within proximityPts.
Shorts: price in breakout-low zone and strong downtrend (EMA10 < EMA20 < EMA50 < EMA200, price below EMA200).
Trades only when ATR(14) > atrTradeThresh and during regular hours (till 15:15).
Risk / exits: Stop loss is ATR-adaptive – max of slBasePoints (100 pts) and ATR * atrSLFactor; TP is fixed (tpPoints, e.g. 350 pts).
Longs have stepped trailing profit levels (100/150/200/250/320 pts) that lock in gains on pullbacks.
Shorts have trailing loss-reduction levels (80/120/140 pts) to cut improving losses.
Additional exit: 1H EMA50 2-bar reversal against the position, plus optional EOD flatten at 3:15 PM.
Compounding engine: From a chosen start date, equity is rebased to startCapital, and lot size scales dynamically as equity / capitalPerLot, with automatic lot reductions at three drawdown thresholds (ddCut1 / 2 / 3).
Automation: All entries and exits are exposed via alertconditions (long/short entry & exit) so the strategy can be connected to broker/webhook automation.
SHAMAZZ = Smoothed Heikin Ashi + MA + ZigZagSHAMAZZ combines a Smoothed Heikin Ashi structure, two moving averages, and a smart ZigZag with labeled swings to help you read trend, momentum and market structure in one glance.
What it does
1. Smoothed Heikin Ashi
• Rebuilds candles using double-smoothed EMAs to filter noise
• Bull SHA candles show trend strength and clean pushes up
• Bear SHA candles highlight clean pushes down and pullbacks
2. Moving Averages
• MA 1 is the fast trend line, default 50 period
• MA 2 is the higher time frame trend line, default 200 period
• Price above both MAs and green SHA candles suggests bullish environment
• Price below both MAs and red SHA candles suggests bearish environment
3. ZigZag with labels
• Detects major and minor swing highs and lows
• Draws ZigZag lines with separate bull and bear colors
• Labels key swings as HH, HL, LH, LL so you see market structure clearly
• Label color and opacity are fully adjustable in settings
How to use it
1. Identify the main trend
• Check MA 2 slope and where SHA candles are relative to MA 1 and MA 2
• Long bias when SHA is mostly green and price holds above MA 1 and MA 2
• Short bias when SHA is mostly red and price holds below MA 1 and MA 2
2. Read structure with the ZigZag
• Uptrend pattern: HL then HH labels stepping upward
• Downtrend pattern: LH then LL labels stepping downward
• Structure shifts when the sequence breaks
Example: series of HH HL that suddenly prints a LL
3. Time entries
• In an uptrend
• Look for HL labels forming near or slightly under MA 1
• Wait for SHA candles to flip back to bullish and then look for entries in the direction of the trend
• In a downtrend
• Look for LH labels forming near or slightly above MA 1
• Wait for SHA candles to turn bearish again and then look for short setups
4. Filter chop and ranges
• When HH HL and LL LH labels mix and alternate in a tight zone, market is ranging
• You can avoid entries when SHA candles are small, mixed colors, and price is stuck around MA 1 and MA 2
5. Multi time frame use
• Set the indicator timeframe to a higher time frame to project higher time frame SHA and MAs on a lower chart
• Trade in the direction of the projected higher time frame trend and structure for cleaner setups
This indicator is designed as a trend and structure map: SHA shows the quality of the move, MAs show the larger direction, and the ZigZag labels show the story of highs and lows so you can enter with the trend and avoid random chop.
Colored HMA [Trend Trigger]This indicator replaces the RSI as a visual "Timing Trigger."
The Wait: As the stock drops to your support level (Volume Wall / VWAP), the HMA line will be Red/Maroon and sloping down.
The Trigger: You wait for the line to Turn Teal.
Why: This confirms the momentum has physically shifted. You aren't guessing the bottom; you are waiting for the "U-Turn" to complete.
Price FX Indicator v1📈 Price FX Indicator - Premium Trend Continuation System
A clean, powerful, invite-only indicator designed to simplify your trading and highlight only high-quality continuation setups.
The Price FX Indicator combines several layers of multi-timeframe analysis, momentum behaviour, EMA structure, and precision pullback logic, all quietly running in the background so you don’t have to load multiple indicators or perform repetitive scanning across charts.
This tool brings together advanced configurations of well-established technical concepts into one unified, streamlined system.
🔥 What the Indicator Offers
Trend-continuation signals built on strict multi-TF confluence
Automatic pullback detection into areas of interest
Signal filtering using momentum and volatility logic
Clean BUY/SELL markers only when all internal criteria align
A single, minimalist tool that replaces multiple indicators
Supports alerts, so you never miss a valid setup
Visually uncluttered, ideal for fast-paced intraday use
Fully rule-based - no subjective interpretation required
The internal logic is designed to help you focus on higher-quality trade opportunities while avoiding noisy, choppy conditions.
🧠 Why Traders Use Price FX
Removes the need to constantly check multi-TF trends
Cuts down on indicator overload and chart clutter
Helps identify high-probability continuation opportunities
Saves time by automating analysis traders typically perform manually
Provides consistency and structure to your trading plan
Ideal for scalpers, day-traders, and continuation-based systems
If you trade with trend structure and prefer rules over guesswork, this indicator is designed for you.
🔐 Access & Protection
This script is published as Invite-Only to protect the internal logic.
Only authorised users can load it, and access can be revoked at any time.
A password system is included as a secondary layer of protection.
Active members receive updated access details regularly.
📌 How to Get Access
Only members of the Price FX Forex Course can access
Complete your purchase/subscription from the below link:
pricefxforex.systeme.io/productpage/pricefxcourse
Instructions on how to install the indicator can be found in the Price FX Forex Course
Support is available for onboarding and setup questions.
⚠️ Disclaimer
This indicator is for educational and informational purposes only. Nothing contained within this script, its alerts, its outputs, or any associated material should be interpreted as financial advice, investment advice, trading advice, or a recommendation to buy or sell any financial instrument.
By using this indicator, you acknowledge and agree to the following:
Trading involves risk, including the potential loss of your entire investment.
Past performance does not guarantee future results. Historical signals shown by this indicator are not a reliable guide to future outcomes.
The indicator does not guarantee accuracy, profitability, consistency, or any form of successful trading results.
All trading decisions you make are entirely your own responsibility.
The creator of this indicator is not liable for any financial losses, missed opportunities, or negative outcomes that may occur through the use of this tool.
No part of this indicator should be considered a signal service, automated trading system, or financial product.
The indicator does not account for your personal financial situation, trading experience, risk tolerance, or investment objectives.
Market conditions can change rapidly, and even high-confluence setups can fail without warning.
Alerts, drawings, signals, or interpretations generated by this indicator can repaint, be delayed, or behave unexpectedly depending on market volatility, user chart settings, or TradingView data feed limitations.
You should always verify signals independently and use proper risk management, stop-loss placement, and capital protection practices.
This tool is provided “as is,” with no warranties or guarantees of any kind. Use at your own risk.
If you choose to trade using information derived from this indicator, you accept full responsibility for all consequences.
Custom 3x Moving AveragesSwitch between MA, SMA/ EMA, adjust the Period as needed, and customize the color according to your preference.
Crypto Daily Levels + SMA Alerts (Non-Repainting)This is for paper trading purpose only.
Daily camarilla and cpr levels with 2 SMAs. fires alerts when ever the price touches the levels. still need to upgrade the code.
after long time use the alerts at the opening are flooding so need to fix it. please remove the indicator once per week and add freshly.
Eagle Strategy_P This is the strategy for one of my oldest indicator but this newer version is more refined.
This is given access along with the indicator, so you can test your own settings as well.
Works best on 4h TF.
I mostly trade BTC and ETH and sometimes SOL as well, so I have included best settings for all of them. If you want to use it for some other coins, I have no idea if it'll work for them or not, so if you want my recommendation, just stick to these three.
For reference...settings are
BTC - 195 | 195
ETH - 91 | 175
SOL - 150 | 194
Directional Positional Option Selling Modelif you want to go dictional selling use it on 1 day or 4 hr chart
Kaufman Trend Navigator [QuantAlgo]🟢 Overview
The Kaufman Trend Navigator is an adaptive trend following system that combines efficiency-weighted price smoothing with volatility-adjusted bands to identify and track directional market movements. The indicator dynamically adjusts its sensitivity based on market conditions, becoming more responsive during trending periods and more conservative during consolidation. This dual-layer approach provides traders and investors with a systematic framework for trend identification, entry timing, and risk management across multiple timeframes and asset classes.
🟢 How It Works
The indicator employs an efficiency ratio mechanism that measures the directional movement of price relative to total price volatility over a defined lookback period. This ratio determines the adaptive response rate, allowing the system to distinguish between genuine directional moves and random market noise. When price exhibits strong directional characteristics, the internal smoothing accelerates to track the trend more closely. Conversely, during periods of low efficiency or choppy price action, the smoothing becomes more conservative to filter out false signals.
Volatility bands are constructed using normalized range measurements, creating dynamic upper and lower boundaries around the adaptive trend calculation. These bands expand and contract based on recent market volatility, providing context-dependent thresholds for trend validation. The trend line itself updates through a band-following logic where it tracks the relevant boundary based on the current directional bias, creating a stepping mechanism that maintains trend persistence while allowing for validated reversals.
The visual representation uses a gradient-weighted display to emphasize the primary trend line while maintaining clarity on price charts. Trend direction changes trigger when the internal logic confirms a boundary crossover, generating signals for potential position entries or exits. The system includes preset configurations calibrated for different trading timeframes, from responsive settings for scalping to smoother parameters suited for swing and position trading.
🟢 How to Use It
▶ Enter Long positions when the trend line transitions to Bullish (Green) coloring, which indicates upward directional bias has been established. Conversely, enter Short positions or exit Longs when the trend line shifts to Bearish (Red), which signals confirmed downward momentum.
The trend line itself can be used as dynamic support during uptrends and resistance during downtrends, providing logical areas for position management and stop placement. Price remaining above the line during bullish phases or below during bearish phases can also be used as a confirmation of trend strength and continuation probability.
▶ Built-in alert functionality provides real-time notifications for trend changes without requiring continuous chart monitoring. Configure alerts for Bullish Trend Signal to capture upward reversals, Bearish Trend Signal for downward shifts, or the general Trend Change alert to monitor both directions simultaneously. These alerts trigger only on confirmed trend transitions, reducing noise from intrabar fluctuations.
The indicator also includes six color presets (Classic, Aqua, Cosmic, Ember, Neon, Custom) to optimize visual clarity across different chart themes and lighting conditions. Select presets based on your monitor setup and background preference to ensure immediate trend recognition without visual strain. Bar coloring can be enabled to highlight trend direction directly on the price chart, eliminating the need to reference the trend line position during rapid market analysis.
🟢 Pro Tips for Trading and Investing
▶ Match the preset configuration (or your preferred settings) to your trading timeframe: use Fast Response for intraday charts (1-15 minutes), Default for swing trading (hourly to daily), and Smooth Trend for position trading (4-hour to weekly).
▶ Combine trend signals with volume analysis and market structure to filter lower-probability setups. During sideways markets, expect increased signal frequency with reduced reliability; consider waiting for the trend line to establish a clear slope before committing capital.
▶ Use the trend line as a trailing reference rather than a fixed stop level, allowing normal intrabar volatility while protecting against genuine reversals.
▶ For portfolio management, align position sizing with trend strength by observing the angle and consistency of the trend line progression.
Pivot Points Standard + 9/20/50/200 EMA by NK//@version=6
indicator("Pivot Points Standard + 9/20/50/200 EMA", "Pivots+EMA", overlay=true, max_lines_count=500, max_labels_count=500)
// --- EMA calculations and plots
ema9 = ta.ema(close, 9)
ema20 = ta.ema(close, 20)
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
plot(ema9, color=color.green, linewidth=2, title="EMA 9")
plot(ema20, color=color.red, linewidth=2, title="EMA 20")
plot(ema50, color=color.new(color.blue, 0), linewidth=2, title="EMA 50") // dark blue
plot(ema200, color=color.black, linewidth=2, title="EMA 200")
// --- Pivots Inputs
pivotTypeInput = input.string(title="Type", defval="Traditional", options= )
pivotAnchorInput = input.string(title="Pivots Timeframe", defval="Auto", options= )
maxHistoricalPivotsInput = input.int(title="Number of Pivots Back", defval=15, minval=1, maxval=200, display = display.data_window)
isDailyBasedInput = input.bool(title="Use Daily-based Values", defval=true, display = display.data_window, tooltip="When this option is unchecked, Pivot Points will use intraday data while calculating on intraday charts. If Extended Hours are displayed on the chart, they will be taken into account during the pivot level calculation. If intraday OHLC values are different from daily-based values (normal for stocks), the pivot levels will also differ.")
showLabelsInput = input.bool(title="Show Labels", defval=true, group="labels", display = display.data_window)
showPricesInput = input.bool(title="Show Prices", defval=true, group="labels", display = display.data_window)
positionLabelsInput = input.string("Left", "Labels Position", options= , group="labels", display = display.data_window, active = showLabelsInput or showPricesInput)
linewidthInput = input.int(title="Line Width", defval=1, minval=1, maxval=100, group="levels", display = display.data_window)
DEFAULT_COLOR = #FB8C00
showLevel2and3 = pivotTypeInput != "DM"
showLevel4 = pivotTypeInput != "DM" and pivotTypeInput != "Fibonacci"
showLevel5 = pivotTypeInput == "Traditional" or pivotTypeInput == "Camarilla"
pColorInput = input.color(DEFAULT_COLOR, "P ", inline="P", group="levels", display = display.data_window)
pShowInput = input.bool(true, "", inline="P", group="levels", display = display.data_window)
s1ColorInput = input.color(DEFAULT_COLOR, "S1", inline="S1/R1" , group="levels", display = display.data_window)
s1ShowInput = input.bool(true, "", inline="S1/R1", group="levels", display = display.data_window)
r1ColorInput = input.color(DEFAULT_COLOR, " R1", inline="S1/R1", group="levels", display = display.data_window)
r1ShowInput = input.bool(true, "", inline="S1/R1", group="levels", display = display.data_window)
s2ColorInput = input.color(DEFAULT_COLOR, "S2", inline="S2/R2", group="levels", display = display.data_window, active = showLevel2and3)
s2ShowInput = input.bool(true, "", inline="S2/R2", group="levels", display = display.data_window, active = showLevel2and3)
r2ColorInput = input.color(DEFAULT_COLOR, " R2", inline="S2/R2", group="levels", display = display.data_window, active = showLevel2and3)
r2ShowInput = input.bool(true, "", inline="S2/R2", group="levels", display = display.data_window, active = showLevel2and3)
s3ColorInput = input.color(DEFAULT_COLOR, "S3", inline="S3/R3", group="levels", display = display.data_window, active = showLevel2and3)
s3ShowInput = input.bool(true, "", inline="S3/R3", group="levels", display = display.data_window, active = showLevel2and3)
r3ColorInput = input.color(DEFAULT_COLOR, " R3", inline="S3/R3", group="levels", display = display.data_window, active = showLevel2and3)
r3ShowInput = input.bool(true, "", inline="S3/R3", group="levels", display = display.data_window, active = showLevel2and3)
s4ColorInput = input.color(DEFAULT_COLOR, "S4", inline="S4/R4", group="levels", display = display.data_window, active = showLevel4)
s4ShowInput = input.bool(true, "", inline="S4/R4", group="levels", display = display.data_window, active = showLevel4)
r4ColorInput = input.color(DEFAULT_COLOR, " R4", inline="S4/R4", group="levels", display = display.data_window, active = showLevel4)
r4ShowInput = input.bool(true, "", inline="S4/R4", group="levels", display = display.data_window, active = showLevel4)
s5ColorInput = input.color(DEFAULT_COLOR, "S5", inline="S5/R5", group="levels", display = display.data_window, active = showLevel5)
s5ShowInput = input.bool(true, "", inline="S5/R5", group="levels", display = display.data_window, active = showLevel5)
r5ColorInput = input.color(DEFAULT_COLOR, " R5", inline="S5/R5", group="levels", display = display.data_window, active = showLevel5)
r5ShowInput = input.bool(true, "", inline="S5/R5", group="levels", display = display.data_window, active = showLevel5)
type graphicSettings
string levelName
color levelColor
bool showLevel
var graphicSettingsArray = array.from(
graphicSettings.new(" P", pColorInput, pShowInput),
graphicSettings.new("R1", r1ColorInput, r1ShowInput), graphicSettings.new("S1", s1ColorInput, s1ShowInput),
graphicSettings.new("R2", r2ColorInput, r2ShowInput), graphicSettings.new("S2", s2ColorInput, s2ShowInput),
graphicSettings.new("R3", r3ColorInput, r3ShowInput), graphicSettings.new("S3", s3ColorInput, s3ShowInput),
graphicSettings.new("R4", r4ColorInput, r4ShowInput), graphicSettings.new("S4", s4ColorInput, s4ShowInput),
graphicSettings.new("R5", r5ColorInput, r5ShowInput), graphicSettings.new("S5", s5ColorInput, s5ShowInput))
autoAnchor = switch
timeframe.isintraday => timeframe.multiplier <= 15 ? "1D" : "1W"
timeframe.isdaily => "1M"
=> "12M"
pivotTimeframe = switch pivotAnchorInput
"Auto" => autoAnchor
"Daily" => "1D"
"Weekly" => "1W"
"Monthly" => "1M"
"Quarterly" => "3M"
=> "12M"
pivotYearMultiplier = switch pivotAnchorInput
"Biyearly" => 2
"Triyearly" => 3
"Quinquennially" => 5
"Decennially" => 10
=> 1
numOfPivotLevels = switch pivotTypeInput
"Traditional" => 11
"Camarilla" => 11
"Woodie" => 9
"Classic" => 9
"Fibonacci" => 7
"DM" => 3
type pivotGraphic
line pivotLine
label pivotLabel
method delete(pivotGraphic graphic) =>
graphic.pivotLine.delete()
graphic.pivotLabel.delete()
var drawnGraphics = matrix.new()
localPivotTimeframeChange = timeframe.change(pivotTimeframe) and year % pivotYearMultiplier == 0
securityPivotTimeframeChange = timeframe.change(timeframe.period) and year % pivotYearMultiplier == 0
pivotTimeframeChangeCounter(condition) =>
var count = 0
if condition and bar_index > 0
count += 1
count
localPivots = ta.pivot_point_levels(pivotTypeInput, localPivotTimeframeChange)
securityPivotPointsArray = ta.pivot_point_levels(pivotTypeInput, securityPivotTimeframeChange)
securityTimeframe = timeframe.isintraday ? "1D" : timeframe.period
= request.security(syminfo.tickerid, pivotTimeframe, , lookahead = barmerge.lookahead_on)
pivotPointsArray = isDailyBasedInput ? securityPivots : localPivots
affixOldPivots(endTime) =>
if drawnGraphics.rows() > 0
lastGraphics = drawnGraphics.row(drawnGraphics.rows() - 1)
for graphic in lastGraphics
graphic.pivotLine.set_x2(endTime)
if positionLabelsInput == "Right"
graphic.pivotLabel.set_x(endTime)
drawNewPivots(startTime) =>
newGraphics = array.new()
for in pivotPointsArray
levelSettings = graphicSettingsArray.get(index)
if not na(coord) and levelSettings.showLevel
lineEndTime = startTime + timeframe.in_seconds(pivotTimeframe) * 1000 * pivotYearMultiplier
pivotLine = line.new(startTime, coord, lineEndTime, coord, xloc = xloc.bar_time, color=levelSettings.levelColor, width=linewidthInput)
pivotLabel = label.new(x = positionLabelsInput == "Left" ? startTime : lineEndTime,
y = coord,
text = (showLabelsInput ? levelSettings.levelName + " " : "") + (showPricesInput ? "(" + str.tostring(coord, format.mintick) + ")" : ""),
style = positionLabelsInput == "Left" ? label.style_label_right : label.style_label_left,
textcolor = levelSettings.levelColor,
color = #00000000,
xloc=xloc.bar_time)
newGraphics.push(pivotGraphic.new(pivotLine, pivotLabel))
drawnGraphics.add_row(array_id = newGraphics)
if drawnGraphics.rows() > maxHistoricalPivotsInput
oldGraphics = drawnGraphics.remove_row(0)
for graphic in oldGraphics
graphic.delete()
localPivotDrawConditionStatic = not isDailyBasedInput and localPivotTimeframeChange
securityPivotDrawConditionStatic = isDailyBasedInput and securityPivotCounter != securityPivotCounter
var isMultiYearly = array.from("Biyearly", "Triyearly", "Quinquennially", "Decennially").includes(pivotAnchorInput)
localPivotDrawConditionDeveloping = not isDailyBasedInput and time_close == time_close(pivotTimeframe) and not isMultiYearly
securityPivotDrawConditionDeveloping = false
if (securityPivotDrawConditionStatic or localPivotDrawConditionStatic)
affixOldPivots(time)
drawNewPivots(time)
var FIRST_BAR_TIME = time
if (barstate.islastconfirmedhistory and drawnGraphics.columns() == 0)
if not na(securityPivots) and securityPivotCounter > 0
if isDailyBasedInput
drawNewPivots(FIRST_BAR_TIME)
else
runtime.error("Not enough intraday data to calculate Pivot Points. Lower the Pivots Timeframe or turn on the 'Use Daily-based Values' option in the indicator settings.")
else
runtime.error("Not enough data to calculate Pivot Points. Lower the Pivots Timeframe in the indicator settings.")
8 EMA Candle Color ChangeableJust a quick indicator that I threw together that shows the 8 EMA and changes the candle colors if the candle closes above or below the EMA.
BETA ZONES v1.0BETA ZONES v1.0 Indicator
Overview
BETA ZONES v1.0 is a comprehensive technical analysis tool designed for TradingView, combining an EMA-based ribbon with dynamic glow zones, structural pivot detection, and real-time ATR visualization. This overlay indicator helps traders identify trends, support/resistance zones, and potential breakout points by blending moving averages, volatility-based shading, and pivot structures. It's particularly useful for trend-following strategies, swing trading, and confirming market reversals on any timeframe or asset, including those using Heikin Ashi candles (as it incorporates real close data to bypass transformations).
The indicator emphasizes visual clarity with color-coded elements: bullish trends in shades of green/lime and bearish in red/maroon. It includes customizable toggles for each component, allowing users to focus on specific features without cluttering the chart.
Key Features
• EMA Ribbon & Glow System:
o Displays a ribbon formed by three EMAs (5, 20, and 50 periods) with gradient fills between them, colored based on trend strength.
o A dynamic "glow" zone around the 50-period EMA, calculated using ATR (Average True Range), acts as a volatility-based support (bullish) or resistance (bearish) band. The glow expands/contracts with market volatility, providing a visual buffer for potential price reactions.
o Real Close Dot: A small circle plotted at the actual closing price of each bar (sourced from standard candles), aiding in precise data verification even on transformed charts like Heikin Ashi.
• Structural Pivots:
o Automatically detects and labels confirmed pivot highs and lows using customizable symbols (e.g., arrows, dots, or curves).
o Draws breakout lines connecting pivots to the bar where structure is broken (Break of Structure - BOS), highlighting bullish (green) or bearish (red) shifts.
o Pivots are trend-aware: In uptrends, it tracks higher highs/lows until a downside break; in downtrends, lower highs/lows until an upside break.
• Real ATR Display:
o A compact table at the bottom-center of the chart showing the current 14-period ATR value (calculated on real data), useful for gauging volatility and setting stop-losses or targets.
How It Works
• EMA Ribbon Logic: The fast EMA (5) is compared to the mid (20), and mid to slow (50), to determine sub-trends. Price relative to the slow EMA sets the overall bullish/bearish bias. Fills create a "ribbon" effect, with colors intensifying in strong trends.
• Glow Zone: Uses a user-defined ATR length and multiplier to create upper/lower bands around the slow EMA. The glow is one-sided: below for bullish (support) and above for bearish (resistance), with semi-transparent shading for easy price overlay.
• Pivot Detection: Tracks the current trend direction (up or down) and reference high/low from the last confirmed pivot. A breakout (close crossing the reference level) confirms a new pivot, labels it, and optionally draws a line to the breakout bar. Bar coloring (yellow) highlights breakout candles.
• Data Handling: All calculations use real close prices via request.security to ensure accuracy on non-standard chart types.
Settings and Customization
The indicator is divided into intuitive input groups for easy configuration:
1. EMA Ribbon & Glow:
o Show EMA Ribbon & Glow: Master toggle to enable/disable the entire ribbon and glow (default: true). Note: Real Close Dot is independent.
o ATR Length (Glow): Lookback for ATR calculation (default: 3; higher = smoother glow).
o ATR Multiplier (Glow Size): Scales the glow width (default: 0.15; higher = wider zone).
o Show Real Close Dot: Toggle for the orange dot at real closes (default: true).
o Real Close Dot Color: Customize the dot's color (default: orange).
2. Structural Pivots:
o Show Pivot Labels: Toggle visibility of high/low symbols (default: true).
o Pivot Symbol Style: Choose from pairs like "︽ ︾" (low/high) or "•" (dots) (default: "•").
o Label Size: Adjust symbol size (Tiny to Huge; default: Normal).
o Pivot High/Low Label Colors: Set colors for labels (default: white).
o Show Breakout Lines: Toggle lines from pivot to breakout (default: true).
o Line Width: Thickness of breakout lines (default: 2).
o Line Style: Solid, Dashed, or Dotted (default: Solid).
o Resistance Break Line (Bullish): Color for upside breaks (default: green).
o Support Break Line (Bearish): Color for downside breaks (default: red).
No additional inputs are required for the ATR table, as it's always displayed on the last bar for quick reference.
Usage Tips
• Trend Identification: Use the EMA ribbon colors to gauge momentum—full green for strong bulls, red for bears. The glow zone can act as a dynamic entry/exit area (e.g., buy near bullish glow support).
• Breakout Trading: Watch for pivot labels and BOS lines as signals for trend reversals. Combine with volume or other indicators for confirmation.
• Volatility Awareness: The displayed ATR(14) helps in position sizing; for example, set stops at 1-2x ATR from entry.
• Chart Compatibility: Works best on candlestick or Heikin Ashi charts. For lower timeframes, reduce ATR length for faster reactivity; increase for higher timeframes.
• Limitations: Pivots are reactive and may lag in ranging markets. Glow is based on historical ATR, so it doesn't predict future volatility.
This indicator is in beta (v1.0) and open to feedback for improvements. Add it to your chart via TradingView's indicator search and experiment with settings to fit your strategy!
Support/Resistance (OI) + 9/20 EMA//@version=6
indicator("Support/Resistance (OI) + 9/20 EMA", overlay=true)
ema9 = ta.ema(close, 9)
ema20 = ta.ema(close, 20)
plot(ema9, color=color.blue, linewidth=2, title="EMA 9")
plot(ema20, color=color.orange, linewidth=2, title="EMA 20")
// Update these levels daily based on your OI analysis
s1 = 25850
s2 = 25800
s3 = 25500
r1 = 26000
r2 = 25950
r3 = 26100
// Use hline for persistent horizontal levels
hline(s1, 'Support 1', color=color.green, linestyle=hline.style_dashed, linewidth=2)
hline(s2, 'Support 2', color=color.green, linestyle=hline.style_dashed, linewidth=2)
hline(s3, 'Support 3', color=color.green, linestyle=hline.style_dashed, linewidth=2)
hline(r1, 'Resistance 1', color=color.red, linestyle=hline.style_dashed, linewidth=2)
hline(r2, 'Resistance 2', color=color.red, linestyle=hline.style_dashed, linewidth=2)
hline(r3, 'Resistance 3', color=color.red, linestyle=hline.style_dashed, linewidth=2)
Mambo MA & HAMambo MA & HA is a combined trend-view indicator that overlays Heikin Ashi direction markers and up to eight customizable moving averages on any chart.
The goal is to give a clear, uncluttered visual summary of short-term and long-term trend direction using both regular chart data and Heikin Ashi structure.
This indicator displays:
Heikin Ashi (HA) directional markers on the chart timeframe
Optional Heikin Ashi markers from a second, higher timeframe
Up to eight different moving averages (SMA, EMA, SMMA/RMA, WMA, VWMA)
Adjustable colors and transparency for visual layering
Offset controls for HA markers to prevent overlap with price candles
It is designed for visual clarity without altering the underlying price candles.
Heikin Ashi Direction Markers (Chart Timeframe)
The indicator generates HA OHLC values internally and compares the HA open and close:
Green (bullish) HA candle → triangle-up marker plotted above the bar
Red (bearish) HA candle → triangle-down marker plotted above the bar
The triangles use soft pastel colors for minimal obstruction:
Up marker: light green (rgb 204, 232, 204)
Down marker: light red (rgb 255, 204, 204)
The “HA Offset (chart TF ticks)” input lets users shift the triangle vertically in price terms to avoid overlapping the real candles or MAs.
Heikin Ashi Markers from a Second Timeframe
An optional second timeframe (default: 60m) shows additional HA direction:
Green HA (higher timeframe) → tiny triangle-up below the bar
Red HA (higher timeframe) → tiny triangle-down below the bar
This allows a trader to see higher-timeframe HA structure without switching charts.
The offset for the second timeframe is independent (“HA Offset (extra TF ticks)”).
Custom Moving Averages (Up to Eight)
The indicator includes eight individually configurable MAs, each with:
On/off visibility toggle
MA type
SMA
EMA
SMMA / RMA
WMA
VWMA
Source
Length
Color (with preset 70% transparency for visual stacking)
The default MA lengths are: 10, 20, 50, 100, 150, 200, 250, 300.
All MA colors are slightly transparent by design to avoid obscuring price bars and HA markers.
Purpose of the Indicator
This tool provides a simple combined view of:
Immediate trend direction (chart-TF HA markers)
Higher-timeframe HA trend bias (extra-TF markers)
Overall moving-average structure from short to very long periods
It is particularly useful for:
Monitoring trend continuation vs. reversal
Confirming entries with multi-TF Heikin Ashi direction
Identifying pullbacks relative to layered moving averages
Viewing trend context without switching timeframes
There are no signals, alerts, or strategy components.
It is strictly a visual trend-context tool.
Key Features Summary
Two-timeframe Heikin Ashi direction
Separate offsets for HA markers
Eight fully configurable MAs
Clean color scheme with low opacity
Non-intrusive overlays
Compatible with all markets and chart types
Volume Accumulation Percentage with SignalsConverted from TOS Tape Reader. Tape Reader Version TWO
changed colors to be more compatible with dark mode
candle painting now works and has been added
changed the volume calculations which radically changed the trend dashboard
trend line has been moved to the the bottom of the indicator from the zeroline to give it more prominence
sell arrow more timely
streamlined the chart
scanner re-written.
Trend is now based on the delta in buying pressure in relation to its moving average.
Buying pressure is the important facet of volume when looking for reversals.
This allowed us to remove all the various other lower volume charts.
Candle painting was requested but was problematic given the manner of the calculations.
The calculations have been modified to be 'candle painting' friendly
Added 'dark mode' option which will change the reversal spikes and arrows to WHITE
usethinkscript.com
Fixed EMAsMulti-Timeframe EMA Levels – Fixed Horizontal Lines
Clean display of 15min, 1H or 4H EMAs as fixed horizontal lines with exact price labels on the right + last price
Moving VWAP-KAMA CloudMoving VWAP-KAMA Cloud
Overview
The Moving VWAP-KAMA Cloud is a high-conviction trend filter designed to solve a major problem with standard indicators: Noise. By combining a smoothed Volume Weighted Average Price (MVWAP) with Kaufman’s Adaptive Moving Average (KAMA), this indicator creates a "Value Zone" that identifies the true structural trend while ignoring choppy price action.
Unlike brittle lines that break constantly, this cloud is "slow" by design—making it exceptionally powerful for spotting genuine trend reversals and filtering out fakeouts.
How It Works
This script uses a unique "Double Smoothing" architecture:
The Anchor (MVWAP): We take the standard VWAP and smooth it with a 30-period EMA. This represents the "Fair Value" baseline where volume has supported price over time.
The Filter (KAMA): We apply Kaufman's Adaptive Moving Average to the already smoothed MVWAP. KAMA is unique because it flattens out during low-volatility (choppy) periods and speeds up during high-momentum trends.
The Cloud:
Green/Teal Cloud: Bullish Structure (MVWAP > KAMA)
Purple Cloud: Bearish Structure (MVWAP < KAMA)
🔥 The "Reversal Slingshot" Strategy
Backtests reveal a powerful behavior during major trend changes, particularly after long bear markets:
The Resistance Phase: During a long-term downtrend, price will repeatedly rally into the Purple Cloud and get rejected. The flattened KAMA line acts as a "concrete ceiling," keeping the bearish trend intact.
The Breakout & Flip: When price finally breaks above the cloud with conviction, and the cloud flips Green, it signals a structural regime change.
The "Slingshot" Retest: Often, immediately after this flip, price will drop back into the top of the cloud. This is the "Slingshot" moment. The old resistance becomes new, hardened support.
The Rally: From this support bounce, stocks often launch into a sustained, multi-month bull run. This setup has been observed repeatedly at the bottom of major corrections.
How to Use This Indicator
1. Dynamic Support & Resistance
The KAMA Wall: When price retraces into the cloud, the KAMA line often flattens out, acting as a hard "floor" or "wall." A break of this wall usually signals a genuine trend change, not just a stop hunt.
2. Trend Confirmation (Regime Filter)
Bullish Regime: If price is holding above the cloud, only look for Long setups.
Bearish Regime: If price is holding below the cloud, only look for Short setups.
No-Trade Zone: If price is stuck inside the cloud, the market is traversing fair value. Stand aside until a clear winner emerges.
3. Multi-Timeframe Versatility
While designed for trend confirmation on higher timeframes (4H, Daily), this indicator adapts beautifully to lower timeframes (5m, 15m) for intraday scalping.
On Lower Timeframes: The cloud reacts much faster, acting as a dynamic "VWAP Band" that helps intraday traders stay on the right side of momentum during the session.
Settings
Moving VWAP Period (30): The lookback period for the base VWAP smoothing.
KAMA Settings (10, 10, 30): Controls the sensitivity of the adaptive filter.
Cloud Transparency: Adjust to keep your chart clean.
Alerts Included
Price Cross Over/Under MVWAP
Price Cross Over/Under KAMA
Cloud Flip (Bullish/Bearish Trend Change)
Tip for Traders
This is not a signal entry indicator. It is a Trend Conviction tool. Use it to filter your entries from faster indicators (like RSI or MACD). If your fast indicator signals "Buy" but the cloud is Purple, the probability is low. Wait for the Cloud Flip
SwRp - Multi Trapezoidal WMASwRp - Multi TWMA (TF-aware) shows up to five configurable Trapezoidal Weighted Moving Averages (TWMA) across a single pane. Each line supports an independent length, weighted taper percent, source (Close/Open/High/Low/H&L/H&L+HL2), optional band (High & Low) with fill, and a post-calculation smoothing option. The indicator is timeframe-aware: calculations can run on the chart timeframe or on a selected higher/lower timeframe. Designed to visualize dynamic support/resistance and the market’s weighted center across multiple horizons.






















