lightweight-charts-indicators 0.1.0 → 0.2.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 +60 -2
- package/dist/abandoned-baby-bearish.d.ts +21 -0
- package/dist/abandoned-baby-bearish.d.ts.map +1 -0
- package/dist/abandoned-baby-bullish.d.ts +21 -0
- package/dist/abandoned-baby-bullish.d.ts.map +1 -0
- package/dist/bb-percent-b.d.ts.map +1 -1
- package/dist/bollinger-bars.d.ts +31 -0
- package/dist/bollinger-bars.d.ts.map +1 -0
- package/dist/bop.d.ts +1 -1
- package/dist/bop.d.ts.map +1 -1
- package/dist/candlestick-helpers.d.ts +30 -0
- package/dist/candlestick-helpers.d.ts.map +1 -0
- package/dist/candlestick-pattern.d.ts +29 -0
- package/dist/candlestick-pattern.d.ts.map +1 -0
- package/dist/chop-zone.d.ts +30 -0
- package/dist/chop-zone.d.ts.map +1 -0
- package/dist/connors-rsi.d.ts +33 -0
- package/dist/connors-rsi.d.ts.map +1 -0
- package/dist/cumulative-volume-delta.d.ts +38 -0
- package/dist/cumulative-volume-delta.d.ts.map +1 -0
- package/dist/dark-cloud-cover.d.ts +21 -0
- package/dist/dark-cloud-cover.d.ts.map +1 -0
- package/dist/doji-star-bearish.d.ts +21 -0
- package/dist/doji-star-bearish.d.ts.map +1 -0
- package/dist/doji-star-bullish.d.ts +21 -0
- package/dist/doji-star-bullish.d.ts.map +1 -0
- package/dist/doji.d.ts +21 -0
- package/dist/doji.d.ts.map +1 -0
- package/dist/downside-tasuki-gap.d.ts +21 -0
- package/dist/downside-tasuki-gap.d.ts.map +1 -0
- package/dist/dragonfly-doji.d.ts +21 -0
- package/dist/dragonfly-doji.d.ts.map +1 -0
- package/dist/engulfing-bearish.d.ts +21 -0
- package/dist/engulfing-bearish.d.ts.map +1 -0
- package/dist/engulfing-bullish.d.ts +21 -0
- package/dist/engulfing-bullish.d.ts.map +1 -0
- package/dist/evening-doji-star.d.ts +21 -0
- package/dist/evening-doji-star.d.ts.map +1 -0
- package/dist/evening-star.d.ts +21 -0
- package/dist/evening-star.d.ts.map +1 -0
- package/dist/falling-three-methods.d.ts +21 -0
- package/dist/falling-three-methods.d.ts.map +1 -0
- package/dist/falling-window.d.ts +21 -0
- package/dist/falling-window.d.ts.map +1 -0
- package/dist/gravestone-doji.d.ts +21 -0
- package/dist/gravestone-doji.d.ts.map +1 -0
- package/dist/hammer.d.ts +22 -0
- package/dist/hammer.d.ts.map +1 -0
- package/dist/hanging-man.d.ts +21 -0
- package/dist/hanging-man.d.ts.map +1 -0
- package/dist/harami-bearish.d.ts +21 -0
- package/dist/harami-bearish.d.ts.map +1 -0
- package/dist/harami-bullish.d.ts +21 -0
- package/dist/harami-bullish.d.ts.map +1 -0
- package/dist/harami-cross-bearish.d.ts +21 -0
- package/dist/harami-cross-bearish.d.ts.map +1 -0
- package/dist/harami-cross-bullish.d.ts +21 -0
- package/dist/harami-cross-bullish.d.ts.map +1 -0
- package/dist/index.cjs +2661 -233
- package/dist/index.d.ts +85 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +2688 -254
- package/dist/inverted-hammer.d.ts +21 -0
- package/dist/inverted-hammer.d.ts.map +1 -0
- package/dist/kicking-bearish.d.ts +21 -0
- package/dist/kicking-bearish.d.ts.map +1 -0
- package/dist/kicking-bullish.d.ts +21 -0
- package/dist/kicking-bullish.d.ts.map +1 -0
- package/dist/kst.d.ts +39 -0
- package/dist/kst.d.ts.map +1 -0
- package/dist/long-lower-shadow.d.ts +21 -0
- package/dist/long-lower-shadow.d.ts.map +1 -0
- package/dist/long-upper-shadow.d.ts +21 -0
- package/dist/long-upper-shadow.d.ts.map +1 -0
- package/dist/marubozu-black.d.ts +21 -0
- package/dist/marubozu-black.d.ts.map +1 -0
- package/dist/marubozu-white.d.ts +21 -0
- package/dist/marubozu-white.d.ts.map +1 -0
- package/dist/moon-phases.d.ts +31 -0
- package/dist/moon-phases.d.ts.map +1 -0
- package/dist/morning-doji-star.d.ts +21 -0
- package/dist/morning-doji-star.d.ts.map +1 -0
- package/dist/morning-star.d.ts +21 -0
- package/dist/morning-star.d.ts.map +1 -0
- package/dist/net-volume.d.ts +36 -0
- package/dist/net-volume.d.ts.map +1 -0
- package/dist/obv.d.ts +1 -1
- package/dist/obv.d.ts.map +1 -1
- package/dist/on-neck.d.ts +21 -0
- package/dist/on-neck.d.ts.map +1 -0
- package/dist/piercing.d.ts +21 -0
- package/dist/piercing.d.ts.map +1 -0
- package/dist/pvt.d.ts +1 -1
- package/dist/pvt.d.ts.map +1 -1
- package/dist/rank-correlation-index.d.ts +36 -0
- package/dist/rank-correlation-index.d.ts.map +1 -0
- package/dist/rci-ribbon.d.ts +41 -0
- package/dist/rci-ribbon.d.ts.map +1 -0
- package/dist/relative-volatility-index.d.ts +36 -0
- package/dist/relative-volatility-index.d.ts.map +1 -0
- package/dist/relative-volume-at-time.d.ts +41 -0
- package/dist/relative-volume-at-time.d.ts.map +1 -0
- package/dist/rising-three-methods.d.ts +21 -0
- package/dist/rising-three-methods.d.ts.map +1 -0
- package/dist/rising-window.d.ts +21 -0
- package/dist/rising-window.d.ts.map +1 -0
- package/dist/shooting-star.d.ts +22 -0
- package/dist/shooting-star.d.ts.map +1 -0
- package/dist/spinning-top-black.d.ts +21 -0
- package/dist/spinning-top-black.d.ts.map +1 -0
- package/dist/spinning-top-white.d.ts +21 -0
- package/dist/spinning-top-white.d.ts.map +1 -0
- package/dist/three-black-crows.d.ts +21 -0
- package/dist/three-black-crows.d.ts.map +1 -0
- package/dist/three-white-soldiers.d.ts +21 -0
- package/dist/three-white-soldiers.d.ts.map +1 -0
- package/dist/trend-strength.d.ts.map +1 -1
- package/dist/tri-star-bearish.d.ts +21 -0
- package/dist/tri-star-bearish.d.ts.map +1 -0
- package/dist/tri-star-bullish.d.ts +21 -0
- package/dist/tri-star-bullish.d.ts.map +1 -0
- package/dist/twap.d.ts +30 -0
- package/dist/twap.d.ts.map +1 -0
- package/dist/tweezer-bottom.d.ts +21 -0
- package/dist/tweezer-bottom.d.ts.map +1 -0
- package/dist/tweezer-top.d.ts +21 -0
- package/dist/tweezer-top.d.ts.map +1 -0
- package/dist/upside-tasuki-gap.d.ts +21 -0
- package/dist/upside-tasuki-gap.d.ts.map +1 -0
- package/dist/volume-delta.d.ts +37 -0
- package/dist/volume-delta.d.ts.map +1 -0
- package/dist/vortex.d.ts.map +1 -1
- package/dist/williams-alligator.d.ts.map +1 -1
- package/dist/williams-fractals.d.ts +31 -0
- package/dist/williams-fractals.d.ts.map +1 -0
- package/package.json +8 -4
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
|
+
129 technical analysis indicators for TradingView's lightweight-charts library, including 44 candlestick patterns. PineScript v6 compatible and validated against TradingView's built-in indicators.
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -107,7 +107,7 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
|
|
|
107
107
|
});
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
-
## Available Indicators (
|
|
110
|
+
## Available Indicators (129)
|
|
111
111
|
|
|
112
112
|
### Moving Averages
|
|
113
113
|
|
|
@@ -148,6 +148,10 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
|
|
|
148
148
|
| Bollinger Bands %B | `BBPercentB` | Price position relative to BB (0=lower, 1=upper) |
|
|
149
149
|
| Fisher Transform | `FisherTransform` | Gaussian distribution for clearer turning points |
|
|
150
150
|
| Ultimate Oscillator | `UltimateOscillator` | Multi-timeframe weighted momentum |
|
|
151
|
+
| Rank Correlation Index | `RCI` | Correlation between price rank and time rank |
|
|
152
|
+
| RCI Ribbon | `RCIRibbon` | Multiple RCI lines for trend visualization |
|
|
153
|
+
| Relative Volatility Index | `RelativeVolatilityIndex` | Volatility-based oscillator |
|
|
154
|
+
| Chop Zone | `ChopZone` | Colored zone indicator for market choppiness |
|
|
151
155
|
|
|
152
156
|
### Momentum
|
|
153
157
|
|
|
@@ -162,6 +166,8 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
|
|
|
162
166
|
| Price Oscillator (PPO) | `PriceOscillator` | MACD as percentage for comparison |
|
|
163
167
|
| Coppock Curve | `CoppockCurve` | Long-term momentum using ROC and WMA |
|
|
164
168
|
| TRIX | `TRIX` | Triple EMA rate of change, filters noise |
|
|
169
|
+
| Connors RSI | `ConnorsRSI` | Composite of RSI, streak, and percentile rank |
|
|
170
|
+
| KST | `KST` | Know Sure Thing - weighted ROC sum |
|
|
165
171
|
|
|
166
172
|
### Trend
|
|
167
173
|
|
|
@@ -181,6 +187,9 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
|
|
|
181
187
|
| Zig Zag | `ZigZag` | Connects pivot highs and lows |
|
|
182
188
|
| Trend Strength Index | `TrendStrengthIndex` | Trend strength based on directional movement |
|
|
183
189
|
| Chande Kroll Stop | `ChandeKrollStop` | ATR-based trailing stop system |
|
|
190
|
+
| Williams Fractals | `WilliamsFractals` | Identifies reversal points in price |
|
|
191
|
+
| Moon Phases | `MoonPhases` | New and full moon markers |
|
|
192
|
+
| TWAP | `TWAP` | Time-weighted average price |
|
|
184
193
|
|
|
185
194
|
### Volatility
|
|
186
195
|
|
|
@@ -191,6 +200,7 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
|
|
|
191
200
|
| Standard Deviation | `StandardDeviation` | Measures price volatility |
|
|
192
201
|
| Historical Volatility | `HistoricalVolatility` | Annualized standard deviation of log returns |
|
|
193
202
|
| Bollinger BandWidth | `BBBandWidth` | Width of Bollinger Bands as percentage |
|
|
203
|
+
| Bollinger Bars | `BollingerBars` | Colored candles based on BB position |
|
|
194
204
|
|
|
195
205
|
### Channels & Bands
|
|
196
206
|
|
|
@@ -214,6 +224,54 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
|
|
|
214
224
|
| Chaikin Oscillator | `ChaikinOscillator` | Momentum of Accumulation/Distribution line |
|
|
215
225
|
| Ease of Movement | `EaseOfMovement` | Price change relative to volume |
|
|
216
226
|
| Klinger Oscillator | `KlingerOscillator` | Volume-based long-term money flow |
|
|
227
|
+
| Net Volume | `NetVolume` | Difference between up and down volume |
|
|
228
|
+
| Volume Delta | `VolumeDelta` | Difference between buying and selling volume |
|
|
229
|
+
| Cumulative Volume Delta | `CumulativeVolumeDelta` | Running total of volume delta |
|
|
230
|
+
| Relative Volume at Time | `RelativeVolumeAtTime` | Current volume vs historical average |
|
|
231
|
+
|
|
232
|
+
### Candlestick Patterns (44)
|
|
233
|
+
|
|
234
|
+
All 44 patterns from TradingView's standard candlestick pattern library, rendered as chart markers.
|
|
235
|
+
|
|
236
|
+
| Pattern | Signal | Candles |
|
|
237
|
+
|---------|--------|---------|
|
|
238
|
+
| Abandoned Baby | Bullish / Bearish | 3 |
|
|
239
|
+
| Dark Cloud Cover | Bearish | 2 |
|
|
240
|
+
| Doji | Neutral | 1 |
|
|
241
|
+
| Doji Star | Bullish / Bearish | 2 |
|
|
242
|
+
| Downside Tasuki Gap | Bearish | 3 |
|
|
243
|
+
| Dragonfly Doji | Bullish | 1 |
|
|
244
|
+
| Engulfing | Bullish / Bearish | 2 |
|
|
245
|
+
| Evening Doji Star | Bearish | 3 |
|
|
246
|
+
| Evening Star | Bearish | 3 |
|
|
247
|
+
| Falling Three Methods | Bearish | 5 |
|
|
248
|
+
| Falling Window | Bearish | 2 |
|
|
249
|
+
| Gravestone Doji | Bearish | 1 |
|
|
250
|
+
| Hammer | Bullish | 1 |
|
|
251
|
+
| Hanging Man | Bearish | 1 |
|
|
252
|
+
| Harami | Bullish / Bearish | 2 |
|
|
253
|
+
| Harami Cross | Bullish / Bearish | 2 |
|
|
254
|
+
| Inverted Hammer | Bullish | 1 |
|
|
255
|
+
| Kicking | Bullish / Bearish | 2 |
|
|
256
|
+
| Long Lower Shadow | Bullish | 1 |
|
|
257
|
+
| Long Upper Shadow | Bearish | 1 |
|
|
258
|
+
| Marubozu Black | Bearish | 1 |
|
|
259
|
+
| Marubozu White | Bullish | 1 |
|
|
260
|
+
| Morning Doji Star | Bullish | 3 |
|
|
261
|
+
| Morning Star | Bullish | 3 |
|
|
262
|
+
| On Neck | Bearish | 2 |
|
|
263
|
+
| Piercing | Bullish | 2 |
|
|
264
|
+
| Rising Three Methods | Bullish | 5 |
|
|
265
|
+
| Rising Window | Bullish | 2 |
|
|
266
|
+
| Shooting Star | Bearish | 1 |
|
|
267
|
+
| Spinning Top Black | Neutral | 1 |
|
|
268
|
+
| Spinning Top White | Neutral | 1 |
|
|
269
|
+
| Three Black Crows | Bearish | 3 |
|
|
270
|
+
| Three White Soldiers | Bullish | 3 |
|
|
271
|
+
| Tri-Star | Bullish / Bearish | 3 |
|
|
272
|
+
| Tweezer Bottom | Bullish | 2 |
|
|
273
|
+
| Tweezer Top | Bearish | 2 |
|
|
274
|
+
| Upside Tasuki Gap | Bullish | 3 |
|
|
217
275
|
|
|
218
276
|
## Output Format
|
|
219
277
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const AbandonedBabyBearish: {
|
|
2
|
+
calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
3
|
+
markers: import(".").MarkerData[];
|
|
4
|
+
};
|
|
5
|
+
metadata: {
|
|
6
|
+
title: string;
|
|
7
|
+
shortTitle: string;
|
|
8
|
+
overlay: true;
|
|
9
|
+
};
|
|
10
|
+
defaultInputs: Record<string, unknown>;
|
|
11
|
+
inputConfig: import("oakscriptjs").InputConfig[];
|
|
12
|
+
plotConfig: import("oakscriptjs").PlotConfig[];
|
|
13
|
+
};
|
|
14
|
+
export declare const calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
15
|
+
markers: import(".").MarkerData[];
|
|
16
|
+
}, metadata: {
|
|
17
|
+
title: string;
|
|
18
|
+
shortTitle: string;
|
|
19
|
+
overlay: true;
|
|
20
|
+
}, defaultInputs: Record<string, unknown>, inputConfig: import("oakscriptjs").InputConfig[], plotConfig: import("oakscriptjs").PlotConfig[];
|
|
21
|
+
//# sourceMappingURL=abandoned-baby-bearish.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abandoned-baby-bearish.d.ts","sourceRoot":"","sources":["../src/abandoned-baby-bearish.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;CAI/B,CAAC;AACH,eAAO,MAAQ,SAAS;;GAAE,QAAQ;;;;GAAE,aAAa,2BAAE,WAAW,uCAAE,UAAU,oCAAyB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const AbandonedBabyBullish: {
|
|
2
|
+
calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
3
|
+
markers: import(".").MarkerData[];
|
|
4
|
+
};
|
|
5
|
+
metadata: {
|
|
6
|
+
title: string;
|
|
7
|
+
shortTitle: string;
|
|
8
|
+
overlay: true;
|
|
9
|
+
};
|
|
10
|
+
defaultInputs: Record<string, unknown>;
|
|
11
|
+
inputConfig: import("oakscriptjs").InputConfig[];
|
|
12
|
+
plotConfig: import("oakscriptjs").PlotConfig[];
|
|
13
|
+
};
|
|
14
|
+
export declare const calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
15
|
+
markers: import(".").MarkerData[];
|
|
16
|
+
}, metadata: {
|
|
17
|
+
title: string;
|
|
18
|
+
shortTitle: string;
|
|
19
|
+
overlay: true;
|
|
20
|
+
}, defaultInputs: Record<string, unknown>, inputConfig: import("oakscriptjs").InputConfig[], plotConfig: import("oakscriptjs").PlotConfig[];
|
|
21
|
+
//# sourceMappingURL=abandoned-baby-bullish.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abandoned-baby-bullish.d.ts","sourceRoot":"","sources":["../src/abandoned-baby-bullish.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;CAI/B,CAAC;AACH,eAAO,MAAQ,SAAS;;GAAE,QAAQ;;;;GAAE,aAAa,2BAAE,WAAW,uCAAE,UAAU,oCAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bb-percent-b.d.ts","sourceRoot":"","sources":["../src/bb-percent-b.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAuB,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,GAAG,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAEtI,MAAM,WAAW,gBAAgB;IAC/B,oBAAoB;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB;IACnB,GAAG,EAAE,UAAU,CAAC;IAChB,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,aAAa,EAAE,gBAI3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAAW,EAIpC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,EAElC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,MAAM,GAAE,OAAO,CAAC,gBAAgB,CAAM,GAAG,eAAe,
|
|
1
|
+
{"version":3,"file":"bb-percent-b.d.ts","sourceRoot":"","sources":["../src/bb-percent-b.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAuB,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,GAAG,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAEtI,MAAM,WAAW,gBAAgB;IAC/B,oBAAoB;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB;IACnB,GAAG,EAAE,UAAU,CAAC;IAChB,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,aAAa,EAAE,gBAI3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAAW,EAIpC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,EAElC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,MAAM,GAAE,OAAO,CAAC,gBAAgB,CAAM,GAAG,eAAe,CA0C9F;AAED,eAAO,MAAM,UAAU;;;;;;;;;;CAMtB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bollinger Bars Indicator
|
|
3
|
+
*
|
|
4
|
+
* Visual candle indicator with two plotcandle layers:
|
|
5
|
+
* 1. Wicks: (high, high, low, low) - colored outline
|
|
6
|
+
* 2. Body: (open, high, low, close) - standard candle body
|
|
7
|
+
*/
|
|
8
|
+
import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
|
|
9
|
+
export interface BollingerBarsInputs {
|
|
10
|
+
}
|
|
11
|
+
export declare const defaultInputs: BollingerBarsInputs;
|
|
12
|
+
export declare const inputConfig: InputConfig[];
|
|
13
|
+
export declare const plotConfig: PlotConfig[];
|
|
14
|
+
export declare const metadata: {
|
|
15
|
+
title: string;
|
|
16
|
+
shortTitle: string;
|
|
17
|
+
overlay: boolean;
|
|
18
|
+
};
|
|
19
|
+
export declare function calculate(bars: Bar[], _inputs?: Partial<BollingerBarsInputs>): IndicatorResult;
|
|
20
|
+
export declare const BollingerBars: {
|
|
21
|
+
calculate: typeof calculate;
|
|
22
|
+
metadata: {
|
|
23
|
+
title: string;
|
|
24
|
+
shortTitle: string;
|
|
25
|
+
overlay: boolean;
|
|
26
|
+
};
|
|
27
|
+
defaultInputs: BollingerBarsInputs;
|
|
28
|
+
inputConfig: InputConfig[];
|
|
29
|
+
plotConfig: PlotConfig[];
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=bollinger-bars.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bollinger-bars.d.ts","sourceRoot":"","sources":["../src/bollinger-bars.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAEhG,MAAM,WAAW,mBAAmB;CAEnC;AAED,eAAO,MAAM,aAAa,EAAE,mBAAwB,CAAC;AAErD,eAAO,MAAM,WAAW,EAAE,WAAW,EAAO,CAAC;AAE7C,eAAO,MAAM,UAAU,EAAE,UAAU,EAWlC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,OAAO,GAAE,OAAO,CAAC,mBAAmB,CAAM,GAAG,eAAe,CA0BlG;AAED,eAAO,MAAM,aAAa;;;;;;;;;;CAAkE,CAAC"}
|
package/dist/bop.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare const metadata: {
|
|
|
39
39
|
* @param inputs - Indicator parameters (optional, none for BOP)
|
|
40
40
|
* @returns Indicator result with plot data
|
|
41
41
|
*/
|
|
42
|
-
export declare function calculate(bars: Bar[],
|
|
42
|
+
export declare function calculate(bars: Bar[], _inputs?: Partial<BOPInputs>): IndicatorResult;
|
|
43
43
|
/**
|
|
44
44
|
* BOP indicator module
|
|
45
45
|
*/
|
package/dist/bop.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bop.d.ts","sourceRoot":"","sources":["../src/bop.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAU,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAExG;;GAEG;AACH,MAAM,WAAW,SAAS;CAEzB;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,SAAc,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,WAAW,EAAO,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,UAAU,EAElC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"bop.d.ts","sourceRoot":"","sources":["../src/bop.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAU,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAExG;;GAEG;AACH,MAAM,WAAW,SAAS;CAEzB;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,SAAc,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,WAAW,EAAO,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,UAAU,EAElC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,OAAO,GAAE,OAAO,CAAC,SAAS,CAAM,GAAG,eAAe,CA0BxF;AAED;;GAEG;AACH,eAAO,MAAM,GAAG;;;;;;;;;;CAMf,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared candlestick pattern helper computations.
|
|
3
|
+
* Ports all PineScript helper variables from TradingView's "All Candlestick Patterns" indicator.
|
|
4
|
+
*/
|
|
5
|
+
import type { Bar } from 'oakscriptjs';
|
|
6
|
+
export declare const C_Factor = 2;
|
|
7
|
+
export interface CandleContext {
|
|
8
|
+
bodyHi: number[];
|
|
9
|
+
bodyLo: number[];
|
|
10
|
+
body: number[];
|
|
11
|
+
bodyAvg: number[];
|
|
12
|
+
smallBody: boolean[];
|
|
13
|
+
longBody: boolean[];
|
|
14
|
+
upShadow: number[];
|
|
15
|
+
dnShadow: number[];
|
|
16
|
+
hasUpShadow: boolean[];
|
|
17
|
+
hasDnShadow: boolean[];
|
|
18
|
+
whiteBody: boolean[];
|
|
19
|
+
blackBody: boolean[];
|
|
20
|
+
range: number[];
|
|
21
|
+
bodyMiddle: number[];
|
|
22
|
+
hl2: number[];
|
|
23
|
+
isDojiBody: boolean[];
|
|
24
|
+
shadowEquals: boolean[];
|
|
25
|
+
doji: boolean[];
|
|
26
|
+
upTrend: boolean[];
|
|
27
|
+
downTrend: boolean[];
|
|
28
|
+
}
|
|
29
|
+
export declare function computeCandles(bars: Bar[]): CandleContext;
|
|
30
|
+
//# sourceMappingURL=candlestick-helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"candlestick-helpers.d.ts","sourceRoot":"","sources":["../src/candlestick-helpers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAOvC,eAAO,MAAM,QAAQ,IAAM,CAAC;AAE5B,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,EAAE,OAAO,EAAE,CAAC;IACrB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,EAAE,OAAO,EAAE,CAAC;IACvB,WAAW,EAAE,OAAO,EAAE,CAAC;IACvB,SAAS,EAAE,OAAO,EAAE,CAAC;IACrB,SAAS,EAAE,OAAO,EAAE,CAAC;IACrB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,UAAU,EAAE,OAAO,EAAE,CAAC;IACtB,YAAY,EAAE,OAAO,EAAE,CAAC;IACxB,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,SAAS,EAAE,OAAO,EAAE,CAAC;CACtB;AAuBD,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,aAAa,CAsDzD"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Factory for creating candlestick pattern indicators.
|
|
3
|
+
* Each pattern is a thin config that plugs into this shared structure.
|
|
4
|
+
*/
|
|
5
|
+
import type { Bar, IndicatorResult, InputConfig, PlotConfig } from 'oakscriptjs';
|
|
6
|
+
import type { MarkerData } from './index';
|
|
7
|
+
import { type CandleContext } from './candlestick-helpers';
|
|
8
|
+
export interface PatternConfig {
|
|
9
|
+
name: string;
|
|
10
|
+
shortName: string;
|
|
11
|
+
label: string;
|
|
12
|
+
signal: 'bullish' | 'bearish' | 'neutral';
|
|
13
|
+
startIndex: number;
|
|
14
|
+
detect: (i: number, c: CandleContext, bars: Bar[]) => boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare function createPattern(config: PatternConfig): {
|
|
17
|
+
calculate: (bars: Bar[]) => IndicatorResult & {
|
|
18
|
+
markers: MarkerData[];
|
|
19
|
+
};
|
|
20
|
+
metadata: {
|
|
21
|
+
title: string;
|
|
22
|
+
shortTitle: string;
|
|
23
|
+
overlay: true;
|
|
24
|
+
};
|
|
25
|
+
defaultInputs: Record<string, unknown>;
|
|
26
|
+
inputConfig: InputConfig[];
|
|
27
|
+
plotConfig: PlotConfig[];
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=candlestick-pattern.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"candlestick-pattern.d.ts","sourceRoot":"","sources":["../src/candlestick-pattern.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,eAAe,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAkB,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3E,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC;CAC/D;AAID,wBAAgB,aAAa,CAAC,MAAM,EAAE,aAAa;sBAMxB,GAAG,EAAE,KAAG,eAAe,GAAG;QAAE,OAAO,EAAE,UAAU,EAAE,CAAA;KAAE;;;;;;;;;EAsB7E"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chop Zone Indicator
|
|
3
|
+
*
|
|
4
|
+
* Uses EMA angle to determine trending vs choppy market conditions.
|
|
5
|
+
* Output is a constant 1 (column plot) with color based on the EMA angle.
|
|
6
|
+
*/
|
|
7
|
+
import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
|
|
8
|
+
export interface ChopZoneInputs {
|
|
9
|
+
}
|
|
10
|
+
export declare const defaultInputs: ChopZoneInputs;
|
|
11
|
+
export declare const inputConfig: InputConfig[];
|
|
12
|
+
export declare const plotConfig: PlotConfig[];
|
|
13
|
+
export declare const metadata: {
|
|
14
|
+
title: string;
|
|
15
|
+
shortTitle: string;
|
|
16
|
+
overlay: boolean;
|
|
17
|
+
};
|
|
18
|
+
export declare function calculate(bars: Bar[], _inputs?: Partial<ChopZoneInputs>): IndicatorResult;
|
|
19
|
+
export declare const ChopZone: {
|
|
20
|
+
calculate: typeof calculate;
|
|
21
|
+
metadata: {
|
|
22
|
+
title: string;
|
|
23
|
+
shortTitle: string;
|
|
24
|
+
overlay: boolean;
|
|
25
|
+
};
|
|
26
|
+
defaultInputs: ChopZoneInputs;
|
|
27
|
+
inputConfig: InputConfig[];
|
|
28
|
+
plotConfig: PlotConfig[];
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=chop-zone.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chop-zone.d.ts","sourceRoot":"","sources":["../src/chop-zone.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAEhG,MAAM,WAAW,cAAc;CAE9B;AAED,eAAO,MAAM,aAAa,EAAE,cAAmB,CAAC;AAEhD,eAAO,MAAM,WAAW,EAAE,WAAW,EAAO,CAAC;AAE7C,eAAO,MAAM,UAAU,EAAE,UAAU,EAElC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,OAAO,GAAE,OAAO,CAAC,cAAc,CAAM,GAAG,eAAe,CAW7F;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;CAAkE,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connors RSI Indicator
|
|
3
|
+
*
|
|
4
|
+
* Composite momentum oscillator combining RSI, streak RSI, and percent rank of ROC.
|
|
5
|
+
* CRSI = avg(RSI(close,3), RSI(updown(close),2), percentrank(ROC(close,1),100))
|
|
6
|
+
*/
|
|
7
|
+
import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
|
|
8
|
+
export interface ConnorsRSIInputs {
|
|
9
|
+
lenrsi: number;
|
|
10
|
+
lenupdown: number;
|
|
11
|
+
lenroc: number;
|
|
12
|
+
}
|
|
13
|
+
export declare const defaultInputs: ConnorsRSIInputs;
|
|
14
|
+
export declare const inputConfig: InputConfig[];
|
|
15
|
+
export declare const plotConfig: PlotConfig[];
|
|
16
|
+
export declare const metadata: {
|
|
17
|
+
title: string;
|
|
18
|
+
shortTitle: string;
|
|
19
|
+
overlay: boolean;
|
|
20
|
+
};
|
|
21
|
+
export declare function calculate(bars: Bar[], inputs?: Partial<ConnorsRSIInputs>): IndicatorResult;
|
|
22
|
+
export declare const ConnorsRSI: {
|
|
23
|
+
calculate: typeof calculate;
|
|
24
|
+
metadata: {
|
|
25
|
+
title: string;
|
|
26
|
+
shortTitle: string;
|
|
27
|
+
overlay: boolean;
|
|
28
|
+
};
|
|
29
|
+
defaultInputs: ConnorsRSIInputs;
|
|
30
|
+
inputConfig: InputConfig[];
|
|
31
|
+
plotConfig: PlotConfig[];
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=connors-rsi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connors-rsi.d.ts","sourceRoot":"","sources":["../src/connors-rsi.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAE5G,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,aAAa,EAAE,gBAI3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAAW,EAIpC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,EAElC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,MAAM,GAAE,OAAO,CAAC,gBAAgB,CAAM,GAAG,eAAe,CA0C9F;AAED,eAAO,MAAM,UAAU;;;;;;;;;;CAAkE,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cumulative Volume Delta (CVD) Indicator
|
|
3
|
+
*
|
|
4
|
+
* Tracks cumulative volume delta within anchor periods (daily, weekly, etc.).
|
|
5
|
+
* Approximates up/down volume by comparing close to open price.
|
|
6
|
+
* Resets at each anchor period boundary.
|
|
7
|
+
*
|
|
8
|
+
* Note: TradingView's version uses intrabar data for more precise calculation.
|
|
9
|
+
* This implementation uses close vs open as an approximation.
|
|
10
|
+
*
|
|
11
|
+
* Based on TradingView's Cumulative Volume Delta indicator.
|
|
12
|
+
*/
|
|
13
|
+
import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
|
|
14
|
+
export interface CumulativeVolumeDeltaInputs {
|
|
15
|
+
/** Anchor timeframe for period boundaries */
|
|
16
|
+
anchorTimeframe: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const defaultInputs: CumulativeVolumeDeltaInputs;
|
|
19
|
+
export declare const inputConfig: InputConfig[];
|
|
20
|
+
export declare const plotConfig: PlotConfig[];
|
|
21
|
+
export declare const metadata: {
|
|
22
|
+
title: string;
|
|
23
|
+
shortTitle: string;
|
|
24
|
+
overlay: boolean;
|
|
25
|
+
};
|
|
26
|
+
export declare function calculate(bars: Bar[], inputs?: Partial<CumulativeVolumeDeltaInputs>): IndicatorResult;
|
|
27
|
+
export declare const CumulativeVolumeDelta: {
|
|
28
|
+
calculate: typeof calculate;
|
|
29
|
+
metadata: {
|
|
30
|
+
title: string;
|
|
31
|
+
shortTitle: string;
|
|
32
|
+
overlay: boolean;
|
|
33
|
+
};
|
|
34
|
+
defaultInputs: CumulativeVolumeDeltaInputs;
|
|
35
|
+
inputConfig: InputConfig[];
|
|
36
|
+
plotConfig: PlotConfig[];
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=cumulative-volume-delta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cumulative-volume-delta.d.ts","sourceRoot":"","sources":["../src/cumulative-volume-delta.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAEhG,MAAM,WAAW,2BAA2B;IAC1C,6CAA6C;IAC7C,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,aAAa,EAAE,2BAE3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAAW,EAEpC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,EAKlC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAiCF,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,MAAM,GAAE,OAAO,CAAC,2BAA2B,CAAM,GAAG,eAAe,CA6FzG;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;CAMjC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const DarkCloudCover: {
|
|
2
|
+
calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
3
|
+
markers: import(".").MarkerData[];
|
|
4
|
+
};
|
|
5
|
+
metadata: {
|
|
6
|
+
title: string;
|
|
7
|
+
shortTitle: string;
|
|
8
|
+
overlay: true;
|
|
9
|
+
};
|
|
10
|
+
defaultInputs: Record<string, unknown>;
|
|
11
|
+
inputConfig: import("oakscriptjs").InputConfig[];
|
|
12
|
+
plotConfig: import("oakscriptjs").PlotConfig[];
|
|
13
|
+
};
|
|
14
|
+
export declare const calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
15
|
+
markers: import(".").MarkerData[];
|
|
16
|
+
}, metadata: {
|
|
17
|
+
title: string;
|
|
18
|
+
shortTitle: string;
|
|
19
|
+
overlay: true;
|
|
20
|
+
}, defaultInputs: Record<string, unknown>, inputConfig: import("oakscriptjs").InputConfig[], plotConfig: import("oakscriptjs").PlotConfig[];
|
|
21
|
+
//# sourceMappingURL=dark-cloud-cover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dark-cloud-cover.d.ts","sourceRoot":"","sources":["../src/dark-cloud-cover.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;CAKzB,CAAC;AACH,eAAO,MAAQ,SAAS;;GAAE,QAAQ;;;;GAAE,aAAa,2BAAE,WAAW,uCAAE,UAAU,oCAAmB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const DojiStarBearish: {
|
|
2
|
+
calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
3
|
+
markers: import(".").MarkerData[];
|
|
4
|
+
};
|
|
5
|
+
metadata: {
|
|
6
|
+
title: string;
|
|
7
|
+
shortTitle: string;
|
|
8
|
+
overlay: true;
|
|
9
|
+
};
|
|
10
|
+
defaultInputs: Record<string, unknown>;
|
|
11
|
+
inputConfig: import("oakscriptjs").InputConfig[];
|
|
12
|
+
plotConfig: import("oakscriptjs").PlotConfig[];
|
|
13
|
+
};
|
|
14
|
+
export declare const calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
15
|
+
markers: import(".").MarkerData[];
|
|
16
|
+
}, metadata: {
|
|
17
|
+
title: string;
|
|
18
|
+
shortTitle: string;
|
|
19
|
+
overlay: true;
|
|
20
|
+
}, defaultInputs: Record<string, unknown>, inputConfig: import("oakscriptjs").InputConfig[], plotConfig: import("oakscriptjs").PlotConfig[];
|
|
21
|
+
//# sourceMappingURL=doji-star-bearish.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doji-star-bearish.d.ts","sourceRoot":"","sources":["../src/doji-star-bearish.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;CAI1B,CAAC;AACH,eAAO,MAAQ,SAAS;;GAAE,QAAQ;;;;GAAE,aAAa,2BAAE,WAAW,uCAAE,UAAU,oCAAoB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const DojiStarBullish: {
|
|
2
|
+
calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
3
|
+
markers: import(".").MarkerData[];
|
|
4
|
+
};
|
|
5
|
+
metadata: {
|
|
6
|
+
title: string;
|
|
7
|
+
shortTitle: string;
|
|
8
|
+
overlay: true;
|
|
9
|
+
};
|
|
10
|
+
defaultInputs: Record<string, unknown>;
|
|
11
|
+
inputConfig: import("oakscriptjs").InputConfig[];
|
|
12
|
+
plotConfig: import("oakscriptjs").PlotConfig[];
|
|
13
|
+
};
|
|
14
|
+
export declare const calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
15
|
+
markers: import(".").MarkerData[];
|
|
16
|
+
}, metadata: {
|
|
17
|
+
title: string;
|
|
18
|
+
shortTitle: string;
|
|
19
|
+
overlay: true;
|
|
20
|
+
}, defaultInputs: Record<string, unknown>, inputConfig: import("oakscriptjs").InputConfig[], plotConfig: import("oakscriptjs").PlotConfig[];
|
|
21
|
+
//# sourceMappingURL=doji-star-bullish.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doji-star-bullish.d.ts","sourceRoot":"","sources":["../src/doji-star-bullish.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;CAI1B,CAAC;AACH,eAAO,MAAQ,SAAS;;GAAE,QAAQ;;;;GAAE,aAAa,2BAAE,WAAW,uCAAE,UAAU,oCAAoB,CAAC"}
|
package/dist/doji.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const Doji: {
|
|
2
|
+
calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
3
|
+
markers: import(".").MarkerData[];
|
|
4
|
+
};
|
|
5
|
+
metadata: {
|
|
6
|
+
title: string;
|
|
7
|
+
shortTitle: string;
|
|
8
|
+
overlay: true;
|
|
9
|
+
};
|
|
10
|
+
defaultInputs: Record<string, unknown>;
|
|
11
|
+
inputConfig: import("oakscriptjs").InputConfig[];
|
|
12
|
+
plotConfig: import("oakscriptjs").PlotConfig[];
|
|
13
|
+
};
|
|
14
|
+
export declare const calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
15
|
+
markers: import(".").MarkerData[];
|
|
16
|
+
}, metadata: {
|
|
17
|
+
title: string;
|
|
18
|
+
shortTitle: string;
|
|
19
|
+
overlay: true;
|
|
20
|
+
}, defaultInputs: Record<string, unknown>, inputConfig: import("oakscriptjs").InputConfig[], plotConfig: import("oakscriptjs").PlotConfig[];
|
|
21
|
+
//# sourceMappingURL=doji.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doji.d.ts","sourceRoot":"","sources":["../src/doji.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;;CAKf,CAAC;AACH,eAAO,MAAQ,SAAS;;GAAE,QAAQ;;;;GAAE,aAAa,2BAAE,WAAW,uCAAE,UAAU,oCAAS,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const DownsideTasukiGap: {
|
|
2
|
+
calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
3
|
+
markers: import(".").MarkerData[];
|
|
4
|
+
};
|
|
5
|
+
metadata: {
|
|
6
|
+
title: string;
|
|
7
|
+
shortTitle: string;
|
|
8
|
+
overlay: true;
|
|
9
|
+
};
|
|
10
|
+
defaultInputs: Record<string, unknown>;
|
|
11
|
+
inputConfig: import("oakscriptjs").InputConfig[];
|
|
12
|
+
plotConfig: import("oakscriptjs").PlotConfig[];
|
|
13
|
+
};
|
|
14
|
+
export declare const calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
15
|
+
markers: import(".").MarkerData[];
|
|
16
|
+
}, metadata: {
|
|
17
|
+
title: string;
|
|
18
|
+
shortTitle: string;
|
|
19
|
+
overlay: true;
|
|
20
|
+
}, defaultInputs: Record<string, unknown>, inputConfig: import("oakscriptjs").InputConfig[], plotConfig: import("oakscriptjs").PlotConfig[];
|
|
21
|
+
//# sourceMappingURL=downside-tasuki-gap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"downside-tasuki-gap.d.ts","sourceRoot":"","sources":["../src/downside-tasuki-gap.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;CAM5B,CAAC;AACH,eAAO,MAAQ,SAAS;;GAAE,QAAQ;;;;GAAE,aAAa,2BAAE,WAAW,uCAAE,UAAU,oCAAsB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const DragonflyDoji: {
|
|
2
|
+
calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
3
|
+
markers: import(".").MarkerData[];
|
|
4
|
+
};
|
|
5
|
+
metadata: {
|
|
6
|
+
title: string;
|
|
7
|
+
shortTitle: string;
|
|
8
|
+
overlay: true;
|
|
9
|
+
};
|
|
10
|
+
defaultInputs: Record<string, unknown>;
|
|
11
|
+
inputConfig: import("oakscriptjs").InputConfig[];
|
|
12
|
+
plotConfig: import("oakscriptjs").PlotConfig[];
|
|
13
|
+
};
|
|
14
|
+
export declare const calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
15
|
+
markers: import(".").MarkerData[];
|
|
16
|
+
}, metadata: {
|
|
17
|
+
title: string;
|
|
18
|
+
shortTitle: string;
|
|
19
|
+
overlay: true;
|
|
20
|
+
}, defaultInputs: Record<string, unknown>, inputConfig: import("oakscriptjs").InputConfig[], plotConfig: import("oakscriptjs").PlotConfig[];
|
|
21
|
+
//# sourceMappingURL=dragonfly-doji.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dragonfly-doji.d.ts","sourceRoot":"","sources":["../src/dragonfly-doji.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;CAGxB,CAAC;AACH,eAAO,MAAQ,SAAS;;GAAE,QAAQ;;;;GAAE,aAAa,2BAAE,WAAW,uCAAE,UAAU,oCAAkB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const EngulfingBearish: {
|
|
2
|
+
calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
3
|
+
markers: import(".").MarkerData[];
|
|
4
|
+
};
|
|
5
|
+
metadata: {
|
|
6
|
+
title: string;
|
|
7
|
+
shortTitle: string;
|
|
8
|
+
overlay: true;
|
|
9
|
+
};
|
|
10
|
+
defaultInputs: Record<string, unknown>;
|
|
11
|
+
inputConfig: import("oakscriptjs").InputConfig[];
|
|
12
|
+
plotConfig: import("oakscriptjs").PlotConfig[];
|
|
13
|
+
};
|
|
14
|
+
export declare const calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
15
|
+
markers: import(".").MarkerData[];
|
|
16
|
+
}, metadata: {
|
|
17
|
+
title: string;
|
|
18
|
+
shortTitle: string;
|
|
19
|
+
overlay: true;
|
|
20
|
+
}, defaultInputs: Record<string, unknown>, inputConfig: import("oakscriptjs").InputConfig[], plotConfig: import("oakscriptjs").PlotConfig[];
|
|
21
|
+
//# sourceMappingURL=engulfing-bearish.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"engulfing-bearish.d.ts","sourceRoot":"","sources":["../src/engulfing-bearish.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;CAM3B,CAAC;AACH,eAAO,MAAQ,SAAS;;GAAE,QAAQ;;;;GAAE,aAAa,2BAAE,WAAW,uCAAE,UAAU,oCAAqB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const EngulfingBullish: {
|
|
2
|
+
calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
3
|
+
markers: import(".").MarkerData[];
|
|
4
|
+
};
|
|
5
|
+
metadata: {
|
|
6
|
+
title: string;
|
|
7
|
+
shortTitle: string;
|
|
8
|
+
overlay: true;
|
|
9
|
+
};
|
|
10
|
+
defaultInputs: Record<string, unknown>;
|
|
11
|
+
inputConfig: import("oakscriptjs").InputConfig[];
|
|
12
|
+
plotConfig: import("oakscriptjs").PlotConfig[];
|
|
13
|
+
};
|
|
14
|
+
export declare const calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
15
|
+
markers: import(".").MarkerData[];
|
|
16
|
+
}, metadata: {
|
|
17
|
+
title: string;
|
|
18
|
+
shortTitle: string;
|
|
19
|
+
overlay: true;
|
|
20
|
+
}, defaultInputs: Record<string, unknown>, inputConfig: import("oakscriptjs").InputConfig[], plotConfig: import("oakscriptjs").PlotConfig[];
|
|
21
|
+
//# sourceMappingURL=engulfing-bullish.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"engulfing-bullish.d.ts","sourceRoot":"","sources":["../src/engulfing-bullish.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;CAM3B,CAAC;AACH,eAAO,MAAQ,SAAS;;GAAE,QAAQ;;;;GAAE,aAAa,2BAAE,WAAW,uCAAE,UAAU,oCAAqB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const EveningDojiStar: {
|
|
2
|
+
calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
3
|
+
markers: import(".").MarkerData[];
|
|
4
|
+
};
|
|
5
|
+
metadata: {
|
|
6
|
+
title: string;
|
|
7
|
+
shortTitle: string;
|
|
8
|
+
overlay: true;
|
|
9
|
+
};
|
|
10
|
+
defaultInputs: Record<string, unknown>;
|
|
11
|
+
inputConfig: import("oakscriptjs").InputConfig[];
|
|
12
|
+
plotConfig: import("oakscriptjs").PlotConfig[];
|
|
13
|
+
};
|
|
14
|
+
export declare const calculate: (bars: import("oakscriptjs").Bar[]) => import("oakscriptjs").IndicatorResult & {
|
|
15
|
+
markers: import(".").MarkerData[];
|
|
16
|
+
}, metadata: {
|
|
17
|
+
title: string;
|
|
18
|
+
shortTitle: string;
|
|
19
|
+
overlay: true;
|
|
20
|
+
}, defaultInputs: Record<string, unknown>, inputConfig: import("oakscriptjs").InputConfig[], plotConfig: import("oakscriptjs").PlotConfig[];
|
|
21
|
+
//# sourceMappingURL=evening-doji-star.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evening-doji-star.d.ts","sourceRoot":"","sources":["../src/evening-doji-star.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;CAM1B,CAAC;AACH,eAAO,MAAQ,SAAS;;GAAE,QAAQ;;;;GAAE,aAAa,2BAAE,WAAW,uCAAE,UAAU,oCAAoB,CAAC"}
|