Chart Geometry Is an Illusion

Wait 5 sec.

Chart Geometry Is an IllusionConsus Enerji Isletmeciligi ve Hizmetleri A.S.BIST:CONSEata_sabanciThe Coordinate System Problem: Why Chart Geometry Is an Illusion This article documents a fundamental geometric challenge discovered during the development of this indicator's cycloid curve engine, and the solution that emerged from it. The Discovery This indicator draws mathematically precise cycloid curves on a price chart. Each maxima candle defines concentric circles whose radii are derived from the candle's OHLC structure. As these circles roll without slipping along a normalized baseline, fixed points on their circumference trace cycloid paths — curves that must obey strict parametric equations. During development, a critical problem appeared: the curves were visually warping. The parametric math was verified and correct. The cycloid equations produced accurate normalized coordinates. But the moment those coordinates were projected onto a standard price chart, the geometry distorted. The root cause turned out to be something that affects every single geometric measurement on every financial chart — not just this indicator. The Problem: Two Incompatible Axes A financial chart has a Y-axis measured in price (dollars, euros, etc.) and an X-axis measured in time (bars). These are fundamentally different units. There is no defined geometric relationship between "one dollar" and "one bar." This means that any angle, slope, or shape drawn on a raw chart is not a true geometric property of the data — it is an artifact of the current window size and zoom level. A simple test demonstrates this clearly: Consider an EMA 25 crossing EMA 50 on any chart. The crossover point — the bar and price where the two lines meet — is a mathematical fact. It does not change regardless of how the chart is displayed. However, the angle at which the two EMAs cross changes every time the chart is zoomed or resized. Zoom in and the cross appears as a steep scissor. Zoom out and the same cross looks like a gentle touch. Stretch the window horizontally and the angle changes again. The crossover point is real. The angle is not. It was never a property of the market — it was a property of the display window. This applies to every trendline angle, every triangle shape, every wedge, every channel, every Fibonacci fan, and every Gann angle ever observed on a raw chart. The positions (price levels, crossover bars) are real. The visual geometry around them is an illusion that changes with every resize. The Mathematical Foundation Under Geometric Brownian Motion, the standard deviation of logarithmic returns scales with the square root of time. This relationship provides a non-arbitrary conversion factor between the two axes: One bar of time is equivalent to one unit of per-bar volatility in log-price space. The conversion is computed using the Yang-Zhang volatility estimator, which uses all four OHLC prices plus overnight gaps to produce a statistically efficient measure of per-bar volatility. This estimator was chosen specifically because it captures the full information content of each bar, unlike simpler estimators that use only close-to-close returns. When the Y-axis is converted from raw price to log-price divided by this per-bar volatility, both axes measure the same thing. The grid cells become perfect squares. Angles become true Euclidean angles that do not change with zoom. Distances become meaningful. Shapes become invariant geometric properties of the data. How This Indicator Uses It The cycloid curve engine operates entirely in normalized coordinate space: Each maxima candle's High-Low range is converted to a normalized diameter by dividing the log-price range by the per-bar volatility. This diameter defines the outer rolling circle. The upper and lower wick lengths define two inner concentric circles. All three circles share the same center — the geometric midpoint of the candle in normalized space. The cycloid parametric equations then generate curves in this normalized space, where the geometry is true Euclidean. The final step converts back to price space for chart display using the inverse exponential transform. Because the curves are computed in normalized space, all geometric properties — the arc heights, the trough positions, the curvature, the spacing between concentric traces — reflect the actual statistical structure of the price data, not the arbitrary aspect ratio of the chart window. The dashboard displays the per-bar volatility value, all reference price levels derived from the cycloid geometry, and support/resistance detection based on the normalized coordinate framework. What This Means for Traders The reference levels generated by this indicator (apex and trough prices for each concentric circle) are derived from true geometric relationships in normalized space. Unlike manually drawn trendlines or visually estimated angles, these levels do not depend on how the chart is zoomed or stretched. The support and resistance detection scans all cycloid reference levels across all detected maxima candles and identifies the nearest level above and below the current price. These levels are geometric facts of the normalized data, not visual estimates. Settings Overview The Yang-Zhang lookback period controls the smoothness of the volatility estimate used for normalization. Larger values produce more stable geometric calibration. The cycloid display toggles control which of the three concentric traces are visible: the outer circle trace (full candle range), the upper pin trace (upper wick), and the lower pin trace (lower wick). Reference lines can be enabled to show horizontal levels at each cycloid apex and trough, extending across the chart. The dashboard provides real-time data for all computed levels, volume decomposition, and the current support/resistance status.