POF🔶 Smoothed POF Profile – Multi-Session Market Structure Tool 🔶
The Smoothed POF Profile is a precision-engineered market structure indicator that identifies the Point of Focus (POF) — the price level where market participation was most active — across Daily, Weekly, and Monthly sessions and plots them with smoothed over form to avoid whipsaws.
🔍 Powered by a custom-built algorithm for session profiling, this tool highlights:
🔶 POF: The most frequently traded or accepted price during a session
🟩 VAH / VAL: Dynamic Value Area High and Low markers (no cluttered lines — clean label-only display)
📐 The core logic utilizes a proprietary data refinement method that adapts to session volatility and filters out insignificant noise to avoid false shifts in structure. This results in smoothed POF readings that remain stable and meaningful — even during high-volatility periods.
🧠 Designed for traders who want to track evolving value, this tool provides a high-level view of where the market is finding agreement — and where price is likely to revert or expand from.
✅ Key Features:
Fully automated: Tracks Daily, Weekly, and Monthly sessions in real-time
Session-aware calculation of key structure levels
Elegant, non-obtrusive chart visuals (no histogram or volume bars)
Fully configurable Value Area % and display toggles
Multi-session color-coding (🟧 Daily, 🔵 Weekly, 🟣 Monthly)
🧭 Trading Applications:
POF Bias: Use POF as an evolving balance point. Price above = bullish lean, price below = bearish tilt
VAH/VAL Zones: Anticipate rejection or consolidation when price re-enters the value area. Use breakouts for continuation bias
Session Stack Confluence: When Daily, Weekly, and Monthly POFs cluster, it often signals strong interest zones and potential turning points
🧩 Use alongside your preferred price action, volume, or trend confirmation tools. This is not a signal-based system — it’s a contextual framework to help you align with market intent and structure.
⚠️ Disclaimer: This tool is intended for educational and informational purposes only. It is not financial advice. Use with proper risk management and your own due diligence.
Penunjuk dan strategi
Supply and Demand Order BlocksSupply and Demand Order Blocks indicator identifies potential price reversal zones based on the order block model. The indicator displays supply zones (in red) and demand zones (in green) with extension lines to easily identify support and resistance levels.
Enhanced Candle Sentiment ScoreIndicates bullishness/bearishness scores based on the body-to-range ratio, wick symmetry, and volume.
Day and Session Highlighter (UTC)Day and Session Highlighter (UTC Forced)", is designed to overlay your chart and display both session background colors and informative labels at the start of each trading session—all calculated in UTC. The script targets four distinct sessions: AU (Australia), Asia (Singapore/Hong Kong/JP), Europe, and New York. In addition to session highlighting, it displays labels that combine the UTC day-of‑week and the session’s starting time. All elements are configurable via on-screen toggles.
Trend MatrixFinal TradingView-Compliant Description for Trend Matrix
Trend Matrix is a precision-engineered trend-following strategy built for high-confidence entries and tactical trade management.
This strategy combines multiple non-repainting filters, each with a distinct role, to form a unified "trend matrix" that confirms directional bias, volume commitment, and momentum strength — all before entry is considered.
🔍 Core Components & Why They’re Used
🧠 Gaussian Filter (Custom)
A smoothed Gaussian-weighted moving average is used to detect trend direction changes. Unlike standard EMAs, this filter minimizes lag while retaining smooth transitions — ideal for confirming trend shifts without false reversals.
📈 RMI Trend Memory
A Relative Momentum Index is used to validate trend direction persistence. RMI's ability to filter out short-term oscillations makes it ideal for confirming whether a trend is still active.
📊 Gradient Filter (ZLEMA-based)
Measures the slope of a ZLEMA-smoothed close. If slope flips, it signals a potential trend weakness. This provides real-time confirmation for entry or exit bias.
📉 Volume Spike Detection
Confirms that breakouts or trend continuations are supported by volume commitment. Uses a dynamic SMA-based volume filter with a user-defined multiplier.
🟦 White Line (Bias Midpoint)
This structural component calculates the midpoint of the highest high and lowest low over a range — providing directional context and helping eliminate trades in consolidation zones.
🎯 Entry Conditions
Long entries require:
Gaussian trend flip to the upside
RMI > 50 (bullish memory)
Volume spike confirmation
Positive gradient (ZLEMA slope)
Price above White Line (bias filter)
Short entries use the inverse logic.
All entries enforce a cooldown bar to prevent same-bar reversals or whipsaw trades.
🎯 Exit Conditions
Take Profit 1: 50% of position at +2%
Take Profit 2: Remaining 50% at +4%
Early Exit on Trend Weakness:
Position closes fully if the trend weakens (RMI flip or gradient reversal)
📊 Dashboard + Performance Tracking
The built-in dashboard shows:
Current Position
Entry Price
TP1/TP2 Hit Status
Bars Since Entry
Win Rate (%)
Profit Factor
Useful for manual tracking or live trading review.
🌐 Multi-Exchange Bot Compatibility
Trend Matrix is built with universal trade alerts using customizable comment= fields. This makes it compatible with any exchange-connected bot platform such as:
WunderTrading
3Commas
Alertatron
Cornix
Or any webhook-based trading system
Alerts are sent using the {{strategy.order.comment}} placeholder, allowing you to route entries and exits through your preferred exchange account on Binance, Bybit, OKX, Kraken, and others.
🛠️ Customization
All components are modular:
TP1/TP2 levels
Gaussian length & sigma
Volume spike filter sensitivity
Gradient & White Line length
RMI settings
You can tailor the strategy for different assets or timeframes — optimized for crypto 1H, but works with stocks, FX, or lower timeframes with adjusted parameters.
✅ Final Notes
Trend Matrix is not just a mashup — it's a synchronized system of filters with clear roles, designed to maximize trade confidence and minimize noise. Every layer of confirmation serves a purpose, making this a highly adaptive trend-following tool for any market environment.
⚠️ Disclaimer (as required by TradingView)
This script is for educational purposes only and does not constitute financial advice. Use at your own risk. Always test strategies thoroughly before applying them in live trading environments. Past performance is not indicative of future results.
1MG Group Premium🔹 Indicator Name: SMART 1MG
🔹 Description: A professional indicator developed to accurately identify entry and exit points using innovative strategy development methods.
It relies on intelligent trend analysis and works efficiently across various timeframes and markets (Forex, Cryptocurrencies, Gold, Stocks).
🔹 Features:
Clear signals with a distinctive color.
Full support for entry and exit points.
Can be used within a trading robot or automated notifications.
Works without redrawing.
Easy to use and features a clean interface.
🔹 Usage:
Add the indicator to the chart.
Monitor the color signals:
✅ Buy and Smart Buy = Buy Entry
❌ Sell and Smart Sell = Sell Entry
📌 Important Notes:
Best used with strict risk management.
1MG Group Premium🔹 Indicator Name: SMART 1MG
🔹 Description: A professional indicator developed to accurately identify entry and exit points using innovative strategy development methods.
It relies on intelligent trend analysis and works efficiently across various timeframes and markets (Forex, Cryptocurrencies, Gold, Stocks).
🔹 Features:
Clear signals with a distinctive color.
Full support for entry and exit points.
Can be used within a trading robot or automated notifications.
Works without redrawing.
Easy to use and features a clean interface.
🔹 Usage:
Add the indicator to the chart.
Monitor the color signals:
✅ Buy and Smart Buy = Buy Entry
❌ Sell and Smart Sell = Sell Entry
📌 Important Notes:
Best used with strict risk management.
Timeframe Correlation TableTimeframe Correlation Table — Multi-Timeframe Structure Alignment Simplified
Finally, a clean visual tool that tells you instantly whether the 4H, 1H, and 5M structures are aligned or conflicted — so you can stop second-guessing your bias.
🔹 Structure Logic
Uses EMA-based bias detection on:
• 4H (default 200 EMA)
• 1H (default 200 EMA)
• 5M (default 50 EMA)
Bias is shown as Bullish or Bearish per timeframe, based on whether price is above or below the respective EMA.
🔹 Bias Filter Logic
If all 3 are bullish → shows LONG
If all 3 are bearish → shows SHORT
If mixed → shows MIXED
This allows you to instantly gauge whether you’re trading with structure or against it.
🔹 Fully Customizable
• Change color of bullish, bearish, and mixed states
• Change table position and size
• Designed to be subtle and unobtrusive on your chart
This is perfect for intraday traders who need to align lower timeframe entries with higher timeframe structure — without clutter or distractions.
TOMOs Consolidation Indicator using Bar Heightswhat this is: This indicator creates an alert (see green arrow) when there are periods of consolidation in the chart. YOU define what consolidation means. It looks at BOTH candle heights (wicks included by default) AND checks the lowest and highest of those candles.
> Number of candles to check: you define how many candles you want to use to calculate consolidation. For instance, if you select 3 candles and you're on a 5-min chart, that's 15 mins of consolidation.
> Max Candle Height: You define what consolidation height or range is considered consolidation to you. So if you put in a value of 15. That means the last X number of candles are examined for whether OR NOT they are at or below that height. If they are, then it checks to see if the lowest and highest point among those candles are within that height as well. IF they are, then you see a green arrow. That is consolidation in this indicator. And you can use it for an alarm.
> the blue shade just means consolidation is continuing BEYOND the green-arrow when it was indicated. It's just a visual indicator. that's it.
> Include Wicks in Candle Height? Maybe you just want the body of the candle and not it's wicks. Your call.
Trigger Starts and stops: hour/min. This is ALL Eastern time (NYSE's time) and NOT your own timezone. You can simply tell the script you ONLY want the trigger alert to happen between the the start and end time. So if you're using it to trigger a trade, maybe you don't want to trigger it too early or late in the day.
Inputs in Status Line: This is tradingview default. I can't remove it.
TOMOs 5 Consolidation Indicator using Bar HeightsThis indicator creates an alert (see green arrow) when there are periods of consolidation in the chart. YOU define what consolidation means. It looks at BOTH candle heights (wicks included by default) AND checks the lowest and highest of those candles.
> Number of candles to check: you define how many candles you want to use to calculate consolidation. For instance, if you select 3 candles and you're on a 5-min chart, that's 15 mins of consolidation.
> Max Candle Height: You define what consolidation height or range is considered consolidation to you. So if you put in a value of 15. That means the last X number of candles are examined for whether OR NOT they are at or below that height. If they are, then it checks to see if the lowest and highest point among those candles are within that height as well. IF they are, then you see a green arrow. That is consolidation in this indicator. And you can use it for an alarm.
> the blue shade just means consolidation is continuing BEYOND the green-arrow when it was indicated. It's just a visual indicator. that's it.
> Include Wicks in Candle Height? MAybe you just want the body of the candle and not it's wicks. Your call.
Trigger Starts and stops: hour/min. This is ALL Eastern time (NYSE's time) and NOT your own timezone. You can simply tell the script you ONLY want the trigger alert to happen between the the start and end time. So if you're using it to trigger a trade, maybe you don't want to trigger it too early or late in the day.
Inputs in Status Line: This is tradingview default. I can't remove it.
CRT-Rpsdy)Here's a note from me to CRT lovers. It was a nice work. You can try the structures yourself by finding them in the 15m graphic.
Fractal Pattern AnalysisFractal Pattern Key Elements and How to Read Them
1. Williams Fractals (Triangle Markers)
Red Triangles Pointing Down: Bearish fractals - potential resistance points and selling opportunities
Green Triangles Pointing Up: Bullish fractals - potential support points and buying opportunities
When to Act: Look for bullish fractals forming during uptrends and bearish fractals during downtrends
2. Moving Averages
Yellow Line (20 EMA): Short-term trend
Blue Line (50 EMA): Medium-term trend
Red Line (200 EMA): Long-term trend
Interpretation: When shorter MAs cross above longer MAs, it's bullish; when they cross below, it's bearish
Key Signal: The alignment of all three MAs (stacked in order) confirms a strong trend
3. Background Color
Green Background: Uptrend (all MAs aligned bullishly)
Red Background: Downtrend (all MAs aligned bearishly)
Yellow Background: Sideways/neutral market (MAs not clearly aligned)
4. Market Structure Markers (Small Circles)
Green Circles: Higher highs and higher lows (bullish structure)
Red Circles: Lower highs and lower lows (bearish structure)
Pattern Recognition: Multiple green circles suggest continuing uptrend; multiple red circles suggest continuing downtrend
5. Reversal Diamonds ("Rev" Markers)
Yellow Diamonds: Potential trend reversal points
Usage: These mark where the current trend might be changing direction
Confirmation: Wait for price to close beyond the diamond before acting
6. Bollinger Bands (Blue Lines with Fill)
Middle Band: 20-period SMA
Upper/Lower Bands: Volatility channels
Signals: Price touching upper band in uptrend is strength; touching lower band in downtrend is weakness
Squeeze: When bands narrow, expect a volatility breakout soon
7. Status Table (Top Right)
Shows current trend, volume direction, and overall signal at a glance
"BUY" signal appears when multiple bullish conditions align
"SELL" signal appears when multiple bearish conditions align
Return-to-Trend Wick Scalper — Full Control VersionReturn-to-Trend Wick Scalper — Modular Scalping Strategy for Gold (XAUUSD) & Indices
This is a precision-engineered scalping strategy designed primarily for high-volatility instruments such as Gold (XAUUSD), NASDAQ, and indices.
The system focuses on counter-trend pullbacks within the dominant daily trend, utilizing wick-based liquidity grabs (commonly referred to as “John Wick” candles) to identify high-probability return-to-trend opportunities.
Key Features:
✅ Dynamic Wick Reversal Detection: Detects reversal setups based on wick dominance and body ratio.
✅ Multiple Take Profit Levels: TP1, TP2, TP3 with individual enable/disable toggles and adjustable exit percentages.
✅ Time-Based Stop-Loss: Optional failsafe to close trades after exceeding a defined number of bars.
✅ VWAP Proximity Filter: Ensures entries happen near volume-weighted average price for precision.
✅ Pullback Depth Control: Filter for significant pullbacks using percentage of daily ATR.
✅ Dynamic Support & Resistance Validation: Confirms setups at key reactive levels.
✅ Volatility Filter: Avoids entries in overly volatile or dead market conditions.
✅ Aggressive Entry Mode: Optional early entry at pullback zones for faster fills.
✅ Paper Trading & Backtest Ready: Fully compatible with TradingView’s Paper Trading simulator.
Usage Notes:
Optimized for 5-minute chart entries.
Use in conjunction with Paper Trading for forward testing before live execution.
Can be connected to live brokers via alert webhooks and external bridges like PineConnector.
Instrument Focus:
Gold (XAUUSD) ✅
NASDAQ ✅
Dow Jones (US30) ✅
Other liquid indices ✅
Risk Note:
Always test thoroughly in Paper Trading before going live.
Optimize TP levels and filters according to market volatility conditions.
Designed for traders who want precision entries, flexibility in scaling out positions, and professional-grade risk control.
Prop Firm Guard: Risk & Sizing Tracker by TFTProp Firm Guard: Risk & Sizing Tracker by TFT
Overview:
This script is designed to help prop firm traders stay within risk rules and avoid emotional overtrading. It tracks your max loss limits, daily loss rules, and gives real-time position sizing suggestions based on your account status.
This tool is especially helpful for newer traders navigating prop firm challenges and rules like trailing drawdowns and daily stopouts.
Key Features:
✅ Real-time tracking of max loss and daily loss limits
✅ Supports both Intraday and End-of-Day (EOD) drawdown styles
✅ Calculates remaining “distance” to max/daily loss levels
✅ Automatically locks max loss once it trails up to starting balance
✅ Provides smart, tier-based position sizing suggestions (5%–50%)
✅ Shows profit target progress and live daily P&L
Use Case Example:
Let’s say you’re trading a $50,000 prop account with a $2,000 max drawdown limit.
If you're using Intraday Drawdown:
• You start the day at $50,000.
• During the day, your balance grows to $51,000 (including unrealized profits).
• The drawdown logic will trail this intraday high — so your new max loss limit becomes $49,000 (51K - 2K).
• If your balance drops to $49,400, this tool will show you’re $400 away from breaching the limit.
• Sizing suggestions will adjust accordingly to keep you in a safe range.
If you're using End-of-Day (EOD) Drawdown:
• The same scenario (account grows to $51,000 intraday) won’t affect your max loss limit immediately.
• EOD drawdown is only updated based on your end-of-day closing balance.
• So even if you hit $51K intraday, your max loss limit still remains at $48,000 (50K - 2K) until the trading day closes and updates your best equity.
• This mode offers more flexibility during the day — and the tool reflects this in how it calculates distances and sizing.
📌 It will then suggest a conservative sizing range — maybe 5–10% of your allowed contract size — until you're safer again.
📌 Make sure you update your current balance after each trade and follow your risk settings.
Inputs Explained (with Tips):
• Overall Account Starting Balance: Your full prop account size (e.g., 50000 or 100000, 150000, 300000, so on)
• Day Start Balance: What your balance was when the trading day started
• Daily Max Loss: How much you’re allowed to lose in one day (used only for EOD drawdown)
• Daily Profit Target: Your goal for the day (e.g., 500 or 1000 or so on)
• Allowed Overall Drawdown: Usually 4% for prop firms — like 2000 on 50K, or 6000 on 300K
• Drawdown Mode:
→ Intraday: Includes floating/unrealized profits in drawdown logic
→ EOD: Uses only end-of-day equity for drawdown logic
• Best Day High: Your highest balance to date. If not above your starting balance, this is ignored
• Intraday High (Manual): Optional override if your peak balance isn’t same as equity (used only for intraday drawdown mode)
• Current Equity: Update this during the session to reflect your live balance — everything else updates automatically
What You’ll See on the Chart:
🟩 Equity Section: Start balance, current balance, intraday high, best day high
🟥 Risk Section:
• Max loss limit (based on trailing logic)
• Distance from current balance to that limit
• Daily loss limit and distance (EOD mode only)
🟦 Performance Metrics:
• Daily P&L in $ and %
• Progress to profit target (shows ✅ Accomplished when goal is hit)
📦 Sizing Suggestion:
Based on how close you are to a drawdown breach, and your total drawdown tier.
Ranges from ⚠️ 5–10% to ✅ 40–50% of your max allowed contract size.
Who It's Best For:
• Built and optimized for 50K prop firm accounts
• Works well with 100K, 150K, or even 300K — but the sizing logic is most precise at 50K
• Best suited for futures or forex prop firm traders using account challenge-style rules
Manual Input Required:
Due to TradingView limitations, we cannot read your actual trades or live balance.
You'll need to update the Current Equity field yourself — but the rest is auto-calculated from there.
Most inputs (like overall balance and drawdown) are set once and rarely changed.
Beta Notice:
This tool is currently in beta and under testing. It's free for now and designed to help the trading community — but accuracy may vary.
Please send feedback if you'd like to suggest improvements or report bugs.
Disclaimer:
This tool is for educational purposes only and does not provide trading advice or signal any trades.
Always trade according to your firm’s rules. The author is not responsible for losses resulting from use of this script.
Day of Week and HTF Period SeparatorThis indicator displays vertical lines to separate each day of the week, along with optional 1H and 4H period separators. It also shows day-of-week labels (MON, TUE, etc.) at a specified hour for quick visual reference. Useful for intraday traders who want a clear view of daily and higher timeframe transitions.
Michael's EMA (Selectable TF) by Koenigsegg📌 Michael’s EMA (Selectable TF) by Koenigsegg
A multi-timeframe EMA crossover trend tool for clear market direction.
🔍 CORE LOGIC & PURPOSE
This indicator visualizes the trend based on two Exponential Moving Averages (EMAs) — fast and slow — from a user-defined timeframe.
Referencing a higher timeframe strengthens the trend signal and reduces the noise from short-term volatility.
Perfect for traders seeking cleaner entries and exits , especially those who get faked out by lower timeframe chop.
✅ KEY FEATURES
1. Multi-Timeframe EMA Calculation
- Fetches EMAs from any timeframe using `request.security()`.
- Selecting a higher timeframe makes signals more meaningful and decisive .
2. Customizable EMAs
- Small EMA (default: 12) and Big EMA (default: 21).
- Clear logic:
- Uptrend = Small EMA ≥ Big EMA
- Downtrend = Small EMA < Big EMA
3. Dynamic Trend Coloring
- EMAs change color based on the trend:
- Uptrend: Green (customizable)
- Downtrend: Red (customizable)
4. Crossover Detection & Arrows
- Clean visual arrows on trend flips only.
- Optional visibility, customizable size & color.
- Built with a debounce mechanic to avoid spam signals.
5. Built-In Alerts
- Trend Up Alert when fast EMA crosses above slow EMA.
- Trend Down Alert when fast EMA crosses below slow EMA.
- Compatible with automation, bots, and manual strategies.
⚠️ PRO TIP
Using a higher timeframe (e.g., 1H on a 15m chart, or 15m on a 5m chart as visually represented on the chart) makes trend flips more decisive and reliable, helping you avoid being faked out by short-term volatility. When the higher TF flips red — that’s your true trend shift, not just noise.
🏷️ HASHTAGS
#EMA #MovingAverage #MultiTimeframe #TrendIndicator #TradingViewScript #TradingTools
#TechnicalAnalysis #PriceAction #ForexTrader #CryptoTrader #StockTrader
#AlgoTrading #TrendFlip #SmartMoney #SwingTrading #DayTrading #MarketStructure #TradingEdge #ProfMichaelG #Koenigsegg #Bitcoin
⚠️ DISCLAIMER
This script is provided for educational and informational purposes only .
It does not constitute financial advice , investment advice, or a recommendation to buy or sell any financial instruments.
Always do your own research and consult with a licensed financial advisor before making any trading decisions.
Use this tool at your own risk.
VoltFlow X [Protected Edition]📊 VoltFlow X
VoltFlow X is a powerful AI-enhanced trading indicator designed to adapt to multiple strategies like scalping, swing, trend-following, and more.
This version includes:
✅ AI Signal Classification
📈 Smart Trail, Neo Cloud, and Trend Catcher overlays
🚦 Confirmation + Contrarian Buy/Sell Signals
🧠 Adaptive Candle Coloring based on MACD
📊 Customizable Dashboard and Reversal Zones
🔒 Protected edition for serious traders only
Perfect for traders looking for precision, clarity, and visual cues in real-time.
[Sathish]Price Pulse with Volumethis is a sample script with v1 with volume, price and buy sell signals
VWAP SlicesVWAP Slices – Period-Based VWAP Insights
VWAP Slices is a powerful visualization tool designed to help traders analyze price action relative to volume-weighted average price (VWAP) across up to three custom time periods. Whether you're tracking earnings windows, accumulation phases, or seasonal market behavior, this tool slices your chart into meaningful segments for data-driven decision-making.
What It Does
Calculates VWAP for up to 3 user-defined time periods.
Displays data visually using either a floating label, a table, or both.
Highlights the selected periods on your chart with customizable colors and transparency.
Summarizes each slice with:
VWAP
Total volume (in millions)
Number of bars in the range
Combines all active periods to provide a weighted VWAP summary.
Key Features
Flexible Time Slices: Define start and end timestamps for each of the 3 periods.
Custom Visuals: Choose individual colors and transparency levels for each period.
Dynamic Labeling: Place summary labels at a fixed vertical position relative to price.
Table Output: View period-by-period metrics in a compact, position-adjustable table.
Smart Aggregation: Combined VWAP is volume-weighted across enabled slices.
Settings Overview
Period Settings: Enable or disable each period with independent start and end times.
Visualization Style: Choose between "Label", "Table", or "Both".
Label Positioning: Adjust vertical placement of labels for better chart readability.
Table Positioning: Choose from four corners of the chart to place the results table.
Use Cases
Compare pre- and post-event VWAP (e.g., earnings, news drops).
Analyze accumulation or distribution over specific historical ranges.
Evaluate seasonal or monthly patterns using VWAP anchoring.
4 Simple Moving Averages50 day SMA - Key support level in a long term uptrend.
100 day SMA - A big price dip inside a long term uptrend.
200 day SMA - A key signal of the end of an uptrend or downtrend.
250 day SMA - The return to true value zone.
Crossovers:
50 day SMA / 200 day SMA Crossover - Golden Crossover - Long-Term Trend.
ChronoLens]Forecasting price using machine learning. Analyzing price action from past price behaviour to forecast future price trajectory.
Batman - Supertrend with MA + SL/TP + Dynamic Profit %This Pine Script is a complete strategy script for TradingView named "Batman - Supertrend with MA + SL/TP + Dynamic Profit %". It's designed to help traders visually and programmatically:
Identify buy/sell signals using a Supertrend indicator
Confirm trend direction using a customizable moving average (MA)
Automatically manage trades with Stop Loss (SL) and three Take Profit (TP) levels
Track dynamic profit % from entry
Generate alerts for signal and TP hits
Visualize trade levels and conditions directly on the chart
Indicators Used:
Supertrend: Primary signal generator.
Moving Average: Used to confirm or visualize trend strength.
🎯 Signal Logic:
Buy Signal: When price crosses above the Supertrend line.
Sell Signal: When price crosses below the Supertrend line.
🔁 Entry Execution:
Long or short orders are placed based on crossover/crossunder signals.
The entry price is saved to track profits and SL/TP levels.
💰 Profit Tracking:
Calculates and displays real-time dynamic profit % of the current open trade.
A floating label shows this near the candle high.
🛡️ Risk Management:
Automatically plots:
Stop Loss line
TP1, TP2, TP3 levels
Separate lines for long and short positions.
🚨 Alerts:
Alert conditions for:
Buy/Sell signals
Hitting any of the 3 Take Profit targets (both long and short)
Hope it helps!