Market Spiralyst [Hapharmonic]Hello, traders and creators! 👋
Market Spiralyst: Let's change the way we look at analysis, shall we? I've got to admit, I scratched my head on this for weeks, Haha :). What you're seeing is an exploration of what's possible when code meets art on financial charts. I wanted to try blending art with trading, to do something new and break away from the same old boring perspectives. The goal was to create a visual experience that's not just analytical, but also relaxing and aesthetically pleasing.
This work is intended as a guide and a design example for all developers, born from the spirit of learning and a deep love for understanding the Pine Script™ language. I hope it inspires you as much as it challenged me!
🧐 Core Concept: How It Works
Spiralyst is built on two distinct but interconnected engines:
The Generative Art Engine: At its core, this indicator uses a wide range of mathematical formulas—from simple polygons to exotic curves like Torus Knots and Spirographs—to draw beautiful, intricate shapes directly onto your chart. This provides a unique and dynamic visual backdrop for your analysis.
The Market Pulse Engine: This is where analysis meets art. The engine takes real-time data from standard technical indicators (RSI and MACD in this version) and translates their states into a simple, powerful "Pulse Score." This score directly influences the appearance of the "Scatter Points" orbiting the main shape, turning the entire artwork into a living, breathing representation of market momentum.
🎨 Unleash Your Creativity! This Is Your Playground
We've included 25 preset shapes for you... but that's just the starting point !
The real magic happens when you start tweaking the settings yourself. A tiny adjustment can make a familiar shape come alive and transform in ways you never expected.
I'm genuinely excited to see what your imagination can conjure up! If you create a shape you're particularly proud of or one that looks completely unique, I would love to see it. Please feel free to share a screenshot in the comments below. I can't wait to see what you discover! :)
Here's the default shape to get you started:
The Dynamic Scatter Points: Reading the Pulse
This is where the magic happens! The small points scattered around the main shape are not just decorative; they are the visual representation of the Market Pulse Score.
The points have two forms:
A small asterisk (`*`): Represents a low or neutral market pulse.
A larger, more prominent circle (`o`): Represents a high, strong market pulse.
Here’s how to read them:
The indicator calculates the Pulse Strength as a percentage (from 0% to 100%) based on the total score from the active indicators (RSI and MACD). This percentage determines the ratio of circles to asterisks.
High Pulse Strength (e.g., 80-100%): Most of the scatter points will transform into large circles (`o`). This indicates that the underlying momentum is strong and It could be an uptrend. It's a visual cue that the market is gaining strength and might be worth paying closer attention to.
Low Pulse Strength (e.g., 0-20%): Most or all of the scatter points will remain as small asterisks (`*`). This suggests weak, neutral, or bearish momentum.
The key takeaway: The more circles you see, the stronger the bullish momentum is according to the active indicators. Watch the artwork "breathe" as the circles appear and disappear with the market's rhythm!
And don't worry about the shape you choose; the scatter points will intelligently adapt and always follow the outer boundary of whatever beautiful form you've selected.
How to Use
Getting started with Spiralyst is simple:
Choose Your Canvas: Start by going into the settings and picking a `Shape` and `Palette` from the "Shape Selection & Palette" group that you find visually appealing. This is your canvas.
Tune Your Engine: Go to the "Market Pulse Engine" settings. Here, you can enable or disable the RSI and MACD scoring engines. Want to see the pulse based only on RSI? Just uncheck the MACD box. You can also fine-tune the parameters for each indicator to match your trading style.
Read the Vibe: Observe the scatter points. Are they mostly small asterisks or are they transforming into large, vibrant circles? Use this visual feedback as a high-level gauge of market momentum.
Check the Dashboard: For a precise breakdown, look at the "Market Pulse Analysis" table on the top-right. It gives you the exact values, scores, and total strength percentage.
Explore & Experiment: Play with the different shapes and color palettes! The core analysis remains the same, but the visual experience can be completely different.
⚙️ Settings & Customization
Spiralyst is designed to be highly customizable.
Shape Selection & Palette: This is your main control panel. Choose from over 25 unique shapes, select a color palette, and adjust the line extension style ( `extend` ) or horizontal position ( `offsetXInput` ).
scatterLabelsInput: This setting controls the total number of points (both asterisks and circles) that orbit the main shape. Think of it as adjusting the density or visual granularity of the market pulse feedback.
The Market Pulse engine will always calculate its strength as a percentage (e.g., 75%). This percentage is then applied to the `scatterLabelsInput` number you've set to determine how many points transform into large circles.
Example: If the Pulse Strength is 75% and you set this to `100` , approximately 75 points will become circles. If you increase it to `200` , approximately 150 points will transform.
A higher number provides a more detailed, high-resolution view of the market pulse, while a lower number offers a cleaner, more minimalist look. Feel free to adjust this to your personal visual preference; the underlying analytical percentage remains the same.
Market Pulse Engine:
`⚙️ RSI Settings` & `⚙️ MACD Settings`: Each indicator has its own group.
Enable Scoring: Use the checkbox at the top of each group to include or exclude that indicator from the Pulse Score calculation. If you only want to use RSI, simply uncheck "Enable MACD Scoring."
Parameters: All standard parameters (Length, Source, Fast/Slow/Signal) are fully adjustable.
Individual Shape Parameters (01-25): Each of the 25+ shapes has its own dedicated group of settings, allowing you to fine-tune every aspect of its geometry, from the number of petals on a flower to the windings of a knot. Feel free to experiment!
For Developers & Pine Script™ Enthusiasts
If you are a developer and wish to add more indicators (e.g., Stochastic, CCI, ADX), you can easily do so by following the modular structure of the code. You would primarily need to:
Add a new `PulseIndicator` object for your new indicator in the `f_getMarketPulse()` function.
Add the logic for its scoring inside the `calculateScore()` method.
The `calculateTotals()` method and the dashboard table are designed to be dynamic and will automatically adapt to include your new indicator!
One of the core design philosophies behind Spiralyst is modularity and scalability . The Market Pulse engine was intentionally built using User-Defined Types (UDTs) and an array-based structure so that adding new indicators is incredibly simple and doesn't require rewriting the main logic.
If you want to add a new indicator to the scoring engine—let's use the Stochastic Oscillator as a detailed example—you only need to modify three small sections of the code. The rest of the script, including the adaptive dashboard, will update automatically.
Here’s your step-by-step guide:
#### Step 1: Add the User Inputs
First, you need to give users control over your new indicator. Find the `USER INTERFACE: INPUTS` section and add a new group for the Stochastic settings, right after the MACD group.
Create a new group name: `string GRP_STOCH = "⚙️ Stochastic Settings"`
Add the inputs: Create a boolean to enable/disable it, and then add the necessary parameters (`%K`, `%D`, `Smooth`). Use the `active` parameter to link them to the enable/disable checkbox.
// Add this code block right after the GRP_MACD and MACD inputs
string GRP_STOCH = "⚙️ Stochastic Settings"
bool stochEnabledInput = input.bool(true, "Enable Stochastic Scoring", group = GRP_STOCH)
int stochKInput = input.int(14, "%K Length", minval=1, group = GRP_STOCH, active = stochEnabledInput)
int stochDInput = input.int(3, "%D Smoothing", minval=1, group = GRP_STOCH, active = stochEnabledInput)
int stochSmoothInput = input.int(3, "Smooth", minval=1, group = GRP_STOCH, active = stochEnabledInput)
#### Step 2: Integrate into the Pulse Engine (The "Factory")
Next, go to the `f_getMarketPulse()` function. This function acts as a "factory" that builds and configures the entire market pulse object. You need to teach it how to build your new Stochastic indicator.
Update the function signature: Add the new `stochEnabledInput` boolean as a parameter.
Calculate the indicator: Add the `ta.stoch()` calculation.
Create a `PulseIndicator` object: Create a new object for the Stochastic, populating it with its name, parameters, calculated value, and whether it's enabled.
Add it to the array: Simply add your new `stochPulse` object to the `array.from()` list.
Here is the complete, updated `f_getMarketPulse()` function :
// Factory function to create and calculate the entire MarketPulse object.
f_getMarketPulse(bool rsiEnabled, bool macdEnabled, bool stochEnabled) =>
// 1. Calculate indicator values
float rsiVal = ta.rsi(rsiSourceInput, rsiLengthInput)
= ta.macd(close, macdFastInput, macdSlowInput, macdSignalInput)
float stochVal = ta.sma(ta.stoch(close, high, low, stochKInput), stochDInput) // We'll use the main line for scoring
// 2. Create individual PulseIndicator objects
PulseIndicator rsiPulse = PulseIndicator.new("RSI", str.tostring(rsiLengthInput), rsiVal, na, 0, rsiEnabled)
PulseIndicator macdPulse = PulseIndicator.new("MACD", str.format("{0},{1},{2}", macdFastInput, macdSlowInput, macdSignalInput), macdVal, signalVal, 0, macdEnabled)
PulseIndicator stochPulse = PulseIndicator.new("Stoch", str.format("{0},{1},{2}", stochKInput, stochDInput, stochSmoothInput), stochVal, na, 0, stochEnabled)
// 3. Calculate score for each
rsiPulse.calculateScore()
macdPulse.calculateScore()
stochPulse.calculateScore()
// 4. Add the new indicator to the array
array indicatorArray = array.from(rsiPulse, macdPulse, stochPulse)
MarketPulse pulse = MarketPulse.new(indicatorArray, 0, 0.0)
// 5. Calculate final totals
pulse.calculateTotals()
pulse
// Finally, update the function call in the main orchestration section:
MarketPulse marketPulse = f_getMarketPulse(rsiEnabledInput, macdEnabledInput, stochEnabledInput)
#### Step 3: Define the Scoring Logic
Now, you need to define how the Stochastic contributes to the score. Go to the `calculateScore()` method and add a new case to the `switch` statement for your indicator.
Here's a sample scoring logic for the Stochastic, which gives a strong bullish score in oversold conditions and a strong bearish score in overbought conditions.
Here is the complete, updated `calculateScore()` method :
// Method to calculate the score for this specific indicator.
method calculateScore(PulseIndicator this) =>
if not this.isEnabled
this.score := 0
else
this.score := switch this.name
"RSI" => this.value > 65 ? 2 : this.value > 50 ? 1 : this.value < 35 ? -2 : this.value < 50 ? -1 : 0
"MACD" => this.value > this.signalValue and this.value > 0 ? 2 : this.value > this.signalValue ? 1 : this.value < this.signalValue and this.value < 0 ? -2 : this.value < this.signalValue ? -1 : 0
"Stoch" => this.value > 80 ? -2 : this.value > 50 ? 1 : this.value < 20 ? 2 : this.value < 50 ? -1 : 0
=> 0
this
#### That's It!
You're done. You do not need to modify the dashboard table or the total score calculation.
Because the `MarketPulse` object holds its indicators in an array , the rest of the script is designed to be adaptive:
The `calculateTotals()` method automatically loops through every indicator in the array to sum the scores and calculate the final percentage.
The dashboard code loops through the `enabledIndicators` array to draw the table. Since your new Stochastic indicator is now part of that array, it will appear automatically when enabled!
---
Remember, this is your playground! I'm genuinely excited to see the unique shapes you discover. If you create something you're proud of, feel free to share it in the comments below.
Happy analyzing, and may your charts be both insightful and beautiful! 💛
Chart patterns
AMD [TakingProphets]Overview
The AMD indicator is a real-time, high-resolution tool designed for traders following ICT methodology who want a clear visualization of higher timeframe (HTF) candles directly on their lower timeframe charts.
It overlays current HTF structure, including open, high, low, and close projections, allowing traders to align intraday decisions with institutional price delivery — all without switching timeframes.
Concept & Background
In ICT concepts, market behavior often follows a pattern of accumulation, manipulation, and distribution. Understanding these phases is essential for anticipating when price is likely to expand or reverse.
AMD automates this process by:
-Overlaying HTF candles directly on your lower timeframe chart.
-Projecting live levels like the current open, high, low, and close to map out evolving bias.
-Helping traders see whether price is accumulating orders, engineering liquidity sweeps, or distributing aggressively.
Key Features
Live HTF Candle Overlay
-Displays the full HTF candle — body, wicks, and directional bias — on your active chart in real time.
-Perfect for traders aligning intraday setups with broader HTF context.
Dynamic HTF Price Projections
-Plots the evolving open, high, low, and close for the current HTF candle.
-Each projection can be customized by color, style, labels, and visibility to fit your workflow.
Full Customization Control
-Adjust candle body widths, wick styles, and transparency.
-Configure projection lines and time labels in both 12h and 24h formats.
-Includes an optional Info Box showing instrument, timeframe, and session context.
Session Timing & Labeling
-Smart timestamping marks the start and close of each HTF candle.
-Helps traders anticipate potential expansions or reversals during killzones or liquidity events.
How to Use It
Select Your HTF Context
-Choose any timeframe overlay (e.g., 1H, 4H, 1D) to match your trading model.
-Monitor Live HTF Levels
-Watch how price interacts with current HTF highs, lows, and equilibrium levels in real time.
-Integrate With ICT Concepts
-Use alongside tools like SMT divergence, Order Blocks, or Liquidity Levels for confirmation and context.
-Refine Intraday Entries
-Check whether price is expanding in your favor before entering positions.
Best Practices
Combine AMD with ICT killzone sessions to monitor HTF behavior during high-liquidity periods.
Use it alongside correlated SMT divergence tools for stronger directional bias confirmation.
Who It’s For
Scalpers anchoring quick entries to HTF sentiment.
Intraday traders syncing 5m/15m setups with 1H/4H context.
Swing traders monitoring HTF ranges without switching charts.
Educators & analysts needing clean visual overlays for teaching and content creation.
Why It’s Useful
AMD doesn’t provide trading signals or predictive guarantees. Instead, it offers a clean, structured view of HTF price delivery — enabling traders to understand institutional intent as it unfolds and manage their execution with greater confidence.
HTF Rejection Block [TakingProphets]Overview
The HTF Rejection Block indicator is designed to help traders identify and visualize Higher Timeframe Rejection Blocks—price zones where liquidity grabs often result in aggressive rejections. These areas can serve as high-probability decision points when combined with other ICT-based tools and concepts.
Unlike simple support/resistance markers, this indicator automates the detection of Rejection Blocks, maps them across up to four custom higher timeframes, and updates them in real time as price evolves. It provides traders with a structured framework for analyzing institutional price behavior without supplying direct buy/sell signals.
Concept & Background
The idea of Rejection Blocks was popularized by Powell, a respected educator within the ICT trading community. He highlighted how aggressive wicks—where price sweeps liquidity and sharply rejects—often reveal institutional activity and can hint at future directional bias.
This script builds upon that foundation by integrating several ICT-aligned concepts into a single, cohesive tool:
Liquidity Sweep Recognition → Identifies where price aggressively moves beyond a key level before snapping back.
Rejection Block Mapping → Highlights the candle bodies representing institutional rejection zones.
Multi-Timeframe Context → Lets you monitor rejection zones from higher timeframes while operating on your execution timeframe.
Equilibrium-Based Planning → Optional midpoint plotting offers a precise way to evaluate premium/discount within each block.
By combining these elements, the indicator makes it easier to see where liquidity events may influence price and how they relate to broader ICT-based setups.
How It Works
Detection Logic
A Rejection Block forms when price runs liquidity past a prior high/low but fails to hold and closes back inside the range.
These setups are detected automatically and marked as bullish or bearish zones.
Multi-Timeframe Analysis
Monitor up to four higher timeframes at once (e.g., 1H, 4H, 1D, 1W) while trading on your preferred execution timeframe.
Each block is clearly labeled and color-coded for visual clarity.
50% Equilibrium Levels
Optionally plot the midpoint of each rejection block, commonly used by ICT traders as a precision-based entry or target zone.
Auto-Mitigated Zones
When price fully trades through a rejection block, the zone is automatically removed to keep your chart clean.
Info Box for Context
An optional information panel displays the symbol, timeframe, and relevant data, helping you stay organized during active trading sessions.
Practical Usage
Select Higher Timeframes
Configure up to four HTFs based on your strategy (e.g., 1H, 4H, 1D, Weekly).
Identify Rejection Blocks
Watch for new blocks forming after liquidity sweeps beyond significant highs or lows.
Combine With Other ICT Concepts
Use alongside STDV, displacement, SMT divergence, or OTE retracements for confirmation and added confluence.
Plan Entry Zones
Leverage the 50% midpoint or body extremes of each block to build structured trade setups.
Why It’s Useful
This tool doesn’t generate trading signals or claim accuracy. Instead, it provides a visual framework for applying ICT’s Rejection Block methodology systematically across multiple timeframes.
Its value lies in helping traders:
Recognize where institutional activity may leave footprints.
Map key liquidity-based zones without manual marking.
Stay aligned with higher timeframe narratives while executing on lower timeframes.
Outside Bar AMA 分类标记Classify outside bar based on Ali Moin Afshari's AMA_Breakout_PB Indicator.
根据 Ali Moin Afshari' 的 AMA_Breakout_PB 指标区分不同的吞没k线。
MomentumScriptThis is Momentum Tracker based on Richard Driehaus' research:
1) 12–1 momentum (return from t-12 months to t-1 month
2) FIP / path efficiency (many small up days > one big gap)
3) Proximity to 52-week high/low
Capiba RSI + Ichimoku + VolatilidadeThe "Capiba RSI + Ichimoku + Volatility" indicator is a powerful, all-in-one technical analysis tool designed to provide traders with a comprehensive view of market dynamics directly on their price chart. This multi-layered indicator combines a custom Relative Strength Index (RSI), the trend-following Custom Ichimoku Cloud, and dynamic volatility lines to help identify high-probability trading setups.
How It Works
This indicator functions by overlaying three distinct, yet complementary, analysis systems onto a single chart, offering a clear and actionable perspective on a wide range of market conditions, from strong trends to periods of consolidation.
1. Custom RSI & Momentum Signals
The core of this indicator is a refined version of the Relative Strength Index (RSI). It calculates a custom Ultimate RSI that is more sensitive to price movements, offering a quicker response to potential shifts in momentum. The indicator also plots a moving average of this RSI, allowing for the generation of clear trading signals. Use RMAs.
Bar Coloring: The color of the price bars on your chart dynamically changes to reflect the underlying RSI momentum.
Blue bars indicate overbought conditions, suggesting trend and a potential short-term reversal.
Yellow bars indicate oversold conditions, hinting at a potential bounce.
Green bars signal bullish momentum, where the Custom RSI is above both 50 and its own moving average.
Red bars indicate bearish momentum, as the Custom RSI is below both 50 and its moving average.
Trading Signals: The indicator plots visual signals directly on the chart in the form of triangles to highlight key entry and exit points. A green triangle appears when the Custom RSI crosses above its moving average (a buy signal), while a red triangle marks a bearish crossunder (a sell signal).
2. Custom Ichimoku Cloud for Trend Confirmation
This component plots a standard Ichimoku Cloud directly on the chart, providing a forward-looking view of trend direction, momentum, and dynamic support and resistance levels.
The cloud’s color serves as a strong visual cue for the prevailing trend: a green cloud indicates a bullish trend, while a red cloud signals a bearish trend.
The cloud itself acts as a dynamic support or resistance zone. For example, in an uptrend, prices are expected to hold above the cloud, which provides a strong support level for the market.
3. Dynamic Volatility Lines
This final layer is a dynamic volatility channel that automatically plots the highest high and lowest low from a user-defined period. These lines create a visual representation of the recent price range, helping traders understand the current market volatility.
Volatility Ratio: A label is displayed on the chart showing a volatility ratio, which compares the current price range to a historical average. A high ratio indicates increasing volatility, while a low ratio suggests a period of price consolidation or lateral movement, a valuable insight for day traders.
The indicator is highly customizable, allowing you to adjust parameters like RSI length, overbought/oversold levels, Ichimoku periods, and volatility lookback periods to suit your personal trading strategy. It is an ideal tool for traders who rely on a combination of momentum, trend, and volatility to make well-informed decisions.
STRAT 3-2-2 (30m) • Upcoming / Approach / Entry + AlertsThis indicator is built for The STRAT trading method, specifically the 3-2-2 reversal pattern. It monitors price action on the 30-minute timeframe (HTF = 30m) and visually/alert-wise highlights where a 3-2-2 setup, approach, or entry trigger occurs.
---
⚙️ How it works
1. Detects bar types:
3 (Outside Bar) = range breaks both high & low of the previous bar
2u (Up bar) = higher high, not outside
2d (Down bar) = lower low, not outside
1 (Inside bar) = fully contained within prior bar
2. Looks for 3-2-2 setups:
Bullish 3-2-2 = 3 → 2d → 2u (expect reversal UP)
Bearish 3-2-2 = 3 → 2u → 2d (expect reversal DOWN)
3. Defines trigger levels:
Bullish trigger = high of the first “2d” bar
Bearish trigger = low of the first “2u” bar
4. Signals 3 phases:
Upcoming: pattern is forming, second “2” hasn’t triggered yet
Approach: price comes within 50% (adjustable) of the trigger level
Entry: price breaks the trigger (actual reversal confirmation)
5. Visualization:
Labels above/below candles show “Approach” and “Entry”
Background or bar colors (toggle in settings) highlight Setup / Approach / Entry
Optional dotted line marks the trigger level for clarity
---
🔔 Alerts
Two alert systems are built in:
1. Safe static conditions (for normal TradingView alert setup):
APPROACH: Bullish 3-2-2 (30m)
APPROACH: Bearish 3-2-2 (30m)
ENTRY: Bullish 3-2-2 (30m)
ENTRY: Bearish 3-2-2 (30m)
2. Dynamic messages (using alert() calls with price info):
If you create an alert with “Any alert() function call”, the pop-up will include the trigger price.
---
📋 Inputs (Settings)
Signal timeframe (HTF) → default 30m
Confirm signals at HTF bar close → waits for bar close (non-repainting)
Approach = % of first '2' bar range → default 50%
Show labels → On/Off
Color candles instead of background → toggle between candle color vs. chart background
Replay time-fix last candleReplay indicator to avoid showing the fully closed last candle on higher timeframes.
This indicator displays the last candle up to the current point of the replay instead of the full candle.
For example, if you are on a 4H chart at the 1:00 candle and the replay is at 2:00, it will show the last candle from 1:00 → 2:00 only.
Important: To see the correct candles, go to your chart settings and untick the checkboxes for: "Body", "Borders", "Wick", and "Last price line".
Market Pulse Dip RadarThis indicator is designed to help traders spot meaningful dips in price and then evaluate whether those dips are worth trading or not. It doesn’t just mark a dip; it also helps with risk management, trade planning, and filtering out weak signals.
Here’s how it works:
First, it looks at the recent high price and checks how much the market has dropped from that high. If the drop is larger than the minimum percentage you set, it marks it as a potential dip.
Next, it checks the trend structure by using two moving averages (a fast one and a slow one). If the fast average is below the slow average, it means the market is in a weaker structure, and that dip is considered more valid.
On top of that, you can enable a multi-timeframe filter. For example, if you are trading on the 15-minute chart, you can ask the indicator to confirm that the 1-hour trend is also supportive before showing you a dip. This helps avoid trading against the bigger trend.
Risk management is built in. The indicator automatically suggests a stop-loss by combining volatility (ATR) and recent swing lows. It then draws three profit target levels (1x risk, 2x risk, and 3x risk). This makes it easier to plan where to exit if the trade works.
A key part of this tool is the confidence score. Each dip signal is rated from 0 to 100. The score depends on how deep the dip is, how far apart the moving averages are, how healthy volatility is, and whether the higher timeframe supports the trade. The score is then labeled as High, Medium, Low, or Wait. This helps traders focus only on the stronger setups.
On the chart, dip signals are marked with a diamond shape under the bars. The color of the diamond tells you if it’s high, medium, or low quality. When a signal appears, the indicator also plots horizontal lines for the entry, stop, and targets.
To make it easier to read, there is also a dashboard box that shows the current score, quality, dip percentage, and suggested stop-loss. This means you don’t have to calculate or check different things yourself – everything is visible in one place.
Finally, it comes with alerts. You can set alerts for when a dip signal happens, or when it’s medium or high confidence. This way, you don’t need to stare at charts all day; TradingView can notify you.
So in short, this tool:
• Finds dips based on your rules.
• Filters them using structure, volatility, and higher timeframe trend.
• Suggests stop-loss and profit targets.
• Rates each dip with a confidence score.
• Shows all this info in a clean dashboard and alerts you when it happens.
👉 Do you want me to now explain how a trader would actually use it in practice (step by step, from signal to trade)?
B A N K $ - Breaks & SweepsThis indicator automatically maps on Breaks of Structure & Liquidity Sweeps. It works by calculating pivot points based on how many candles are above/below either side of a pivot.
The user can manually set how many candles need to be above/below either side of a pivot if they would prefer to change it.
The indicator will dynamically adjust the lines as the user changes timeframe to allow for seamless analysis.
Features
Break of Structure lines
Liquidity Sweep lines
Dealing Range - this allows the user to visualise the current dealing range
Explanation
A sweep is determined by whether a candle closes through a pivot point with a body closure or not. If the candle wicks this level but fails to close through it, the line will turn red to indicate a liquidity sweep.
If the following 3 candles go on to close through the break line, this will then update it from a red sweep line to the normal break line again. (sometimes the initial candle that touches a level will not close through it but price will continue to break that level in the next few candles).
🐋 Radar de Ballenas v3 + PanelEvaluate areas of high interest by gathering information based on the fluctuation of the bar graph + information panel for decision-making
KING_HPM_LPM_SPYName: KING_HPM_LPM_SPY
This indicator identifies and plots the high (HPM) and low (LPM) of the pre-market session for the SPY ticker (or any chart it's applied to), based on the New York timezone (04:00 - 09:30 AM).
Functionality:
Tracks the high and low during the premarket hours.
When the premarket ends (09:30 AM NY time), it draws horizontal lines at the premarket high and low levels.
It also adds labels:
"HPM" for the high
"LPM" for the low
These lines and labels are customizable (style, width, color).
It keeps the plotted lines/labels for a user-defined number of days (default = 2).
If the number of stored days exceeds the limit, it automatically deletes the oldest lines and labels to maintain only the most recent days visible.
Position Size CalculatorPosition Size Calculator
This open-source Pine Script® indicator helps traders manage risk by calculating position size, margin, and risk/reward based on account size, leverage, entry, stop-loss, and take-profit. It features a customizable table and optional chart lines/labels for clear trade planning across stocks, forex, crypto, and futures.
What It Does
- Position Size: Computes units to trade based on risk percentage and stop-loss distance, capped by leverage.
- Margin: Calculates initial margin in base currency and USD, with account size percentage.
- Risk/Reward: Shows risk-reward ratio, percentage price movements, and USD gains/losses.
- Visualization: Displays results in a table and optional chart lines/labels with customizable styles.
How It Works
- Precision: Adjusts price formatting using syminfo.mintick for accuracy across assets.
- Calculations: Position size = accountSize * (riskPercent / 100) / |entry - stoploss|, capped by accountSize * leverage / entry. Margin = positionSize / leverage. Risk-reward = |takeprofit - entry| / |stoploss - entry|.
- Display: Table shows metrics; optional lines/labels plot entry, stop-loss, and take-profit with percentage and USD details.
How to Use
- Set Inputs:
1- Account Size (USD): Your capital (e.g., 1000).
2- % Risk per Trade: Risk tolerance (e.g., 1%).
3- Leverage: Broker leverage (e.g., 1x, 10x).
4- Entry, Stop Loss, Take Profit: Trade prices.
5- Show Lines and Labels: Enable chart overlays.
- Customize: Adjust table position, colors, and line styles (Solid, Dashed, Dotted).
- View Results: Table shows position size, margin, and risk/reward. Chart lines/labels (if enabled) display prices, percentages, and USD outcomes.
- Apply: Use metrics for trade execution; modify code for custom features.
Notes
- Ensure valid inputs (entry ≠ stop-loss, both positive) to avoid “N/A”.
- Open-source: Inspect or extend the code for your needs.
- Contact the author via TradingView for feedback.
mujahid 786zxhdswidhslkjhibfq jshdsn khdjsn kljsdiyOLFMSLH M JDFHDJFHKFKHALSA KJHDDJFSASHFHASHASHF SFHIGFCJCBUOGFUDAS KJSHDGSC ASDHSIDS I IUSIGSKKDAIHDSIIGSFASKLADHFIHDCKDA SDHIDIHD DHDSUHSIHS OAISDOUADSUIJCDS ISGHFSHCXOCGSDCUAJOSDVApuh8UDHCOIhckxc'dgcugcvcoiuhsddfsk'chsgcou]cuxgcosc
ihcvuhdbkhvuodcbjhgcusoGUYTDUJCBXJNB JGCUGDIsdgcffodsdhfcSIUCH
Jarvis Bitcoin Predictor – Advanced AI-Powered TrendJarvis Bitcoin Predictor is an invite-only indicator designed to help traders anticipate market moves with precision.
It combines advanced momentum tracking, volatility analysis, and adaptive trend filters to highlight high-probability trading opportunities.
🔹 Core Features:
- AI-inspired algorithm for Bitcoin price prediction
- Early detection of bullish and bearish trend reversals
- Dynamic support & resistance zones
- Clear buy/sell signal markers
- Built-in alerts to never miss an opportunity
Optimized for Bitcoin, but compatible with other crypto pairs
🔹 How it works (general explanation):
The indicator uses a mix of momentum calculations, volatility filters, and adaptive trend detection to generate signals.
When several market conditions align, Jarvis provides clear entry/exit signals designed to improve decision-making and timing.
🔹 How to use it:
1- Add Jarvis Bitcoin Predictor to your chart.
2- Follow the green signals/zones for bullish opportunities.
3- Follow the red signals/zones for bearish opportunities.
4- Combine with proper risk management and your own strategy.
This tool was built to give traders clarity and confidence in the fast-paced crypto market.
⚠️ Important:
This script is invite-only. To request access, please contact the author directly.
🐋 Radar de Ballenas v3 (final)evalua zonas de gran interes recopilando informacion basada en la fluctuazion del grafico de barras
Distance from 50 SMA in ADR TermsIndicator produces a multiple of ADR% from the 50-day simple moving average to determine is a stock or etf is extended.
Rolling VWAP 7-30-907, 30, and 90-day VWAP (Volume Weighted Average Price) indicator on TradingView provides traders with multiple perspectives on market sentiment and price efficiency across short, medium, and long-term horizons. The 7-day VWAP is particularly useful for active traders or intraday participants who want to gauge near-term value and liquidity. It highlights short-term imbalances, helping to identify overbought or oversold conditions relative to recent trading activity. Meanwhile, the 30-day VWAP smooths out shorter-term noise, offering a more balanced benchmark that swing traders often use to spot trend alignment or potential reversals within a monthly cycle.
The 90-day VWAP serves as a longer-term institutional benchmark, reflecting deeper capital flows and market consensus over a quarter. It’s particularly valuable for position traders or those tracking whether price is consistently trading above or below this broader measure of value, which can indicate long-term accumulation or distribution phases. Using all three together provides a layered framework: the 7-day VWAP for tactical entries, the 30-day VWAP for swing positioning, and the 90-day VWAP for strategic trend confirmation. This multi-timeframe approach allows traders to align short-term signals with medium and long-term market structure, improving precision and conviction in decision-making.
Prof Satoshi
Impact Score (ATR% × RVOL)Calculates Impact Score (ATR% × RVOL). This number helps determine if a movement in price is a "thin drop" meaning the drop had relatively low volume and is likely to bounce back, or if it's heavy drop, meaning that it had high volume and less likely to rebound as soon e.g., results from earnings report.
MC3 Pro Ultra e10Al-Brooks style MC3/Thrust signals with smart gating: EMA, Wilder ADX/DI, Consolidation, BO+FT, Z-score, Volume, RSI div, HTF EMA, Structure, OR/Blackout, Smart Cooldown. Non-repainting.
Full Description (for the main page)
MC3 Pro Ultra — Invite-Only (Al Brooks–inspired)
A high-discipline entry tool for 3-bar micro-channels (MC3) and optional 1-bar thrusts (MC1). Signals are filtered by a layered “gate” system: EMA side/slope/distance, Wilder ADX/DI, Consolidation (Box, BB<KC, Efficiency Ratio), Breakout+Follow-Through (BO+FT), TR Z-score expansion, Volume (mild/strict), true RSI divergence, HTF EMA (side/slope/strict), Market Structure (HH/HL vs LH/LL with optional BOS), Liquidity sweep guard, Open Range gate, Blackout windows (news) and Smart Cooldown v2.
Everything is non-repainting (evaluated on bar close or using closed higher-TF values).
What it does
MC3 (3-bar micro-channel) & Thrust (MC1) entries in both directions.
Auto regime: dynamically tightens thresholds in chop and relaxes them in trend.
BO+FT confirm: bar-3 must close beyond prior H/L by X points and near the extreme; optional follow-through (no immediate pullback).
Z-Score (TR): requires statistical range expansion (any bar inside the MC3).
EMA filter: side rule (All 3 / Any 2 / Last), slope, and max ATR distance.
Wilder ADX/DI: strength/rend bias; optional DI dominance.
Consolidation filter: Box+ATR (with break confirmation), Squeeze (BB<KC), or ER (Efficiency Ratio).
Volume gate: mild (above SMA×mult) or strict (3-bar rising).
True RSI divergence: pivot-based; blocks when divergence contradicts direction.
HTF EMA (non-repainting): side/slope/strict from a higher timeframe using closed bars.
Market Structure: longs only in HH/HL, shorts only in LH/LL; optional fresh BOS.
Liquidity Sweep guard: block-against or require-with sweep.
Open Range gate: require OR breakout before entries (optional).
Blackout windows: disable signals during macro/news windows.
Smart Cooldown v2: EMA-stretch + clustering penalty to avoid over-trading.
Retest mode (visual): after a signal, watch for a pullback to prev H/L or an EMA±ATR band.
Panel & Debug: status panel (regime, ADX, HTF, CONS, Z/TR, score, gates) + debug reasons for blocked signals.
R overlay: draws entry/stop/targets and an approximate position size.
Non-repainting: uses barstate.isconfirmed and closed HTF values. Signals print on bar close.
Presets
NQ A+ (2m/5m) – fast trend bias. BO+FT & Z-score on, Volume mild, DI dominance on, HTF strict.
NQ Pullback-safe (5m) – more conservative, higher min score & BO/Z thresholds.
ES 5m – balanced default.
(You can also use Custom and tweak only 2–3 knobs at a time.)
Suggested markets/timeframes: CME index futures (NQ/ES), 2m/5m/15m. Works on FX/indices/crypto with sensible retuning.
How to read signals
Green/Red arrows mark confirmed MC3 or Thrust entries (printed after bar closes).
Label shows S=Score and THR if the thrust override triggered.
Panel (top-right) shows: Regime (TREND/CHOP), ADX (prev closed bar optional), HTF (side/slope), Consolidation mode, OR status, current Z/TR vs threshold, Score≥, and quick Gates (✓/✗) for long/short.
Debug (optional, last bar): concatenated reasons why a signal did not pass (e.g., ).
Retest mode places “RT” markers when price pulls back to the chosen retest source.
Key inputs (high-level)
Definition: MC3 (color / close-to-close / micro-channel HL / combo), optional Thrust override.
EMA: side rule, slope, max ATR distance (with soft scoring).
ADX/DI: Wilder ADX len/threshold, optional DI dominance.
Consolidation: Box+ATR (with min breaks & confirm), Squeeze (BB<KC), ER.
BO+FT: min points beyond prior H/L, close% near extreme, “no-pullback” option.
Z-Score: TR Z-score length & min threshold.
Volume: mild (SMA×mult) or strict (3-bar rising).
RSI divergence: pivot L/R, max lookback age.
HTF: timeframe/length, rule (Side only / Slope only / Strict).
Structure gate: pivot L/R, optional BOS with max age.
Sweep guard: Off / BlockAgainst / RequireWith.
Open Range: session window + “require breakout” toggle.
Blackout: one or two session windows (e.g., FOMC/CPI).
Smart Cooldown v2: base cooldown, EMA-stretch bonus, cluster penalty.
Alerts
Comes with alertconditions for Bull/Bear signals.
Optional JSON payload (direction, score, preset, regime, price, est. R, symbol, timeframe) for webhook-based managers (auto-filtering or auto-sizing).
How to set: Add alert on this indicator → choose condition “Bull MC3/Thrust” or “Bear MC3/Thrust” → Once-per-bar-close → webhook (optional).
Best practices
In trend: keep Auto regime ON; you can slightly lower min score / Z / BO.
In chop: raise min score (+1~2), use Volume strict + DI dominance, increase Z and close% thresholds, optionally require OR breakout.
Retest entries: enable “Retest mode” to get better fills (prev H/L or EMA band).
HTF Strict + Structure gate will materially improve selectivity (fewer trades, higher quality).
Avoid trading during Blackout windows (macro releases, roll).
Respect Smart Cooldown to prevent clustering and revenge trades.
Disclaimers
This is not financial advice. Backtest/forward-test before risking capital.
No indicator guarantees win rate or profits; use stops and position sizing.
Invite-Only access at the author’s discretion. Redistribution is prohibited.
Credits
Inspired by Al Brooks methodology (micro-channels, breakouts, trend vs chop context) and classic Wilder ADX/DI.
Daily Vertical Lines (UTC-4)puts verical line for setup asian
🔎 How this works:
The script uses timestamp() with America/New_York (which corresponds to UTC-4 in summer and UTC-5 in winter — TradingView auto-adjusts with DST).
When the bar’s opening time equals 3:30 PM or 8:00 PM, it draws a vertical dotted line across the chart.
One line will be red (3:30 PM), the other blue (8:00 PM).
Relative Strength with CNX500This indicator compares the relative strength of the stock with respect to a wider benchmark index Nifty 500