BUY LOW, BUY MORE, SELL HIGH - MARKET FLOW STRATEGY-JTM────────────────────────────────────────────────────────
BUY LOW, BUY MORE, SELL HIGH – MARKET FLOW STRATEGY (v594) – JTM
────────────────────────────────────────────────────────
Category: Quantitative Momentum & Liquidity Flow Strategy
Author: JTM
────────────────────────────────────────────────────────
An Adaptive Contrarian live trading strategy that scales into deep pullbacks,
rides liquidity waves, and locks profit automatically, using your TradersPost.io webhook.
────────────────────────────────────────────────────────
DESCRIPTION
────────────────────────────────────────────────────────
The "Buy Low, Buy More, Sell High" strategy combines value-based accumulation
with adaptive profit protection. It adds exposure on weakness (new lower lows
and confirmed liquidity support) and closes trades dynamically once a profitable
run-up retraces by a set percentage (default 13%).
It reconstructs multi-timeframe market structure
(Intraday → Daily → Weekly → Monthly → Yearly)
using synthetic OHLCs to avoid repainting, and integrates VWAP anchoring,
adaptive KAMA smoothing, RSI validation, and rolling lower-low tracking.
Contrarian strategies are difficult for the human to be easily comfortable with...
because but the results can be worth the wait. Believe that you truly want to Sell when everyone is buying and buy when everyone is almost done selling. Not vice-versa!
Forget about trying to time the market at the true top or the true bottom - just ride
the rolling waves and the profits will come ashore.
────────────────────────────────────────────────────────
CORE FEATURES
────────────────────────────────────────────────────────
• Non-repainting by design – only confirmed bars update persistent state
• Synthetic HTF OHLC construction avoids lookahead bias
• Adaptive trailing TakeProfit logic aims for (80–87% of peak profit retained)
• AI-like market flow dashboard with Bull/Bear liquidity dominance
• Dynamic rolling "Lowest Low" (LLL) detection and visualization
• Modular time detection and session alignment (New York market default)
• Optional Liquidity Dashboard with intraday/swing dual-mode analytics
1. Non-Repainting Architecture - Long side strategy. Not coded for short selling.
2. Works best on a 1hr/60m intraday chart with a 3hr higher Timeframe (strategy input)
3. Immediately Uncheck Show Trade Signals in the Strategy's Style Settings to eliminate
onscreen clutter
4. Market Liquidity Dashboard can be displayed by setting in the strategy's inputs.
5. You set a price range of stocks you wish to allow to trade when using an alert list.
6. You can set a preview period where gray TV trades alerts to Traderspost are withheld.
7. If you check "Do not LIVE sell any assets today" and update the alert, no Traderspost
8. As well as the Market Flow Dashboard, you can display a table of HLs, and LLs.
Trending stocks will display HLs and Vice Versa.
9. You can switch away from Big Rolling Waves Mode (default) to Intraday Short Moves mode
10. Default Big Wave Rolling Cycle is 120 bars (Recommended) 30,60,90,120 are typical.
(this affects the strategy profitability and choice of entry and exits).
11. Reference to FIFO is about the array size for the stored non-repainting HLs and LLs
12. Option to execute trades on unconfirmed bar is BETA. The strategy Only trades on
confirmed bars always, but I am wanting/hoping to eventually Take Profit on a
BIG ASS institutional candle, morning session bar when they occur.
(a new bar is unconfirmed, building, and tricky to code without
breaking the strategy's reliability). Use at your own risk.
────────────────────────────────────────────────────────
Technical Highlights
────────────────────────────────────────────────────────
• AI-inspired “Flow Confidence” through liquidity imbalance between Bull and Bear pressure.
• Adaptive KAMA smoothing for non-lag confirmation.
• Dynamic trailing take-profit computed as 80–87% of the highest profitable run-up.
• Non-repainting multi-timeframe framework (daily–weekly–monthly aggregation).
• LLL Table module for Lowest-Low progression and trend exhaustion.
• Market Flow Dashboard visualizing rolling liquidity dominance and delta pressure.
• Session-aware logic for intraday vs. swing operation.
• All logic has been tuned to peak performance that satisfies the TradingView Profiler.
• Strategy Buys again at a lower price instead of selling and taking a loss. Drawdown Peaks!
but this requires you configure TradingView Strategy Pyramiding orders to 2 or more
and % of equity.
(definitely is more $$ risky, potentially more profitable and might beat Buy and Hold profits)
See the chart above.
────────────────────────────────────────────────────────
WHY IT DOES NOT REPAINT (even thought the TradingView alert message says it might.)
────────────────────────────────────────────────────────
1. All trade, table, and OHLC updates occur only on `barstate.isconfirmed`
2. Synthetic HTFs are self-built without `lookahead` or future data
3. All arrays use `var` persistence to freeze past state
4. Trailing TakeProfit peak updates only on confirmed highs
5. No forward-referencing of real-time partial bars
────────────────────────────────────────────────────────
LIMITATIONS
────────────────────────────────────────────────────────
1. Heavy computation on long intraday histories (optimize `max_bars_back`)
2. Requires intraday chart resolution (1m–4h)
3. U.S. session defaults (09:30–16:00 ET); adjust for other exchanges
4. Arrays and tables consume memory – disable extra visuals if unneeded
5. Not for use with Crypto, Forex, or Futures.
6. Only to be used with Stocks/Tickers having volume data.
7. Live trading is coded for a TradersPost.io Webhook and a brokerage account. (IBKR)
────────────────────────────────────────────────────────
WARNINGS
────────────────────────────────────────────────────────
1. This is an Adaptive and Contrarian Trading strategy that scales into DEEP pullbacks,
rides long liquidity waves, and locks profit automatically.
2. Trades can have a long duration but are minimal. This is not a strategy that will
generate thousands of trades. It will save you on commissions to.
3. It does its best to limit losses and but I cannot guarantee it will work for
all assets, all the time. Market conditions vary. Tickers vary.
4. Use it with assets that you trust not to race to zero dollars.
5. Use this strategy with healthy tickers that have medium to high volatility.
6. To eliminate onscreen clutter, uncheck strategy settings/style/trade signals.
7. I use this strategy exclusively. TradingView alerts run for me 24/7 and ROBO trade.
but you should vet the system with manual trades signals it generates for yourself.
8. It does not prevent you from losing profits in after hours trading and Market News.
9. The BIG ASS new bar of opening candle is Not calculated into the stats until it is confirmed. Especially bothersome for me when its a big 10% down candle. You still need to watch the first 9:30 candle with your eyes. I recommend you watch liquidity at Open using a 1m timeframe.
10. This is a pro-grade coded strategy but is NOT a “Wall Street Quant grade.” strategy.
Institutions rely on:
• slippage models
• depth-of-book impact modeling
• latency simulation
• volume-weighted fills
• partial fills & queue priority
• order slicing (TWAP, VWAP, POV)
Pine Script cannot simulate the above.
11. This Pine Script strategy is market-internal (chart & volume) and for personal-use only. The code remains private to me.
12. To the full-time traders — my respect.
I live in the world of code, not charts, scalps, candles and screens,
so I engineered this 2500-line strategy to trade for me with un-emotional discipline, as you do.
If this strategy resonates with you, I provide it for you to use in the TradingView spirit of community. Backtested results are hypothetical and not indicative of future performance.
Nothing here constitutes investment advice.
Trading involves risk, and users must assume full responsibility for their trading decisions.
Remember, its not about making 'all' the money a stock theoretically could return as if you did a buy and hold many years ago - its about making good money as you navigate the waves of the stormy seas, and not sinking. It about making better trade decisions compared to the persons you are trading against. Have fun all the while making your money - work for you.
────────────────────────────────────────────────────────
“Be fearful when others are greedy, and be greedy when others are fearful.”
— Warren E. Buffett
“The stock market is a device for transferring money from the impatient to the patient.”
— Warren E. Buffett
True wealth grows through time, not reaction. A person sits in the shade today because
of a tree that somebody planted years ago.
— Warren E. Buffett
Happy Trading!
Chỉ báo và chiến lược
Goldencross & Deathcross Highlights (50/200 SMA) - Fixed dailyThis indicator visualizes major long-term trend shifts in the market
by tracking the daily 50-day and 200-day Simple Moving Averages (SMAs)
— regardless of your current chart timeframe.
🟩 A green flash (Golden Cross) appears when the 50-day SMA crosses
above the 200-day SMA — signaling potential long-term bullish momentum.
🟥 A red flash (Death Cross) appears when the 50-day SMA crosses
below the 200-day SMA — suggesting potential long-term bearish pressure.
Unlike typical SMA overlays, this script:
• Pulls daily data directly (fixed to daily timeframe)
• Works cleanly on any chart timeframe (5m, 1h, 4h, etc.)
• Avoids clutter by hiding moving average lines
• Shows only short, subtle flashes and one clean marker per event
London Breakout Structure by Ale 2This indicator identifies market structure breakouts (CHOCH/BOS) within a specific London session window, highlighting potential breakout trades with automatic entry, stop loss (SL), and take profit (TP) levels.
It helps traders focus on high-probability breakouts when volatility increases after the Asian session, using price structure, ATR-based volatility filters, and a custom risk/reward setup.
🔹 Example of Strategy Application
Define your session (e.g. 04:00 to 05:00).
Wait for a CHOCH (Change of Character) inside this session.
If a bullish CHOCH occurs → go LONG at candle close.
If a bearish CHOCH occurs → go SHORT at candle close.
SL is set below/above the previous swing using ATR × multiplier.
TP is calculated automatically based on your R:R ratio.
📊 Example:
When price breaks above the last swing high within the session, a “BUY” label appears and the indicator draws Entry, SL, and TP levels automatically.
If the breakout fails and price closes below the opposite structure, a “SELL” signal will replace the bullish setup.
🔹 Details
The logic is based on structural shifts (CHOCH/BOS):
A CHOCH occurs when price breaks and closes beyond the most recent high/low.
The indicator dynamically detects these shifts in structure, validating them only inside your chosen time window (e.g. the London Open).
The ATR filter ensures setups are valid only when the range has enough volatility, avoiding false signals in low-volume hours.
You can also visualize:
The session area (purple background)
Entry, Stop Loss, and Take Profit levels
Direction labels (BUY/SELL)
ATR line for volatility context
🔹 Configuration
Start / End Hour: define your preferred trading window.
ATR Length & Multiplier: adjust for volatility.
Risk/Reward Ratio: set your desired R:R (default 1:2).
Minimum Range Filter: avoids signals with tight SLs.
Alerts: receive notifications when breakout conditions occur.
🔹 Recommendations
Works best on 15m or 5m charts during London session.
Designed for breakout and structure-based traders.
Works on Forex, Crypto, and Indices.
Ideal as a visual and educational tool for understanding BOS/CHOCH behavior.
8x Heikin Ashi Streak (1m) by Bitcoin Benito🧭 Indicator Description: “8x Heikin Ashi Streak (1m) by Bitcoin Benito”
**Purpose:**
The *8x Heikin Ashi Streak* indicator helps traders quickly identify strong short-term momentum on the **1-minute timeframe**. It automatically tracks Heikin Ashi candles and alerts you whenever **8 consecutive bullish or bearish candles** appear — a visual cue that a strong intraday trend or exhaustion point might be forming.
---
🔍 **How It Works**
* The indicator continuously counts Heikin Ashi candles in real-time.
* When it detects **8 bullish (green)** or **8 bearish (red)** candles in a row:
* A green ▲ marker appears **below** the 8th candle for bullish streaks.
* A red ▼ marker appears **above** the 8th candle for bearish streaks.
* You can set alerts to automatically notify you when these streaks occur.
This makes it ideal for **momentum traders**, **scalpers**, and **trend-reversal spotters** who want to:
* Catch strong intraday moves early.
* Identify potential overextension zones before pullbacks.
* Automate alert signals for short-term trading setups.
IMPORTANT: Only trade when most of the 8 candles are below/above the EMA 8 Line respectively. Add an EMA 8 indicator to see if this is the case
---
⚙️ **How to Use**
1. **Apply to a 1-minute chart** (this script is optimized for 1m timeframes).
2. When the indicator plots a green or red triangle:
* **Green triangle (8 bullish candles):** Trend momentum is strong upward.
* **Red triangle (8 bearish candles):** Downward momentum is dominant.
3. Optionally, combine with volume or EMA filters to confirm breakouts or exhaustion.
---
🔔 **Setting Up Alerts**
* Click the **Alert (🔔)** icon on TradingView.
* Under *Condition*, select:
* “8x Heikin Ashi Streak (1m)” → “8 Bullish Heikin Ashi (1m)”
* OR “8x Heikin Ashi Streak (1m)” → “8 Bearish Heikin Ashi (1m)”
* Choose **Once per bar close** to trigger the alert when the 8th candle completes.
* Add your custom message, e.g.
> “🚀 8 bullish Heikin Ashi candles in a row on 1-minute chart!”
> “🔻 8 bearish Heikin Ashi candles in a row on 1-minute chart!”
---
📊 **Best Practices**
* Works best on **liquid assets** (major forex pairs, indices, BTC/USD, etc.).
* Pair with **RSI**, **EMA**, or **Volume** indicators for stronger confirmation.
* Not a standalone buy/sell signal — treat it as a **momentum or exhaustion alert**.
* Can be adapted to other timeframes by changing chart resolution.
---
⚠️ **Disclaimer**
This indicator is for **educational and analytical purposes only**.
Trading carries risk — always test on demo accounts and use proper risk management.
No indicator guarantees profit; this is a tool for insight and timing, not financial advice.
Golden Ladder – Louay Joha (Wave & Gann Hi/Lo + ATR R-Levels)Overview
Golden Ladder is a momentum-and-structure tool that detects three-bar ladder waves and filters them with a Gann Hi/Lo regime guide (SMA-based). When a valid wave aligns with the current Hi/Lo bias and passes optional market filters (ADX, RSI, and proximity to recent extremes), the script prints BUY/SELL n labels (n = wave index) and draws a complete Entry / SL / TP1–TP4 ladder using ATR-based risk units (R) or fixed caps—configured for clarity and consistency. The script also keeps the chart clean: the last trade remains fully drawn while historical groups are trimmed to compact “ENTRY-only” stubs.
Why these components together (originality)
Three-bar ladder captures short-term momentum structure (progressively higher highs/lows for buys; the reverse for sells).
Gann Hi/Lo (SMA of highs/lows with a directional state) acts as a regime filter, reducing counter-trend ladders.
ATR-based R ladder turns signals into an actionable plan: a volatility-aware SL and TP1–TP4 that scale across instruments/timeframes.
Smart Entry filters (ADX strength, RSI extremes, and distance from recent top/bottom using ATR buffers) seek to avoid low-quality, stretched entries.
Slim history keeps only a short ENTRY stub for prior groups, so the signal you just got is always the most readable.
This is not a mere mashup; each layer constrains the others to produce fewer, clearer setups.
How it works (high-level logic)
Regime (Gann Hi/Lo):
Compute SMA(high, HPeriod) and SMA(low, LPeriod).
Direction state HLv flips when the close crosses above/below its track; one unified Hi/Lo guide is plotted.
Ladder signal (structure + confirmation):
BUY ladder: three consecutive green bars with rising highs and rising lows and HLv == +1.
SELL ladder: mirror conditions with HLv == -1.
Signals evaluate intrabar and are controlled by Smart Entry filters (ADX/RSI/extreme checks).
Risk ladder (R-based or capped):
Default: risk = ATR(atr_len) × SL_multiple and TPs in R.
Optional fixed caps by timeframe (e.g., M1/M5) using USD per point.
Longs: SL = entry – risk; TPi = entry + (Ri × risk).
Shorts: SL = entry + risk; TPi = entry – (Ri × risk).
All levels auto-reflow to the right as bars print.
Chart hygiene:
The latest trade shows ENTRY/SL/TP1–TP4 fully.
Older trades are automatically trimmed (only a short ENTRY line remains, with optional label).
Alerts:
BUY – Smart Entry (Tick) & SELL – Smart Entry (Tick) fire on live-qualified signals.
You can connect alerts to your automation, respecting your broker’s risk controls.
Inputs (English summary of UI)
Label settings: label size; ATR-based vs fixed-tick offsets; leader line width/transparency; horizontal label shift.
Gann Hi/Lo: HIGH Period (HPeriod), LOW Period (LPeriod).
Market filters: ADX (length, smoothing, minimum), RSI (length + caps), recent extremes (lookback + ATR buffer).
Entry/SL/TP Levels: TP1–TP4 (R), label right-shift, show last-trade prices on labels.
Fixed SL Caps: per-timeframe caps (M1/M5) via USD per point.
How to use
Apply on your instrument/timeframe; tune H/L periods and filters to your market (e.g., XAUUSD on M1/M5).
Favor signals aligned with the Hi/Lo regime; tighten filters (higher ADX, stricter RSI caps) to reduce noise.
Choose ATR-Risk or fixed caps depending on your preferences.
The drawing policy ensures the most recent trade remains front-and-center.
Notes & limitations
Signals can evaluate intrabar; MA-based context is inherently lagging.
ATR-based ladders adapt to volatility; extreme spikes can widen risk.
This is a technical analysis tool, not financial advice.
True Range(TR) + Average True Range (ATR) COMBINEDThis indicator combines True Range (TR) and Average True Range (ATR) into a single panel for a clearer understanding of price volatility.
True Range (TR) measures the absolute price movement between highs, lows, and previous closes — showing raw, unsmoothed volatility.
Average True Range (ATR) is a moving average of the True Range, providing a smoother, more stable volatility signal.
📊 Usage Tips:
High TR/ATR values indicate strong price movement or volatility expansion.
Low values suggest compression or a potential volatility breakout zone.
Can be used for stop-loss placement, volatility filters, or trend strength confirmation.
⚙️ Features:
Multiple smoothing methods: RMA, SMA, EMA, WMA.
Adjustable ATR length.
Separate colored plots for TR (yellow) and ATR (red).
Works across all timeframes and instruments.
TradeBee Vol-Pr SentimentThis indicator analyzes volume-weighted price sentiment and short-term scalp potential. It calculates buying vs. selling pressure based on intrabar price positioning and overlays a sentiment label ("Buy", "Sell", or "WAIT") depending on price behavior relative to a moving average. Additionally, it detects scalp setups using percent movement, slope, and volume acceleration — ideal for short-term momentum traders.
The sentiment and scalp signals are displayed in a floating table on the chart, with customizable position and label size.
- Vol-Price Sentiment:
"Buy" → Price above MA and buying pressure dominant
"Sell" → Price below MA and selling pressure dominant
"WAIT" → No clear bias
- Scalp Signal:
"Long Scalp" → Strong upward move with slope and volume confirmation
"Short Scalp" → Strong downward move with slope and volume confirmation
"No Setup" → No qualifying scalp conditions
Its optimal to have Wait/Buy and Long Scalp showing when entering a trade.
True Range(TR) & ATR Combined – Volatility Strength IndicatorThis indicator combines True Range (TR) and Average True Range (ATR) into a single panel for a clearer understanding of price volatility.
True Range (TR) measures the absolute price movement between highs, lows, and previous closes — showing raw, unsmoothed volatility.
Average True Range (ATR) is a moving average of the True Range, providing a smoother, more stable volatility signal.
📊 Usage Tips:
High TR/ATR values indicate strong price movement or volatility expansion.
Low values suggest compression or a potential volatility breakout zone.
Can be used for stop-loss placement, volatility filters, or trend strength confirmation.
⚙️ Features:
Multiple smoothing methods: RMA, SMA, EMA, WMA.
Adjustable ATR length.
Separate colored plots for TR (yellow) and ATR (red).
Works across all timeframes and instruments.
Volume-Price Shift Box (Lite Version)Description
This indicator is a clean and intuitive visual tool designed to help traders quickly assess the current balance of bullish and bearish forces in the market.
It combines volume, price movement, VWAP, and OBV dynamics into a compact on-chart table that updates in real time.
This version focuses on the core logic and visualization of momentum and volume shifts, making it ideal for traders who want actionable insight without complex configuration.
How It Works
The script measures the combined strength of multiple market components:
VWAP trend indicates price bias relative to fair value.
OBV (On-Balance Volume) tracks volume flow to confirm or contradict price movement.
Volume ratio compares current volume to its recent average.
Momentum evaluates directional price movement over a configurable lookback period.
Accumulation / Distribution (A/D) Line estimates buying or selling pressure within each candle:
↑ — A/D is rising (buying pressure is increasing)
↑↑ — A/D is rising faster than before (acceleration of buying)
↓ — A/D is falling (selling pressure is increasing)
↓↓ — A/D is falling faster than before (acceleration of selling)
Each of these components contributes to an overall shift score.
Depending on this score, the box displays:
🟢 Bullish Shift — strong upward alignment
🔴 Bearish Shift — downward alignment
⚪ Neutral — mixed or indecisive conditions
Key Features
Compact on-chart information box with color-coded parameters
Combined volume-price relationship model
Configurable lookback and sensitivity controls
Real-time shift strength and trend duration tracking
Adjustable EMA/SMA smoothing for all averages
Lightweight design optimized for clarity
Inputs Overview
Box Position / Size – Place and scale the on-chart info box
Lookback Period – Number of bars used for calculations
VWAP Lookback – Period for VWAP distance smoothing
Shift Sensitivity – Adjusts reaction strength of bullish/bearish shifts
Neutral Zone Threshold – Defines when the market is considered neutral
EMA or SMA – Choose exponential or simple moving averages
Component Weights – Set the influence of VWAP, OBV, Volume, and Momentum on the shift score
Display Toggles – Enable or disable metrics shown in the box (Strength, Volume, VWAP, Duration, OBV)
How to Use
Apply the indicator to any symbol and timeframe.
Observe the box on the chart — it updates dynamically.
Look for transitions between Neutral → Bullish or Neutral → Bearish shifts.
Combine with your existing price action or confirmation tools (e.g., support/resistance, trendlines).
Use the “Strength” and “Duration” values to assess consistency and momentum quality.
(This indicator is not a buy/sell signal generator — it is designed as a contextual analysis and confirmation tool.)
How It Helps
Merges several key volume and price metrics into a single view
Highlights transitions in market control between buyers and sellers
Reduces clutter by presenting only relevant context data
Works on any market and timeframe, from scalping to swing trading
⚠️Disclaimer:
This script is provided for educational and informational purposes only. It is not financial advice and should not be considered a recommendation to buy, sell, or hold any financial instrument. Trading involves significant risk of loss and is not suitable for every investor. Users should perform their own due diligence and consult with a licensed financial advisor before making any trading decisions. The author does not guarantee any profits or results from using this script, and assumes no liability for any losses incurred. Use this script at your own risk.
Best Time Slots — Auto-Adapt (v6, TF-safe) + Range AlertsTime & binning
Auto-adapt to timeframe
Makes all time windows scale to your chart’s bar size (so it “just works” on 1m, 15m, 4H, Daily).
• On = recommended. • Off = fixed default lengths.
Minimum Bin (minutes)
The size of each daily time slot we track (e.g., 5-min bins). The script uses the larger of this and your bar size.
• Higher = fewer, broader slots; smoother stats. • Lower = more, narrower slots; needs more history.
• Try: 5–15 on intraday, 60–240 on higher TFs.
Lookback windows (used when Auto-adapt = ON)
Target ER Window (minutes)
How far back we look to judge Efficiency Ratio (how “straight” the move was).
• Higher = stricter/smoother; fewer bars qualify as “movement”. • Lower = more sensitive.
• Try: 60–120 min intraday; 240–600 min for higher TFs.
Target ATR Window (minutes)
How far back we compute ATR (typical range).
• Higher = steadier ATR baseline. • Lower = reacts faster.
• Try: 30–120 min intraday; 240–600 min higher TFs.
Target Normalization Window (minutes)
How far back for the average ATR (the baseline we compare to).
• Higher = stricter “above average range” check. • Lower = easier to pass.
• Try: ~500–1500 min.
What counts as “movement”
ER Threshold (0–1)
Minimum efficiency a bar must have to count as movement.
• Higher = only very “clean, one-direction” bars count. • Lower = more bars count.
• Try: 0.55–0.65. (0.60 = balanced.)
ATR Floor vs SMA(ATR)
Requires range to be at least this many × average ATR.
• Higher (e.g., 1.2) = demand bigger-than-usual ranges. • Lower (e.g., 0.9) = allow smaller ranges.
• Try: 1.0 (above average).
How history is averaged
Recent Days Weight (per-day decay)
Gives more weight to recent days. Example: 0.97 ≈ each day old counts ~3% less.
• Higher (0.99) = slower fade (older days matter more). • Lower (0.95) = faster fade.
• Try: 0.97–0.99.
Laplace Prior Seen / Laplace Prior Hit
“Starter counts” so early stats aren’t crazy when you have little data.
• Higher priors = probabilities start closer to average; need more real data to move.
• Try: Seen=3, Hit=1 (defaults).
Min Samples (effective)
Don’t highlight a slot unless it has at least this many effective samples (after decay + priors).
• Higher = safer, but fewer highlights early.
• Try: 3–10.
When to highlight on the chart
Min Probability to Highlight
We shade/mark bars only if their slot’s historical movement probability is ≥ this.
• Higher = pickier, fewer highlights. • Lower = more highlights.
• Try: 0.45–0.60.
Show Markers on Good Bins
Draws a small square on bars that fall in a “good” slot (in addition to the soft background).
Limit to market hours (optional)
Restrict to Session + Session
Only learn/score inside this time window (e.g., “0930-1600”). Uses the chart/exchange timezone.
• Turn on if you only care about RTH.
Range (chop) alerts
Range START if ER ≤
Triggers range when efficiency drops below this level (price starts zig-zagging).
• Higher = easier to call “range”. • Lower = stricter.
Range START if ATR ≤ this × SMA(ATR)
Also triggers range when ATR shrinks below this fraction of its average (volatility contraction).
• Higher (e.g., 1.0) = stricter (must be at/under average). • Lower (e.g., 0.9) = easier to call range.
Alerts on bar close
If ON, alerts fire once per bar close (cleaner). If OFF, they can trigger intrabar (faster, noisier).
Quick “what happens if I change X?”
Want more highlighted times? ↓ Min Probability, ↓ ER Threshold, or ↓ ATR Floor (e.g., 0.9).
Want stricter highlights? ↑ Min Probability, ↑ ER Threshold, or ↑ ATR Floor (e.g., 1.2).
Want recent days to matter more? ↑ Recent Days Weight toward 0.99.
On 4H/Daily, widen Minimum Bin (e.g., 60–240) and maybe lower Min Probability a bit.
Smart Money Concepts ProSmart Money Concepts Pro
A professional-grade framework for visualizing institutional price behavior through key Smart Money Concepts. It automatically maps structure shifts, imbalances, and liquidity events so traders can study how price develops around supply and demand.
Core Components
Market Structure (BOS / CHoCH) — Detects continuation and reversal breaks using pivot-based logic with a close-beyond threshold and configurable cooldown.
Order Blocks — Highlights institutional footprints validated by volume and distance filters; zones extend until mitigation.
Fair Value Gaps — Marks three-bar inefficiencies that meet a minimum gap size and optionally auto-remove once filled by a user-defined percentage.
Liquidity Sweeps — Identifies stop-hunt wicks exceeding a configurable extension beyond recent highs or lows.
Premium / Discount Zones — Defines equilibrium and price positioning within recent swing ranges.
Confluence Entries (optional) — Generates neutral BUY / SELL markers only when structure, zone, and directional context align.
Dashboard — Summarizes current structure bias, recent events, zone counts, and directional alignment in real time.
Why it’s distinct
All detections are governed by explicit thresholds—volume multipliers, minimum distances, and fill-percent logic—so each signal results from quantifiable structure rather than heuristic pattern matching. Automatic cleanup ensures charts remain clear as zones are mitigated or gaps filled.
Best use
Applicable across Forex, indices, crypto, and equities. Designed for study on 15 m – 1 D timeframes.
For optimal alignment, pin plots to the Right Scale after adding the script.
Access
This indicator is public invite-only. Click Request Access on this page to apply. Access requests are manually reviewed.
Disclaimer: This script is provided for educational and analytical purposes only. It does not constitute financial or investment advice.
FTI - CoreFlow Trend Index (FTI) - Core
The Flow Trend Index (FTI) combines momentum, trend, and volatility into a single adaptive visual layer.
It measures how strongly the market is moving (flow), where its fair-value baseline lies (trend), and showing signs of exhaustion.
This unified view helps analysts — especially beginners — instantly recognize when the market is gaining strength, losing momentum, or shifting direction, and especially when conditions are overbought or oversold.
- Smoothed RSI (Heikin-Ashi Powered)
────────────
Transforms RSI into color-coded candles. Heikin-Ashi smoothing filters noise, revealing true momentum waves and exhaustion points — less lag, more authenticity.
→ See momentum, not just numbers.
- McGinley Dynamic Line
────────────
An adaptive moving average that breathes with market speed — faster in rallies, slower in chop. Zyro’s version is tuned for volatile assets like BTC or NAS100.
→ Tracks rhythm between trend and pause.
- FIBB Cloud (Fibonacci ATR Bands)
────────────
Volatility envelope built from ATR × Fibonacci ratios. Expands and contracts with real market energy, mapping zones of pressure and release.
→ Shows where price stretches or resets.
In short:
FTI-Core visualizes market flow — blending momentum, trend, and volatility into one adaptive system.
No signals or alerts are generated — the indicator is intended solely for visualization, study, and educational purposes.
© Zyro Trades. All rights reserved.
Zyro™ and FTI™ are unregistered trademarks of Zyro Trades.
Breakout Bar CandidateShows the values of True Range, LS volatility and whether the volume is above or below average
fmfm6000☾Description:
The fmfm600 indicator combines advanced market structure analysis (Smart Money Concepts) with Supply and Demand zones and a precision-based pivot strength system.
It generates accurate Call (Buy) and Put (Sell) signals directly on the chart, each supported by automatic Target 1 (T1) and Target 2 (T2) levels.
This tool is designed to help traders identify key turning points, confirm trends, and manage targets effectively — all within a clean and optimized visual interface.
Features:
Automatic detection of Supply and Demand zones with highlighted areas.
Clear Call (green) and Put (red) trading signals.
Built-in Target 1 (T1) and Target 2 (T2) price objectives.
Dynamic pivot-based structure detection for trend confirmation.
Full alert system support for new signal notifications.
Lightweight, optimized display suitable for all chart timeframes.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
fmfm00mm
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
SK-ABC COMPACT v2SK-ABC COMPACT v2 detects algorithmic ABC market structures with auto-drawn zones (GKL, BC) and Fibonacci targets (1.618–2.0). Includes activation logic, HTF filter, and full trade visualization for rule-based SK-style trading.
Trend on TimeFrames indicatorThis indicator shows you If you are bullish or bearish on every important timeframe
Candlestick StrengthThis indicator quantifies the “energy” of each candlestick by combining its height (high–low span), trading volume, and internal structure (body vs. wick proportions). It provides a numeric measure of how strongly each candle contributes to market momentum, allowing traders to distinguish meaningful price action from indecision or noise.
Concept
Every candlestick represents a short-term contest between buyers and sellers. Large candles with significant volume indicate strong market participation, while small or low-volume candles suggest hesitation or absorption. Candlestick Strength captures this by calculating a normalized measure of each candle’s energy relative to recent activity, making it comparable across different market conditions and timeframes.
The indicator also analyzes the candle’s internal structure:
The body reflects net directional movement.
The wicks represent back-and-forth price traversal within the candle. Because wick movement does not fully contribute to directional momentum, it is weighted at half the body’s contribution. This ensures the indicator emphasizes sustained directional pressure while still acknowledging rejection or absorption.
Interpretation
High values indicate candles with energy above recent averages — suggesting expanding momentum and strong directional intent.
Average values reflect typical candle activity, representing neutral or steady market behavior.
Low values suggest weak candles — either the market is pausing, consolidating, or momentum is fading.
The outputs are displayed as a symmetric histogram: bullish candle energy is shown in green above zero, bearish energy in red below zero, with ±1 reference lines marking the normalized average energy level.
Usage
Combine with trend analysis, swing highs/lows, or volume-weighted averages to validate breakouts or trend continuation.
Monitor for divergence between price movement and candle energy to identify exhaustion, absorption, or potential reversals.
Filter out false momentum signals caused by narrow-range or low-volume candles.
Adaptable across timeframes: normalized energy allows comparison between small and large timeframe candles.
5 Moving Averages (Fully Customizable)I couldn't find any indicators that you could fully customize multiple moving average lines, so I made one.
You can change the color, line type, thickness, length, and opacity. Also make a custom color if you want.
You can make them SMA, EMA, WMA, HMA, VWMA.
Hope you enjoy!
VWAP & Band Cross Strategy v6 - AdvancedThese are a few updates made to the original script. The daily take profit and stop loss functions correctly for 1 contract but because of the pyramiding input even if not used you'll need to multiply the values by the number of contracts to keep consistent results. I have been unable to correct that function. Let me know if you test the script and have any recommendations for improvement. If trading an actual account I do recommend setting hard daily limits with your provider because there is still slippage from the original exit alerts even with the daily stop loss in place.
1. Real-Time Execution & Hard PnL Limits (The Focus)
The most critical changes were implemented to ensure the daily profit and loss limits act as hard, real-time barriers instead of waiting for the candle to close.
• Intrabar Tick Execution: The parameter calc_on_every_tick=true was added to the strategy() declaration. This forces the entire script to re-evaluate its logic on every single price update (tick), enabling immediate action.
• Real-Time PnL Tracking: The PnL calculation was updated to track the total_daily_pnl by summing the realized profit/loss (from closed trades) and the unrealized profit/loss (strategy.openprofit) on every tick.
• Immediate Closure: The script now checks the total_daily_pnl against the user-defined limits (daily_take_profit_value, daily_stop_loss_value) and immediately executes strategy.close_all() the moment the threshold is breached, preventing further trading.
• Combined Risk Enforcement: The user-defined "Max Intraday Risk ($)" and the "Daily Stop Loss (Value)" are compared, and the script enforces the tighter of the two limits.
2. Visibility and External Alerting
To address the unavoidable issue of slippage (which causes price overshoot in fast markets even with tick execution), dedicated alert mechanisms were added.
• Dedicated Alert Condition: An alertcondition named DAILY PNL LIMIT REACHED was added. This allows you to set up a TradingView alert that triggers the instant the daily_limit_reached variable turns true, giving you the fastest possible notification.
• Visual Marker: A large red triangle (\u25b2) is plotted on the chart using plotchar at the exact moment the daily limit condition is met, providing a clear visual confirmation of the trigger bar.
3. Strategy Features and Input Flexibility
Several user-requested features were integrated to make the strategy more robust and customizable.
• Trailing Stop / Breakeven (TSL/BE): A new exit option, Fixed Ticks + TSL, was added, allowing you to set a fixed profit target while also deploying a trailing stop or breakeven level based on points/ticks gained.
• Multiple Exit Types: The exit strategy was expanded to include logic for several types: Fixed Ticks, ATR-based, Capped ATR-based, VWAP Cross, and Price/Band Crosses.
• Pyramiding Control: An input Max Pyramiding Entries was introduced to control how many positions the strategy can have open at the same time.
• Confirmation Logic Toggle: Added an input to choose how multiple confirmation indicators (RSI, SMMA, MACD) are combined: "AND" (all must be true) or "OR" (at least one must be true).
• Indicator Confirmations: Logic for three external indicators—RSI, SMMA (EMA), and MACD—was fully integrated to act as optional filters for entry.
• VWAP Reset Anchors: Logic was corrected to properly reset the VWAP calculation based on the selected period ("Daily", "Weekly", or "Session") by using Pine Script v6's required anchor series.
Trading Day Filters: Inputs were added to select which specific days of the week the strategy is allowed to trade.
Vandan V2Vandan V2 is an automated trend-following strategy for NASDAQ E-mini Futures (NQ1!).
It uses multi-timeframe momentum and volatility filters to identify high-probability entries.
Includes dynamic risk management and trailing logic optimized for intraday trading.
APXTradez - Intraday RSI (8)🔹 APXTradez Intraday RSI (8)
Purpose:
A fast-reacting momentum and bias indicator built for intraday options and scalping setups. This version of RSI (8) identifies immediate shifts in strength, momentum slope, and trend bias—allowing traders to spot reversals, momentum builds, or choppy zones within seconds.
What It Shows
RSI (8) → ultra-responsive short-term strength indicator.
Bias Zones:
- Bull Bias (Green) – RSI rising above 55 with slope up → intraday long setups favored.
- Bear Bias (Red) – RSI falling below 45 with slope down → short setups favored.
- Chop (Gray) – Neutral area between 45–55 → reduced edge, wait for direction.
- Background Color: Highlights current bias (green/red/gray) for quick visual confirmation.
- Dynamic Label: Displays live bias text on chart (Bull, Bear, or Chop).
How to Use
Apply on 1m–15m charts for day trading or scalping options.
Trade in bias direction:
- Enter long when RSI crosses + slopes above 55 (bull bias).
- Enter short when RSI crosses + slopes below 45 (bear bias).
- Avoid chop zones (RSI between 45–55 or flat). Wait for a slope confirmation.
Combine with APX Intraday VWAP + EMA overlay, APX TTM Squeeze, and/or the APX MACD to align direction with trend and volume pressure.
Overbought/Oversold: Above 70 or below 30 still mark exhaustion zones — use for exits, not entries.
Best Use Case
Intraday confirmation of trend bias and momentum strength — helping you stay on the right side of fast-moving setups and avoid low-edge chop.
ATR x Trend x Volume SignalsATR x Trend x Volume Signals is a multi-factor indicator that combines volatility, trend, and volume analysis into one adaptive framework. It is designed for traders who use technical confluence and prefer clear, rule-based setups.
🎯 Purpose
This tool identifies high-probability market moments when volatility structure (ATR), momentum direction (CCI-based trend logic), and volume expansion all align. It helps filter out noise and focus on clean, actionable trade conditions.
⚙️ Structure
The indicator consists of three main analytical layers:
1️⃣ ATR Trailing Stop – calculates two adaptive ATR lines (fast and slow) that define volatility context, trend bias, and potential reversal points.
2️⃣ Trend Indicator (CCI + ATR) – uses a CCI-based logic combined with ATR smoothing to determine the dominant trend direction and reduce false flips.
3️⃣ Volume Analysis – evaluates volume deviations from their historical average using standard deviation. Bars are highlighted as medium, high, or extra-high volume depending on intensity.
💡 Signal Logic
A Buy Signal (green) appears when all of the following are true:
• The ATR (slow) line is green.
• The Trend Indicator is blue.
• A bullish candle closes above both the ATR (slow) and the Trend Indicator.
• The candle shows medium, high, or extra-high volume.
A Sell Signal (red) appears when:
• The ATR (slow) line is red.
• The Trend Indicator is red.
• A bearish candle closes below both the ATR (slow) and the Trend Indicator.
• The candle shows medium, high, or extra-high volume.
Only one signal can appear per ATR trend phase. A new signal is generated only after the ATR direction changes.
❌ Exit Logic
Exit markers are shown when price crosses the slow ATR line. This behavior simulates a trailing stop exit. The exit is triggered one bar after entry to prevent same-bar exits.
⏰ Session Filter
Signals are generated only between the user-defined session start and end times (default: 14:00–18:00 chart time). This allows the trader to limit signal generation to active trading hours.
💬 Practical Use
It is recommended to trade with a fixed risk-reward ratio such as 1 : 1.5. Stop-loss placement should be beyond the slow ATR line and adjusted gradually as the trade develops.
For better confirmation, the Trend Indicator timeframe should be higher than the chart timeframe (for example: trading on 1 min → set Trend Indicator timeframe to 15 min; trading on 5 min → set to 1 hour).
🧠 Main Features
• Dual ATR volatility structure (fast and slow)
• CCI-based trend direction filtering
• Volume deviation heatmap logic
• Time-restricted signal generation
• Dynamic trailing-stop exit system
• Non-repainting logic
• Fully optimized for Pine Script v6
📊 Usage Tip
Best results are achieved when combining this indicator with additional technical context such as support-resistance, higher-timeframe confirmation, or market structure analysis.
📈 Credits
Inspired by:
• ATR Trailing Stop by Ceyhun
• Trend Magic by Kivanc Ozbilgic
• Heatmap Volume by xdecow






















