lightweight-charts-indicators 0.12.1 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -3
- package/dist/index.cjs +69672 -65701
- package/dist/index.d.ts +47 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +70364 -66302
- package/dist/standard/24-hour-volume.d.ts +63 -0
- package/dist/standard/24-hour-volume.d.ts.map +1 -0
- package/dist/standard/accumulation-distribution.d.ts +36 -0
- package/dist/standard/accumulation-distribution.d.ts.map +1 -0
- package/dist/standard/adr-bars.d.ts +41 -0
- package/dist/standard/adr-bars.d.ts.map +1 -0
- package/dist/standard/auto-fib-extension.d.ts +74 -0
- package/dist/standard/auto-fib-extension.d.ts.map +1 -0
- package/dist/standard/auto-fib-retracement.d.ts +77 -0
- package/dist/standard/auto-fib-retracement.d.ts.map +1 -0
- package/dist/standard/auto-pitchfork.d.ts +75 -0
- package/dist/standard/auto-pitchfork.d.ts.map +1 -0
- package/dist/standard/chandelier.d.ts +42 -0
- package/dist/standard/chandelier.d.ts.map +1 -0
- package/dist/standard/correlation-coefficient.d.ts +50 -0
- package/dist/standard/correlation-coefficient.d.ts.map +1 -0
- package/dist/standard/gaps.d.ts +67 -0
- package/dist/standard/gaps.d.ts.map +1 -0
- package/dist/standard/kama.d.ts +44 -0
- package/dist/standard/kama.d.ts.map +1 -0
- package/dist/standard/linreg-channel.d.ts +65 -0
- package/dist/standard/linreg-channel.d.ts.map +1 -0
- package/dist/standard/multi-time-period-charts.d.ts +63 -0
- package/dist/standard/multi-time-period-charts.d.ts.map +1 -0
- package/dist/standard/performance.d.ts +80 -0
- package/dist/standard/performance.d.ts.map +1 -0
- package/dist/standard/pivot-points-high-low.d.ts +57 -0
- package/dist/standard/pivot-points-high-low.d.ts.map +1 -0
- package/dist/standard/pivot-points-standard.d.ts +103 -0
- package/dist/standard/pivot-points-standard.d.ts.map +1 -0
- package/dist/standard/pmo.d.ts +46 -0
- package/dist/standard/pmo.d.ts.map +1 -0
- package/dist/standard/rob-booker-ziv-ghost-pivots.d.ts +61 -0
- package/dist/standard/rob-booker-ziv-ghost-pivots.d.ts.map +1 -0
- package/dist/standard/rsi-divergence-indicator.d.ts +68 -0
- package/dist/standard/rsi-divergence-indicator.d.ts.map +1 -0
- package/dist/standard/seasonality.d.ts +85 -0
- package/dist/standard/seasonality.d.ts.map +1 -0
- package/dist/standard/smi.d.ts +50 -0
- package/dist/standard/smi.d.ts.map +1 -0
- package/dist/standard/technicals.d.ts +105 -0
- package/dist/standard/technicals.d.ts.map +1 -0
- package/dist/standard/trading-sessions.d.ts +65 -0
- package/dist/standard/trading-sessions.d.ts.map +1 -0
- package/dist/standard/visible-average-price.d.ts +48 -0
- package/dist/standard/visible-average-price.d.ts.map +1 -0
- package/package.json +2 -2
- package/dist/standard/rma.d.ts +0 -33
- package/dist/standard/rma.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**[Live Demo](https://deepentropy.github.io/lightweight-charts-indicators/)**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1713 technical analysis indicators for the lightweight-charts library — 117 standard indicators, 1551 community indicators, and 45 candlestick patterns. PineScript v6 compatible with full drawing primitive support (lines, boxes, labels, tables).
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -217,7 +217,7 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
|
|
|
217
217
|
});
|
|
218
218
|
```
|
|
219
219
|
|
|
220
|
-
## Available Indicators (1,
|
|
220
|
+
## Available Indicators (1,713)
|
|
221
221
|
|
|
222
222
|
### Moving Averages
|
|
223
223
|
|
|
@@ -226,7 +226,6 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
|
|
|
226
226
|
| Simple Moving Average | `SMA` | Arithmetic mean over a specified period |
|
|
227
227
|
| Exponential Moving Average | `EMA` | Weighted average giving more weight to recent prices |
|
|
228
228
|
| Weighted Moving Average | `WMA` | Linearly increasing weights |
|
|
229
|
-
| Smoothed Moving Average (RMA) | `RMA` | Wilder smoothing (alpha = 1/length) |
|
|
230
229
|
| Double EMA | `DEMA` | Reduces lag by applying EMA twice |
|
|
231
230
|
| Triple EMA | `TEMA` | Further reduces lag with triple exponential smoothing |
|
|
232
231
|
| Hull Moving Average | `HMA` | Reduces lag while maintaining smoothness |
|
|
@@ -238,6 +237,8 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
|
|
|
238
237
|
| MA Cross | `MACross` | Two moving averages for crossover signals |
|
|
239
238
|
| Moving Average Ribbon | `MARibbon` | Multiple MAs showing trend direction and momentum |
|
|
240
239
|
| Zero Lag LSMA | `ZLSMA` | Double linreg to cancel LSMA lag |
|
|
240
|
+
| Kaufman's Adaptive Moving Average | `KaufmansAdaptiveMovingAverage` | Moving average whose speed follows the efficiency ratio of the price |
|
|
241
|
+
| Visible Average Price | `VisibleAveragePrice` | Average price of the bars visible on the chart |
|
|
241
242
|
|
|
242
243
|
### Oscillators
|
|
243
244
|
|
|
@@ -268,6 +269,10 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
|
|
|
268
269
|
| WaveTrend | `WaveTrend` | Channel index oscillator with cross signals |
|
|
269
270
|
| Forecast Oscillator | `ForecastOscillator` | Percentage deviation from linear regression |
|
|
270
271
|
| Schaff Trend Cycle | `SchaffTrendCycle` | Double stochastic smoothing of MACD |
|
|
272
|
+
| Correlation Coefficient | `CorrelationCoefficient` | Correlation between the chart symbol and another symbol |
|
|
273
|
+
| RSI Divergence Indicator | `RsiDivergenceIndicator` | RSI with regular and hidden divergence lines and labels |
|
|
274
|
+
| Stochastic Momentum Index | `StochasticMomentumIndexStandard` | Close relative to the midpoint of the high-low range, double smoothed |
|
|
275
|
+
| Technical Ratings | `TechnicalRatingsStandard` | Buy and sell rating from moving averages and oscillators |
|
|
271
276
|
|
|
272
277
|
### Momentum
|
|
273
278
|
|
|
@@ -287,6 +292,10 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
|
|
|
287
292
|
| MACD 4C | `MACD4C` | MACD histogram with 4-color coding |
|
|
288
293
|
| Squeeze Momentum | `SqueezeMomentum` | BB/KC squeeze with momentum oscillator |
|
|
289
294
|
| Impulse MACD | `ImpulseMACD` | ZLEMA vs SMMA channel impulse |
|
|
295
|
+
| Advance/Decline Ratio (Bars) | `AdvanceDeclineRatioBars` | Ratio of up bars to down bars over a lookback period |
|
|
296
|
+
| Performance | `Performance` | Table of price changes over several periods for a list of symbols |
|
|
297
|
+
| Price Momentum Oscillator | `PriceMomentumOscillatorStandard` | Double-smoothed rate of change with a signal line |
|
|
298
|
+
| Seasonality | `Seasonality` | Monthly price changes per year in a heatmap table, with averages |
|
|
290
299
|
|
|
291
300
|
### Trend
|
|
292
301
|
|
|
@@ -312,6 +321,13 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
|
|
|
312
321
|
| Coral Trend | `CoralTrend` | Cascaded EMA filter for smooth trend detection |
|
|
313
322
|
| Chandelier Exit | `ChandelierExit` | ATR-based trailing stop system |
|
|
314
323
|
| Donchian Trend Ribbon | `DonchianTrendRibbon` | Multi-layer Donchian breakout composite score |
|
|
324
|
+
| Auto Fib Extension | `AutoFibExtension` | Fibonacci extension levels drawn from the last three pivots |
|
|
325
|
+
| Auto Fib Retracement | `AutoFibRetracement` | Fibonacci retracement levels drawn on the last zigzag leg |
|
|
326
|
+
| Auto Pitchfork | `AutoPitchfork` | Andrews pitchfork drawn from the last three zigzag pivots |
|
|
327
|
+
| Chandelier Exit | `ChandelierExitStandard` | ATR trailing stops from the highest high and lowest low |
|
|
328
|
+
| Multi-Time Period Charts | `MultiTimePeriodCharts` | Higher-timeframe candles drawn as boxes on the chart |
|
|
329
|
+
| Pivot Points High Low | `PivotPointsHighLow` | Labels on pivot highs and pivot lows |
|
|
330
|
+
| Rob Booker - Ziv Ghost Pivots | `RobBookerZivGhostPivots` | Typical prices of the current 4-hour, day, week and month periods |
|
|
315
331
|
|
|
316
332
|
### Volatility
|
|
317
333
|
|
|
@@ -323,6 +339,8 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
|
|
|
323
339
|
| Historical Volatility | `HistoricalVolatility` | Annualized standard deviation of log returns |
|
|
324
340
|
| Bollinger BandWidth | `BBBandWidth` | Width of Bollinger Bands as percentage |
|
|
325
341
|
| Bollinger Bars | `BollingerBars` | Colored candles based on BB position |
|
|
342
|
+
| Gaps | `Gaps` | Boxes on price gaps until they are closed |
|
|
343
|
+
| Trading Sessions | `TradingSessions` | Ranges and averages of the Asian, London and New York sessions |
|
|
326
344
|
|
|
327
345
|
### Channels & Bands
|
|
328
346
|
|
|
@@ -333,6 +351,8 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
|
|
|
333
351
|
| Donchian Channels | `DonchianChannels` | Highest high and lowest low over period |
|
|
334
352
|
| Envelope | `Envelope` | Moving average with fixed percentage bands |
|
|
335
353
|
| Median | `Median` | Median price with ATR bands |
|
|
354
|
+
| Linear Regression Channel | `LinearRegressionChannelStandard` | Linear regression line with deviation bands on the last bars |
|
|
355
|
+
| Pivot Points Standard | `PivotPointsStandard` | Pivot levels of higher-timeframe periods (Traditional, Fibonacci, Woodie, Classic, DM, Camarilla) |
|
|
336
356
|
|
|
337
357
|
### Volume
|
|
338
358
|
|
|
@@ -352,6 +372,8 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
|
|
|
352
372
|
| Relative Volume at Time | `RelativeVolumeAtTime` | Current volume vs historical average |
|
|
353
373
|
| Colored Volume Bars | `ColoredVolume` | Volume colored by price/volume trend |
|
|
354
374
|
| OBV MACD | `OBVMACD` | MACD applied to On Balance Volume |
|
|
375
|
+
| 24-hour Volume | `TwentyFourHourVolume` | Sum of the traded value of the last 24 hours, from lower-timeframe bars |
|
|
376
|
+
| Accumulation/Distribution | `AccumulationDistribution` | Cumulative volume weighted by the close location inside the bar range |
|
|
355
377
|
|
|
356
378
|
### Community Indicators (1,551)
|
|
357
379
|
|