PROTECTED SOURCE SCRIPT

OW_MTF Candle

21
Description

Overview The OW_MTF+ indicator allows traders to visualize Higher Timeframe (HTF) candlesticks directly on their current chart. Designed for Price Action and Smart Money Concepts (SMC) traders, this tool helps you perform Top-Down Analysis without switching back and forth between timeframes.

Unlike standard MTF indicators, this script features a Dynamic History Fade system that automatically adjusts the transparency of older candles, keeping your chart clean and focused on recent price action.

Key Features

・Multi-Timeframe Overlay: Display candles from any higher timeframe (e.g., show 4-Hour candles on a 15-Minute chart).

・Real-Time Updates: Uses lookahead=barmerge.lookahead_on to ensure the forming HTF candle updates in real-time with the current market price, allowing for immediate reaction to live price action.

・Dynamic Transparency (Fade Effect): The indicator includes a smart visual management system. It automatically increases the transparency of older historical candles so they do not obscure your chart, while keeping the most recent candles vivid and clear.

・Extended History: Supports displaying up to 500 historical HTF bars, giving you a deep view of past market structure.

・Time-Accurate Positioning: utilizes xloc.bar_time to ensure candles and wicks are perfectly aligned with the correct timestamp, preventing visual misalignment during market gaps.

Settings & Customization

・Timeframe: Select your desired Higher Timeframe (e.g., 240 for 4-Hour, D for Daily).

・History Depth: Choose how many HTF bars to display (Max 500).

Visual Styles: Fully customizable colors for Bullish/Bearish bodies, wicks, and borders.

・Auto Extend Mode: When enabled, this optimizes the transparency of the most recent 50 bars for the best visual experience.

Technical Note This indicator uses lookahead_on to retrieve HTF data. This is intentional to allow the current forming bar to update in real-time. Please note that while the historical closed candles are permanent, the currently active HTF candle will update tick-by-tick until it closes.


概要

OW_MTF Candleは、現在表示しているチャート上に上位足のローソク足を重ねて表示するマルチタイムフレーム・インジケーターです。 プライスアクションやスマートマネーコンセプト(SMC)を用いたトレードにおいて、時間足を切り替えることなくトップダウン分析を行うのに最適です。

通常のMTFインジケーターとは異なり、**「ダイナミック・ヒストリー・フェード(動的透明度調整)」**機能を搭載しています。これにより、過去の古いローソク足の透明度を自動的に上げ、最新のプライスアクションを強調しつつ、チャート全体の視認性を保ちます 。


主な機能

・マルチタイムフレーム表示: 任意の上位足を選択して表示可能です(例:15分足チャートに4時間足のローソクを表示など)。

・リアルタイム更新: request.security で lookahead=barmerge.lookahead_on を使用しているため、現在形成中の上位足もリアルタイムの価格に追従して動きます 。

・動的透明度(フェード効果): 過去の履歴バーがチャートを邪魔しないよう、古い足ほど自動的に透明度を高く調整します。これにより最新の相場状況がクリアに表示されます 。

・拡張履歴: 最大500本までの過去の上位足を表示でき、長期的な市場構造の確認が可能です 。

・正確な位置合わせ: xloc.bar_time(時間座標)を使用しているため、市場の休場やギャップがあってもローソク足とヒゲが正しい時刻に配置されます 。


設定項目

・上位足の時間足 (Timeframe): 表示したい上位足を選択します(デフォルト: 240/4時間足)。

・表示する履歴本数: 過去何本分の上位足を表示するか設定します(最大500本)。

・スタイル設定: 上昇足・下降足の実体色、ヒゲの色、枠線の太さなどを自由にカスタマイズ可能です 。

・自動拡張モード (Auto Extend): 最新の50本に対して最適な透明度調整を自動で行います 。


技術的な注釈

・確定した過去足: リペイントしません(変化しません)。

・現在進行中の足: 確定するまではリアルタイムで形状が変化します。

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.