Appearance
Personalize your experience
OHLC Bars
Bar ChartsThe original Western bar chart type — four essential data points (Open, High, Low, Close) encoded into a single vertical bar with left and right ticks. OHLC bars are the preferred chart type for quantitative traders, institutional analysts, and anyone who values clinical precision over visual flourish.
Origins & History
The OHLC bar chart is the oldest continuously used chart type in Western technical analysis, predating charts in the West by decades. Its origins trace back to the late 19th century, when <Em > Charles Dow</Em > — co-founder of Dow Jones & Company and founder of The Wall Street Journal — developed the conceptual framework that would become Dow Theory. Dow’s need to visualize price movements of railroad and industrial stocks led to the development of the bar chart, which he used to illustrate his theories about market trends, primary and secondary movements, and the relationship between industrial and transportation averages. Dow’s original bar charts were -drawn on graph , with each day’s represented by a simple — a practice that continued on Wall Street trading desks well into the 1970s.
While Dow laid the theoretical foundation, it was <Em > Robert D. Edwards</Em >> and <Em > John Magee</Em >> who codified bar charting into a systematic discipline. Their landmark <Em >"Technical Analysis of Stock Trends"</Em > (1948) established the bar chart as the primary analytical tool for Western technical analysts. The book introduced rigorous rules for bar pattern recognition, , support and resistance identification, and volume analysis — many of which remain unchanged nearly 80 years later. Edwards and Magee’s work drew heavily on Dow Theory but it into a comprehensive trading system that included specific entry and exit rules based on bar formations. Their classification of bar patterns — including breakouts, pullbacks, and reversals — forms the foundation of modern technical analysis as it is practiced today.
> Richard , a contemporary of Dow, also contributed significantly to bar chart . His Method — built around the concepts of accumulation, , -up, and mark-down phases — relied heavily on bar chart reading. Wyckoff’s use of bar charts to identify "stopping volume" and "absorption" patterns remains influential in institutional trading circles. His <Em >" Operator"</Em >> theory taught traders to read bar sequences as the actions of a single -scale market participant, and his bar-by-bar analysis of price and volume relationships remains a cornerstone of professional trading education. ’s concepts of "springs" (a final low before a markup phase) and "upthrusts" (a final high before a markdown phase) are direct precursors to modern reversal bar analysis.
Throughout the mid-20th century, the OHLC bar chart dominated Western financial visualization. Major newspapers like The Wall Street Journal and Investor’s Business Daily published bar charts as their primary price visualization format. The format was the default in early computational trading systems of the 1970s and 1980s. When charts were introduced to the West by <Em > </Em >> in the late 1980s, the bar chart’s dominance began to erode — but it never disappeared. Today, OHLC bars remain the preferred format for algorithmic trading systems, quantitative analysis, and institutional traders who their clean, numerically precise representation of market over the emotionally weighted of candlesticks.
The evolution of the OHLC bar continued into the digital age. Early charting platforms like MetaStock and TradeStation offered OHLC as the default chart type. The rise of real-time feeds in the 1990s made bar charting more — bars would form in real time, updating their high and low with each new . Modern platforms like Quatick Charts now render OHLC bars with GPU , supporting real-time updates at 60+ frames per second with tens of thousands of bars visible simultaneously. The OHLC bar has proven to be an enduring format that has successfully transitioned from -drawn charts to the most advanced -accelerated charting engines.
The influence of the OHLC bar extends beyond traditional price charting. The format inspired the development of bars (which modify OHLC values for smoothing), bricks (which use time-independent price ranges based on OHLC), and volume-weighted bars (which incorporate volume into the OHLC construction). Every modern chart type in the Bar family — HLC, , — is a simplification or modification of the original OHLC format. The four- OHLC structure remains the universal data primitive that underlies virtually all technical analysis calculations.
Theory & Core Principles
The OHLC bar chart encodes four critical into a single element. Unlike charts, which emphasize the open-to-close body as a visual mass, the OHLC bar presents all four values with equal typographic weight — each is a simple on a . This equal weighting is a deliberate design choice that reduces emotional bias in pattern recognition. When every data looks the same, the trader is forced to evaluate information content rather than react to visual prominence.
The theoretical foundation of OHLC bar charting rests on several key principles. First, the <Em > high and low</Em >> bound the entire for the — every trade that occurred happened at or between these extremes. The range from high to low represents the full extent of price discovery during the interval. Second, the <Em > open and close</Em >> represent the beginning and ending consensus of for that . The distance between open and close indicates the conviction of traders, while the position of the close relative to the range reveals where the balance of power lies at period end. Third, the <Em > volume</Em >> accompanying each bar provides the confirmation or rejection of the price signal — without volume, bar patterns are two-dimensional and prone to misinterpretation.
A core principle unique to bar charting is <Em > analysis</Em >. The left (open) and tick (close) allow traders to assess intra- dynamics at a glance. A close near the high with an open near the low shows strong buying pressure throughout the period — the market opened at a discount and rose steadily. An open near the high with a close near the low shows persistent selling — the market opened at a and fell consistently. An open and close in the middle of the range with a wide spread indicates indecision and volatility — the market went nowhere despite significant movement in both directions. This tick-position analysis is unique to OHLC bars and cannot be performed on charts, where the body obscures the precise open and close levels.
> Bar sequences> form the of pattern recognition in OHLC charting. A sequence of bars with progressively higher highs and higher lows defines an uptrend. Conversely, lower highs and lower lows define a downtrend. The <Em > rate of change</Em >> in these sequences — how quickly are accelerating or decelerating — reveals the momentum behind the trend and provides early of potential reversals. When highs are rising faster than lows, the trend is accelerating upward. When highs are still rising but lows are also rising (narrowing range), the trend may be maturing. When the sequence of higher highs fails (a bar makes a lower high), the trend is at risk of reversal.
Volume confirmation is integral to bar chart theory. Edwards and Magee emphasized that bar patterns must be evaluated <Em > in conjunction with volume</Em >. A breakout bar on heavy volume is valid; a breakout on thin volume is suspect. Volume provides the third dimension that transforms two-dimensional price patterns into actionable trading signals. The relationship between volume and price action — volume confirming moves, contracting volume questioning them — is as as the bar pattern itself. ’s analysis of volume at key bar levels — "stopping volume" at the end of trends, "absorption volume" during consolidations — remains a powerful tool for interpreting bar chart signals.
The principle of <Em > S/R flip</Em > (support becomes resistance and vice versa) is also central to OHLC bar analysis. When a bar breaks below a support level that has for multiple bars, that level often becomes resistance on subsequent rallies. This flipping of roles is visible in the bar structure when price returns to the broken level and the close fails to reclaim it. The left and ticks at the broken level provide precise reference for this analysis. The S/R flip is one of the most reliable patterns in bar chart trading and forms the for many mean-reversion and breakout-retest strategies.
The concept of <Em > bar exhaustion</Em >> is another critical theoretical pillar. After a series of bars in one direction, the bars typically exhibit decreasing range (exhaustion of momentum) or increasing range with poor close positioning (climax). These exhaustion patterns signal that the current move is running out of participants and a or reversal is imminent. Bar exhaustion is the precursor to most significant reversals and can be quantified through range analysis and close-position tracking.
The Mathematics
Each OHLC bar is defined by four scalar values extracted from the stream within a given time interval. These four values form the foundation for all subsequent analysis, and understanding their mathematical relationship is essential for effective bar reading and quantitative development.
> Open (O) — the price of the first trade executed within the interval: O = P <sub>t₁</sub> where t₁ is the timestamp of the interval start. The open price is the market initial consensus after the preceding interval close. It is influenced by overnight or inter- news, sentiment shifts, and at the open. In liquid markets during regular trading hours, the open is generally representative; in illiquid markets, the open may be an outlier that does not reflect the true price discovery.
> High (H) — the maximum trade price within the interval: H = max(P <sub > t₁</sub >, P <sub > t₂</sub >, ..., P <sub > tₙ</sub >) for all ticks t in the interval. The high represents the peak of buying pressure during the — the price buyers were willing to pay. It serves as a resistance level for subsequent bars. The high is a during the interval and is only finalized at the interval boundary.
> Low (L) — the minimum trade price within the interval: L = min(P <sub > t₁</sub >, P <sub > t₂</sub >, ..., P <sub > tₙ</sub >) for all ticks t in the interval. The low represents the peak of selling pressure — the price sellers were willing to accept. It serves as a support level for subsequent bars. Like the high, the low is during the interval.
> Close (C) — the price of the last trade executed within the interval: C = P <sub>tₙ</sub> where tₙ is the timestamp of the interval end. The close is the most analytically significant — it represents the final consensus of for the and is the price used for settlement, performance calculation, and most indicator computations.
From these four values, several derived can be calculated for each bar:
> Bar range (R) = H − L. The total price excursion of the , measuring intra-period volatility independent of direction. The range is the simplest and most robust volatility estimator. It forms the for () calculations and is used in position sizing, stop placement, and volatility assessment. The range can be expressed in absolute terms (price units) or relative terms (R / C as a ). A range of $5.00 on a $100 stock represents 5% volatility; the same $5.00 range on a $500 stock represents only 1% volatility.
> Body (B) = |C − O|. The absolute price change from open to close. This measures conviction. A larger body relative to the range indicates a decisive ; a body relative to the range indicates indecision. Bodies can be classified as proportional to the range: a "full body" bar has B ≈ R (close at one extreme), while a "flat body" bar has B ≈ 0 (close near open). The body is the primary indicator of directional conviction in bar charts.
> Body-to-Range Ratio (BRR) = B / R. A of 1.0 means the bar closed at one extreme of its range (maximum conviction). A value near 0 means the bar closed near its open (indecision). Values above 0.7 indicate strong directional movement; values below 0.3 suggest choppy or range-bound price action. The BRR is a powerful — only consider trading signals from bars with BRR above 0.5, as lower values indicate insufficient conviction to sustain a move. BRR is calculated only when R > 0; when R = 0 (all prices equal), BRR is undefined.
> Upper wick (UW) = H − max(O, C). The above the open-close range. This measures the of intra- selling pressure that was . A long upper wick indicates that sellers tried to push prices lower but were overcome by buyers. The ratio UW / R quantifies the strength of the rejection — values above 0.3 indicate significant selling pressure that was absorbed. In an uptrend, shrinking upper wicks indicate strengthening buying pressure (sellers are less able to push price down from the highs).
> Lower wick (LW) = min(O, C) − L. The below the open-close range. This measures the of intra- buying pressure that was . A long lower wick indicates that buyers tried to push prices higher but were overcome by sellers. The ratio LW / R quantifies buying pressure rejection. In a downtrend, shrinking lower wicks indicate strengthening selling pressure (buyers are less able to push price up from the lows).
> Open-to-Close Return (OCR) = (C − O) / O × 100. The return for the . Positive values indicate bullish periods; negative values indicate bearish periods. Normalizing by O allows comparison across instruments and price levels. OCR can be aggregated over multiple bars to return for a bar sequence.
> (TR) = max(H − L, |H − C <sub > prev</sub >|, |L − C <sub > prev</sub >|). The accounts for gaps by comparing the current bar’s range with extensions beyond the prior close. This is the foundation of ATR () calculations. The ATR, typically calculated over 14 periods, provides a normalized of expected volatility. TR is always ≥ R, with the difference TR − R representing the gap component. When TR = R, there was no gap between periods.
> Midpoint (M) = (H + L) / 2. The arithmetic center of the bar’s range. A close above the midpoint indicates bullish bias for the ; a close below indicates bearish bias. The sequence of midpoints tracks the center of price exploration and provides a noise-filtered view of trend direction. The midpoint is more robust than the close for trend identification because it is less affected by last- anomalies.
> (DE) = (C − O) / (H − L). Normalized between -1 and +1, DE measures how efficiently the bar moved in its dominant direction. A of +1 means the bar closed at its high (perfect bullish ). A value of -1 means the bar closed at its low (perfect bearish efficiency). Values near 0 indicate choppy, inefficient price action. DE is the most informative single-bar metric for assessing conviction. A series of bars with DE consistently above 0.5 indicates a strong, efficient trend.
> Range Ratio (RR) = R / (20). Normalizes the current range relative to recent volatility. RR above 2.0 indicates a volatility expansion (2× the recent average). RR below 0.5 indicates extreme contraction. RR is used to identify volatility cycles and to adjust position sizing. A RR of 3.0 or higher is a rare event that typically marks a significant structural change in the market.
> Bar Score (BS) = DE × RR × Volume / Volume_Avg. A metric that combines , volatility expansion, and relative volume . Bars with BS in the top 10% of the lookback period are high-conviction bars that warrant attention. The BS provides a single-number ranking system for identifying the most significant bars in a chart. A BS above 2.0 indicates an exceptional bar that deserves detailed analysis.
> Average Body (AB) = SMA(|C − O|, n). The n- of absolute body sizes. Used to identify unusually or small bodies relative to recent history. A body exceeding 2× AB indicates exceptionally strong conviction.
> Balance (WB) = (UW − LW) / R. A of asymmetry ranging from -1 to +1. Positive values mean the upper wick dominates (selling pressure rejection). Negative values mean the lower wick dominates (buying pressure rejection). Values near 0 indicate balanced wicks (indecision). WB provides a single-number summary of the bar’s rejection structure.
Anatomy
Construction Pipeline
The pipeline from raw market to rendered OHLC bars involves three distinct stages: > aggregation, > OHLC extraction, and <Em > rendering</Em >. Understanding this pipeline is for interpreting bar correctly, especially in real-time charting environments where bars are in various states of completion.
> Stage 1 — Aggregation:> The engine maintains a running of all within the current time interval. For charts, intervals are defined by calendar time (e.g., 1 minute, 5 minutes, 1 hour, 1 day). For -based intervals, the buffer collects a number of ticks (e.g., 500 ticks per bar). The aggregation process must handle partial intervals at the chart edges, where the current bar is still forming. During aggregation, the engine continuously updates the running high and low values as new ticks arrive, while the open remains fixed at the first tick of the interval. This distinction is critical — the open is set once and never changes, while the high, low, and close are until the interval ends.
> Stage 2 — OHLC Extraction:> At the interval boundary, the engine extracts: Open = first price, High = max tick price, Low = min tick price, Close = last tick price. For real-time charts, the forming bar continuously updates its high and low as new ticks arrive, and the close is always the most recent tick. The open is locked when the interval starts and never changes. The extraction process must handle edge cases: empty intervals (no ), intervals with only one tick (all four values equal), and intervals where the first or last tick is anomalous. The Quatick engine uses a configurable "min tick threshold" — if a bar has fewer than N ticks, it may be excluded or merged with the adjacent bar to prevent noise.
> Stage 3 — Rendering:> The draws the bar from high to low, then places the left at the open price and the tick at the close price. Bar color is determined by the open-close relationship: if C > O, the bar is bullish-colored; if C < O, bearish-colored. Some implementations add a third color for bars (O = C). The Quatick engine renders all bars in a single draw call using batched geometry for optimal performance, even with 10,000+ visible bars. The rendering order ensures that bars are drawn from oldest to newest, with newer bars overlaying older ones at the overlap boundaries. The engine also supports "gap rendering" — when a bar’s low is above the previous bar’s high (gap up) or its high is below the previous bar’s low (gap down), the gap region is rendered as empty space between the bars.
Visual Configuration
OHLC bars offer extensive customization that allow traders to tailor the to their specific analytical needs and personal preferences. The Quatick engine exposes each of these parameters through a unified configuration API that can be adjusted at with instant visual .
Interpretation Guide
Reading OHLC bars requires training your eye to process all four simultaneously. The relationship between the four ticks tells the story of the price action. Unlike candlesticks, where the body size dominates perception, OHLC bars require a more deliberate analytical approach that considers each independently and in relation to surrounding bars.
> Pattern 1 — Bullish Bar (O near Low, C near High):> The open is near the low of the bar and the close tick is near the high. This configuration indicates that buyers controlled the entire — they in at the open and consistently bid prices higher throughout the interval. The lack of a significant upper wick tells us that sellers did not successfully mount any counterattack at the highs. This is the strongest bullish bar structure and suggests that the next bar will continue higher, barring external news. The BRR (body-to-range ratio) will be near 1.0, confirming maximum conviction. In a sequence, consecutive bullish bars define a powerful uptrend. The implication for traders: this is a momentum bar that supports adding to long positions or initiating new longs.
> Pattern 2 — Bearish Bar (O near High, C near Low):> The open is near the high and the close tick is near the low. Sellers dominated from the opening bell and drove prices steadily lower throughout the . The absence of a significant lower wick indicates that buyers were unable to mount any meaningful defense at the lows. This is the strongest bearish bar structure, suggesting continued selling pressure into the next period. The implication for traders: this is a momentum bar that supports adding to short positions or initiating new shorts. Avoid buying into bearish bars — wait for selling pressure to exhaust.
> Pattern 3 — Open-Drive Bullish Bar (O near H, C near H):> The bar opens at or near its high and closes at or near its high after a brief intra- dip. This pattern — a bullish bar with a long lower wick — indicates that selling pressure early in the period was completely absorbed, and buying power reasserted itself to close near the highs. This is a "failed breakdown" pattern and is especially significant when it occurs at support levels. The open-near-high structure combined with a close-near-high tells a story of initial weakness that transformed into strength. This pattern often precedes strong upward moves as the absorbed selling pressure converts into buying fuel.
> Pattern 4 — Open-Drive Bearish Bar (O near L, C near L):> The bar opens at or near its low and closes at or near its low after a brief intra- rally. This pattern — a bearish bar with a long upper wick — indicates that buying pressure early in the period was completely absorbed, and selling power reasserted itself to close near the lows. This is a "failed rally" pattern and is especially significant at resistance levels. The open-near-low, close-near-low configuration signals that any intra-period buying was met with overwhelming selling. This pattern often precedes sharp declines.
> Pattern 5 — Inside Bar (Contraction):> An inside bar occurs when the current bar’s high is lower than the previous bar’s high and the current bar’s low is higher than the previous bar’s low — the current bar’s range is entirely contained within the prior bar’s range. This signals a in the current trend, a of indecision, and a coiling of energy. The market is consolidating before the next move. Inside bars are powerful because they identify where volatility has contracted, and the direction of the subsequent breakout is often the resumption of the prior trend. The narrower the inside bar relative to the parent bar, the more explosive the subsequent breakout tends to be. An inside bar with a range less than 40% of the parent bar is considered a "tight inside bar" and produces the most reliable breakouts.
> Pattern 6 — Outside Bar (Expansion):> An outside bar occurs when the current bar’s high exceeds the previous bar’s high AND the current bar’s low is below the previous bar’s low — the current bar completely engulfs the prior bar’s range. This signals a violent expansion of volatility and a potential shift in the balance of power. If the close is near the high of the outside bar, it is a bullish outside bar — buyers overwhelmed sellers and drove prices to new highs after initially pushing lower. If the close is near the low, it is a bearish outside bar — sellers overwhelmed buyers. Outside bars are high-energy events that often precede sustained moves. The ratio — the outside bar’s range divided by the prior bar’s range — quantifies the violence of the expansion. Ratios above 2.0 indicate extreme volatility events.
> Pattern 7 — Key Reversal Bar:> A key reversal bar (also called a "one-bar reversal" or "reversal bar") has two defining characteristics. For a bearish key reversal: price opens, rallies to a new high (above the prior bar’s high), then reverses to close below the prior bar’s close. For a bullish key reversal: price opens, sells off to a new low (below the prior bar’s low), then reverses to close above the prior bar’s close. The key reversal is one of the most reliable single-bar signals in technical analysis. It indicates that the prior trend has exhausted itself and a reversal is underway. The signal is strengthened when accompanied by above-average volume and when the reversal bar closes beyond the prior bar’s close by a significant margin (at least 50% of the prior bar’s range).
> Pattern 8 — Narrow Range Bar (NR4, NR7):> A narrow range bar has a smaller range than the three to seven preceding bars. NR4 means the current bar’s range is the smallest of the last four bars; NR7 means the smallest of the last seven. These patterns identify extreme volatility and often precede explosive breakouts. The direction of the breakout from the narrow range is often predictable by examining the close position within the narrow bar — a close near the high suggests an upside breakout; a close near the low suggests a downside break. The NR7 pattern is the most widely followed because a 7-bar lookback provides a statistically robust while remaining responsive to recent conditions. Research by Toby Crabel in "Day Trading with Short Term Price Patterns and Opening " demonstrates that NR7 patterns produce statistically significant breakouts.
> Pattern 9 — Wide Range Bar (WR):> The opposite of a narrow range bar — a bar with a range significantly larger than recent bars. Wide signal a sudden increase in conviction and volatility. In a trend, a wide range bar in the trend direction confirms strong momentum. A wide range bar that counters the prevailing trend (e.g., a wide range green bar in a downtrend) may signal the start of a reversal. Wide range bars at price extremes often climax — the final of energy before a reversal. The "range ratio" — current bar range divided by 20- ATR — quantifies the expansion. Values above 2.0 signify climax-level volatility. Values above 3.0 are extreme and almost always precede at least a short-term reversal.
> Pattern 10 — Gap Patterns:> A gap occurs when the current bar’s low is above the previous bar’s high (gap up) or the current bar’s high is below the previous bar’s low (gap down). Gaps are classified by their context: a <Em > breakaway gap</Em >> occurs at the start of a new trend, out of a consolidation range — these gaps typically do not fill quickly and signal strong momentum; a <Em > runaway gap</Em > (or measuring gap) occurs mid-trend and often signals trend — these gaps are also called "measuring gaps" because the distance from the breakaway gap to the runaway gap often projects the remaining trend distance; an <Em > exhaustion gap</Em >> occurs near the end of a trend and is often quickly — these gaps represent the final surge of momentum before reversal; a <Em > common gap</Em >> occurs within a trading range and is typically within a few periods — these gaps carry no analytical significance.
> Pattern 11 — Two-Bar Reversal:> A two-bar reversal pattern consists of a trend bar (wide range in the trend direction) followed immediately by a counter-trend bar that closes beyond the trend bar’s close. For a bearish two-bar reversal: a strong green bar (bullish) is followed by a red bar that closes below the green bar’s close. For a bullish two-bar reversal: a strong red bar (bearish) is followed by a green bar that closes above the red bar’s close. The two-bar reversal is more reliable than a single-bar key reversal because the second bar confirms the rejection of the prior trend’s momentum. The two-bar pattern essentially shows the market trying to continue the trend (first bar) and failing (second bar reversing that attempt).
> Pattern 12 — Close Position Series (Hanging Close / Spring Close):> Analyze the sequence of close ticks independent of the open and high/low. A series of closes making higher highs (each close above the prior close) is the strongest possible bullish signal — it means each ended higher than the last. Conversely, a series of closes making lower lows is the strongest bearish signal. When the close series diverges from the series (closes rising but ), the trend is narrowing and may be approaching exhaustion. This "close divergence" is a leading indicator of trend reversals that often precedes the actual price reversal by 1-3 bars.
> Pattern 13 — Double Rejection:> A bar with approximately equal upper and lower wicks, both longer than the body, indicates a fierce battle between buyers and sellers where neither side prevailed. This "bar " equivalent is a powerful indecision signal. When it appears after a sustained move, it warns of a potential reversal. When it appears in a consolidation range, it confirms the balance between supply and demand. The wider the range of the double-wick bar, the more significant the indecision.
> Pattern 14 — Climax Sequence:> A sequence of 2-3 bars where the wicks on one side get progressively longer while the close ticks get progressively weaker (closer to the opposite side). For example, in an uptrend: Bar 1 has a upper wick and closes near the high; Bar 2 has a medium upper wick and closes in the upper third; Bar 3 has a long upper wick and closes in the middle. This sequence shows that sellers are increasingly able to push price back from the highs, indicating that the uptrend is losing momentum. Enter counter-trend after Bar 3 with a stop beyond the sequence highs.
> Pattern 15 — Absorption Pattern:> A series of bars (3-5) with approximately the same high but declining closes shows that sellers are absorbing buying pressure at a resistance level. Each bar reaches the same high but closes lower, indicating that supply is overwhelming demand at that level. This pattern typically precedes a breakdown. Enter short when a bar closes below the cluster’s lows. The stop is above the cluster’s highs. This -inspired pattern is one of the most reliable topping formations in bar chart analysis.
> Pattern 16 — Spring Pattern:> A single bar that breaks below a support level but closes back above it (a bullish key reversal at support). In terminology, this is a "spring" — the final shakeout before a markup phase. The spring is one of the -probability bullish patterns in bar charting because it demonstrates that the market deliberately took out stops below support and immediately reversed, indicating that the support level is being defended by operators. Enter long after a spring with a stop below the spring bar’s low.
Trading Strategies
The following strategies have been developed and refined over decades of OHLC bar analysis. Each leverages specific bar patterns and principles discussed in the Interpretation Guide. All strategies should be backtested on the specific and timeframe being traded before implementation.
> 1 — Inside Bar Breakout:> Identify a inside bar that forms after a decisive trend bar. The inside bar should have a range that is entirely contained within the prior bar’s range. Enter long if the next bar breaks above the inside bar’s high; enter short if it breaks below the inside bar’s low. Place a at the opposite side of the inside bar (below the inside bar’s low for longs, above its high for shorts). Take profit at 1.5× to 2× the inside bar’s range, measured from the entry . This works best when the inside bar forms after a strong move — the (inside bar) is the market catching its breath before continuing in the trend direction. Avoid inside bars that form at the of a wedge or , as these are more likely to result in false breakouts. Add a volume : the breakout bar should have above-average volume to genuine .
> 2 — Outside Bar Reversal:> When a long-term trend (20+ bars) has been in place and an outside bar forms with a close against the trend direction, enter in the direction of the outside bar’s close. For example, in a prolonged downtrend, a bullish outside bar (wider range, close in upper half) signals a potential reversal. Enter long on a stop at the outside bar’s high. Place a below the outside bar’s low. The wide range of the outside bar provides a volatility stop. This captures major trend reversals but produces many false signals in ranging markets. To improve , only trade outside bar reversals that occur at well-established support or resistance levels, and require that the outside bar close beyond the prior bar’s close by at least 50% of the prior bar’s range.
> 3 — Key Reversal at Support/Resistance:> Combine key reversal bars with support and resistance levels for high-conviction entries. When price to a known support level and produces a bullish key reversal bar (new low then close above prior close), enter long with a stop below the reversal bar’s low. When price trades to a known resistance level and produces a bearish key reversal bar, enter short with a stop above the reversal bar’s high. The confluence of the reversal bar pattern with a structural level significantly increases the probability of success. Add volume confirmation — above-average volume on the reversal bar strengthens the signal. Win rates for this can reach 65-70% when confluence conditions are strict.
> 4 — NR7 Momentum Expansion:> Scan for NR7 bars — bars with the smallest range of the last seven bars. When an NR7 bar completes, place a buy stop at the NR7 bar’s high and a sell stop at the NR7 bar’s low. The first side to is the likely breakout direction. Enter in that direction with a stop at the opposite side of the NR7 bar. This exploits the volatility cycle: (NR7) is always followed by expansion. The strategy works across all timeframes and is particularly effective on 15-minute and 1-hour charts. Add a filter: only trade breakouts in the direction of the higher-timeframe trend. This filter eliminates approximately 40% of while improving by 15-20 .
> 5 — Gap Fade:> When a breakaway or exhaustion gap occurs, fade the gap if it forms at a structural level. For a gap up at resistance: enter short when the gap bar closes below its opening price (the gap has failed to hold). For a gap down at support: enter long when the gap bar closes above its opening price. The is beyond the gap bar’s extreme (above the high for shorts, below the low for longs). The target is a full gap fill — the price returning to the pre-gap level. This works because gaps at structural levels often represent emotional overreaction that corrects within 1-5 bars. Never fade runaway gaps in strong trends.
> 6 — Three-Bar Trend Continuation:> After a strong trend bar (wide range, BRR > 0.7), wait for a of 1-3 bars that retraces no more than 50% of the trend bar’s range. Enter when a bar closes back in the direction of the original trend, with the close exceeding the pullback bars' close ticks. This is the "flag" or "pennant" pattern interpreted through OHLC bar structure. The stop is below the pullback’s bar. The target is the height of the initial trend bar projected from the entry .
> 7 — Absorption Breakdown:> Identify a 3-5 bar absorption pattern at resistance (same highs, declining closes). Enter short when a bar closes below the close of the absorption cluster. Place a stop above the cluster’s highs. Target the next support level below. This captures breakouts from topping formations and is particularly effective at resistance levels that have been tested multiple times.
> 8 — Spring Reversal:> Identify a bullish key reversal bar at a well-established support level (a "spring" in terminology). Enter long on a stop at the spring bar’s high. Place a below the spring bar’s low. Add to the position if the next bar also closes in the upper half of its range. This captures the beginning of markup phases following Wyckoff accumulation. It is one of the -probability bullish patterns in bar charting.
Strengths & Advantages
- Complete representation: OHLC bars encode all four essential price without bias. Unlike candlesticks, which visually weight the open-close body over the wicks, OHLC bars present all four points with equal prominence. This reduces the visual on the open-close relationship and encourages a more holistic reading of activity.
- Clinical and unemotional: The stripped-down design of OHLC bars — thin lines and ticks — reduces emotional response to price action. There is no "fat green body" to feel good about or "red body" to fear. This makes OHLC bars the preferred chart type for systematic and algorithmic traders.
- Superior for overlay analysis: The thin profile of OHLC bars makes them ideal for overlay charts where multiple series are displayed in the same pane. OHLC bars can be drawn at 30-50% without becoming unreadable, allowing traders to overlay indicators, comparative symbols, or historical price tracks.
- Precise swing point identification: The high and low ticks of OHLC bars provide unambiguous levels for swing point identification. Since the high and low are explicit elements rather than implied by body shadows, traders can more accurately identify pivot .
- Historical significance: OHLC bars are the most extensively researched chart type in Western technical analysis. The pattern libraries, studies, and trading systems developed over 130+ years of bar chart use provide a wealth of quantitative research.
- Gap : The left and system makes gaps immediately obvious. When the open tick of the current bar is significantly above or below the previous bar’s high/low ticks, the gap is visually unmistakable.
- Mathematical transparency: The OHLC bar structure directly maps to the mathematical foundations of technical analysis. , , Keltner Channels, and range-based indicators are all calculated from the same that the bar displays.
- Universally supported: OHLC format is the standard for financial data feeds, API responses, and historical databases. Every trading platform, data vendor, and analytical tool supports OHLC data.
Limitations & Caveats
- Less intuitive for beginners: Unlike candlesticks, where the body size directly communicates open-close conviction, OHLC bars require conscious interpretation of four separate . New traders often struggle to read OHLC bars because the encoding is less intuitive.
- Reduced pattern recognition: Many patterns (doji, hammer, shooting star, engulfing) have no direct OHLC bar equivalent because they rely on body-wick relationships for identification.
- No emotional weighting: The equal weight of all four ticks can be a disadvantage in emotional market conditions. A 5% range bar where price closes near the high looks similar to a 0.5% range bar.
- Cluttered at sizes: OHLC bars require at least four distinct elements per bar. At very sizes, the ticks become indistinguishable from the bar.
- Overlapping ticks at compressed scales: When multiple bars are displayed at scales, the of one bar can visually merge with the left tick of the next bar.
- Real-time bar formation ambiguity: In real-time charting, the forming OHLC bar is continuously updating its high, low, and close. The open is , but the other three values change with every .
Comparison With Related Types
Understanding how OHLC bars differ from other bar and candle variants is essential for choosing the chart type for your analysis. Each variant represents a different trade-off between information density, clarity, and analytical focus.
Multi-Timeframe Analysis
OHLC bars are ideally suited for analysis because the relationship between bars on different timeframes reveals information about and market structure. The hierarchical nature of bars creates a framework for multi-timeframe analysis.
> Higher timeframe context — weekly/daily:> On weekly and daily OHLC charts, identify the dominant trend direction by examining the sequence of higher highs/lows or lower highs/lows. The weekly open and close ticks the market’s weekly consensus. A series of weekly bars with closes in the upper half of their ranges and ranges confirms a strong uptrend. These higher-timeframe bars provide the "direction bias" for all lower-timeframe trading decisions.
> Intermediate timeframe entry — 4-hour/hourly:> On the 4-hour or hourly OHLC chart, look for bar patterns that align with the daily trend direction. If the daily chart is in an uptrend, look for hourly inside bar breakouts or bullish key reversals in the direction of the daily trend. The hourly OHLC bars provide precise entry timing while the daily bars provide context.
> Low timeframe execution — 15-minute/5-minute:> On the timeframe, execute entries based on specific OHLC bar patterns that align with the higher-timeframe bias. The 15-minute open and close ticks provide the most granular view of intra-bar dynamics.
> Timeframe divergence signals:> When higher-timeframe OHLC bars show one bias but lower-timeframe bars begin making moves in the opposite direction, this divergence signals potential trend exhaustion. This is a powerful early system.
Advanced Techniques
These advanced techniques leverage the mathematical properties of OHLC bars for sophisticated market analysis beyond basic pattern recognition. They require a solid understanding of bar mathematics and should be practiced on historical before application.
> 1. Bar Range Analysis ( %B):> the position of the close within the range as a : %B = (C − L) / (H − L) × 100. Combine this with on the bar range itself. When %B exceeds 80 and the bar range is at the upper Bollinger Band, it identifies climax-level buying pressure. This technique provides robust overbought/oversold levels.
> 2. Exhaustion Divergence:> the left- (open) position with the -tick (close) position over a sequence of bars. When the open ticks continue to rise but the close ticks stop advancing, this "close exhaustion" divergence precedes trend reversals by 1-3 bars.
> 3. Volume-Weighted Bar Scoring:> Assign each OHLC bar a score: Score = Volume × [(C − O) × 0.3 + (C − L − (H − C)) × 0.2 + (H − L) × 0.5]. Bars in the top 5% are "signature bars" representing the most significant structural moves.
> 4. Multi-Bar Opening Drive Analysis:> Analyze the relationship between the first bar’s open and the sequence of subsequent bars. A confirmed opening drive indicates strong bias. A failed opening drive is an extremely reliable counter-trend signal.
> 5. -to-Body Ratio Reversals:> (UW + LW) / B. When the ratio exceeds 5:1, the bar has extreme rejection. These "high-rejection bars" are powerful reversal signals at trend extremes.
> 6. Bar-by-Bar Momentum Decay:> DE = (C − O) / (H − L) for each bar. When the 5-bar DE average diverges from price, the trend is losing internal conviction. This "internal divergence" precedes reversals by 3-7 bars.
Common Mistakes
Detailed Bar Pattern Reference
The following catalogues every major OHLC bar pattern, its defining characteristics, , and recommended trading response. Use this as a quick-reference guide when scanning charts.
Indicator Compatibility Matrix
Not all technical indicators perform optimally with OHLC bar . The following documents which indicators use which OHLC components and how configuration affects their behavior. Understanding these relationships is essential for building effective trading systems.
Timeframe-Specific Configuration
OHLC bar configuration should be optimized for the specific timeframe being traded. Parameters that work well on daily charts may produce poor on 1-minute charts due to differences in noise levels, density, and market .
Instrument-Specific Considerations
Different financial instruments exhibit different OHLC bar characteristics. Understanding these -specific behaviors is essential for accurate bar reading and effective development.
Statistical Properties & Performance Data
Understanding the properties of OHLC bar patterns can significantly improve trading performance. The following is synthesized from multiple academic studies and practical trading research. that vary by , timeframe, and market regime.
Psychological & Behavioral Aspects
OHLC bar reading is not purely mechanical — it involves significant psychological and behavioral factors that affect how traders interpret and act on bar patterns. Understanding these aspects can improve -making.
> Anchoring bias:> Traders tend to on the first bar they see in a sequence and judge all subsequent bars relative to it. This can cause misjudgment of trend changes — a mildly bearish bar may look alarming if the anchor bar was strongly bullish. Combat this by evaluating each bar independently and in the context of a moving reference (e.g., 20-bar SMA), not a anchor.
> Recency bias:> The most recent bars receive disproportionate attention. A single volatile bar at the edge of the chart can dominate perception, even though the preceding 19 bars show a , stable trend. Always to evaluate at least 20-50 bars before making a trading based on the most recent bar.
> Confirmation bias in bar selection:> When looking for patterns, traders unconsciously select bars that their existing bias and ignore contradictory bars. A bearish trader scanning for key reversals will find them; a bullish trader looking at the same chart will find reasons to dismiss them. Use systematic pattern scanning (e.g., the BarScore metric) to objectively identify significant bars rather than relying on scanning.
> Pattern-seeking in noise:> The human brain is wired to find patterns, even where none exist. In choppy, range-bound markets, random bar sequences will occasionally form patterns that look like inside bars, key reversals, or absorption structures. Before acting on a pattern, verify that the market regime supports pattern-based trading — trending markets produce reliable patterns; ranging markets produce illusions.
> Emotional response to bar size:> - stronger emotional responses (fear, greed) than small-range bars, even when the large bar contains no more information. A big green bar feels bullish and triggers FOMO; a big red bar feels scary and triggers panic. OHLC bars reduce this effect compared to candlesticks, but it still persists. The best defense is to size positions mechanically based on , not on the emotional impact of the most recent bar.
Technology & Rendering Details
Quatick Charts renders OHLC bars using a sophisticated multi-stage pipeline that balances quality with performance across different device capabilities and chart densities.
> Canvas2D Rendering:> For charts with fewer than 5,000 visible bars, the Canvas2D draws each bar individually using standard primitives. Bars are batched by color to minimize state changes. Anti-aliasing is applied via sub-pixel rendering. This supports all configuration and provides the visual quality.
> Rendering:> For charts with 5,000-100,000+ visible bars, the pre-computes bar geometry into vertex buffers and draws all bars in a single draw call. Each bar is represented as two triangles (for the ) plus two line segments (for the ticks). The shader applies color, , and in the GPU. This supports 60fps rendering even with 100,000 bars visible.
> :> The engine uses delta encoding for OHLC , storing only the differences between consecutive bars rather than absolute values. This reduces memory usage by approximately 60% for typical financial datasets. A year of 1-minute OHLC data (~250,000 bars) requires approximately 8MB of memory in compressed format.
> Real-time update :> During real-time charting, only the forming bar’s geometry is updated on each . The engine maintains a separate "active bar" that is re-rendered independently from the completed bar buffer. This ensures that tick-by-tick updates affect only the rightmost bar, keeping CPU usage . The update rate is capped at 60fps regardless of tick frequency.
> Gap detection:> The rasterizer automatically detects gaps between bars by comparing the current bar’s low with the previous bar’s high (for gap-ups) and the current bar’s high with the previous bar’s low (for gap-downs). When a gap is detected, the inserts empty space between the bars equal to the gap distance. The gap fill color option this space with a configurable color or gradient.
Data Requirements & Quality
OHLC bar charts require high-quality for accurate construction. The quality of the input data directly affects the of bar patterns and derived signals.
API Configuration Reference
The Quatick Charts API provides extensive configuration for OHLC bars. The following reference documents every configurable parameter, its type, default , and behavior.
Common Mistakes & Pitfalls
Even experienced traders misinterpret OHLC bars. The following documents the most common errors, their causes, and measures. Avoiding these will significantly improve bar reading accuracy.
Advanced Bar Mathematics
Quatick Charts computes several derived from raw OHLC that provide deeper insight into market structure. These metrics are computed automatically and can be displayed as secondary studies or used in conditional formatting rules.
Multi-Timeframe Bar Analysis
analysis (MTFA) with OHLC bars requires understanding how bar structures translate across timeframes. A daily bar pattern may not be visible on 1-hour bars, and vice versa. Effective MTFA uses higher timeframes for direction and lower timeframes for entry.
> Higher timeframe (HTF) context:> Start with the weekly or daily chart to determine the primary trend direction. Identify key support/resistance levels on the HTF. A bar pattern on the HTF (e.g., a key reversal at HTF resistance) carries more weight than any LTF pattern. Trade in the direction of the HTF trend and use HTF bar patterns as confirmation, not contrary signals.
> Lower timeframe (LTF) entry:> Once the HTF direction is established, drop to a lower timeframe for precise entry. Use the LTF to identify favorable risk-reward entry that align with the HTF trend. For example, if the daily chart shows a bullish trend with HL consolidation, wait for an LTF (15-minute) bullish key reversal or inside bar breakout to enter long.
> Timeframe alignment:> The strongest setups occur when multiple timeframes align. A buy signal is most reliable when: (1) the weekly bar is bullish, (2) the daily bar is at support with a bullish key reversal, (3) the 60-minute bar shows a BRR > 0.8 bullish bar. Misaligned timeframes (e.g., daily bullish but weekly bearish) require position size reduction or a pass.
> Bar structure translation:> A single daily bar with a long upper wick may appear as several lower-timeframe bars showing a rejection sequence. Conversely, a multi-bar pattern on 5-minute charts (like a ) collapses into a single wide-ranging daily bar. Understanding how patterns translate across timeframes is a core skill for MTFA practitioners.
Backtesting Methodology
strategies based on OHLC bar patterns requires careful methodology to avoid , survivorship bias, and overfitting. The following guidelines describe the recommended approach for robust backtesting in Quatick Charts.
> Bar complete signal:> A signal based on a completed bar should at the open of the next bar. Never assume you can trade at the close of the signal bar — by the time the bar closes, the price has already moved. Quatick Charts supports both "" and "bar open" signal timing modes.
> :> Divide the historical into training and testing periods. parameters (e.g., BRR threshold, multiplier for stops) on the training and test on out-of-sample data. Repeat this process across multiple windows. A that performs consistently across all windows is more likely to be robust.
> :> Randomly the entry and exit sequences of your backtested to generate a of possible outcomes. If your ’s actual performance is above the 95th percentile of the simulated distribution, it is statistically significant. This test filters out strategies that are simply lucky in their sequence of trades.
> Transaction costs and slippage:> Always include realistic transaction costs in backtests. Bar pattern strategies often generate frequent signals (especially on intraday timeframes), and transaction costs can eliminate apparent profitability. Use a minimum slippage of 1 for liquid markets and 2-3 ticks for less liquid instruments.
> Common backtest :> Avoid optimizing parameters on recent and testing on older data (reverse walk-forward). Avoid using information in signal generation (e.g., using the current bar’s close in a signal that should at the open). Avoid selecting instruments that fit the after seeing the — this is unconscious data mining. Use a universe, not an optimized one.
Market Regime Detection via Bar Analysis
OHLC bar characteristics change systematically across different market regimes. Learning to identify the current regime from bar structure alone is a powerful skill that informs selection and position sizing.
Conditional Formatting Rules
Quatick Charts supports conditional formatting rules that dynamically change bar appearance based on OHLC-derived . These rules help traders rapidly identify significant bars without manual scanning.
Volume-Weighted Bar Analysis
Volume adds a critical dimension to OHLC bar analysis. Price without volume tells only half the story — the same bar pattern can mean opposite things depending on the .
> High-volume bullish bars:> A bullish bar with volume > 2× the 20-bar average indicates institutional buying. This is the most reliable bullish signal in bar charting. High volume confirms that the is not random noise but has the of capital. When high volume combines with a bullish close in the top 20% of the range, the probability of continuation is above 70%.
> Low-volume bullish bars:> A bullish bar on low volume is suspect. It may indicate a lack of selling pressure rather than genuine buying interest. Such bars are common in pre-market or during lunch-hour lulls. They do not provide reliable signals and should be ignored unless confirmed by subsequent high-volume activity.
> High-volume bearish bars:> The mirror of the above. High-volume bearish bars indicate institutional . When combined with a close in the bottom 20% of the range, the probability of continued selling is above 70%. These bars are particularly significant at resistance levels or after rallies.
> Volume climax bars:> A bar with volume > 3× the 20-bar average at the end of a trend is often a climax bar. These bars typically have long wicks (rejection of the move) and a close near the middle of the range. Climax bars frequently trend exhaustion and precede reversals. The Quatick engine automatically identifies climax bars using the CPR metric combined with volume analysis.
> Volume divergence:> When price makes a new high on a bullish bar but volume is declining relative to prior bars, it signals weakening conviction. This divergence is a leading indication of trend exhaustion. Similarly, a new low on declining volume suggests selling pressure is drying up. Volume divergence is one of the most reliable leading indicators available in bar chart analysis.
Keyboard Shortcuts & UI Controls
Quatick Charts provides keyboard shortcuts and UI controls specifically optimized for OHLC bar analysis. These controls enable rapid pattern scanning, timeframe switching, and configuration changes without interrupting the .
Accessibility & Themability
OHLC bar charts in Quatick are designed with accessibility as a core requirement. The visualization supports multiple themes, color-blind friendly palettes, and screen reader compatibility for bar .
> Color-blind safe :> When enabled, bullish and bearish bar colors are distinguished by pattern (upward ticks on bullish, downward ticks on bearish) in addition to color. The default color-blind palette uses blue (#2962FF) for bullish and orange (#FF6D00) for bearish, which is distinguishable by the most common forms of color blindness (deuteranopia, protanopia, and tritanopia).
> High contrast :> Increases the stroke of all bar elements by 50% and uses maximum contrast colors. Bullish bars are rendered in white on dark backgrounds and black on light backgrounds. This is WCAG AAA compliant for of chart .
> Screen reader :> Each bar exposes its full OHLC as an accessible data in a virtual . Screen readers can navigate bars left-to- and read O, H, L, C, V, and derived . The chart also provides an alternative data table view that renders all visible bar data in a standard HTML table format.
> system:> Bar colors adapt to the active (light, dark, sepia, terminal). In dark , bullish bars use a slightly brighter green (#4ade80) to maintain contrast against the dark . In sepia mode, bar colors are softened to blend with the warm background tones. The terminal theme uses monochrome green-on-black with increased length for readability.
Combining OHLC Bars with Other Chart Types
OHLC bars can be combined with other visualizations within the same chart for comparative analysis. Quatick Charts supports several overlay and combination modes that merge OHLC bars with alternative representations.
Internationalization & Locale Support
OHLC bar display conventions vary across global markets. Quatick Charts supports locale-specific configurations that adapt bar to regional standards.
> Japanese markets:> Use red for bullish (up) and green for bearish (down), reflecting the Japanese convention. marks are displayed as circles rather than lines. The close tick is emphasized with a slightly larger circle. Weekly bars are to the Japanese trading week (Monday-Sunday in local time).
> European markets:> Default green/red convention applies. Price is displayed with European number formatting (comma as decimal separator). Trading sessions are defined by local exchange hours. Multiple support for pan-European instruments.
> Chinese markets:> Use red for bullish (up) and green for bearish (down), matching the Chinese convention. The open and close ticks are rendered as dots rather than lines. Bars during the lunch break (11:30-13:00 local time) can optionally be split or merged.
> Islamic markets:> Support for Islamic trading calendars and holiday schedules. Price aligns with local and exchange hours. No convention differences, but the calendar integration respects local trading holidays.
Performance Optimization Guide
Working with OHLC datasets requires attention to performance. The following guidelines describe how to Quatick Charts for different sizes and device capabilities.
Error States & Edge Cases
OHLC bar charts can encounter various error states and edge cases that affect their appearance and interpretation. Understanding these scenarios is for both developers and traders.
Bar Pattern Trading Strategies
The following strategies combine OHLC bar patterns into complete trading systems. Each includes entry rules, placement, take profit targets, and performance characteristics. These strategies are provided as educational frameworks — they should be thoroughly backtested and adapted before use.
> 1: NR7 Breakout Momentum.> Scan for NR7 bars in the direction of the 20- SMA. Enter long when the bar after NR7 closes above NR7 high. Enter short when the bar after NR7 closes below NR7 low. : 1.5× (14) from entry. Take profit: 3× ATR(14) or at 2× ATR. This works best on 1-hour and 4-hour charts in trending markets. : 55-60%. Average R:R: 1.8:1. Avoid in choppy, low-volatility regimes.
> 2: Key Reversal at S/R.> Identify key support/resistance levels from swing on the daily chart. Enter long when a bullish key reversal bar forms with L at a daily support level. Enter short when a bearish key reversal bar forms with H at a daily resistance level. Confirmation: volume > 1.5× average on the reversal bar. : below the key reversal bar low (long) or above the bar high (short). Take profit: next major S/R level. : 60-70%. Average R:R: 2.5:1. This is one of the -probability setups available.
> 3: Absorption Breakdown.> Identify 3-5 bars with the same H (absorption at resistance) or same L (absorption at support). Enter short when a bar closes below the of the absorption cluster. Enter long when a bar closes above the highest high of the cluster. : above/below the absorption boundary by 1× . Take profit: 2× ATR minimum, or at absorption boundary. : 60-70%. Best on daily and weekly charts of index ETFs.
> 4: Gap Continuation.> Enter in the direction of a breakaway gap (gap with volume > 2× average, occurring at a consolidation breakout). Do not fade breakaway gaps — they represent genuine institutional activity. : below the gap midpoint. Take profit: target = gap high + ( × 2) for upside gaps, or gap low − (gap size × 2) for downside gaps. : 65-75%. Average R:R: 2:1. This has one of the expectancy values in bar chart trading.
> 5: BRR Mean Reversion.> In range-bound markets (ADX < 25), scan for bars with BRR > 0.85 and CPR > 0.9 (extreme). These bars represent emotional extremes within the range. Enter counter-trend when the next bar opens — long after an extreme bearish bar, short after an extreme bullish bar. : at the extreme bar’s opposite end. Take profit: at the middle of the range. : 55-60%. Average R:R: 1.5:1. Only use in confirmed range-bound markets.
Data Export & Interoperability
OHLC bar and derived can be exported from Quatick Charts in multiple formats for use in external analysis tools, engines, and reporting systems.
Troubleshooting Guide
Common issues encountered when working with OHLC bar charts in Quatick, along with their causes and solutions.
References & Further Reading
- 1.Technical Analysis of Stock Trends — Robert D. Edwards & John Magee
- 2.Technical Analysis of Financial Markets — John J. Murphy
- 3.The Wyckoff Methodology in Depth — Rubén Villahermosa
- 4.Encyclopedia of Chart Patterns — Thomas N. Bulkowski
- 5.Studies in Stock Spectulation — Richard Wyckoff
- 6.Stock Charts ChartSchool — Bar Charts — StockCharts.com
- 7.The Evolution of Technical Analysis — Andrew W. Lo & Jasmina Hasanhodzic
- 8.Evidence-Based Technical Analysis — David Aronson
Native Quatick implementation and live demos
The charts below are the real Quatick engine (@quatick/quatick-charts), the same code the trading terminal runs, fed by a deterministic simulated market. Switch between demos, press Run market to stream ticks, to pan and use the wheel to zoom. Show code exactly the calls each makes.
How the engine draws OHLC bars
| Stage | What happens |
|---|---|
| in | bars |
| → chart.update() | |
| Visible index range (binary search) | |
| Price → y, time → x | |
| Up / down classification | |
| Step 4 | Body / geometry |
| Canvas 2D ( when enabled) | |
| Layers | Volume · Last- · & tooltips |
| updates | O(1) per : only the forming bar is recomputed |
How data reaches the screen
Minimal implementation
The first above, as standalone code:
import { Chart } from '@quatick/quatick-charts';
const chart = new Chart({
container: document.getElementById('chart')!,
chartType: 'bars',
theme: 'dark',
renderer: 'canvas',
showVolume: true,
});
const series = chart.addSeries({ type: 'candlestick' });
chart.setData(series.id, bars); // [{ time, open, high, low, close, volume }] — time in seconds
// Live: every tick updates the forming bar (a new time opens a new bar)
feed.onTick(bar => chart.update(series.id, bar));Quatick settings reference
Loading the settings list…
Related articles
Related to OHLC Bars
- Candlestick
Charts / Chart Types / Candle Charts
The most widely used chart type in financial markets, candlestick charts encode four-dimensional OHLC data into a visually rich body-and-wick format that…
- Columns
Charts / Chart Types / Bar Charts
A histogram-style chart type that represents each period as a single vertical column proportional to the close-minus-open difference or volume. Columns…
- High-Low
Charts / Chart Types / Bar Charts
The simplest bar variant — a vertical line connecting the period high and low with no open or close ticks. High-low charts reduce price action to its purest…
- HLC Bar
Charts / Chart Types / Bar Charts
A simplified three-tick bar variant showing only High, Low, and Close. By removing the open tick, HLC bars produce a cleaner, less cluttered chart that many…
- Candle Tooltip
Charts / Drawing Tools / Cursors
Hover-activated data readout showing OHLC(IV) values for any bar, with cross-pane sync and multi-timeframe alignment.
- Absorption & Iceberg Map
Charts / Chart Types / Volume Charts
Hidden liquidity made visible: levels where more traded than the book showed, and levels that absorbed heavy flow without breaking.
- Area Chart
Charts / Chart Types / Area Charts
An extension of the line chart that fills the region between the price line and a baseline with a gradient or solid color, providing visual weight to price…
- Baseline
Charts / Chart Types / Area Charts
A variant of the area chart that uses dual-colored fills — green above the baseline, red below — providing an immediate visual assessment of relative…
- Chart Types Overview
Charts / Chart Types
A comprehensive reference to every chart type available in Quatick Charts — from the foundational candlestick to advanced orderflow and speciality…