Pine Script® インジケーター
Candlestick analysis
Shooting Star Reversal [XAUUSD 15m]Just tested it so far so decent, i hope we can even make it better
Pine Script® ストラテジー
GFG Volatility Heikin Ashi Candles by Agaam## GFG Volatility Heikin Ashi Candles by Agaam
**GFG Volatility Heikin Ashi Candles** is a custom candle-overlay indicator that combines Heikin Ashi candle structure with ATR-based volatility analysis.
The goal of this script is to make volatility easier to see directly on the chart. Instead of using standard candles only, this indicator builds custom Heikin Ashi candles and then adjusts their visibility based on how strong or weak the current candle’s volatility is compared to its ATR average.
This helps traders quickly identify when the market is expanding, slowing down, or entering compression.
## What Makes This Script Original
Many Heikin Ashi indicators only smooth price movement and recolor candles based on bullish or bearish direction. This script adds a volatility layer by measuring the current Heikin Ashi candle range against a custom ATR calculation based on Heikin Ashi values.
The script does not only ask, “Is the candle bullish or bearish?”
It also asks, “Is this candle showing enough volatility to matter?”
The result is a cleaner candle overlay where stronger volatility candles are more visible, while low-volatility or compression candles can fade out.
## How The Indicator Works
The script first calculates custom Heikin Ashi values:
* Heikin Ashi open
* Heikin Ashi high
* Heikin Ashi low
* Heikin Ashi close
Then it calculates a Heikin Ashi-based true range using:
* Current Heikin Ashi high minus Heikin Ashi low
* Distance from Heikin Ashi high to previous Heikin Ashi close
* Distance from Heikin Ashi low to previous Heikin Ashi close
This true range is smoothed using an ATR-style RMA average.
The script then compares the current Heikin Ashi true range to the ATR value.
This creates a volatility ratio:
Current HA true range ÷ HA ATR
A value above 1 means the current Heikin Ashi candle is larger than average.
A value below 1 means the current Heikin Ashi candle is smaller than average.
## Volatility Categories
The script classifies each candle into volatility conditions:
### Extreme Volatility
A candle is marked as extreme when its volatility ratio is above the extreme threshold.
These candles are shown with the strongest visibility because they represent larger-than-normal price movement.
### High Volatility
A candle is marked as high volatility when its volatility ratio is above the high threshold but below the extreme threshold.
These candles are still clearly visible, but slightly less intense than extreme candles.
### Normal Volatility
Normal candles are shown with moderate visibility.
### Low Volatility
Low-volatility candles are detected when the volatility ratio drops below the low-volatility threshold.
### Compression
Compression is detected when the volatility ratio drops below the compression threshold.
Low-volatility and compression candles are faded out. This helps traders visually separate active movement from quieter, low-energy market conditions.
## Body Strength Filter
The script includes an optional candle body filter.
When enabled, the candle must have enough Heikin Ashi body strength compared to ATR before it can qualify as high or extreme volatility.
This helps filter out candles that have large wicks but weak candle bodies.
The body filter can be useful for traders who want to focus more on directional volatility instead of total range only.
## Candle Colors
The candles are colored by Heikin Ashi direction:
* Bullish Heikin Ashi candles use the selected bull color
* Bearish Heikin Ashi candles use the selected bear color
The candle body transparency changes based on volatility strength:
* Extreme volatility = most visible
* High volatility = clearly visible
* Normal volatility = softer visibility
* Low volatility / compression = hidden or nearly invisible body
This creates a cleaner visual map of where volatility is expanding or fading.
## Optional Volatility Label
The indicator includes an optional label that displays the current volatility condition on the latest candle.
The label can show:
* Compression
* Low Vol
* Normal
* High Vol
* Extreme Vol
It also shows the volatility ratio compared to ATR, such as:
1.45x ATR
This allows traders to quickly understand the current candle’s volatility state without reading the candles manually.
## How Traders Can Use It
This indicator can be used as a visual volatility filter.
Possible uses include:
* Identifying strong volatility expansion candles
* Avoiding low-volatility compression areas
* Watching for market activity after quiet periods
* Confirming that a move has enough range behind it
* Filtering out weak Heikin Ashi candles
* Reading bullish or bearish Heikin Ashi direction together with volatility strength
A possible workflow:
1. Use the Heikin Ashi candle direction to read smoother bullish or bearish movement.
2. Watch candle visibility to understand volatility strength.
3. Treat high and extreme volatility candles as active movement zones.
4. Treat faded candles as low-volatility or compression areas.
5. Combine the visual reading with support/resistance, trend, volume, and risk management.
## Important Notes
This script is not a buy or sell signal system. It does not predict market direction and does not guarantee continuation.
High volatility can appear during breakouts, reversals, news events, stop runs, or exhaustion moves. Traders should use market context before making decisions.
Compression does not always mean price will break out immediately. It only means the current Heikin Ashi range is low compared to its ATR average.
## Disclaimer
This indicator is for educational and informational purposes only. It is not financial advice, investment advice, or a guaranteed trading system. Trading involves risk, and every trader is responsible for their own decisions. Always use proper risk management.
Pine Script® インジケーター
Pine Script® インジケーター
ETH Grid - Long IndicatorETH Grid — Long Indicator
🔷 What it does:
This is a signal-only indicator that mirrors a price-grid long workflow on ETH / USDT between two fixed bounds. It tracks up to 23 independent virtual slots between a configurable High and Low — each slot fires a webhook-ready buy signal when price crosses down through it, and a paired sell signal when price subsequently crosses up through the slot immediately above. The indicator computes a running average entry, total deployed capital, and open PnL from the live slot ledger and renders all of it on the chart.
- Pre-computes 7–200 grid levels in Geometric (default) or Arithmetic spacing.
- Each slot is an independent ownership flag with its own buy/sell webhook payload.
- Avg entry is derived from fill-by-fill bookkeeping — total cost and total qty are updated on every event.
- Every event emits a webhook-ready JSON alert payload tagged with the specific grid slot.
🔷 Who is it for:
- Swing traders harvesting volatility on ETH in range-bound regimes.
- Bot operators looking for a chart-driven signal source that emits per-slot JSON ready for a DCA Bot configured for grid execution.
- Traders who want to monitor a virtual grid state — avg entry, owned slots, deployed capital, open PnL — directly on the chart without a backtest engine.
- Portfolio operators using a high-trade-count contributor alongside directional strategies.
🔷 How does it work:
Grid Construction: On script load, the indicator computes N price levels between the configured High and Low bounds. In Geometric mode (default), level k is at High × (Low/High)^(k/(N-1)), giving constant percent spacing — approximately 1.0% per step at default settings. In Arithmetic mode, levels are linearly spaced by absolute price.
Per-Slot State Machine: Each grid level is an independent slot tracked by a boolean ownership flag. When close price crosses down through an empty slot's level, the slot is marked owned, virtual cost-basis is added, and the BUY webhook payload is dispatched. When close price crosses up through the level immediately above an owned slot, the slot is marked free, virtual cost-basis is subtracted, and the SELL webhook payload is dispatched.
Honest Virtual Bookkeeping: Total cost and total qty are updated incrementally on each event, so the avg entry, deployed capital, and open PnL displayed in the status table reflect the actual broker-equivalent position state — no shortcuts from base entry, no synthetic averaging. The table also accumulates the realized PnL from every closed slot (the exact round-trip profit between adjacent levels), so it shows how much the grid has actually earned over the chart history.
No Trailing, No Stop Loss: By design, each slot has a fixed exit (the level above). The indicator never trails the exit and never signals a slot-out for a loss — slots that fall below their entry stay owned until price comes back. This is the canonical grid-bot behavior.
🔷 Why it's unique:
- Per-Level Webhook Ledger: Every BUY and SELL emits a fully-formed JSON alert payload tagged with the specific grid slot ("Grid_BUY_L5" / "Grid_TP_L5"). The indicator can drive a DCA Bot configured for grid emulation without any glue layer.
- Fill-by-Fill Avg Entry: The orange avg-entry line is derived from running totals updated on every event — what you see is what the broker-equivalent position would actually have.
- Active Slot Highlighting: Owned grid levels are rendered with a thicker green stroke; empty slots stay dashed gray. Slot density and current loading are visible at a glance.
- Range Box & Bounds Labels: A semi-transparent box spans the configured High/Low range, and crisp HIGH/LOW labels mark the bounds — the grid topology is obvious without zooming.
- Calibrated for ETH 15m: Default bounds, level count, and step size are set against ETH's recent observed range. The 23-level geometric ladder gives roughly 1.0% per step — wide enough to clear perpetual taker fees on each round-trip, granular enough to keep catching 15m swings inside the range.
🔷 Considerations Before Using the Indicator:
Market Selection & Range Validity: Grid strategies are most profitable in range-bound, mean-reverting markets. On strong directional trends below the configured Low, slots will keep marking as owned as price falls and won't free until price reverses. The default High/Low (2165 / 1734) was set against ETH's recent observed range; update both whenever the regime changes.
Capital Deployment: The default Total Investment of 10,000 USDT is a virtual reference used for the avg-entry and open-PnL computation. The real sizing happens on the bot side — match the indicator's per-slot allocation to your bot's grid configuration to keep the avg-entry display honest.
Cross Detection Granularity: Crossings are detected on bar close, comparing the current close to the previous close. A bar that spikes through a level and returns within the same bar may be missed by design — this prevents over-signaling on intra-bar wicks.
Live vs Historical State: The virtual slot ledger is rebuilt from chart history each time the indicator is recompiled. If the indicator is added mid-deployment or the live bot diverges from the signal stream (manual interventions, partial fills), the indicator state may not match the live bot. Toggle the indicator off and on to reset.
No Stop Loss: There is no exit signal on adverse moves below the lowest grid level. Risk is structurally capped on the bot side by the bounded Total Investment configured at the bot. If a hard stop is required, layer it on the bot side.
Backtesting Note: This is an indicator, not a strategy. There is no built-in P&L tester. For performance metrics over a ~3.8-month sample (355 closed trades, 67.32% win rate, 4.08% max drawdown, profit factor 2.433, +11.34% net return), use the companion strategy version on identical parameters.
🔷 How to Use It:
🔸 Add the indicator to a ETH / USDT 15m chart.
🔸 Set the High and Low bounds to a range you expect ETH to respect.
🔸 Pick Geometric (default, recommended) or Arithmetic spacing.
🔸 Set Grid Levels (7–200) and the virtual Total Investment used for avg-entry computation.
🔸 In the DCA Bot Webhook group, paste your Bot ID, Email Token, and Pair (QUOTE_BASE format, e.g., USDT_ETH).
🔸 Create an alert on the indicator with "Any alert() function call". Paste the DCA Bot's webhook URL into the alert's Webhook field. Every grid-level buy and grid-level close will emit a dedicated JSON payload tagged with the slot index, so each level can be tracked independently downstream.
🔷 INDICATOR SETTINGS
High Price: Top of the grid. The highest level a slot can be created from.
Low Price: Bottom of the grid. The lowest level a slot can be created from.
Grid Levels: Number of price levels between High and Low (default 23, range 7–200).
Spacing Mode: Geometric (constant percent step) or Arithmetic (constant absolute step).
Total Investment (USDT): Virtual capital allocated across all slots. Used for the avg-entry and open-PnL computation only.
Bot ID / Email Token / Pair: Webhook fields injected into every alert payload.
Visualization: Toggle grid lines, range box, HIGH/LOW labels, avg entry plot, fill labels, signal triangles, status table (shows status, range, levels, owned slots, avg entry, deployed capital, open PnL, and cumulative realized PnL).
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
Pine Script® インジケーター
GFG Candle Countdown HH:MM:SS by Agaam## GFG Candle Countdown HH:MM:SS
**GFG Candle Countdown HH:MM:SS** is a clean chart utility that displays the remaining time before the current candle closes in **hours:minutes:seconds** format.
The purpose of this script is to help traders clearly see how much time is left in the active candle without adding signals, arrows, chart labels, or extra visual clutter. The countdown is displayed in a simple table on the top-right side of the chart and can be moved lower using the vertical offset settings.
## What This Indicator Does
This indicator calculates the remaining time until the current candle closes by comparing the candle’s close time with the current real-time clock. The result is displayed in this format:
**HH:MM:SS**
For example:
**01:24:35**
means there is 1 hour, 24 minutes, and 35 seconds left before the current candle closes.
This version is useful not only for short intraday charts, but also for higher timeframes where candles may have more than one hour remaining.
## Why This Script Is Useful
Many traders prefer to wait for candle close confirmation before making a decision. This script helps make candle timing easier to see directly on the chart.
It can be useful for:
* Waiting for candle close confirmation
* Monitoring higher-timeframe candle closes
* Avoiding early entries before a candle is finished
* Managing trades around candle close
* Watching active bars without cluttering the chart
* Keeping timing visible while focusing on price action
## Clean Chart Design
This indicator is intentionally simple. It does not generate buy signals, sell signals, trend signals, alerts, arrows, or candle labels.
It only displays the candle countdown timer.
The visual layout is designed to stay clean:
* Right-side table display
* Only HH:MM:SS numbers
* No extra words on the chart
* Adjustable size
* Adjustable cell width and height
* Adjustable vertical position
* Custom background color
* Custom number color
This keeps the chart clean while still giving the trader important timing information.
## Warning Color Option
The script includes optional warning colors for traders who want the countdown to visually change as the candle gets closer to closing.
Users can customize:
* Warning color
* Danger color
* Warning seconds threshold
* Danger seconds threshold
For example, the countdown can turn yellow when fewer than 30 seconds remain and red when fewer than 10 seconds remain.
This feature is optional and can be turned off for a simple one-color timer.
## Customization
Users can adjust:
* Show or hide the countdown
* Countdown text size
* Countdown cell width
* Countdown cell height
* Vertical offset rows
* Offset row height
* Background color
* Countdown number color
* Warning color
* Danger color
* Warning and danger timing levels
These settings allow the timer to be positioned and styled to fit different chart layouts.
## How Traders Can Use It
A simple way to use this indicator:
1. Add it to the chart.
2. Place the countdown where it is easy to see.
3. Watch the remaining candle time before making candle-close-based decisions.
4. Use it as a timing tool together with your own trading plan.
This script does not predict price direction. It is only designed to show candle time remaining.
## Important Notes
The countdown works on time-based charts where candle close time is available. On chart types where candle close time is not available, the script may display **N/A**.
The countdown is based on the chart’s active candle close time and updates on the latest bar.
## Disclaimer
This indicator is for educational and informational purposes only. It is not financial advice, investment advice, or a guaranteed trading system. Trading involves risk, and every trader is responsible for their own decisions.
Pine Script® インジケーター
GFG Candle Countdown MM:SS by Agaam## GFG Candle Countdown MM:SS
**GFG Candle Countdown MM:SS** is a clean chart utility that displays the remaining time of the current candle in a simple **minutes:seconds** format.
The purpose of this script is to help traders quickly see how much time is left before the current candle closes without adding extra labels, signals, arrows, or unnecessary chart clutter. The countdown is displayed in a table on the top-right side of the chart and can be moved lower using the vertical offset settings.
## What This Indicator Does
This indicator calculates the time remaining until the current candle closes by comparing the candle close time with the current real-time clock. The result is shown as a simple countdown in this format:
**MM:SS**
For example:
**02:45**
means there are 2 minutes and 45 seconds left before the current candle closes.
## Why This Script Is Useful
Many traders make decisions near candle close, especially when waiting for confirmation from the current bar. This countdown helps traders see the remaining candle time clearly without needing to look away from the chart.
It can be useful for:
* Waiting for candle close confirmation
* Managing entries near the end of a bar
* Avoiding rushed decisions before a candle finishes
* Monitoring short timeframes during active trading
* Keeping the chart clean while still showing important timing information
## Clean Chart Design
This script is intentionally simple. It does not print candle labels, buy signals, sell signals, trend signals, or extra text. It only shows the countdown timer.
The visual design is meant to stay clean and easy to read:
* Right-side table display
* Only MM:SS text
* Adjustable size
* Adjustable cell width and height
* Adjustable vertical position
* Custom background color
* Custom number color
## Warning Color Option
The indicator includes optional warning colors for traders who want the countdown to change color as the candle gets close to closing.
Users can set:
* Warning color
* Danger color
* Warning seconds
* Danger seconds
For example, the countdown can turn yellow when less than 30 seconds remain and red when less than 10 seconds remain.
This feature is optional and can be turned off for a simple one-color countdown.
## Customization
Users can customize:
* Show or hide the countdown
* Countdown text size
* Table cell width
* Table cell height
* Vertical offset position
* Background color
* Countdown number color
* Warning and danger colors
* Warning and danger timing thresholds
These options allow traders to place the countdown where it fits best on their chart layout.
## Important Notes
This script is a timing utility only. It does not predict price direction, generate trade signals, or provide buy/sell recommendations.
The countdown works on time-based charts where candle close time is available. On chart types where candle close time is not available, the script may display **N/A**.
## Disclaimer
This indicator is for educational and informational purposes only. It is not financial advice and does not guarantee trading results. Trading involves risk, and every trader is responsible for their own decisions.
Pine Script® インジケーター
supply and demand based liquiditiy [use 10 min TF only]most powerful supply and demand strategy, so only applied to 10 min time frame like it draw high probable supply and demand, so no need to feel the pair of drawing S&D zones
Pine Script® インジケーター
CryptoStatus Waves / Layered Oscillator CompanionCryptoStatus Waves is the oscillator companion to CryptoStatus. Where the overlay gives you the regime and context on your price chart, Waves opens the hood and shows you the underlying momentum, money flow, trend strength, and positioning that drive the read, all layered in one cohesive pane. The two are designed to be run together: every oscillator here is the same series, at the same Daily or Weekly anchor, that feeds the overlay's divergences and score.
WHAT YOU SEE
The dominant element is the MoneyFlow area, a volume-weighted Money Flow Index plotted as a filled area split at its midline. Green above the midline means money flow is confirming (net inflow). Red below means flow is failing (net outflow). This is the backdrop everything else rides on, because in crypto, flow is the foundation.
Three lines ride on top of the money-flow area. RSI is plotted as a two-tone line, magenta above 50 and cyan below, so momentum direction is readable at a glance. ADX is plotted as a single line colored by directional dominance: gold when the positive directional index leads (bulls control the trend), blue when the negative directional index leads (bears control the trend). Its height shows trend strength, its color shows trend direction. OBV is plotted as an orange line tracking the longer-run accumulation and distribution flow.
A bold white CryptoScore line sits on top of all of it. This is the same 0 to 100 composite the CryptoStatus overlay reports, mapped onto the pane and centered at the zero gate. Above zero is net bullish, below is net bearish. Because it is built from the regime, RSI, money flow, and OBV with an ADX conviction multiplier, it gives you a single fast read of where the weight of evidence sits, and it agrees with the overlay's score on the same symbol.
DIVERGENCES
The same RSI, ADX-exhaustion, and OI positioning divergences that CryptoStatus marks on price are pinned here to their own waves, so you can see exactly which oscillator is diverging and where. RSI divergences sit on the RSI line, ADX exhaustion on the ADX line, and OI positioning divergences on the OBV line. Used with identical pivot settings to the overlay, the markers line up between the two panes.
VALUE TABLE
A compact table reports the current value of each component: RSI, OBV percentile, money flow with an in or out tag, ADX with the leading directional index, the positive and negative directional index values, and the composite SCORE with its label. Volume-less symbols are handled gracefully, with money flow showing not available rather than breaking the score.
WHY IT PAIRS WITH CRYPTOSTATUS
CryptoStatus Waves is crypto-native. The composite score's regime vote reads Bitcoin, and the positioning divergence uses open interest rather than the equity-style on-balance-volume positioning. Lengths, ribbon parameters, money-flow length, and the confirmation buffer all match the CryptoStatus overlay so the two stay in agreement. Run CryptoStatus on your price chart and CryptoStatus Waves in the pane below it for a complete top-down picture: regime and context above, the engine driving it below.
INPUTS AND DEFAULTS
The anchor matches CryptoStatus and defaults to Daily, switchable to Weekly. RSI, ADX, money-flow, and OBV lengths, the wave heights and opacities, divergence pivot settings, score weights, and all colors are adjustable. Keep the money-flow length and regime parameters aligned with the overlay if you want the scores to match exactly. The open interest symbol used for positioning divergence is configurable and na-safe.
This indicator is provided for educational and informational purposes only. It is not financial advice. Past performance and historical behavior do not guarantee future results. Trade at your own risk.
TheurgyLabs — Conjured with AI
Pine Script® インジケーター
CryptoStatus / Crypto/Bitcoin Daily/Weekly Regime EngineCryptoStatus is a top-down regime indicator built specifically for crypto. It answers one question clearly and keeps it on your screen no matter what timeframe you are working: is the crypto market bullish, bearish, or neutral right now, and how much should you trust that read? The regime is computed off a fixed Daily or Weekly anchor, so the status stays stable while you analyze any intraday chart underneath it.
HOW THE STATUS IS DETERMINED
The market STATUS is driven by one thing only: the Bitcoin regime ribbon read at your chosen anchor timeframe. CryptoStatus uses a four-SMMA ribbon (8/16/24/32 on HL2) with tangle and flat-zone detection. When the ribbon is cleanly separated and rising, the status is BULLISH (gold). Cleanly separated and falling, it is BEARISH (blue). Tangled or inside the neutral zone, it is NEUTRAL (near-white). A confirmation buffer requires the raw regime to hold for a configurable number of anchor bars before the displayed status flips, which cuts whipsaw at the turns. This keeps the headline call simple and legible rather than a muddy composite of many inputs.
HOW CONFIDENCE WORKS
The status tells you direction. Confidence tells you conviction. It is built from the decisiveness of the ribbon spread, then modulated by three crypto-native factors, none of which can override the status. They only raise or lower the confidence number depending on whether they back or fight the trend.
The first factor is open interest. CryptoStatus reads OI relative to its own moving average. A healthy rise in leverage backing a trend reads as risk-on and adds confidence. Extreme leverage reads as stress, a crowded and fragile condition that historically precedes violent liquidation moves, and subtracts confidence.
The second factor is alt participation, read from TOTAL3 (the combined market cap of all coins excluding Bitcoin and Ethereum). This is a breadth or fragility gauge. When the broad altcoin market trends with Bitcoin, participation is broad and the move is healthy. When Bitcoin rises while alts fall, the move is narrow and BTC-only, which is fragile. The table labels this relationship directly: CONFIRMING in a bull with alts rising, NARROWING in a bull with alts falling, CAPITULATE in a bear with alts falling, and ROTATING in a bear with alts rising (alts decoupling or leading).
The third factor is Bitcoin dominance (BTC.D). Rising dominance means capital is concentrating into Bitcoin and out of alts, a risk-off posture within crypto. Falling dominance means the market is broadening. Dominance is interpreted so that broadening backs a bull read and concentration fights it.
A neutral status always reports low confidence, because a neutral market has not committed to a direction.
DIVERGENCES
CryptoStatus detects three orthogonal divergence types on the chart symbol at the anchor timeframe. RSI divergence flags momentum failing to confirm a price extreme. ADX-falling exhaustion flags a price extreme made while trend strength is fading. OI divergence flags a price extreme that leveraged positioning is not confirming. When two or more fire within a short window, a confluence shading marks the bar. Each divergence type has its own marker and color so you can read them at a glance.
COMPOSITE SCORE
A 0 to 100 CryptoScore blends the regime, RSI, money flow, and OBV into a single faster read, with ADX acting as a conviction multiplier. It is more granular than the categorical status and often moves ahead of it.
CROSS-TIMEFRAME ALIGNMENT
The table includes a cross-reference row showing the other anchor's status and score. If you are on the Daily anchor it shows the Weekly read, and vice versa. The row tints green when the two timeframes agree on direction and red when they conflict, turning CryptoStatus into a quick multi-timeframe alignment check. Aligned timeframes suggest trend-with-trend conditions; conflicting timeframes suggest a counter-trend move within a larger trend.
EXPORTABLE VALUES
CryptoStatus publishes its Regime, Confidence, and Market Score as hidden data-window plots, so other indicators can subscribe to them via the source input and read the regime from one source of truth.
INPUTS AND DEFAULTS
The anchor defaults to Daily and can be switched to Weekly. The Bitcoin regime symbol, open interest symbol, TOTAL3 symbol, and BTC dominance symbol are all configurable, and every external read is na-safe: if a symbol does not resolve on your data feed, that factor simply contributes nothing rather than breaking the indicator. The ribbon, neutral zone, confirmation buffer, factor thresholds, divergence settings, and score weights are all adjustable.
This tool is designed as a regime and context layer to sit alongside your entry system, not as a standalone buy or sell signal generator.
This indicator is provided for educational and informational purposes only. It is not financial advice. Past performance and historical behavior do not guarantee future results. Trade at your own risk.
TheurgyLabs — Conjured with AI
Pine Script® インジケーター
Sesgo de Temporalidad Mayor Indicador de sesgo en Temporalidad Diaria. Para quienes operan en temporalidades menores, tener siempre presente el sesgo diario anterior permite proyectar un eventual movimiento en la misma dirección. Se acopla facilmente a una estrategia de seguimiento de tendencia
Pine Script® インジケーター
Sessions by LowSkillAnalysisCustom Trading Sessions Highlighter
This indicator highlights the main trading sessions directly on the chart: Asia, Frankfurt, London, and New York.
You can choose between two visual modes: background highlights or session boxes. Each session has customizable time settings, colors, transparency, and optional labels.
The box mode tracks the high and low of each session and keeps the chart clean without extending drawings into the future.
Simple, clean, and fully customizable for intraday trading.
Pine Script® インジケーター
ETH Grid Bot - Long StrategyETH Grid Bot — Long Strategy
🔷 What it does:
This is a long-only price-grid strategy that harvests volatility on ETH / USDT through repeated round-trips on a pre-defined ladder of price levels between two fixed bounds. Each level is an independent slot: when price crosses down through a level, the strategy opens one slot; when price subsequently crosses up through the level immediately above, that slot is closed for a fixed round-trip profit. The grid is generated geometrically by default, so spacing adapts to the price scale.
- Up to 23 simultaneous long slots at default settings, each sized as a fixed fraction of the configured Total Investment.
- No trailing exit, no stop loss — each slot's exit is the level above its entry.
- Per-slot exposure is approximately 4.35% of equity at default settings, comfortably inside the 5–10% per-trade risk band.
- Every fill and close emits a webhook-ready JSON alert payload tagged with the specific grid slot.
🔷 Who is it for:
- Swing traders harvesting volatility on ETH in range-bound regimes.
- Bot operators looking for a chart-driven signal source with per-slot webhook JSON ready to drive a DCA Bot configured for grid execution.
- Traders running a portfolio of low-correlation strategies who want a high-trade-count contributor with bounded per-trade risk.
- Range traders who prefer mechanical execution over discretionary entries.
🔷 How does it work:
Grid Construction: On script load, the strategy computes N price levels between the configured High and Low bounds. In Geometric mode (default), level k is at High × (Low/High)^(k/(N-1)), giving constant percent spacing — approximately 1.0% per step at default settings. In Arithmetic mode, levels are linearly spaced by absolute price.
Per-Slot Logic: Each grid level is an independent slot tracked by a boolean ownership flag. When bar close moves price down through an empty slot's level, a long is opened at that level for one slot's worth of capital (Investment / N). When bar close moves price up through the level immediately above an owned slot, that slot is closed, locking the round-trip profit between the two adjacent levels.
No Trailing, No Stop Loss: By design, each slot has a fixed exit (the level above). The strategy never trails the exit and never stops a slot out for a loss — slots whose entry price is below current market simply wait until price comes back. This is the canonical grid-bot behavior.
Capital Bounds: Total deployed capital cannot exceed the configured Investment. When all 23 slots are filled, no new orders are opened until price rises and starts closing slots. This structural cap is the strategy's primary risk control.
🔷 Why it's unique:
- Per-Level Webhook Ledger: Every fill and close emits a fully-formed JSON alert payload tagged with the specific grid slot ("Grid_BUY_L5" / "Grid_TP_L5"). The strategy can drive a DCA Bot configured for grid emulation without any glue layer.
- Pre-Allocated State: All up to 200 slot ledgers live in fixed-size arrays, so state lookups are constant-time and the chart can render every active slot with no performance overhead.
- Honest Backtest Surface: The avg entry line plotted on the chart and the open PnL displayed in the status table both reflect the actual broker-equivalent position state — derived from fill-by-fill bookkeeping, not synthetic averaging. The status table also reports the cumulative realized net profit (how much the grid has actually earned, in USDT and % of starting capital), so live performance is visible directly on the chart.
- Calibrated for ETH 15m: Default bounds, level count, and step size are set against ETH's recent observed range. The 23-level geometric ladder gives roughly 1.0% per step — wide enough to clear perpetual taker fees on each round-trip, granular enough to keep catching 15m swings inside the range.
🔷 Considerations Before Using the Strategy:
Market Selection & Range Validity: Grid strategies are most profitable in range-bound, mean-reverting markets. On strong directional trends below the configured Low, slots will keep loading as price falls and won't close until price reverses. The default High/Low (2165 / 1734) was set against ETH's recent observed range; update both whenever the regime changes.
Capital Deployment & Drawdown: The default Investment of 10,000 USDT equals 100% of starting capital — high-conviction setting that assumes the configured range holds. Per-slot risk remains low (~4.35% of equity), but if price collapses below the Low bound, aggregate unrealized loss can grow further. Scale the Investment input down to match the worst-case drawdown you are willing to absorb in a range-break scenario.
No Stop Loss Justification: There is no exit on adverse moves below the lowest grid level. The strategy's per-trade risk is structurally capped by the per-slot allocation (Investment / N levels) — at defaults that is ~435 USDT per slot, well inside the conventional 5–10% per-trade band. The aggregate unrealized exposure is controlled separately via the Investment input.
Trade Volume & Fees: Grid bots on 15m generate a high number of round-trips. The ~1.0% step is deliberately wider than a tight scalp grid so each round-trip comfortably clears the perpetual taker fee. The default commission (0.06% per trade) is calibrated for Bybit perpetual taker conditions; any mismatch with your exchange's actual fees will materially shift the results.
Demo Testing: Always demo-test before going live. Past results do not guarantee future performance, especially on a strategy whose profitability is bounded by the chosen High/Low range remaining valid.
🔷 STRATEGY PROPERTIES
Symbol: BYBIT:ETHUSDT.P (Perpetual) — strategy is portable to any ETH / USDT pair.
Timeframe: 15M
Test Period: February 8, 2026 — May 31, 2026 (~3.8 months).
Initial Capital: 10,000 USDT.
Total Investment: 10,000 USDT (100% of capital, high-conviction setting).
Order Size per Slot: Investment / 23 ≈ 435 USDT (~4.35% of equity).
Commission: 0.06% per trade.
Slippage: 3 ticks.
Margin for Long Positions: 100%.
Indicator Settings: Default Configuration.
Grid Bounds: High 2165 / Low 1734 (range −19.91%).
Grid Levels: 23 (Geometric spacing, ~1.0% per step).
Stop Loss: None — per-slot allocation is the structural risk cap.
Trailing: None.
Strategy: Long Only.
🔷 STRATEGY RESULTS
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +1,133.70 USDT (+11.34%)
Max Equity Drawdown: 422.86 USDT (4.08%)
Total Closed Trades: 355
Percent Profitable: 67.32% (239 / 355)
Profit Factor: 2.433
🔷 How to Use It:
🔸 Adjust Settings: Open the strategy inputs and set the High and Low bounds to a range you expect ETH to respect. Pick Geometric for percent-spaced levels (default, recommended) or Arithmetic. Set Grid Levels (7–200) and Total Investment to match your risk profile.
🔸 Results Review: Run a full-period backtest and confirm Max Drawdown stays within your personal risk band. Validate that the trade count is high enough to be statistically meaningful (≥ 100 closed trades is a reasonable floor — at default settings the strategy typically generates several hundred round-trips per 3-month window on ETH 15m).
🔸 Create alerts to trigger the DCA Bot: Add one alert on the strategy using "Any alert() function call". Paste your DCA Bot's webhook URL into the alert's Webhook field, and fill the Bot ID, Email Token, and Pair inputs on the script. Every grid-level buy and grid-level close will emit a dedicated JSON payload tagged with the slot index, so each level can be tracked independently downstream.
🔷 INDICATOR SETTINGS
High Price: Top of the grid. The highest level a slot can be created from.
Low Price: Bottom of the grid. The lowest level a slot can be created from.
Grid Levels: Number of price levels between High and Low (default 23, range 7–200).
Spacing Mode: Geometric (constant percent step) or Arithmetic (constant absolute step).
Total Investment (USDT): Total capital allocated across all slots. Per-slot size = Investment / Grid Levels.
Bot ID / Email Token / Pair: Webhook fields injected into every alert payload.
Visualization: Toggle grid lines, range box, HIGH/LOW labels, avg entry plot, fill labels, status table (shows range, levels, owned slots, investment, per-slot size, open PnL, and cumulative realized net profit).
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
Pine Script® ストラテジー
Son 10 Gunluk Mumlar haftalık grafik üstünde günlük mumları gösteren komut
haftalık grafikte kullanılır
son 10 günlük mum ekranda son haftalık mumun sağında günlük mumlar üstlerinde günleri yazarak gösterilir
aralıklar ve ötelemeler ayarlanabilir
Pine Script® インジケーター
Dynamic Buy and Sell - Hitz2kkDynamic Buy and Sell — by @hitz2kk
Dynamic Buy and Sell is an all-in-one trend and signal indicator that combines a volatility-adjusted EMA ribbon, a five-timeframe trend dashboard, a configurable entry engine, and built-in ATR risk levels — all overlaid directly on price.
What it does
The core is a trend ribbon built from a fast and slow EMA with an ATR band drawn around the midline. The ribbon shades green when structure is bullish and red when bearish, and the band expands and contracts with volatility so it adapts to current conditions instead of using fixed offsets.
A multi-timeframe dashboard in the top-right reads the EMA trend across 15-minute, 1-hour, 4-hour, daily, and weekly charts. Above it, a Trend Confidence score (0–100%) blends the local trend, RSI, price position relative to the ribbon, and all five higher-timeframe trends into a single conviction reading — green at 70%+, orange at 50–69%, red below.
BUY and SELL labels print only when conditions align: the ribbon trend agrees, the fast EMA slopes in the signal's direction, RSI is on the correct side of its threshold, and your chosen entry trigger fires.
Key features
Three entry modes: Ribbon Breakout (momentum), Candlestick (engulfing and pin-bar reversals), or Either
Optional volume and MACD confirmation filters to tighten signals
ATR-based stop and target levels plotted on every signal, with adjustable risk:reward
Live win-rate tally that tracks how signals resolved against their stop/target
Five-timeframe trend dashboard with an aggregated confidence score
Configurable EMA, RSI, ATR, and threshold inputs
How to use it
Choose your trigger mode in settings. Use the dashboard and confidence score to read the broader environment, then act on labels that print in the direction of that bias. Higher-confidence signals backed by aligned higher-timeframe trends are the stronger setups; signals firing against a red dashboard warrant caution. Enable the volume and MACD filters when you want fewer, higher-conviction signals.
Notes
All calculations run on confirmed bars and higher-timeframe data uses lookahead-off, so signals and the dashboard do not repaint after a bar closes. The win-rate tally is an on-chart estimate based on bar highs and lows, not a precise backtest — for exact statistics, run a strategy version through TradingView's tester. This is a decision-support tool, not a standalone system; test settings on your own instrument and timeframe and always apply your own risk management.
This script is original and provided for educational purposes. Nothing here is financial advice.
Pine Script® インジケーター
Custom Session & Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings Entry Timings
Pine Script® インジケーター
AcroTrail India Pro - By AcrofinsAcroTrail India Pro is a professional-grade trailing signal system built specifically for Indian markets — NSE indices, BSE indices, and NSE/BSE equities. Developed by Acrofins (Kiva Financial Services), it combines a high-quality trailing band engine with a multi-factor signal scoring system, full risk management levels, and India-specific session intelligence that most global indicators completely ignore.
What makes this different from generic trail indicators
Most trailing indicators give you a line and a signal. AcroTrail India Pro gives you a signal with a quality score, a grade, a risk/reward framework, and context about whether that signal should be trusted right now given the time of day, the market regime, and where we are in the expiry cycle.
It is built for how Indian markets actually behave, not how Western markets do.
Core engine
The trail is built on an ATR-based adaptive band with an EMA center. The band ratchets in the direction of the position, meaning it only tightens and never loosens during an active trade. Defaults are tuned for NSE intraday: ATR period 9 (vs the typical 14), a base multiplier of 2.0 for Nifty and 2.25 for BankNifty, and a 14-period trail EMA.
An optional adaptive volatility multiplier reads the 100-bar ATR percentile rank and automatically widens the band in high-volatility regimes and tightens it in low-volatility ones.
Dynamic Quality Score (0 to 100)
Every signal is scored across five components. The weights are not fixed. They shift automatically based on what is happening in the market right now.
HTF Bias checks whether the higher-timeframe trend aligns with the signal. On a 15-minute chart, it reads the 1-hour. On a daily chart, it reads the weekly. The score is graduated: full marks for alignment, partial for neutral, zero for opposition.
Volume confirms whether institutional participation is present. For index charts where TradingView reports zero volume, this weight is automatically redistributed to regime and HTF so the score stays meaningful.
RSI Momentum uses a gradient rather than a binary switch. A strong trending RSI scores full marks. A marginal RSI near the 50 line scores partial. An opposing RSI scores zero. This prevents overbought long signals from scoring the same as ideal momentum entries.
Market Regime combines ADX, Choppiness Index, and linear regression R-squared into a composite 0-100 regime score. Trending markets score high. Choppy markets score low. This score flows directly into the quality calculation.
Breakout Strength measures how decisively price pierced the trail band, capped at 3x ATR. Clean decisive breakouts score higher than marginal ones.
Signals are graded A (75 and above), B (55 to 74), or C (below 55). You can set a minimum quality threshold to filter out lower-conviction signals entirely.
Smart auto-adjust weight model
Three layers work together:
The base preset differs by instrument type. Index charts redistribute the volume weight (unavailable) to regime and HTF. Equity charts keep volume as a full component.
The auto-adjust layer shifts weights in real time based on session context. During the opening volatility window (09:15 to 09:45), HTF weight increases and breakout weight falls because gap-open band pierces are unreliable. During the expiry last-90-minute window, regime weight rises because IV-driven choppiness dominates. In high-volatility environments, regime rises and RSI falls.
The custom override layer lets you set your own weights via sliders if you want full control. The dashboard shows a live weight sum check to confirm your sliders add up correctly.
India-specific session intelligence
Session gate. Signals are blocked outside 09:15 to 15:30 IST. No false signals from pre-market or after-hours data.
Opening volatility window. Signals between 09:15 and 09:45 carry a ⚡ warning flag. This is the highest-noise window on NSE, where gap opens, institutional order flow, and retail panic all collide.
Expiry warning. Tuesday is Nifty and FinNifty expiry. Thursday is Sensex and BankNifty expiry. Signals during the last 90 minutes of those days (13:00 to 15:30) carry a 🔔 warning flag. Signals still appear so you can make your own judgment, but the flag tells you to apply extra scrutiny.
All three flags can appear together on the same signal. The dashboard also shows a live session status row so you always know which context you are trading in.
Risk management
Four presets: Conservative (SL 2.5x ATR), Balanced (SL 1.5x ATR, recommended for index), Aggressive (SL 1.0x ATR), and Scalping (SL 0.8x ATR). All three TP levels are expressed as R-multiples of the SL distance so the reward-to-risk relationship scales automatically with volatility.
Break-even option moves the stop to entry after TP1 is hit, letting the trade run to TP2 and TP3 risk-free. For intraday options trading, consider disabling this as IV spikes can trigger the BE stop before the real move to TP2 develops.
Dashboard
A unified four-section panel shows live trade status (direction, grade, SL/TP levels, R:R gauge, bars in trade, session status), market context (regime with visual gauge, HTF bias, volume, RSI, ATR), active weights (live readout of all five components plus mode indicator), and session statistics (signals by grade, win/loss count, win rate, average R-multiple, break-even saves, position flips).
How to set it up
Set the instrument type first: Index or Equity. For indices, also select the subtype (Nifty/FinNifty, BankNifty/Sensex, or MidcapNifty). This drives the base weight preset and shows ATR multiplier guidance on the dashboard.
For Nifty on 15-minute charts, the recommended starting configuration is ATR 9, multiplier 2.0, trail EMA 14, Balanced risk preset, adaptive multiplier on, ratchet on.
For BankNifty or Sensex, raise the multiplier to 2.25 or 2.5 to account for the wider intraday range.
For daily chart swing trading on equities, use ATR 13, trail EMA 21, Conservative or Balanced preset.
Built by Acrofins (Kiva Financial Services Private Limited). For educational and analytical purposes. Not financial advice.
Pine Script® インジケーター
Driftstone Natgas Signal//@version=5
indicator("Driftstone Natgas v1.1", shorttitle="DSN-1.1", overlay=true)
// =========================== INPUTS =========================================
bbLen = input.int(20, "BB Length")
bbMult = input.float(2.0,"BB StdDev", step=0.1)
rsiLen = input.int(14, "RSI Length")
rsiBuy = input.int(30, "RSI Long Entry threshold")
atrLen = input.int(14, "ATR Length")
slMult = input.float(2.0,"Stop x ATR", step=0.1)
// =========================== INDICATORS =====================================
basis = ta.sma(close, bbLen)
sd = bbMult * ta.stdev(close, bbLen)
bbU = basis + sd
bbL = basis - sd
rsiV = ta.rsi(close, rsiLen)
atrV = ta.atr(atrLen)
// =========================== SIGNALS ========================================
longSig = close <= bbL and rsiV < rsiBuy
// =========================== TRADE STATE ====================================
var float entryPx = na
var float entryAtr = na
var bool inTrade = false
newLong = longSig and not inTrade
if newLong
entryPx := close
entryAtr := atrV
inTrade := true
exitMid = inTrade and close >= basis
exitSL = inTrade and close <= entryPx - entryAtr * slMult
if exitMid or exitSL
inTrade := false
entryPx := na
entryAtr := na
// =========================== PLOTS ==========================================
plot(basis, "BB Mid", color=color.new(color.gray, 60))
upPlot = plot(bbU, "BB Upper", color=color.new(color.red, 60))
loPlot = plot(bbL, "BB Lower", color=color.new(color.green, 60))
fill(upPlot, loPlot, color=color.new(color.gray, 95))
plotshape(newLong, "BUY", shape.triangleup, location.belowbar, color.lime, size=size.small, text="BUY")
plotshape(exitMid, "MID EXIT",shape.diamond, location.abovebar, color.yellow, size=size.tiny, text="MID")
plotshape(exitSL, "SL HIT", shape.xcross, location.abovebar, color.red, size=size.small, text="SL")
plot(inTrade ? entryPx : na, "Entry", color=color.new(color.aqua, 30), style=plot.style_linebr)
plot(inTrade ? entryPx - entryAtr * slMult : na, "SL", color=color.new(color.red, 50), style=plot.style_linebr)
// =========================== ALERTS =========================================
alertcondition(newLong, "NATGAS LONG ENTRY", "DSN: BB Lower + RSI<30 LONG")
alertcondition(exitMid, "NATGAS MID EXIT", "DSN: Exit at BB midline")
alertcondition(exitSL, "NATGAS STOP LOSS", "DSN: Stop -2xATR hit")
Pine Script® インジケーター
Candle Engine Educativecandle education engine is an educational visual tool designed to help traders study normal candles, heikin ashi candle behavior, reversal candles, and multi-candle pattern sequences directly on the chart.
this script is for education and market study only. it is not financial advice, not a trading strategy, not a signal service, and not a recommendation to buy or sell any asset. the goal is to help users understand candle structure, candle context, and pattern behavior. every label, panel note, score, and alert should be used as a learning reference only.
what this tool does
this indicator is built around three main study areas:
1. normal candle study
the normal candle engine reads standard chart candles and identifies candle structures such as doji, marubozu, engulfing candles, inside bars, hammers, shooting stars, tweezer tops, tweezer bottoms, rejection candles, sweep candles, displacement candles, imbalance candles, exhaustion candles, wide range candles, and compression candles.
this part is designed to be used on a normal candlestick chart.
2. heikin ashi candle study
the heikin ashi engine studies smoothed heikin ashi candle behavior. it can identify strong ha candles, weak ha candles, ha doji candles, ha continuation, ha pullback, ha acceleration, ha color flip, ha exhaustion, ha weakening, and ha reversal conditions.
for best learning, switch your chart to heikin ashi candles when studying the ha sections. this helps beginners compare the script labels with the actual ha candle shape.
3. pattern sequence study
the pattern engine studies one-candle, two-candle, three-candle, four-candle, and five-candle formations. it includes classic and modern patterns such as morning star, evening star, engulfing patterns, harami patterns, piercing line, dark cloud cover, three inside up, three inside down, three outside up, three outside down, three white soldiers, three black crows, rising three methods, falling three methods, traps, breakouts, kickers, and breakaway patterns.
the purpose is not to predict the future. the purpose is to learn how candles combine into structure.
why candles matter
candles show the battle between buyers and sellers during a specific period.
a candle can teach several things:
* the body shows who controlled the open-to-close move
* the wick shows where price was rejected
* the close shows where control finished
* the range shows how much activity happened
* repeated candles show pressure, hesitation, exhaustion, or continuation
* patterns show how control changes across several candles
a candle is not automatically bullish or bearish in every situation. the same candle can have different meaning depending on where it appears. for example, a hammer after a strong drop can be a bullish rejection clue, but a hammer in the middle of a range can simply be noise. a doji is not a buy or sell signal by itself. it teaches indecision and requires confirmation.
how beginners should use this indicator
start slowly. do not activate everything at once.
recommended learning path:
step 1: study normal candles first
use a regular candlestick chart. enable the normal candle engine and a few simple labels such as doji, hammer, shooting star, engulfing, inside bar, rejection, and sweep.
focus on the candle body, wick, close location, and where the candle appears.
step 2: study reversal candles separately
enable the reversal candle module if you want to focus only on candle structures that may teach rejection, exhaustion, liquidity sweep, or control transfer.
this is useful for beginners because it separates reversal education from general candle noise.
step 3: switch to heikin ashi for ha study
when studying the ha module, switch the chart type to heikin ashi. the script calculates ha behavior internally, but visually switching the chart helps you understand why a candle is classified as strong, weak, reversal, exhaustion, or continuation.
heikin ashi is useful for learning trend rhythm, but it smooths price, so it should not replace normal candle study.
step 4: study ha reversal separately
the reversal ha module is designed to focus on ha color flips, ha weakening, ha exhaustion, and possible smoothed reversal behavior.
use it to learn when trend rhythm begins to slow, not as an automatic entry tool.
step 5: study pattern sequences
after learning single candles, enable the pattern engine. start with one-candle and two-candle patterns before studying complex three, four, or five-candle patterns.
multi-candle patterns are easier to understand when you ask:
* what did the first candle show?
* did the second candle confirm or reject it?
* did the final candle close with buyer or seller control?
* did the pattern happen near a meaningful level?
* did the pattern appear in trend, range, pullback, or exhaustion?
step 6: read the panels
the panels are designed as an educational journal. they show recent candle or pattern events with a short educational note. the notes explain what the candle teaches, not what you must trade.
main settings explained
candle engine
enable candle engine turns the normal candle module on or off.
show candle type on chart displays candle names directly on the chart.
show candle panel displays the candle history panel.
candle panel position selects where the candle history panel appears.
max candle labels visible controls how many normal candle labels or panel rows are kept before cleanup.
scoring mode controls how the candle quality score is calculated. body mode focuses on candle body size. volume mode focuses on relative volume. hybrid mode combines both.
use global trend context adjusts the score using a simple trend context. beginners should treat this as context only, not a decision rule.
candle type filters
these settings enable or disable specific normal candle names. examples include doji, engulfing candles, inside bars, hammers, shooting stars, tweezer tops, tweezer bottoms, sweeps, rejection candles, imbalance candles, displacement candles, and exhaustion candles.
beginners should start with fewer candle types and add more later.
reversal candle
enable reversal candle turns on the reversal candle module.
show reversal candle labels displays reversal candle labels directly on the chart.
show reversal candle panel displays the reversal candle panel.
reversal candle position selects where the reversal candle panel appears.
max candle reversal label controls how many reversal candle labels or rows are kept.
this module is useful when you want to focus only on candle behavior linked to rejection, sweep, exhaustion, liquidity reaction, or possible control transfer.
candle ha
enable candle ha turns on the heikin ashi study module.
show ha candle labels displays ha labels on the chart.
show heikin ashi panel displays the ha history panel.
ha panel position selects where the ha panel appears.
show ha secondary tags controls whether extra ha structure details are shown. when off, the label stays cleaner and shows the main ha idea. when on, it can show additional details such as no wick, long body, continuation, or acceleration.
max ha labels visible controls how many ha labels or panel rows are kept.
use this module on a heikin ashi chart for best visual learning.
reversal ha
enable reversal ha candle turns on the ha reversal module.
show reversal ha labels displays reversal ha labels on the chart.
show reversal ha panel displays the reversal ha panel.
reversal ha position selects where the reversal ha panel appears.
show reversal ha secondary tags controls whether extra ha reversal details are shown.
max ha reversal label controls how many reversal ha labels or panel rows are kept.
reversal ha name lets users choose which ha reversal-related conditions are active, such as ha bull reversal, ha bear reversal, ha color flip, ha exhaustion, ha weakening, and ha doji reversal.
this section is useful for learning when a smoothed trend may be slowing or changing rhythm.
candle sequence engine
enable candle sequence engine turns on the pattern sequence module.
show detected sequence displays detected pattern labels on the chart.
show pattern panel displays the pattern history panel.
pattern panel position selects where the pattern panel appears.
detection sensitivity adjusts how strict the sequence detection is.
max pattern labels visible controls how many pattern labels or panel rows are kept.
pattern length filters allow users to enable or disable one-candle, two-candle, three-candle, four-candle, and five-candle pattern groups.
pattern name filters let users select individual patterns. beginners should start with fewer patterns, such as engulfing, harami, morning star, evening star, hammer, shooting star, inside bar break, and traps.
reversal pattern
enable reversal patterns only mode allows the script to focus only on reversal-related patterns without requiring the full pattern engine to be used in the same way.
show pattern reversal labels displays reversal pattern labels on the chart.
show pattern reversal panel displays the pattern reversal panel.
pattern reversal position selects where the reversal pattern panel appears.
max pattern reversal label controls how many reversal pattern labels or rows are kept.
this section is useful when the user wants to study only patterns that teach failed control, rejection, traps, transition, or possible reversal behavior.
ai context
the ai context section does not predict the future. it provides a visual context score based on internal trend, volume, and volatility calculations.
show ai context bull/bear gauge displays a small visual gauge.
gauge position moves the gauge between top center and bottom center.
gauge basis selects whether the gauge is based on trend, volume, volatility, or combined context.
gauge precision cells controls the visual resolution of the gauge.
bear, neutral, and bull colors control the gradient colors of the gauge.
the gauge should be used as a context tool, not as a trade entry tool.
educational history panels
the history panels show recent detected events. each row includes the candle or pattern name, score, and a short educational note.
the panels are designed to help beginners review what happened recently and learn the meaning of each structure.
panel position settings control where each panel appears.
panel colors and transparency control the visual style.
alerts
alerts can notify when selected candle, ha, or pattern events occur.
alerts are educational reminders only. they are not automatic trade signals.
beginners should create alerts only after understanding what each candle or pattern means.
how to interpret bull, bear, and neutral
bull means the candle or pattern teaches buyer pressure, recovery, demand, or bullish rejection.
bear means the candle or pattern teaches seller pressure, rejection, supply, or bearish control.
neutral means the candle or pattern teaches indecision, compression, balance, or a situation where direction is not yet confirmed.
neutral is not useless. neutral candles are important because they often teach patience.
important beginner lessons
do not read a candle alone.
a candle needs context:
* is price trending or ranging?
* did the candle appear near support or resistance?
* did the wick reject a meaningful level?
* did the close confirm control?
* did the next candle follow through?
* is the pattern forming after expansion, compression, or exhaustion?
a pattern is not a guarantee. it is a lesson about structure.
good candles usually have clear body, wick, and close behavior. weak candles are harder to read and need more confirmation.
reversal patterns need extra care. a reversal clue is not a confirmed reversal until price follows through.
continuation patterns need trend context. without trend, continuation patterns can become noise.
compression patterns teach patience. the direction is usually learned after the range breaks.
best beginner workflow
1. use normal candles first.
2. enable only a few basic candle labels.
3. study the educational notes.
4. add reversal candle only when you understand rejection and wick behavior.
5. switch to heikin ashi before studying ha modules.
6. keep ha secondary tags off at first for cleaner reading.
7. enable ha secondary tags later to study extra structure.
8. study pattern sequences after you understand single candles.
9. use the panels as a learning journal.
10. never use one label alone as a trading decision.
educational disclaimer
this script is provided for educational and informational purposes only. it does not provide financial advice, investment advice, trading advice, or a recommendation to buy or sell any financial instrument.
the indicator does not guarantee results and does not predict future market movement. users are responsible for their own research, risk management, and trading decisions.
the best use of this tool is to learn how candles, heikin ashi candles, and pattern sequences communicate market behavior.
Pine Script® インジケーター
Liquidity Sweep Detector v1Liquidity Sweep Detector automatically maps key institutional liquidity zones. It scans historical data for specific two-candle reversal patterns, drawing dynamic horizontal "BUY" and "SELL" levels. These lines extend in real-time until a candle breaks them (via wick or body), making it the perfect tool for tracking stop hunts and smart money concepts.
Pine Script® インジケーター
EMA10/20+HA_by_DRThis indicator is designed to provide a clean trend-following view for regular candlestick charts and a focused percentage-change view for Heikin Ashi charts.
Features:
1. Regular Candlestick Mode
When the chart is using regular candles, the indicator displays EMA 10 and EMA 20 to help users identify short-term trend direction.
2. Heikin Ashi Mode
When the chart is switched to Heikin Ashi, EMA 10 and EMA 20 are automatically hidden. The indicator only displays the percentage change of the Heikin Ashi candle, allowing users to focus on current candle momentum.
3. Latest Candle Percentage Label
In Heikin Ashi mode, the latest candle will show its percentage change directly beside the candle.
4. Status Line Percentage
In Heikin Ashi mode, the status line displays the percentage change of the candle selected by the cursor.
This tool is designed to keep the chart clean and simple while helping users observe short-term trend direction and Heikin Ashi momentum.
Important:
This indicator is for educational and analytical purposes only. It is not financial advice and should not be used as a standalone buy or sell signal.
Users should combine this indicator with support and resistance, volume analysis, market structure, risk management, stop-loss planning, and a complete trading strategy.
Pine Script® インジケーター
Pine Script® インジケーター
Inside Candle with EMA +ST +TP/SL@SaheemolInside Candle Breakout with EMA, SuperTrend & Auto TP/SL
This indicator combines the power of the Inside Candle breakout pattern, EMA trend analysis, and SuperTrend confirmation to identify high-probability breakout opportunities while automatically plotting trade management levels.
Key Features
✅ Detects valid Mother-Daughter (Inside Candle) formations using customizable body-size filters.
✅ Plots EMA 9, EMA 21, and EMA 200 to help visualize market trend and structure.
✅ Uses SuperTrend confirmation to filter false breakouts:
Buy signals only when SuperTrend is bullish.
Sell signals only when SuperTrend is bearish.
✅ Automatically identifies breakout levels from the Mother Candle's high and low.
✅ Draws:
Entry zone
Stop Loss (SL)
Take Profit 1 (TP1)
Take Profit 2 (TP2)
using user-configurable Risk ratios.
✅ Highlights Inside Candle setups and displays visual breakout signals directly on the chart.
✅ Includes alert conditions for automated notifications.
How It Works
The indicator searches for a strong Mother Candle followed by a valid Inside Candle.
The Mother Candle's high and low become the breakout levels.
A trade signal is generated only when price breaks out of the Mother Candle range and the SuperTrend agrees with the direction.
TP1, TP2, and SL levels are automatically calculated based on the Mother Candle range.
Best Use Cases
Intraday trading
Swing trading
Breakout strategies
Trend-following systems
Forex, Stocks, Crypto, and Indices
This indicator is designed to help traders quickly identify consolidation breakouts while maintaining disciplined risk management through predefined entry, target, and stop-loss zones.
Disclaimer: This script is for educational and informational purposes only and does not constitute financial advice. Trading involves risk, and users should perform their own analysis and risk management before making any trading decisions.
Pine Script® インジケーター






















