Algomist.app v1.0🚀 WMA Crossover Momentum Scalper: Algomist.app AUTO-EXECUTION
This strategy is a momentum-based trend-following system optimized for fully automated, high-frequency trade execution via algomist.app webhooks. It systematically enters trades based on a powerful moving average crossover, confirmed by both volume and volatility filters.
⚙️ Core Strategy Logic
This script is designed to capture short- to medium-term moves in trending markets by combining three key indicators:
Trend Confirmation (WMA Crossover): The primary signal is generated when a Fast WMA (50-period) crosses the Slow WMA (100-period). This crossover confirms the shift in the prevailing trend direction.
Volume Filter (VWAP): The trade is only taken if the price is trading above the VWAP for Long entries, or below the VWAP for Short entries. This ensures the trade is aligned with the asset's average price relative to trading volume.
Volatility Filter (ATR): A minimum Average True Range (ATR) filter is applied. This is critical for avoiding entries during periods of extreme low volatility ("chop"), ensuring the market has enough movement to justify the trade.
🔗 Algomist.app Automation Ready
This is the most important feature. The script contains custom-coded alert() functions that output a perfect JSON payload, making it 100% compatible with the algomist.app webhook infrastructure.
Seamless Execution: The strategy instantly transmits all required parameters—symbol, side, entry_price, dynamic stop_loss, and dynamic take_profit—directly to your MT5 terminal through the algomist.app connector.
Simple Setup: To enable live automation, you only need to configure a TradingView alert using the provided webhook URL and the {{strategy.order.alert_message}} placeholder on the bar's close.
Default Asset: The webhook is pre-configured to trade the ETHUSDC symbol. This can be easily adapted to other crypto or Forex pairs within the algomist.app settings.
🛡️ Dynamic Risk Management (ATR-Based)
Risk management is dynamic, ensuring the Stop Loss and Take Profit levels automatically adapt to current market volatility:
Stop Loss (SL): Placed at a customizable (x) * ATR distance from the entry price. The default setting is 3.0x ATR.
Take Profit (TP): Placed at a customizable (x) * ATR distance from the entry price. The default setting is 9.0x ATR, offering a fixed Reward-to-Risk ratio of 3:1 (9.0 / 3.0).
Position Sizing: The script uses strategy.percent_of_equity = 10% for backtesting, but the algomist.app execution is based on an internal calculation using a small percentage (e.g., 5%) of a leveraged notional value for illustrative purposes. Users must set their risk size within the algomist.app platform.
Disclaimer: This script is provided as an example for Algomist.app users and is NOT financial advice. Backtest thoroughly across various assets and timeframes. Past performance is not indicative of future results. The user assumes all responsibility for live trading risk.
Indicadores e estratégias
FVG - MTF Confirmed Tracker [JP/EN]Indicator Description: FVG MTF Concluded Bar Tracker
This indicator is a highly functional tool that identifies FVG for the currently displayed bar or a higher-level bar (MTF) and determines its "resolution" when the candlestick is resolved.
Its most notable feature is that it only displays history (gray) on the chart and sends an alert when a "significant level that has been continuously observed for a certain period of time" is resolved.
1. Timeframe Settings
Base Timeframe: Select the timeframe on which to detect FVG. Select "Same as chart" to use the current bar, or select another bar (1-hour, 4-hour, etc.) to project the FVG of the higher-level bar onto the current chart.
2. Active FVG Settings
Sets the currently active support/resistance area that has not yet been filled by price.
Show Bull/Bear: Individually toggles whether to display bull (buy) and bear (sell) FVG.
Color: Specifies the color of the box for the unresolved state.
Extend Right (Active): When enabled, the box will continue to extend indefinitely toward the right edge of the chart until the FVG is resolved.
Max Active FVG: This sets the maximum number of unresolved boxes to display on the chart. When a new FVG is detected, the oldest unresolved box will be automatically deleted if it exceeds this limit, saving resources.
3. Filled FVG Settings (Resolved, Grayed Out, Determination Logic)
These are very important settings for displaying history when the price fills an FVG.
Show Filled: Select whether to leave resolved FVGs grayed out (default color) as "history."
Color: Specifies the color of boxes that have been resolved (Filled).
Extend Right (Filled): When this is turned off, the box extension will stop at the candlestick where the resolution is confirmed, making the resolution point clear.
Max Filled FVG: This sets the maximum number of grayed out boxes to display as history. When the limit is reached, the oldest history will be deleted.
Min Bars to Keep & Alert (Important): This is the threshold for the number of bars elapsed between the occurrence of an FVG and its resolution.
If the threshold is not met: The event is considered a temporary reaction, and no alert will be sounded. The event will also be deleted without being recorded in the history (gray).
If the threshold is met or exceeded: The event is considered a significant market event, and the box will turn gray and an alert will be sent.
4. Alert Settings (Alert Notification Logic)
Alerts are executed in perfect sync with the "resolution of significant levels (graying out)."
Alert when Bull / Bear turns Gray: A notification will be sent the moment a bullish or bearish FVG is resolved after meeting the threshold and turning gray.
Execution Timing: A notification will only be sent when the candlestick is confirmed. It will not be triggered if the candlestick is only momentarily touched by the wick midway through the candlestick. This allows you to know for sure that the event was resolved at the time of closing.
インジケーター解説:FVG MTF 確定足トラッカー
このインジケーターは、現在表示している足、または上位足(MTF)のFVGを特定し、その「解消」をローソク足の確定時に判定する高機能ツールです。
最大の特徴は、**「一定期間意識され続けた重要な水準」**が解消された時のみ、チャートに履歴(グレー)を残し、アラートを通知する設計にあります。
1. Timeframe Settings(時間足設定)
Base Timeframe / 基準にする時間足: FVGを検知する時間足を選択します。「Same as chart(チャートと同じ)」を選べば現在の足、それ以外(1時間足、4時間足など)を選べば上位足のFVGを現在のチャートに投影します。
2. Active FVG Settings(未解消時の設定ロジック)
まだ価格に埋められていない、現在有効なサポート・レジスタンス領域の設定です。
Show Bull / Bear: ブル(買い)およびベア(売り)のFVGを表示するかどうかを個別に切り替えます。
Color: 未解消状態のボックスの色を指定します。
Extend Right (Active): 有効にすると、FVGが解消されるまでボックスをチャートの右端に向かって無制限に延長し続けます。
Max Active FVG: チャート上に表示する未解消ボックスの最大数です。新しいFVGが検知された際、この上限を超えていると最も古い未解消ボックスが自動的に削除され、リソースを節約します。
3. Filled FVG Settings(解消済み・グレー化・判定本数ロジック)
価格がFVGを埋めた際の、履歴表示に関する非常に重要な設定項目です。
Show Filled: 解消されたFVGを「履歴」としてグレー表示(デフォルト色)で残すかどうかを選択します。
Color: 解消済み(Filled)状態になったボックスの色を指定します。
Extend Right (Filled): これをOFFにすると、解消が確定したローソク足の位置でボックスの延長が止まり、解消地点が明確になります。
Max Filled FVG: 履歴として残すグレーボックスの最大数です。上限に達すると、古い履歴から順に削除されます。
Min Bars to Keep & Alert (重要): FVGが発生してから解消されるまでの「経過本数」の閾値です。
判定本数に満たない場合: 一時的な反応とみなし、アラートを鳴らさず、履歴(グレー)にも残さず削除します。
判定本数以上の場合: 市場で十分に意識された「重要な水準」とみなし、ボックスをグレーに変更し、アラートを通知します。
4. Alert Settings(アラート通知ロジック)
アラートは「重要水準の解消(グレー化)」と完全に同期して実行されます。
Alert when Bull / Bear turns Grey: ブル/ベアそれぞれのFVGが、上記の「判定本数」を満たした状態で解消され、グレーに変化した瞬間に通知を送ります。
実行タイミング: ローソク足の確定時にのみ通知されます。足の途中のヒゲで一時的に触れただけでは鳴りません。これにより、クローズ時点で確実に解消されたことのみを把握できます。
DCA + VA (Value Averaging) | UA versionDCA + VA (Value Averaging) | UA version
DCA + VA is a practical portfolio simulator for TradingView that compares two long-term investing approaches on any symbol:
• DCA (Dollar-Cost Averaging) — invest a fixed amount on a fixed schedule.
• VA (Value Averaging) — invest (and optionally sell) to keep the invested part of the portfolio close to a target growth path.
The indicator is plotted in a separate lower pane and is designed for realistic capital efficiency analysis, including the effect of cash sitting idle (“cash drag”).
What you see on the chart
• Two thick yellow lines
— DCA line: portfolio value under classic DCA
— VA line: portfolio value under Value Averaging
• Trade dots
— Small green dots : buys
— Small red dots : sells (VA only, if enabled)
• UA table + right-side labels
— key portfolio metrics for both strategies
Core assumptions
• Trades are executed at bar close ( close )
• Dividends and broker commissions are ignored (for now)
• Optional tax logic is available for VA sells: tax is applied to realized profit using average cost basis
Line mode
• Капітал+Кеш (default): shows total portfolio value = holdings + cash (honest “cash drag”)
• Лише капітал : shows holdings value only (invested part)
DCA logic (classic)
Start from Start date .
On each scheduled period ( Week / Month / Half-year / Year ) the script:
• adds the deposit amount to cash
• buys the asset for that amount (if cash is available)
VA logic (Value Averaging)
VA maintains a target value for the invested holdings (asset value only, cash not included ).
On each VA step:
Regular deposit is added to VA cash
Target is updated by period growth g (derived from annual CAGR and selected frequency)
If holdings value is below target → buy using cash (optionally add extra if enabled)
If holdings value is above target and selling is enabled → sell down to target (cash increases; optional profit tax applies)
Target update formula:
Target = Target × (1 + g) + Regular deposit
Optional controls
• Sell excess ( vaSellExcess ): allow sells when above target
• Add extra on drawdowns ( vaAddExtra ): allow additional contributions when cash isn’t enough
• Max extra per period ( vaMaxExtra ): cap extra contributions ( 0 = unlimited )
• Tax on sells ( vaUseTax / vaTaxRate ): apply tax to realized profit (average cost basis)
Table metrics (UA)
For both DCA and VA:
• Накопичено — total contributed cash
• Інвестовано — current invested cost basis
• Кеш — cash balance
• Капітал — portfolio value (based on selected line mode)
• Прибуток % — ROI in percent
• CAGR стратегії — annualized return based on elapsed time
Best use (recommended settings)
• Best timeframe: 1W
Weekly candles make long-term simulations cleaner and more realistic: less noise, fewer “micro” fluctuations, and more stable periodic triggers for DCA/VA steps.
• Recommended workflow:
Set chart timeframe to 1W
Choose deposit frequency (usually Тиждень or Місяць )
Start with Капітал+Кеш to see true cash drag
Compare DCA vs VA using Прибуток % and CAGR (not only absolute $)
• How to interpret results:
— If VA has higher capital but lower ROI %, it usually means you contributed more (extra funding enabled).
— If VA sells rarely, your target path may be aggressive (high CAGR + large deposits), so holdings don’t exceed the target often.
Notes
• If VA shows higher capital but lower profit % , it usually means more total contributions (extra funding enabled).
• Sells can be rare if the target path grows aggressively (high CAGR + large deposits).
ATRlvlThe indicator shows the filtered ATR, and you can specify the level price and see how the instrument behaves relative to the level, taking into account the ATR.
Moving Average Structure ZigZag [Stable & Filtered]
(日本語説明)
このインジケーターは、移動平均線(MA)の転換に基づき、相場の「真の構造」を可視化するために開発されました。 通常のZigZagのように価格の単純な反転に依存せず、「MAのトレンド転換 + 指定した値幅の到達」という2つの条件を用いることで、レンジ相場の細かなノイズ(ダマシ)を排除し、ダウ理論に基づいた重要な高値・安値だけを結びます。
💡 主な機能
MAタイプの切り替え: SMA, EMA, HMA, VW-HMAなど、目的に合わせたトレンド感度を選択可能。
値幅フィルター(Min Deviation): 添付画像のように、小さな値動きをカットし、大きな市場構造だけを抽出します。
価格アクションへの追従: ラインはMAの数値ではなく、期間内の実最高値・最安値を正確に結び、高値更新時には自動で延伸されます。
🛠 活用シーン
環境認識: 上位足での大きな波形を確認し、現在のフェーズを定義。
ノイズ除去: 市場の主要な節目(レジサポ候補)の特定。
ダウ理論の視覚化: 高値・安値の切り上がり・切り下がりを明確化。
(English Description)
This indicator was developed to visualize the "True Market Structure" based on Moving Average (MA) reversals. Unlike standard ZigZag which relies solely on price reversals, this tool combines MA Trend Reversals and a Minimum Deviation filter to eliminate market noise and highlight significant swing highs and lows based on Dow Theory.
💡 Key Features
Multiple MA Types: Select from SMA, EMA, HMA, VW-HMA, etc., to match your preferred trend sensitivity.
Min Deviation Filter: As shown in the attached image, it filters out minor price fluctuations to extract only the major market waves.
Price Action Tracking: The lines connect the actual High/Low prices within the period, not the MA values themselves. Lines automatically extend when a trend continues to new highs/lows.
🛠 Use Cases
Market Context: Identify major wave patterns on higher timeframes to define the current phase.
Noise Reduction: Pinpoint key market levels and potential support/resistance.
Dow Theory Visualization: Clearly visualize higher highs/lows and trend shifts.
Settings
MA Type: Choose the type of Moving Average.
Moving Average Length: The lookback period for structure.
Min Deviation (Pips): The threshold to filter noise. Adjust according to the volatility of the pair.
MTF MACD Dynamic█ MACD PULSE MTF
Multi-timeframe MACD with 4-color dynamic histogram.
█ FEATURES
- Multi-timeframe support
- 4-color histogram (trend strength + direction)
- Dynamic MACD/Signal line colors
- Cross markers for entry signals
█ HOW TO USE
HISTOGRAM COLORS:
🟢 Bright Green = Bullish momentum increasing
🟢 Teal = Bullish momentum decreasing
🔴 Bright Red = Bearish momentum increasing
🟠 Orange = Bearish momentum decreasing
SIGNALS:
- Buy: Histogram turns green + MACD crosses above signal
- Sell: Histogram turns red + MACD crosses below signal
- Circle markers show exact cross points
█ SETTINGS
- Fast EMA: 12 (default)
- Slow EMA: 26 (default)
- Signal SMA: 9 (default)
- Custom timeframe: Select any TF while on current chart
█ TIPS
- Use higher timeframe for trend direction
- Combine with support/resistance levels
- Fading colors = potential reversal warning
Entradas Inteligentes Oro JosePR indicador creado para el oro, pero funciona tambien en el mercado de futuros
ChillLax Distance From Moving Average// show the % distance from the moving average, in colorful histogram
// you can choose :
// : the moving average of the close, default to 200 ma
// : sma or ema, default to sma
// : choose calculation from open or high or low or close (to the ma), default is close
// : threshold % above/below ma, default is 70%. when the stock is above/below
// this threshold, histogram is red (default)
// : otherwise, histogram is blue (default)
// Why this? In William O'neil's book, How to make money in stock, 4th edition, page 264,
// in Climax Top:
// 200-day moving average line. Some stocks may be sold when they are
// 70% to 100% or more above their 200-day moving average price line
BTC - DCA vs HODL Calculator MatrixBTC - DCA vs. HODL Calculator Matrix | RM
Overview
The BTC - DCA vs. HODL Calculator Matrix is a high-performance telemetry laboratory designed to settle the ultimate debate in Bitcoin accumulation: Is it more efficient to deploy all capital at once ( Lump Sum & HODL ) or utilize a recurring purchase strategy ( DCA )? More importantly, if DCA is the choice, which exact frequency and weekday provides the mathematical edge?
The Calculator Matrix was engineered to solve a critical limitation in the current script ecosystem (at least I couldnt find such an indicator): the inability to compare multiple DCA frequencies and specific calendar days simultaneously within a single dashboard. While developing this tool, I found that existing calculators typically only permit testing one strategy at a time (e.g., a generic "Weekly" buy). This script fills that gap by utilizing a high-performance array-based "Telemetry Engine" to rank dozens of variables—including every individual weekday and specific monthly dates—against a HODL benchmark in real-time. This unique simultaneous comparison allows investors to mathematically identify "Weekday Alpha" across any user-defined timeframe.
Core Philosophy
The script utilizes a Normalized Capital Model . To ensure a true "apples-to-apples" comparison, your total capital (e.g., $10,000) is distributed with mathematical precision across the exact number of entries for each specific strategy. This eliminates the ROI skewing commonly found in basic scripts, ensuring that every strategy is judged on the same total dollar expenditure over the same "Race Track."
Key Features & Analytics
• The Podium System: An automated ranking algorithm that awards 🥇 Gold, 🥈 Silver, and 🥉 Bronze medals to the top three performing strategies. Spoiler: Regular Winner: 1-time HODL (Lump Sum)
• Simultaneous Strategy Testing: Compare Daily, 7 different Weekly days (Mon-Sun), and Monthly dates (1st–28th) all at once.
• Risk Telemetry: Integrated Max Drawdown (MDD) sensors for every strategy, revealing the "Emotional Cost" of your accumulation path.
• Race Track Visuals: Blue dashed "Green Flag" and "Checkered Flag" lines visually define the boundaries of your backtest.
• Dashboard Customization: Use the "Odd/Even" filter to keep the matrix sleek and readable on (nearly) any screen resolution.
The Strategies Tested
• 1-TIME HODL: The benchmark (Lump sum entry on Day 1 - meaning all the capital is deployed at the start date).
• DAILY DCA: High-frequency, day-by-day accumulation (the capital is split amongst the different entries).
• WEEKLY (SUN-SAT): Evaluates which specific day of the week historically captures the best entries (e.g., "Weekend Dips").(The capital is split amongst the different entries).
• MONTHLY (1-28 + END): Tests monthly date performance to optimize for beginning-of-month or end-of-month cycles. (The capital is split amongst the different entries).
Monte Carlo Simulation & Python Research
While this tool allows you to manually check any specific timeframe, manual testing is limited by "Start Date Bias." To find the Universal Winner , I have conducted a Monte Carlo Simulation using 100 random entry dates over the last 5 years via Python/Colab. This research reveals the statistical probability of a day (like Saturday) winning the Gold medal across all market conditions.
Access the Python Heatmap Research in my substack article (link for substack in Bio).
How to Use
1. Set the Race Track: Input Start and End dates in the settings.
2. Fuel the Engine: Set your Total Capital ($).
3. Analyze the Matrix: Compare ROI vs. MAX DD. The goal is not just the highest return, but the best Risk-Adjusted return.
Technical Implementation
This script utilizes an array-based telemetry engine to handle the simultaneous calculation of 30+ independent investment strategies. To ensure computational efficiency and bypass the limitations of standard security-based backtesting, I implemented a custom-built accumulator logic using array.new_float() and array.set() . The core calculation loop ( if in_race and is_new_day ) processes capital deployment on a per-bar basis, utilizing ta.change(time("D")) to ensure entry synchronization with the Daily UTC close. By decoupling the unit accumulation ( u_weekly , u_monthly ) from the final valuation logic ( f_get_stats ), the script maintains a Normalized Capital Model. This ensures that even with complex comparative logic across varying frequencies, the script provides a mathematically rigorous, reproducible result that matches real-world execution at the Daily UTC Midnight close.
Note: All calculations are made on the "close" bar, which means UTC 00:00. By creating a strategy or using the research, make sure to be aware of your time zone
Disclaimer: Past performance is not indicative of future results. This tool is for educational and research purposes only. Rob Maths is not liable for any financial losses.
Tags:
robmaths, Rob Maths, DCA, HODL, Bitcoin, BTC, Backtest, RiskManagement, Investment, Strategy, Statistics
The cantillon terminal [Lite] - Visual SuiteThe ultimate discretionary toolkit. Visualizes Institutional Value (VP), Trend (AVWAP), and Structure (Fibs). For automated signals, see the Pro Strategy."
XAUUSD 240m Pivot PointsThis Indicator helps you to automatically find pivot point S1 S2 S3 R1 R2 and R3 for each and every candle that occurs in 4 hr tf
52W High / Low + 20% Retracement52-Week High / Low with 20% Retracement Level
This indicator provides a visual context for momentum and drawdown
analysis using 52-week price extremes.
What it shows:
- The 52-week high and 52-week low levels.
- A retracement level defined as a fixed percentage (default 20%)
below the 52-week high.
How to interpret it:
- Price above the retracement level indicates that the stock has
corrected in a controlled manner and the broader momentum structure
is still intact.
- Price below the retracement level suggests a deeper drawdown and
potential deterioration of momentum.
Intended use:
- Designed as a quality filter, not as an entry or exit signal.
- Helps identify stocks with strong momentum that are consolidating
rather than breaking down.
- Should be combined with trend and liquidity filters.
Notes:
- The retracement percentage is adjustable.
- This indicator is descriptive, not predictive.
- It does not replace risk management or stop-loss rules.
*/
Estrategia Timing SMA 10 de Faber Introduction This strategy is based on the classic trend-following logic popularized by Meb Faber in his white papers (such as "A Quantitative Approach to Tactical Asset Allocation") and frequently discussed by financial analyst José Luis Cárpatos. The core philosophy is simple but effective: stay in the market during uptrends to capture growth, and move to cash during downtrends to protect capital from major drawdowns.
This is a long-term "Timing" strategy designed for investors who want to filter out market noise and focus on the primary macro trend.
How it Works The strategy utilizes a specific Moving Average on a Monthly timeframe to determine the trend direction.
The Indicator: A 10-period Simple Moving Average (SMA) calculated on the Monthly timeframe (1M).
Long Condition: When the Monthly Close price is above the 10-Month SMA, the strategy enters a Long position (Risk On).
Exit Condition (Cash): When the Monthly Close price falls below the 10-Month SMA, the strategy closes the position and stays in Cash (Risk Off). It does not open short positions; it simply exits the market to preserve capital.
Key Features (Multi-Timeframe) This script has been coded using request.security to force the calculation on Monthly data (1M), regardless of the chart timeframe you are currently viewing.
This allows you to view the strategy on a Daily or Weekly chart while ensuring the mathematical logic remains strictly bound to the Monthly moving average.
The SMA line will appear "stepped" on lower timeframes (e.g., Daily), representing the constant value of the SMA for that specific month.
Settings
Length: Default is 10 (representing 10 Months), but this can be adjusted if you wish to test other periods (e.g., 12 months).
Source: Defaults to close.
Visuals
Blue Line: Represents the 10-Month SMA.
Background Color:
Green: Indicates the strategy is currently Long (Price > SMA).
Red/Grey: Indicates the strategy is in Cash (Price < SMA).
Important Note on Backtesting & Repainting Because this strategy requests Monthly data on lower timeframes (like Daily), please be aware that the current month's data is dynamic. The signal is technically confirmed only at the close of the monthly bar. When viewing on a Daily chart, the script evaluates the relationship between the current price and the current monthly SMA.
Disclaimer This script is for educational and research purposes only. Past performance is not indicative of future results. Always manage your risk appropriately.
cc/@version=5
indicator("5 Min Forex Strategy", overlay=true, timeframe="5")
// ───────── Indicators ─────────
// EMAs
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
// RSI
rsi = ta.rsi(close, 14)
// Stochastic
k = ta.stoch(close, high, low, 14)
d = ta.sma(k, 3)
// ───────── Trend Conditions ─────────
bullTrend = ema50 > ema200
bearTrend = ema50 < ema200
// ───────── Entry Conditions ─────────
// Buy when trend is bullish + RSI > 50 + Stochastic crosses up from oversold
buySignal = bullTrend and rsi > 50 and ta.crossover(k, d) and k < 20
// Sell when trend is bearish + RSI < 50 + Stochastic crosses down from overbought
sellSignal = bearTrend and rsi < 50 and ta.crossunder(k, d) and k > 80
// ───────── Plot Indicators ─────────
plot(ema50, color=color.yellow, title="EMA 50")
plot(ema200, color=color.red, title="EMA 200")
// RSI & Stoch plot on separate pane
rsiPlot = plot(rsi, "RSI", color=color.new(color.blue, 0))
hline(70); hline(30)
// ───────── Plot Buy/Sell signals ─────────
plotshape(buySignal, title="BUY", style=shape.labelup, color=color.green, text="BUY", size=size.small, location=location.belowbar)
plotshape(sellSignal, title="SELL", style=shape.labeldown, color=color.red, text="SELL", size=size.small, location=location.abovebar)
8x EMA + Labels + Trend + Volume Arrows + Developing VAH/VALThis indicator is a comprehensive trend, structure, and momentum tool designed for intraday and swing traders.
It combines multi-timeframe EMAs, dynamic EMA labels, developing Value Area High/Low, and volume-based entry signals into a single clean overlay.
LTF Distribution Analyzer█ OVERVIEW
LTF Distribution Analyzer reveals the hidden price distribution and order flow within each candle by sampling lower timeframe data. It visualizes where prices concentrated, how volume was distributed between buyers and sellers, and identifies divergences between price action and actual market participation.
Unlike traditional candlesticks showing only OHLC, this indicator exposes the statistical structure of price movement using quartile-based visualization combined with delta analysis.
█ CONCEPTS
The indicator is built on two core concepts:
1 — Statistical Price Distribution
Each candle contains many lower timeframe bars. By analyzing these bars, we calculate:
• Q1 (25th percentile) - 25% of prices traded below this level
• Q3 (75th percentile) - 75% of prices traded below this level
• Median - The middle price value
• IQR (Interquartile Range) - The Q3-Q1 spread containing 50% of all prices
2 — Volume Delta Analysis
Delta measures buying vs selling pressure:
• Delta = Buy Volume − Sell Volume
• Positive delta = More aggressive buying
• Negative delta = More aggressive selling
• Delta Ratio normalizes this as a percentage
█ HOW IT WORKS
The indicator fetches lower timeframe data using request.security_lower_tf() and processes it to create a statistical summary:
Step 1: Timeframe Calculation
• Auto mode: Chart timeframe ÷ Auto Divisor = LTF
• Example: 1H chart ÷ 1000 = ~3.6 second sampling
• Manual mode: User-specified timeframe
Step 2: Data Collection
• Collects all close prices from LTF bars within current candle
• Aggregates volume by candle direction (bullish/bearish)
Step 3: Statistical Analysis
• Calculates quartiles (Q1, Q3), median, and boundaries
• Identifies outliers using 1.5× and 3× IQR fences
• Finds Volume POC (price with highest volume)
Step 4: Delta Calculation
• Sums buy volume (from bullish LTF bars)
• Sums sell volume (from bearish LTF bars)
• Computes delta ratio for color determination
█ VISUAL ELEMENTS
┌─────────────────────────────────────────┐
│ ▲ Extreme outlier (3× IQR) │
│ △ Mild outlier (1.5× IQR) │
│ ─ Upper whisker cap │
│ ┊ Whisker line (dashed) │
│ ▄ IQR Box (Q1 to Q3 range) │
│ ━ Volume POC (highest volume) │
│ ● Median (green=bull, red=bear) │
│ ┊ Whisker line (dashed) │
│ ─ Lower whisker cap │
│ ▽ Mild outlier │
│ ▼ Extreme outlier │
└─────────────────────────────────────────┘
█ COLOR SYSTEM
Colors indicate the relationship between candle direction and order flow:
🟢 TEAL (Positive Flow)
Bullish candle + Positive delta
→ Strong buying confirmation
→ Trend continuation signal
🔴 RED (Negative Flow)
Bearish candle + Negative delta
→ Strong selling confirmation
→ Trend continuation signal
🟠 ORANGE (Mixed Signal A)
Bullish candle + Negative delta
→ Price up but sellers dominated
→ Potential weakness/reversal warning
🔵 BLUE (Mixed Signal B)
Bearish candle + Positive delta
→ Price down but buyers dominated
→ Potential accumulation/reversal signal
█ SETTINGS
Timeframe Settings
• LTF Mode — Auto or Manual selection
• Manual Timeframe — Specific LTF when in Manual mode
• Auto Divisor — Higher = finer granularity (default: 1000)
• Allow Sub-Minute — Requires Premium subscription
Visual Style
• Positive/Negative Flow colors — Customize the 4 flow colors
• Box Transparency — Opacity of the quartile box (0-100%)
Statistics Display
• Show Statistics Panel — Toggle on-chart stats table
• Show Timeframe Badge — Toggle LTF indicator badge
• Panel Position — Choose corner placement
• Panel Size — Text size selection
█ HOW TO USE
1. Divergence Detection
Look for color mismatches:
• Orange bars in uptrend = weakness, potential reversal
• Blue bars in downtrend = strength, potential reversal
• Multiple consecutive divergent bars strengthen signal
• Wait for confirmation before entry
2. Volume POC Trading
• POC marks where most volume traded
• POC clusters at similar levels = strong S/R zone
• Price often returns to POC before continuing
• Use POC for entry/exit targeting
3. Trend Confirmation
• Consecutive teal = strong uptrend
• Consecutive red = strong downtrend
• Median position shows intrabar momentum
• Wide boxes indicate high volatility
4. Outlier Analysis
• Extreme markers (▲▼) often mark stop hunts
• Consider fading extremes at key levels
• Mild markers (△▽) = areas to watch
█ RECOMMENDED SETTINGS
For different chart timeframes:
│ Chart TF │ Auto Divisor │ Resulting LTF │
├──────────┼──────────────┼───────────────┤
│ 15M │ 1500 │ ~1M │
│ 1H │ 1000 │ ~3-4s │
│ 4H │ 600 │ ~24s │
│ Daily │ 500 │ ~2-3M │
Tip: Check the TF badge to confirm active sampling timeframe.
█ BEST PRACTICES
Do:
✓ Use "Bars" chart style for cleanest display
✓ Combine with support/resistance analysis
✓ Wait for confirmation bars
✓ Note POC clusters across multiple bars
✓ Adjust divisor based on your timeframe
Avoid:
✗ Trading single bar signals alone
✗ Using during low volume periods
✗ Trading immediately after news releases
✗ Ignoring overall market context
█ LIMITATIONS
• Requires adequate market liquidity for reliable signals
• Sub-minute timeframes need Premium subscription
• Historical data depth depends on TradingView's data availability
• Delta calculation assumes volume direction matches candle direction
█ NOTES
This indicator works best on liquid markets (forex majors, major indices, popular stocks/crypto) where volume data is meaningful.
The gray dotted vertical line marks where LTF data becomes available - bars before this line won't display the indicator.
For questions or suggestions, leave a comment below.
HMA Fibo Trend RibbonHMA Fibo Trend Ribbon - Fibonacci Trend Indicator
📊 Indicator Description
This is a trend indicator based on the harmony of Fibonacci numbers. The indicator uses seven Hull Moving Averages with periods corresponding to the Fibonacci sequence: 8, 13, 21, 34, 55, 89, 144. This mathematical harmony allows the indicator to perfectly align with natural market cycles and wave structures.
🎯 Fibonacci Philosophy in Market Analysis
The Fibonacci sequence is not just a set of numbers, but a fundamental pattern found in nature, art, and financial markets. Using these periods provides:
Natural alignment with market cycles
Multifractal analysis (covering different wave levels)
Harmonious interaction between timeframes
Universal application across all timeframes
🔧 Indicator Settings
Visual Settings:
Show Main Line - Show main line (HMA 144 - golden ratio)
Show Ribbon Lines - Show the remaining 6 Fibonacci lines
Show Trend Change Labels - Show trend change labels
Show Info (Trend %) - Show info label with trend percentage
Ribbon Opacity - Ribbon transparency (0-100%)
🎨 Visualization of Fibonacci Structure
Color Harmony:
Each HMA line corresponds to a specific Fibonacci level
Collective movement creates the "Fibonacci Ribbon"
Color differentiation based on direction
Info Label:
Displays consensus of 7 Fibonacci levels
Percentage ratio of bullish/bearish lines
Color coding of the trend
📊 Interpretation of Fibonacci Signals
Consistency Levels:
7/7 lines in one direction - Perfect Fibonacci harmony
5-6/7 lines - Strong trend
3-4/7 lines - Consolidation/transition phase
0-2/7 lines - Opposite trend
🚀 Advantages of Fibonacci Approach
Natural harmony with market cycles
Universal - works on any asset and timeframe
Predictive power - anticipates reversal zones
Period synergy - signal amplification when aligned
Minimal lag - HMA responds better than regular MAs
⚡ Implementation Features
Technical Details:
Algorithm: Hull Moving Average (optimized for speed)
Periods: Pure Fibonacci sequence
Calculation: Consensus of 7 harmonic levels
Visualization: Intuitive color scheme
Performance:
Optimized for TradingView
Minimal system load
Support for all chart types
⚠️ Usage Recommendations
Combine with other Fibonacci tools
Verify signals on different timeframes
Use for trade entry filtering
Test on historical data before live trading
✍️ Author: A-Swift
📅 Version: 1.0 Fibonacci
🔗 Code: Open Source (MPL 2.0)
🧮 Basis: Fibonacci Sequence (8, 13, 21, 34, 55, 89, 144)
Fibonacci Fact:
The number 144 in the Fibonacci sequence is the square of its ordinal number (12²) and represents perfect harmony in market cycles. This makes the HMA with period 144 particularly significant for determining the main trend.
Danny's Quarter Zones - CompleteThis is a very good indicator which can make anybody profitable even me. so that's why im sharing it with you all . it was made specifically for NQ. to use it on ES I would have to mess around and see what works best. as it is it is good for NQ.
CPR ProjectionCPR Projection
1. CPR with different ways to feed data
2. Camarilla 3, 4, 5
3. EMA Table
mncl's SL_TP FInderWe are all used to using the ATR to estimate the stop loss or take profit. So I wondered if there is another way since I found the ATR a little too far sometimes.
In this script, i combine other ways of finding your take profit or stop loss. These can be found in the settings. I also include a way to estimate the amount of money to risk per trade.
Have a go at it and let me know if you found it useful.
- mncl -






















