Why Elliptic? Unlike traditional indicators (e.g., Bollinger Bands with constant standard deviation multiples), the elliptic model introduces a cyclical, non-linear variation in band width. This reflects the idea that price movements often follow rhythmic patterns, widening and narrowing in a predictable yet dynamic way, akin to natural market cycles.
Buy: When the price enters from below (green triangle). Sell: When the price enters from above (red triangle).
Inputs MA Length: 50 (This is the period for the central Simple Moving Average (SMA).) Cycle Period: 50 (This is the elliptic cycle length.) Volatility Multiplier: 2.0 (This value scales the band width.)
Mathematical Foundation The indicator is based on the ellipse equation. The basic formula is:
a: Set to 1 (normalized). x: Varies from -1 to 1 over the period. b: Calculated as: ta.stdev(close, MA Length) * Volatility Multiplier (This represents the standard deviation of the close prices over the MA period, scaled by the volatility multiplier.) y (offset): Represents the band distance from the moving average, forming the elliptic cycle.
Behavior Bands: The bands are narrow at the cycle edges (when the offset is 0) and become widest at the midpoint (when the offset equals b).
Trend: The central moving average (MA) shows the overall trend direction, while the bands adjust according to the volatility.
Signals: Standard buy and sell signals are generated when the price interacts with the bands.
Practical Use Trend Identification: If the price is above the MA, it indicates an uptrend; if below, a downtrend.
Support and Resistance: The elliptic bands act as dynamic support and resistance levels. Narrowing bands may signal potential trend reversals. Breakouts:
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.