sXSuite  ·  Instruction Manual

sX OHLC v3

Plots higher-timeframe OHLC reference levels with 50%, 25%, and 12.5% retracements. Includes LVL Mode, Pre-Market Levels, HTF candle visualization, and color-coded lines.

Complementary Tool Phase 02 / AnalyzeTradingView Indicatorv3 — Updated
01 / Overview

Key Features

📏
OHLC Reference Levels
Plots the Open, High, Low, and Close of any higher timeframe as horizontal lines with 50%, 25%, and 12.5% retracements between them.
🎨
Color-Coded Lines (NEW v3)
Each line type has its own independent color, style, and width input. Open, High, Low, Close, 50%, 25%, 12.5%, and Custom Levels are all individually configurable.
LVL Mode
Stripped-down mode that shows only the most critical levels: H, L, and selected retracement levels for each TF. Reduces chart clutter on busy setups.
🕯️
HTF Candle Visualization
Draws the higher-timeframe candle body as a box with wicks, labeled with day-of-week or hour. See the daily candle directly on your intraday chart.
🔮
Pre-Market Levels
Tracks pre-market high and low and plots them as reference lines for gap-and-go analysis.
🎯
Custom Levels
Two custom percentage levels per timeframe. Set any retracement or extension value for advanced STRAT analysis.
Dual Timeframe Support
Configure two independent HTF timeframes (TF A and TF B), each with their own OHLC levels and display settings.
📊
Summary Table
Optional on-chart table showing all open prices for both timeframes at a glance.
→ v3 UpdatesX OHLC v3 adds full color coding for every line type. Open, High, Low, Close, 50%, 25%, 12.5%, and Custom Levels each have independent color, style (solid/dashed/dotted), and width inputs. This replaces the single-color approach of prior versions.
02 / Concept

How It Works

01
Select Timeframes
Choose TF A and TF B from the timeframe selectors. TF A is your primary reference (e.g. Daily). TF B is your secondary (e.g. Weekly). Each has independent OHLC display settings.
02
Fetch HTF OHLC Data
For each bar on the chart, the indicator fetches the current HTF open, high, low, and close using request.security(). These update when the HTF bar closes.
03
Draw Reference Lines
OHLC levels are drawn as horizontal lines extending left and right by the configured bar counts. Each level type uses its own color, style, and thickness from the display settings.
04
Calculate Retracements
50% = midpoint of high/low range. 25% = quarter from low. 12.5% = eighth from low. Inverted versions (75%, 87.5%) are also drawn. Custom levels use user-defined percentages.
05
LVL Mode (optional)
When LVL UP or LVL DOWN is enabled, the display strips to only the most relevant levels for directional bias — high, low, and the retracements below or above the midpoint respectively.
03 / Reference

Settings

📏 Line Settings
SettingDefaultRangeDescription
Extend Right Lines27BarsNumber of bars all lines extend to the right of the current bar.
Extend Left Lines10BarsNumber of bars all lines extend to the left of the current bar.
⚡ LVL Mode
SettingDefaultRangeDescription
LVL UPOFFON / OFFShows only H, L, 25%Lo, 12.5%Lo. Enable TF1 and/or TF2 to apply per timeframe.
LVL DOWNOFFON / OFFShows only H, L, 25%Hi, 12.5%Hi. For bearish bias setups.
🔮 Pre-Market Levels
SettingDefaultRangeDescription
Show Pre-Market HighONON / OFFDraws a line at the pre-market session high.
Show Pre-Market LowONON / OFFDraws a line at the pre-market session low.
⌚ OHLC Timeframe Settings
SettingDefaultRangeDescription
TF ADAny TFPrimary higher timeframe. Default Daily.
Lookback A00+How many bars back to fetch HTF data. 0 = current bar.
Show HTF Candle AOFFON / OFFDraws the TF A candle as a box with wicks on the chart.
TF BWAny TFSecondary higher timeframe. Default Weekly.
Lookback B00+How many bars back for TF B. 0 = current bar.
👓 OHLC Display Settings — Color | Style | Width
SettingDefaultRangeDescription
Open (TF A/B)White / dashedColor, Style, WidthLine for the HTF Open price. Each TF independent.
High (TF A/B)Lime / solidColor, Style, WidthLine for the HTF High. Typically the resistance level.
Low (TF A/B)Red / solidColor, Style, WidthLine for the HTF Low. Typically the support level.
Close (TF A/B)Aqua / dashedColor, Style, WidthLine for the HTF Close (prior period's closing price).
📏 50% / 25% / 12.5% Display Settings
SettingDefaultRangeDescription
50% Mid (TF A/B)Orange / dashedColor, Style, WidthThe midpoint between HTF High and Low. Key pivot level.
25% Lower (TF A/B)Yellow / dottedColor, Style, WidthQuarter-level from the low.
25% Upper (TF A/B)Yellow / dottedColor, Style, WidthQuarter-level from the high.
12.5% Lower (TF A/B)Gray / dottedColor, Style, WidthEighth-level from the low.
12.5% Upper (TF A/B)Gray / dottedColor, Style, WidthEighth-level from the high.
🎯 Custom Levels TF1 / TF2
SettingDefaultRangeDescription
Enable Custom 1OFFON / OFFDraws a custom percentage level between HTF High and Low.
Custom % 133.0%Percentage from the low. 33 = one-third level.
Custom 1 ColorPurpleColorLine color for custom level 1.
Enable Custom 2OFFON / OFFSecond independent custom percentage level.
04 / Best Practices

Pro Tips

Use 50% as the Primary Pivot
The daily 50% midpoint is the single most important level in the STRAT framework. Price above the daily 50% is bullish; below is bearish. Watch for reactions here before any other level.
Color-Code by Significance
Use strong colors (solid lime, solid red) for High and Low. Use muted colors (dashed gray) for retracements. This creates an instant visual hierarchy — you see the boundaries first, then the detail.
LVL Mode for Cleaner Charts
On busy charts with both TF A and TF B active, enable LVL Mode on one timeframe to reduce line count. Only the most directionally relevant levels stay visible.
Pre-Market Levels for Gap Analysis
Enable Pre-Market High and Low before the open. If the regular session opens above PM High, that's a bullish gap structure. Below PM Low is bearish. These become key intraday reference levels.
Stack with sX OHLC's Sibling Indicators
Run sX OHLC on Daily and sX Opens on Weekly simultaneously. The Opens tracks where each period began; OHLC tracks the full range. Together they give you every meaningful reference level.
05 / Use Cases

Who Uses This

SettingDay TraderSwing TraderOptions Trader
TF ADailyWeeklyDaily
TF B4HMonthlyWeekly
Show HTF CandleONOFFOFF
LVL ModeLVL UP/DNOFFOFF
Pre-Market LevelsONONON
Custom LevelsON (33%, 67%)OFFON (38.2%, 61.8%)
→ sXSuite IntegrationPair sX OHLC v3 with sX Opens v1 for a complete reference level system: OHLC covers the full range structure, Opens shows where each period started. Use sX SBox to map trade targets within those levels. Confirm direction with sXMTF Trends before acting on any OHLC touch.