lightweight-charts-indicators 0.5.0 → 0.6.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.
Files changed (399) hide show
  1. package/README.md +2 -2
  2. package/dist/bar-time.d.ts +22 -0
  3. package/dist/bar-time.d.ts.map +1 -0
  4. package/dist/candlestick-port/candle-props.d.ts +2 -2
  5. package/dist/candlestick-port/pattern-runner.d.ts +2 -2
  6. package/dist/candlestick-port/pattern-runner.d.ts.map +1 -1
  7. package/dist/candlestick-port/registry.d.ts +1 -1
  8. package/dist/community/accurate-swing-trading.d.ts +1 -1
  9. package/dist/community/adaptive-hull-ma.d.ts +1 -1
  10. package/dist/community/adaptive-macd.d.ts +1 -1
  11. package/dist/community/adaptive-trend-flow.d.ts +1 -1
  12. package/dist/community/adx-cobra.d.ts +1 -1
  13. package/dist/community/adx-di-gu5.d.ts +1 -1
  14. package/dist/community/ai-engulfing.d.ts +1 -1
  15. package/dist/community/ai-trend-navigator.d.ts +1 -1
  16. package/dist/community/ak-trend-id.d.ts +1 -1
  17. package/dist/community/all-candlestick-patterns.d.ts +1 -1
  18. package/dist/community/alpha-trend.d.ts +1 -1
  19. package/dist/community/anti-volume-stop.d.ts +1 -1
  20. package/dist/community/atr-plus.d.ts +1 -1
  21. package/dist/community/atr-trailing-colored.d.ts +1 -1
  22. package/dist/community/atr-trailing-stops.d.ts +1 -1
  23. package/dist/community/auto-fib.d.ts +1 -1
  24. package/dist/community/auto-fibo-indicators.d.ts +1 -1
  25. package/dist/community/auto-fibo-indicators.d.ts.map +1 -1
  26. package/dist/community/auto-support-resistance.d.ts +1 -1
  27. package/dist/community/auto-support-resistance.d.ts.map +1 -1
  28. package/dist/community/auto-support.d.ts +1 -1
  29. package/dist/community/auto-trendline.d.ts +15 -5
  30. package/dist/community/auto-trendline.d.ts.map +1 -1
  31. package/dist/community/average-sentiment-oscillator.d.ts +1 -1
  32. package/dist/community/awesome-oscillator-v2.d.ts +1 -1
  33. package/dist/community/banker-fund-flow.d.ts +1 -1
  34. package/dist/community/bb-breakout-oscillator.d.ts +1 -1
  35. package/dist/community/bb-fibonacci-ratios.d.ts +1 -1
  36. package/dist/community/bb-stoch-rsi.d.ts +1 -1
  37. package/dist/community/better-volume.d.ts +1 -1
  38. package/dist/community/big-snapper-alerts.d.ts +1 -1
  39. package/dist/community/binary-option-arrows.d.ts +1 -1
  40. package/dist/community/bitcoin-kill-zones.d.ts +1 -1
  41. package/dist/community/bitcoin-log-curves.d.ts +1 -1
  42. package/dist/community/bjorgum-autotrail.d.ts +1 -1
  43. package/dist/community/bjorgum-triple-ema.d.ts +1 -1
  44. package/dist/community/bjorgum-tsi.d.ts +1 -1
  45. package/dist/community/bjorgum-tsi.d.ts.map +1 -1
  46. package/dist/community/bollinger-awesome-alert.d.ts +1 -1
  47. package/dist/community/boom-hunter-pro.d.ts +1 -1
  48. package/dist/community/bull-bear-power-trend.d.ts +1 -1
  49. package/dist/community/bullish-engulfing-finder.d.ts +1 -1
  50. package/dist/community/bulls-bears-control.d.ts +1 -1
  51. package/dist/community/buy-sell-pressure.d.ts +1 -1
  52. package/dist/community/buying-selling-volume.d.ts +1 -1
  53. package/dist/community/candlestick-reversal.d.ts +2 -1
  54. package/dist/community/candlestick-reversal.d.ts.map +1 -1
  55. package/dist/community/cci-obv.d.ts +1 -1
  56. package/dist/community/cci-stochastic.d.ts +1 -1
  57. package/dist/community/cct-bbo.d.ts +1 -1
  58. package/dist/community/cdc-action-zone.d.ts +1 -1
  59. package/dist/community/chandelier-exit.d.ts +2 -2
  60. package/dist/community/chandelier-stop.d.ts +1 -1
  61. package/dist/community/cm-ema-trend-bars.d.ts +1 -1
  62. package/dist/community/cm-enhanced-ichimoku.d.ts +1 -1
  63. package/dist/community/cm-gann-swing.d.ts +1 -1
  64. package/dist/community/cm-guppy-ema.d.ts +1 -1
  65. package/dist/community/cm-heikin-ashi.d.ts +1 -1
  66. package/dist/community/cm-laguerre-ppo.d.ts +1 -1
  67. package/dist/community/cm-price-action.d.ts +1 -1
  68. package/dist/community/cm-rsi-2-lower.d.ts +1 -1
  69. package/dist/community/cm-rsi-2-upper.d.ts +1 -1
  70. package/dist/community/cm-rsi-ema.d.ts +1 -1
  71. package/dist/community/cm-sling-shot.d.ts +1 -1
  72. package/dist/community/cm-stoch-highlight.d.ts +1 -1
  73. package/dist/community/cm-time-lines.d.ts +1 -1
  74. package/dist/community/cm-vix-fix-v3.d.ts +1 -1
  75. package/dist/community/cog-channel.d.ts +1 -1
  76. package/dist/community/colored-volume.d.ts +1 -1
  77. package/dist/community/consolidation-zones.d.ts +1 -1
  78. package/dist/community/coral-trend.d.ts +1 -1
  79. package/dist/community/darvas-box.d.ts +1 -1
  80. package/dist/community/delta-rsi-oscillator.d.ts +1 -1
  81. package/dist/community/divergence-indicator.d.ts +13 -9
  82. package/dist/community/divergence-indicator.d.ts.map +1 -1
  83. package/dist/community/dmi-adx-levels.d.ts +1 -1
  84. package/dist/community/donchian-custom.d.ts +1 -1
  85. package/dist/community/donchian-trend-ribbon.d.ts +1 -1
  86. package/dist/community/double-macd.d.ts +1 -1
  87. package/dist/community/dynamic-structure-indicator.d.ts +1 -1
  88. package/dist/community/easy-trend-colors.d.ts +1 -1
  89. package/dist/community/ehlers-instantaneous-trend.d.ts +1 -1
  90. package/dist/community/ehlers-mesa-ma.d.ts +1 -1
  91. package/dist/community/ehlers-stochastic-cg.d.ts +1 -1
  92. package/dist/community/elliott-wave-oscillator.d.ts +1 -1
  93. package/dist/community/ema-enveloper.d.ts +1 -1
  94. package/dist/community/ema-ma-crossover.d.ts +1 -1
  95. package/dist/community/ema-multi.d.ts +1 -1
  96. package/dist/community/ema-ribbon.d.ts +1 -1
  97. package/dist/community/ema-supertrend.d.ts +1 -1
  98. package/dist/community/ema-wave.d.ts +1 -1
  99. package/dist/community/entry-points.d.ts +1 -1
  100. package/dist/community/envelope-rsi.d.ts +1 -1
  101. package/dist/community/evwma-envelope.d.ts +1 -1
  102. package/dist/community/faith-indicator.d.ts +1 -1
  103. package/dist/community/false-breakout.d.ts +1 -1
  104. package/dist/community/fibonacci-bollinger-bands.d.ts +1 -1
  105. package/dist/community/fibonacci-levels.d.ts +1 -1
  106. package/dist/community/fibonacci-zone.d.ts +1 -1
  107. package/dist/community/follow-line.d.ts +1 -1
  108. package/dist/community/forecast-oscillator.d.ts +1 -1
  109. package/dist/community/forex-sessions.d.ts +1 -1
  110. package/dist/community/fvg-positioning-average.d.ts +1 -1
  111. package/dist/community/fvg-positioning-average.d.ts.map +1 -1
  112. package/dist/community/fx-sniper-t3-cci.d.ts +1 -1
  113. package/dist/community/gann-high-low.d.ts +1 -1
  114. package/dist/community/gaussian-channel.d.ts +1 -1
  115. package/dist/community/gmma-oscillator.d.ts +1 -1
  116. package/dist/community/gmma.d.ts +1 -1
  117. package/dist/community/half-trend.d.ts +1 -1
  118. package/dist/community/hawkeye-volume.d.ts +1 -1
  119. package/dist/community/heatmap-volume.d.ts +1 -1
  120. package/dist/community/heikin-ashi-rsi-oscillator.d.ts +1 -1
  121. package/dist/community/hema-trend-levels.d.ts +1 -1
  122. package/dist/community/hema-trend-levels.d.ts.map +1 -1
  123. package/dist/community/hott-lott.d.ts +1 -1
  124. package/dist/community/hull-butterfly-oscillator.d.ts +1 -1
  125. package/dist/community/hull-suite.d.ts +1 -1
  126. package/dist/community/hyper-trend.d.ts +1 -1
  127. package/dist/community/hyper-trend.d.ts.map +1 -1
  128. package/dist/community/ichimoku-ema-bands.d.ts +1 -1
  129. package/dist/community/ichimoku-oscillator.d.ts +1 -1
  130. package/dist/community/ideal-bb-ma.d.ts +1 -1
  131. package/dist/community/ift-stoch-rsi-cci.d.ts +1 -1
  132. package/dist/community/impulse-macd.d.ts +1 -1
  133. package/dist/community/intraday-buy-sell.d.ts +1 -1
  134. package/dist/community/intraday-ts-bb.d.ts +1 -1
  135. package/dist/community/intraday-volume-swings.d.ts +1 -1
  136. package/dist/community/isolated-peak-bottom.d.ts +1 -1
  137. package/dist/community/kaufman-adaptive-ma.d.ts +1 -1
  138. package/dist/community/kdj.d.ts +1 -1
  139. package/dist/community/laguerre-rsi.d.ts +1 -1
  140. package/dist/community/leledc-levels.d.ts +1 -1
  141. package/dist/community/linear-regression-candles.d.ts +1 -1
  142. package/dist/community/linear-regression-channel.d.ts +1 -1
  143. package/dist/community/liquidity-grabs.d.ts +1 -1
  144. package/dist/community/liquidity-levels.d.ts +8 -2
  145. package/dist/community/liquidity-levels.d.ts.map +1 -1
  146. package/dist/community/liquidity-sweeps.d.ts +1 -1
  147. package/dist/community/lucid-sar.d.ts +1 -1
  148. package/dist/community/ma-adx.d.ts +1 -1
  149. package/dist/community/ma-colored.d.ts +1 -1
  150. package/dist/community/ma-converging.d.ts +1 -1
  151. package/dist/community/ma-deviation-rate.d.ts +1 -1
  152. package/dist/community/ma-shaded-fill.d.ts +1 -1
  153. package/dist/community/ma-shift.d.ts +1 -1
  154. package/dist/community/ma-shift.d.ts.map +1 -1
  155. package/dist/community/ma-strategy-emperor.d.ts +1 -1
  156. package/dist/community/macd-4c.d.ts +1 -1
  157. package/dist/community/macd-bb.d.ts +1 -1
  158. package/dist/community/macd-crossover.d.ts +1 -1
  159. package/dist/community/macd-dema.d.ts +1 -1
  160. package/dist/community/macd-divergence.d.ts +12 -3
  161. package/dist/community/macd-divergence.d.ts.map +1 -1
  162. package/dist/community/macd-leader.d.ts +1 -1
  163. package/dist/community/macd-reloaded.d.ts +1 -1
  164. package/dist/community/macd-support-resistance.d.ts +1 -1
  165. package/dist/community/macd-vxi.d.ts +1 -1
  166. package/dist/community/macdas.d.ts +1 -1
  167. package/dist/community/madrid-ma-ribbon.d.ts +1 -1
  168. package/dist/community/madrid-trend-squeeze.d.ts +1 -1
  169. package/dist/community/market-cipher-a.d.ts +1 -1
  170. package/dist/community/market-cipher-b.d.ts +1 -1
  171. package/dist/community/market-shift-levels.d.ts +1 -1
  172. package/dist/community/market-structure-trailing-stop.d.ts +11 -7
  173. package/dist/community/market-structure-trailing-stop.d.ts.map +1 -1
  174. package/dist/community/matrix-series.d.ts +1 -1
  175. package/dist/community/mavilimw.d.ts +1 -1
  176. package/dist/community/mfi-rsi-bb.d.ts +1 -1
  177. package/dist/community/ml-adaptive-supertrend.d.ts +1 -1
  178. package/dist/community/ml-adaptive-supertrend.d.ts.map +1 -1
  179. package/dist/community/ml-knn-strategy.d.ts +1 -1
  180. package/dist/community/ml-momentum-index.d.ts +1 -1
  181. package/dist/community/ml-moving-average.d.ts +1 -1
  182. package/dist/community/ml-moving-average.d.ts.map +1 -1
  183. package/dist/community/ml-rsi.d.ts +1 -1
  184. package/dist/community/ml-rsi.d.ts.map +1 -1
  185. package/dist/community/modified-heikin-ashi.d.ts +1 -1
  186. package/dist/community/momentum-zigzag.d.ts +1 -1
  187. package/dist/community/most-rsi.d.ts +12 -9
  188. package/dist/community/most-rsi.d.ts.map +1 -1
  189. package/dist/community/multiple-divergences.d.ts +1 -1
  190. package/dist/community/multiple-ma.d.ts +1 -1
  191. package/dist/community/murreys-math-osc.d.ts +1 -1
  192. package/dist/community/nrtr.d.ts +1 -1
  193. package/dist/community/obv-macd.d.ts +1 -1
  194. package/dist/community/obv-oscillator.d.ts +1 -1
  195. package/dist/community/open-close-cross.d.ts +1 -1
  196. package/dist/community/optimized-trend-tracker.d.ts +1 -1
  197. package/dist/community/order-blocks-signals.d.ts +1 -1
  198. package/dist/community/ott-bands.d.ts +1 -1
  199. package/dist/community/otto.d.ts +1 -1
  200. package/dist/community/parabolic-rsi.d.ts +1 -1
  201. package/dist/community/parabolic-rsi.d.ts.map +1 -1
  202. package/dist/community/parallel-pivot-lines.d.ts +1 -1
  203. package/dist/community/philakone-ema-swing.d.ts +1 -1
  204. package/dist/community/pivot-hh-hl-lh-ll.d.ts +35 -5
  205. package/dist/community/pivot-hh-hl-lh-ll.d.ts.map +1 -1
  206. package/dist/community/pivot-point-supertrend.d.ts +8 -3
  207. package/dist/community/pivot-point-supertrend.d.ts.map +1 -1
  208. package/dist/community/pivot-trailing-maxmin.d.ts +12 -6
  209. package/dist/community/pivot-trailing-maxmin.d.ts.map +1 -1
  210. package/dist/community/pmax-rsi-t3.d.ts +1 -1
  211. package/dist/community/ppo-alerts.d.ts +1 -1
  212. package/dist/community/ppo-divergence.d.ts +1 -1
  213. package/dist/community/predictive-channels.d.ts +1 -1
  214. package/dist/community/predictive-channels.d.ts.map +1 -1
  215. package/dist/community/premier-rsi.d.ts +1 -1
  216. package/dist/community/premier-stochastic.d.ts +1 -1
  217. package/dist/community/price-action-system.d.ts +1 -1
  218. package/dist/community/price-divergence-detector.d.ts +1 -1
  219. package/dist/community/price-momentum-oscillator.d.ts +1 -1
  220. package/dist/community/price-volume-profile.d.ts +1 -1
  221. package/dist/community/profit-maximizer.d.ts +1 -1
  222. package/dist/community/qqe-cross.d.ts +1 -1
  223. package/dist/community/qqe-mod.d.ts +1 -1
  224. package/dist/community/qqe-signals.d.ts +1 -1
  225. package/dist/community/qqe.d.ts +1 -1
  226. package/dist/community/radius-trend.d.ts +1 -1
  227. package/dist/community/radius-trend.d.ts.map +1 -1
  228. package/dist/community/range-detector.d.ts +1 -1
  229. package/dist/community/range-filter-dw.d.ts +1 -1
  230. package/dist/community/range-identifier.d.ts +1 -1
  231. package/dist/community/rci-3lines.d.ts +1 -1
  232. package/dist/community/realtime-volume-bars.d.ts +1 -1
  233. package/dist/community/redk-everex.d.ts +1 -1
  234. package/dist/community/redk-momentum-bars.d.ts +1 -1
  235. package/dist/community/redk-rss-wma.d.ts +1 -1
  236. package/dist/community/redk-tpx.d.ts +1 -1
  237. package/dist/community/redk-vader.d.ts +1 -1
  238. package/dist/community/renko-chart.d.ts +1 -1
  239. package/dist/community/reversal-candle-setup.d.ts +1 -1
  240. package/dist/community/ripster-ema-clouds.d.ts +1 -1
  241. package/dist/community/rmi-trend-sniper.d.ts +1 -1
  242. package/dist/community/rmi-trend-sniper.d.ts.map +1 -1
  243. package/dist/community/rs-support-resistance.d.ts +17 -7
  244. package/dist/community/rs-support-resistance.d.ts.map +1 -1
  245. package/dist/community/rsi-bands.d.ts +1 -1
  246. package/dist/community/rsi-bb-dispersion.d.ts +1 -1
  247. package/dist/community/rsi-candles.d.ts +1 -1
  248. package/dist/community/rsi-cyclic-smoothed.d.ts +1 -1
  249. package/dist/community/rsi-divergence.d.ts +1 -1
  250. package/dist/community/rsi-histoalert.d.ts +1 -1
  251. package/dist/community/rsi-momentum-divergence.d.ts +5 -1
  252. package/dist/community/rsi-momentum-divergence.d.ts.map +1 -1
  253. package/dist/community/rsi-snabbel.d.ts +1 -1
  254. package/dist/community/rsi-supply-demand.d.ts +1 -1
  255. package/dist/community/rsi-swing-signal.d.ts +1 -1
  256. package/dist/community/rsi-tops-bottoms.d.ts +1 -1
  257. package/dist/community/sar-ema-macd.d.ts +1 -1
  258. package/dist/community/scalping-line.d.ts +1 -1
  259. package/dist/community/schaff-trend-cycle.d.ts +1 -1
  260. package/dist/community/sell-buy-rates.d.ts +1 -1
  261. package/dist/community/signal-ma.d.ts +1 -1
  262. package/dist/community/simple-moving-averages.d.ts +1 -1
  263. package/dist/community/slow-heiken-ashi.d.ts +1 -1
  264. package/dist/community/smi-ucs.d.ts +1 -1
  265. package/dist/community/smoothed-heiken-ashi.d.ts +1 -1
  266. package/dist/community/squeeze-momentum-v2.d.ts +1 -1
  267. package/dist/community/squeeze-momentum.d.ts +1 -1
  268. package/dist/community/sr-levels-breaks.d.ts +7 -4
  269. package/dist/community/sr-levels-breaks.d.ts.map +1 -1
  270. package/dist/community/ssl-channel.d.ts +1 -1
  271. package/dist/community/st0p.d.ts +1 -1
  272. package/dist/community/standardized-macd-ha.d.ts +1 -1
  273. package/dist/community/stoch-pop-1.d.ts +1 -1
  274. package/dist/community/stoch-pop-2.d.ts +1 -1
  275. package/dist/community/stoch-vx3.d.ts +1 -1
  276. package/dist/community/stochastic-heat-map.d.ts +1 -1
  277. package/dist/community/stochastic-momentum-index.d.ts +1 -1
  278. package/dist/community/stochastic-ott.d.ts +1 -1
  279. package/dist/community/super-guppy.d.ts +1 -1
  280. package/dist/community/super-smoothed-macd.d.ts +1 -1
  281. package/dist/community/super-supertrend.d.ts +1 -1
  282. package/dist/community/supertrend-ai-clustering.d.ts +1 -1
  283. package/dist/community/supertrend-cci.d.ts +1 -1
  284. package/dist/community/supertrend-channels.d.ts +1 -1
  285. package/dist/community/supertrend-ladder.d.ts +1 -1
  286. package/dist/community/support-resistance-channels.d.ts +14 -3
  287. package/dist/community/support-resistance-channels.d.ts.map +1 -1
  288. package/dist/community/swing-highs-lows-patterns.d.ts +5 -1
  289. package/dist/community/swing-highs-lows-patterns.d.ts.map +1 -1
  290. package/dist/community/swing-trade-signals.d.ts +1 -1
  291. package/dist/community/t3-psar.d.ts +1 -1
  292. package/dist/community/tdi-hlc-trix.d.ts +1 -1
  293. package/dist/community/tdi-rsi.d.ts +1 -1
  294. package/dist/community/three-moving-averages.d.ts +1 -1
  295. package/dist/community/tillson-t3.d.ts +1 -1
  296. package/dist/community/tma-bands.d.ts +1 -1
  297. package/dist/community/tonyux-ema-scalper.d.ts +1 -1
  298. package/dist/community/top-bottom-candle.d.ts +1 -1
  299. package/dist/community/tops-bottoms.d.ts +1 -1
  300. package/dist/community/trader-xo.d.ts +1 -1
  301. package/dist/community/trama.d.ts +1 -1
  302. package/dist/community/transient-zones.d.ts +1 -1
  303. package/dist/community/trend-following-ma.d.ts +1 -1
  304. package/dist/community/trend-impulse-channels.d.ts +1 -1
  305. package/dist/community/trend-impulse-channels.d.ts.map +1 -1
  306. package/dist/community/trend-line-auto.d.ts +1 -1
  307. package/dist/community/trend-lines-v2.d.ts +8 -1
  308. package/dist/community/trend-lines-v2.d.ts.map +1 -1
  309. package/dist/community/trend-magic.d.ts +1 -1
  310. package/dist/community/trend-trader.d.ts +1 -1
  311. package/dist/community/trend-trigger-factor.d.ts +1 -1
  312. package/dist/community/trendlines-with-breaks.d.ts +1 -1
  313. package/dist/community/triangular-momentum-osc.d.ts +1 -1
  314. package/dist/community/triple-ma-forecast.d.ts +1 -1
  315. package/dist/community/ttm-squeeze-pro.d.ts +1 -1
  316. package/dist/community/turtle-trade-channels.d.ts +1 -1
  317. package/dist/community/tweezers-kangaroo-tail.d.ts +1 -1
  318. package/dist/community/twin-range-filter.d.ts +1 -1
  319. package/dist/community/ultimate-buy-sell.d.ts +1 -1
  320. package/dist/community/ultimate-rsi.d.ts +1 -1
  321. package/dist/community/ultimate-rsi.d.ts.map +1 -1
  322. package/dist/community/ut-bot.d.ts +1 -1
  323. package/dist/community/variable-ma.d.ts +1 -1
  324. package/dist/community/vdub-sniper.d.ts +14 -7
  325. package/dist/community/vdub-sniper.d.ts.map +1 -1
  326. package/dist/community/vdubus-binarypro.d.ts +1 -1
  327. package/dist/community/vervoort-ha-oscillator.d.ts +1 -1
  328. package/dist/community/volumatic-sr-levels.d.ts +1 -1
  329. package/dist/community/volume-accumulation-pct.d.ts +1 -1
  330. package/dist/community/volume-bar-breakout.d.ts +1 -1
  331. package/dist/community/volume-colored-bars.d.ts +1 -1
  332. package/dist/community/volume-divergence.d.ts +1 -1
  333. package/dist/community/volume-divergence.d.ts.map +1 -1
  334. package/dist/community/volume-flow-indicator.d.ts +1 -1
  335. package/dist/community/volume-flow-v3.d.ts +1 -1
  336. package/dist/community/volume-footprint.d.ts +1 -1
  337. package/dist/community/volume-linreg-trend.d.ts +1 -1
  338. package/dist/community/volume-supertrend-ai.d.ts +1 -1
  339. package/dist/community/vpci.d.ts +1 -1
  340. package/dist/community/vumanchu-swing.d.ts +1 -1
  341. package/dist/community/vw-macd-v2.d.ts +1 -1
  342. package/dist/community/vwap-mvwap-ema-crossover.d.ts +1 -1
  343. package/dist/community/vwmacd-szo.d.ts +1 -1
  344. package/dist/community/waddah-attar-explosion.d.ts +1 -1
  345. package/dist/community/wavetrend-oscillator.d.ts +1 -1
  346. package/dist/community/wavetrend.d.ts +1 -1
  347. package/dist/community/weighted-ma-function.d.ts +1 -1
  348. package/dist/community/weis-wave-volume.d.ts +1 -1
  349. package/dist/community/wicked-fractals.d.ts +7 -6
  350. package/dist/community/wicked-fractals.d.ts.map +1 -1
  351. package/dist/community/williams-combo.d.ts +15 -7
  352. package/dist/community/williams-combo.d.ts.map +1 -1
  353. package/dist/community/williams-vix-fix.d.ts +1 -1
  354. package/dist/community/zero-lag-ema.d.ts +1 -1
  355. package/dist/community/zero-lag-macd.d.ts +1 -1
  356. package/dist/community/zigzag-fibonacci.d.ts +1 -1
  357. package/dist/community/zlma-trend-levels.d.ts +1 -1
  358. package/dist/community/zlma-trend-levels.d.ts.map +1 -1
  359. package/dist/community/zlsma.d.ts +1 -1
  360. package/dist/index.cjs +3306 -3151
  361. package/dist/index.d.ts +2 -1
  362. package/dist/index.d.ts.map +1 -1
  363. package/dist/index.mjs +4112 -3957
  364. package/dist/standard/aroon-oscillator.d.ts +1 -1
  365. package/dist/standard/auto-key-levels.d.ts +1 -1
  366. package/dist/standard/auto-trend-detector.d.ts +1 -2
  367. package/dist/standard/auto-trend-detector.d.ts.map +1 -1
  368. package/dist/standard/chande-kroll-stop.d.ts +1 -1
  369. package/dist/standard/cumulative-volume-delta.d.ts +1 -1
  370. package/dist/standard/dmi.d.ts +1 -1
  371. package/dist/standard/donchian.d.ts +1 -1
  372. package/dist/standard/fisher-transform.d.ts +1 -1
  373. package/dist/standard/ichimoku.d.ts +1 -1
  374. package/dist/standard/keltner.d.ts +1 -1
  375. package/dist/standard/klinger.d.ts +1 -1
  376. package/dist/standard/ma-ribbon.d.ts +1 -1
  377. package/dist/standard/net-volume.d.ts +2 -2
  378. package/dist/standard/nvi.d.ts +1 -1
  379. package/dist/standard/parabolic-sar.d.ts +1 -1
  380. package/dist/standard/prings-special-k.d.ts +1 -1
  381. package/dist/standard/pvi.d.ts +1 -1
  382. package/dist/standard/rci-ribbon.d.ts +1 -1
  383. package/dist/standard/relative-volume-at-time.d.ts +1 -1
  384. package/dist/standard/rsi.d.ts.map +1 -1
  385. package/dist/standard/sma.d.ts +1 -1
  386. package/dist/standard/supertrend.d.ts +1 -1
  387. package/dist/standard/trend-strength.d.ts.map +1 -1
  388. package/dist/standard/trix.d.ts +1 -1
  389. package/dist/standard/ulcer-index.d.ts +1 -1
  390. package/dist/standard/ultimate-oscillator.d.ts +1 -1
  391. package/dist/standard/up-down-volume.d.ts +2 -2
  392. package/dist/standard/volatility-stop.d.ts +1 -2
  393. package/dist/standard/volatility-stop.d.ts.map +1 -1
  394. package/dist/standard/volume-delta.d.ts +1 -1
  395. package/dist/standard/vwap.d.ts +1 -1
  396. package/dist/standard/zigzag.d.ts +1 -1
  397. package/dist/types.d.ts +46 -4
  398. package/dist/types.d.ts.map +1 -1
  399. package/package.json +3 -3
package/README.md CHANGED
@@ -245,7 +245,7 @@ chart.timeScale().subscribeVisibleLogicalRangeChange(range => {
245
245
 
246
246
  ### Community Indicators (317)
247
247
 
248
- 317 community indicators ported from TradingView PineScript sources, covering trend systems, divergence detectors, multi-MA strategies, volume analysis, market structure, and more. Full list in [docs/INDICATOR_INVENTORY_COMMUNITY.md](docs/INDICATOR_INVENTORY_COMMUNITY.md).
248
+ 317 community indicators ported from PineScript sources, covering trend systems, divergence detectors, multi-MA strategies, volume analysis, market structure, and more. Full list in [docs/INDICATOR_INVENTORY_COMMUNITY.md](docs/INDICATOR_INVENTORY_COMMUNITY.md).
249
249
 
250
250
  Categories include: Hyper Trend, AlphaTrend, HalfTrend, QQE MOD, Hull Suite, SuperTrend variants, Market Structure Trailing Stop, Liquidity Levels, Order Blocks, ZigZag Fibonacci, Trendlines with Breaks, and many more.
251
251
 
@@ -253,7 +253,7 @@ Drawing primitive support: Lines (`LineDrawingData`), Boxes (`BoxData`), Labels
253
253
 
254
254
  ### Candlestick Patterns (44)
255
255
 
256
- All 44 patterns from TradingView's standard candlestick pattern library, rendered as chart markers.
256
+ All 44 patterns from the standard candlestick pattern set, rendered as chart markers.
257
257
 
258
258
  | Pattern | Signal | Candles |
259
259
  |---------|--------|---------|
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Times of bars after the last bar.
3
+ *
4
+ * Pine draws on future bars: `line.new(..., bar_index + 15, ...)`, box edges after the last bar, `plot(..., offset = k)`.
5
+ * A port gives these points the time of the future bar: the last bar time plus k times the bar interval.
6
+ * The bar interval is the most frequent gap between two consecutive bars (1 day on daily bars even with weekends
7
+ * and holidays). The example renderer adds the same future bar slots to the chart, so a point at
8
+ * `barTime(bars, n - 1 + k)` is drawn k bars after the last bar.
9
+ */
10
+ /** Most frequent positive gap between consecutive bar times (seconds); 0 with fewer than 2 bars. */
11
+ export declare function barInterval(bars: ReadonlyArray<{
12
+ time: number;
13
+ }>): number;
14
+ /**
15
+ * Time of bar `index`: the bar time for 0 <= index < bars.length, the time of a future bar for
16
+ * index >= bars.length (last bar time + (index - last index) * barInterval(bars)). NaN for a negative index or
17
+ * no bar. `interval` can be passed to avoid recomputing it.
18
+ */
19
+ export declare function barTime(bars: ReadonlyArray<{
20
+ time: number;
21
+ }>, index: number, interval?: number): number;
22
+ //# sourceMappingURL=bar-time.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bar-time.d.ts","sourceRoot":"","sources":["../src/bar-time.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,oGAAoG;AACpG,wBAAgB,WAAW,CAAC,IAAI,EAAE,aAAa,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,MAAM,CAgBzE;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,aAAa,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAKvG"}
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Shared candle properties for the TradingView candlestick pattern indicators.
3
- * This is the C_* block that all 45 official .pine scripts repeat verbatim,
2
+ * Shared candle properties for the standard candlestick pattern indicators.
3
+ * This is the C_* block that all 45 standard .pine scripts repeat verbatim,
4
4
  * ported once. Every function here must run inside executeScript().
5
5
  */
6
6
  import { Series } from 'oakscriptjs/script';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generic runner that turns a PatternDef into the declarations one official
2
+ * Generic runner that turns a PatternDef into the declarations one standard
3
3
  * candlestick .pine script makes: the trend input, the label-color input,
4
4
  * an alertcondition, a label marker (plotshape) and the background highlight
5
5
  * over the candles forming the pattern (bgcolor with negative offset).
@@ -19,7 +19,7 @@ export interface PatternDef {
19
19
  candles: number;
20
20
  /** Whether the original script declares the trend detection input. */
21
21
  needsTrend: boolean;
22
- /** Original TradingView tooltip text. */
22
+ /** Original tooltip text of the Pine script. */
23
23
  tooltip: string;
24
24
  /** Detection condition: truthy (1) on the last bar of the pattern. */
25
25
  detect(c: CandleProps, t: TrendFlags): Series;
@@ -1 +1 @@
1
- {"version":3,"file":"pattern-runner.d.ts","sourceRoot":"","sources":["../../src/candlestick-port/pattern-runner.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAmE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EAAqC,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEtG,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAEjE,MAAM,WAAW,UAAU;IACzB,iFAAiF;IACjF,IAAI,EAAE,MAAM,CAAC;IACb,6BAA6B;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,kDAAkD;IAClD,SAAS,EAAE,MAAM,CAAC;IAClB,gFAAgF;IAChF,OAAO,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,UAAU,EAAE,OAAO,CAAC;IACpB,yCAAyC;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,MAAM,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;CAC/C;AAeD,gFAAgF;AAChF,wBAAgB,WAAW,CAAC,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,CAiBnF;AAED,gFAAgF;AAChF,wBAAgB,aAAa,CAAC,GAAG,EAAE,UAAU,GAAG,IAAI,CAOnD"}
1
+ {"version":3,"file":"pattern-runner.d.ts","sourceRoot":"","sources":["../../src/candlestick-port/pattern-runner.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAmE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EAAqC,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEtG,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAEjE,MAAM,WAAW,UAAU;IACzB,iFAAiF;IACjF,IAAI,EAAE,MAAM,CAAC;IACb,6BAA6B;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,kDAAkD;IAClD,SAAS,EAAE,MAAM,CAAC;IAClB,gFAAgF;IAChF,OAAO,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,UAAU,EAAE,OAAO,CAAC;IACpB,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,MAAM,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;CAC/C;AAeD,gFAAgF;AAChF,wBAAgB,WAAW,CAAC,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,CAiBnF;AAED,gFAAgF;AAChF,wBAAgB,aAAa,CAAC,GAAG,EAAE,UAAU,GAAG,IAAI,CAOnD"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Registry of all 44 ported candlestick patterns (the 45th official script,
2
+ * Registry of all 44 ported candlestick patterns (the 45th standard script,
3
3
  * "_All Candlestick Patterns_", is the composite in all-patterns.ts).
4
4
  */
5
5
  import type { PatternDef } from './pattern-runner';
@@ -4,7 +4,7 @@
4
4
  * Swing support/resistance with buy/sell signals.
5
5
  * TSL line based on highest/lowest over swing length, colored by direction.
6
6
  *
7
- * Reference: TradingView "Accurate Swing Trading System" (community)
7
+ * Reference: "Accurate Swing Trading System" (community)
8
8
  */
9
9
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
10
10
  export interface AccurateSwingTradingInputs {
@@ -10,7 +10,7 @@
10
10
  * - Consolidation (|slope| < flat threshold) = yellow
11
11
  * Also plots a faster minor HMA+ with the same adaptive logic.
12
12
  *
13
- * Reference: TradingView "72s: Adaptive Hull Moving Average+" by io72signals
13
+ * Reference: "72s: Adaptive Hull Moving Average+" by io72signals
14
14
  */
15
15
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
16
16
  export interface AdaptiveHullMAInputs {
@@ -15,7 +15,7 @@
15
15
  * signal = EMA(macd, signalLen)
16
16
  * histogram = macd - signal
17
17
  *
18
- * Reference: TradingView "Adaptive MACD [LuxAlgo]"
18
+ * Reference: "Adaptive MACD [LuxAlgo]"
19
19
  */
20
20
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
21
21
  export interface AdaptiveMACDInputs {
@@ -5,7 +5,7 @@
5
5
  * Trend state tracks: bullish when close > upper, bearish when close < lower.
6
6
  * Plots basis line and trailing level (lower in uptrend, upper in downtrend).
7
7
  *
8
- * Reference: TradingView "Adaptive Trend Flow [QuantAlgo]" by QuantAlgo
8
+ * Reference: "Adaptive Trend Flow [QuantAlgo]" by QuantAlgo
9
9
  */
10
10
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
11
11
  export interface AdaptiveTrendFlowInputs {
@@ -5,7 +5,7 @@
5
5
  * ADX colored green when rising, red when falling.
6
6
  * Manual Wilder's smoothing calculation for DM, DI, DX, ADX.
7
7
  *
8
- * Reference: TradingView "ADX" by cobra (community)
8
+ * Reference: "ADX" by cobra (community)
9
9
  */
10
10
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
11
11
  import type { BgColorData } from '../types';
@@ -6,7 +6,7 @@
6
6
  * Fill between Di+ and Di- colored by trend. Markers for trend entries/exits.
7
7
  * Bar coloring matches ADX color state.
8
8
  *
9
- * Reference: TradingView "ADX Di+ Di- [Gu5]" by Gu5tavo71
9
+ * Reference: "ADX Di+ Di- [Gu5]" by Gu5tavo71
10
10
  */
11
11
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
12
12
  import type { MarkerData, BarColorData } from '../types';
@@ -4,7 +4,7 @@
4
4
  * Engulfing candlestick pattern detection with SMA trend context.
5
5
  * Bullish engulfing in downtrend, bearish engulfing in uptrend.
6
6
  *
7
- * Reference: TradingView "AI-EngulfingCandle" (community)
7
+ * Reference: "AI-EngulfingCandle" (community)
8
8
  */
9
9
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
10
10
  import type { MarkerData } from '../types';
@@ -6,7 +6,7 @@
6
6
  * kNN Classifier: Compute Euclidean distances between current features (price, ROC) and historical
7
7
  * features, classify trend as bullish/bearish based on majority vote of k-nearest neighbors.
8
8
  *
9
- * Reference: TradingView "AI Trend Navigator [K-Neighbor]" (TV#34)
9
+ * Reference: "AI Trend Navigator [K-Neighbor]"
10
10
  */
11
11
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs';
12
12
  import type { MarkerData, BgColorData } from '../types';
@@ -6,7 +6,7 @@
6
6
  * Plotted as non-overlay oscillator with zero line.
7
7
  * Bars colored green/red by spread sign.
8
8
  *
9
- * Reference: TradingView "AK_TREND ID (M)" by Algokid
9
+ * Reference: "AK_TREND ID (M)" by Algokid
10
10
  */
11
11
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs';
12
12
  import type { BarColorData } from '../types';
@@ -4,7 +4,7 @@
4
4
  * Detects common candlestick patterns: Doji, Hammer, Engulfing,
5
5
  * Morning Star, and Evening Star. Outputs markers on detected bars.
6
6
  *
7
- * Reference: TradingView "All Candlestick Patterns Identifier" (community)
7
+ * Reference: "All Candlestick Patterns Identifier" (community)
8
8
  */
9
9
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
10
10
  import type { MarkerData } from '../types';
@@ -5,7 +5,7 @@
5
5
  * Uses RSI (or MFI if volume available) to determine trend direction,
6
6
  * then builds trailing stop levels that only ratchet in trend direction.
7
7
  *
8
- * Reference: TradingView "AlphaTrend" by KivancOzbilgic
8
+ * Reference: "AlphaTrend" by KivancOzbilgic
9
9
  */
10
10
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
11
11
  import type { MarkerData } from '../types';
@@ -4,7 +4,7 @@
4
4
  * Volume-based stop loss. Uses ATR scaled by the ratio of current volume
5
5
  * to average volume. Trails the stop in the direction of the trend.
6
6
  *
7
- * Reference: TradingView "Anti-Volume Stop Loss" (community)
7
+ * Reference: "Anti-Volume Stop Loss" (community)
8
8
  */
9
9
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
10
10
  export interface AntiVolumeStopInputs {
@@ -11,7 +11,7 @@
11
11
  * Pine plots all 5 with plot.style_circles and color.new(color, 100) (fully transparent).
12
12
  * We keep them visible with low opacity so the data is usable in the TS framework.
13
13
  *
14
- * Reference: TradingView "ATR+ (Stop Loss Indicator)" by ZenAndTheArtOfTrading
14
+ * Reference: "ATR+ (Stop Loss Indicator)" by ZenAndTheArtOfTrading
15
15
  */
16
16
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
17
17
  export interface ATRPlusInputs {
@@ -5,7 +5,7 @@
5
5
  * Green in uptrend (price above stop), red in downtrend (price below stop).
6
6
  * Stop ratchets in favorable direction only.
7
7
  *
8
- * Reference: TradingView "Average True Range Trailing Stops Colored" (community)
8
+ * Reference: "Average True Range Trailing Stops Colored" (community)
9
9
  */
10
10
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
11
11
  export interface ATRTrailingColoredInputs {
@@ -5,7 +5,7 @@
5
5
  * Trailing stop ratchets in favorable direction only.
6
6
  * Green when price above stop (long), red when below (short).
7
7
  *
8
- * Reference: TradingView "ATR Trailing Stops" (community)
8
+ * Reference: "ATR Trailing Stops" (community)
9
9
  */
10
10
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
11
11
  export interface ATRTrailingStopsInputs {
@@ -4,7 +4,7 @@
4
4
  * Automatic Fibonacci retracement levels based on highest high and lowest low
5
5
  * over a lookback period. Plots 7 standard Fibonacci levels.
6
6
  *
7
- * Reference: TradingView "Auto Fibonacci" (community)
7
+ * Reference: "Auto Fibonacci" (community)
8
8
  */
9
9
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
10
10
  export interface AutoFibInputs {
@@ -5,7 +5,7 @@
5
5
  * Calculates Fibonacci retracement levels on a selectable indicator
6
6
  * (RSI/CCI/MFI/Stoch/CMO), auto-detecting highs/lows over a lookback period.
7
7
  *
8
- * Reference: TradingView "Auto Fibo on Indicators" by KivancOzbilgic
8
+ * Reference: "Auto Fibo on Indicators" by KivancOzbilgic
9
9
  */
10
10
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
11
11
  export interface AutoFiboIndicatorsInputs {
@@ -1 +1 @@
1
- {"version":3,"file":"auto-fibo-indicators.d.ts","sourceRoot":"","sources":["../../src/community/auto-fibo-indicators.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAE5G,MAAM,WAA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,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,aAAa,EAAE,wBAa3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAAW,EAapC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,EAclC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,MAAM,GAAE,OAAO,CAAC,wBAAwB,CAAM,GAAG,eAAe,CA4JtG;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;CAAkE,CAAC"}
@@ -8,7 +8,7 @@
8
8
  * level7/level8 = regular pivot high/low (valuewhen occurrence 2)
9
9
  * Each plot colored green when close >= level, red otherwise.
10
10
  *
11
- * Reference: TradingView "Automatic Support & Resistance by getmohsin.py" (community)
11
+ * Reference: "Automatic Support & Resistance by getmohsin.py" (community)
12
12
  */
13
13
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
14
14
  export interface AutoSupportResistanceInputs {
@@ -1 +1 @@
1
- {"version":3,"file":"auto-support-resistance.d.ts","sourceRoot":"","sources":["../../src/community/auto-support-resistance.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAE5G,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,EAAE,2BAI3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAAW,EAIpC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,EASlC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,MAAM,GAAE,OAAO,CAAC,2BAA2B,CAAM,GAAG,eAAe,CA6DzG;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;CAAkE,CAAC"}
1
+ {"version":3,"file":"auto-support-resistance.d.ts","sourceRoot":"","sources":["../../src/community/auto-support-resistance.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAE5G,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,EAAE,2BAI3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAAW,EAIpC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,EASlC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,MAAM,GAAE,OAAO,CAAC,2BAA2B,CAAM,GAAG,eAAe,CA4DzG;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;CAAkE,CAAC"}
@@ -10,7 +10,7 @@
10
10
  *
11
11
  * Multipliers: 1,2,3,4,5,6,7,8,9,10,15,20,25,30,35,40,45,50,75,100,150,200,250,300,350,400,450,500
12
12
  *
13
- * Reference: TradingView "Auto-Support v 0.3" (community)
13
+ * Reference: "Auto-Support v 0.3" (community)
14
14
  */
15
15
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
16
16
  export interface AutoSupportInputs {
@@ -4,19 +4,29 @@
4
4
  * Automatically draws trend lines by connecting consecutive fractals (pivot highs/lows).
5
5
  * Detects HH/HL/LH/LL patterns from consecutive fractals and plots markers.
6
6
  * Recent lines are colored purple, historical lines are gray.
7
+ * Optional markers where the close crosses the most recent upper/lower trendline.
7
8
  *
8
- * Reference: TradingView "Auto Trendline [DojiEmoji]" (community)
9
+ * Reference: "Auto Trendline [DojiEmoji]" (community, Pine v5)
9
10
  */
10
11
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
11
12
  import type { MarkerData, LineDrawingData } from '../types';
12
13
  export interface AutoTrendlineInputs {
13
14
  fractalPeriod: number;
14
- maxPairs: number;
15
- extend: string;
16
- showHH: boolean;
15
+ colHL: string;
17
16
  showHL: boolean;
18
- showLH: boolean;
17
+ colLL: string;
19
18
  showLL: boolean;
19
+ colLH: string;
20
+ showLH: boolean;
21
+ colHH: string;
22
+ showHH: boolean;
23
+ lnColRecent: string;
24
+ lnWidthRecent: string;
25
+ lnColPrev: string;
26
+ lnWidthPrev: string;
27
+ maxPairs: number;
28
+ extend: string;
29
+ showCrosses: boolean;
20
30
  }
21
31
  export declare const defaultInputs: AutoTrendlineInputs;
22
32
  export declare const inputConfig: InputConfig[];
@@ -1 +1 @@
1
- {"version":3,"file":"auto-trendline.d.ts","sourceRoot":"","sources":["../../src/community/auto-trendline.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAC5G,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE5D,MAAM,WAAW,mBAAmB;IAClC,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,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MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;CACtB;AAID,eAAO,MAAM,aAAa,EAAE,mBAiB3B,CAAC;AAIF,eAAO,MAAM,WAAW,EAAE,WAAW,EAkBpC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,EAAO,CAAC;AAE3C,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAOF,wBAAgB,SAAS,CACvB,IAAI,EAAE,GAAG,EAAE,EACX,MAAM,GAAE,OAAO,CAAC,mBAAmB,CAAM,GACxC,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,GAAG;IAAE,KAAK,EAAE,eAAe,EAAE,CAAC;IAAC,OAAO,EAAE,UAAU,EAAE,CAAA;CAAE,CA6HxF;AAED,eAAO,MAAM,aAAa;;;;;;;;;;CAAkE,CAAC"}
@@ -5,7 +5,7 @@
5
5
  * Bulls = bullish candle count / total * 100, Bears = bearish / total * 100.
6
6
  * Smoothed with SMA.
7
7
  *
8
- * Reference: TradingView "Average Sentiment Oscillator" (community)
8
+ * Reference: "Average Sentiment Oscillator" (community)
9
9
  */
10
10
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
11
11
  export interface AverageSentimentOscInputs {
@@ -5,7 +5,7 @@
5
5
  * AO = SMA(hl2, fast) - SMA(hl2, slow)
6
6
  * Signal = SMA(AO, signal)
7
7
  *
8
- * Reference: TradingView "Awesome Oscillator V2" (community)
8
+ * Reference: "Awesome Oscillator V2" (community)
9
9
  */
10
10
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
11
11
  export interface AwesomeOscillatorV2Inputs {
@@ -7,7 +7,7 @@
7
7
  * Bull/bear line = EMA(13) of typical price normalized over 34-bar highest/lowest.
8
8
  * Entry signal fires when fund_flow crosses above bull_bear and bull_bear < 25.
9
9
  *
10
- * Reference: TradingView "[blackcat] L3 Banker Fund Flow Trend Oscillator"
10
+ * Reference: "[blackcat] L3 Banker Fund Flow Trend Oscillator"
11
11
  */
12
12
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
13
13
  import type { MarkerData, PlotCandleData } from '../types';
@@ -5,7 +5,7 @@
5
5
  * Bull = cumulative bars above upper BB / length * 100
6
6
  * Bear = cumulative bars below lower BB / length * 100
7
7
  *
8
- * Reference: TradingView "Bollinger Bands Breakout Oscillator" by LuxAlgo
8
+ * Reference: "Bollinger Bands Breakout Oscillator" by LuxAlgo
9
9
  */
10
10
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs';
11
11
  export interface BBBreakoutOscInputs {
@@ -4,7 +4,7 @@
4
4
  * SMA with 3 upper and 3 lower bands at Fibonacci ATR ratios.
5
5
  * Bands = SMA +/- ATR * fibRatio
6
6
  *
7
- * Reference: TradingView "Bollinger Bands Fibonacci Ratios" (community)
7
+ * Reference: "Bollinger Bands Fibonacci Ratios" (community)
8
8
  */
9
9
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
10
10
  export interface BBFibonacciRatiosInputs {
@@ -7,7 +7,7 @@
7
7
  * Bull: close[1] < lower[1] and close > lower and K[1] < lowerlimit and D[1] < lowerlimit
8
8
  * Bear: close[1] > upper[1] and close < upper and K[1] > upperlimit and D[1] > upperlimit
9
9
  *
10
- * Reference: TradingView "Bollinger Bands Stochastic RSI Extreme Signal"
10
+ * Reference: "Bollinger Bands Stochastic RSI Extreme Signal"
11
11
  */
12
12
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs';
13
13
  import type { MarkerData } from '../types';
@@ -5,7 +5,7 @@
5
5
  * Divides volume into bull/bear components based on open/close within the true range,
6
6
  * then identifies specific volume patterns across a lookback period.
7
7
  *
8
- * Reference: TradingView "Better Volume Indicator [LazyBear]" by LazyBear
8
+ * Reference: "Better Volume Indicator [LazyBear]" by LazyBear
9
9
  */
10
10
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
11
11
  import type { BarColorData } from '../types';
@@ -5,7 +5,7 @@
5
5
  * SuperTrend filtering, Bollinger Band OutsideIn swing filter, and buy/sell markers.
6
6
  * Supports 11 MA types: SMA, EMA, WMA, VWMA, SMMA, DEMA, TEMA, HullMA, ZEMA, TMA, SSMA.
7
7
  *
8
- * Reference: TradingView "Big Snapper Alerts R3.0 by JustUncleL"
8
+ * Reference: "Big Snapper Alerts R3.0 by JustUncleL"
9
9
  */
10
10
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
11
11
  import type { MarkerData } from '../types';
@@ -5,7 +5,7 @@
5
5
  * Buy: RSI crosses above 50 AND MACD histogram > 0.
6
6
  * Sell: RSI crosses below 50 AND MACD histogram < 0.
7
7
  *
8
- * Reference: TradingView "Binary Option Arrows" (community)
8
+ * Reference: "Binary Option Arrows" (community)
9
9
  */
10
10
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
11
11
  import type { MarkerData, BgColorData } from '../types';
@@ -15,7 +15,7 @@
15
15
  * 7. Asia KZ 23:00-03:00 orange transp=90
16
16
  * 8. Asia Open Alert 00:00-00:15 orange transp=70
17
17
  *
18
- * Reference: TradingView "Bitcoin Kill Zones v2 [oscarvs]"
18
+ * Reference: "Bitcoin Kill Zones v2 [oscarvs]"
19
19
  */
20
20
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
21
21
  import type { BgColorData } from '../types';
@@ -4,7 +4,7 @@
4
4
  * Logarithmic growth curves with Fibonacci levels for BTC long-term modeling.
5
5
  * Uses log/pow calculations based on days since Bitcoin genesis (~2010-07-21).
6
6
  *
7
- * Reference: TradingView "Bitcoin Logarithmic Growth Curves" by Quantadelic
7
+ * Reference: "Bitcoin Logarithmic Growth Curves" by Quantadelic
8
8
  */
9
9
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
10
10
  import type { LineDrawingData } from '../types';
@@ -5,7 +5,7 @@
5
5
  * Computes swing high/low over a lookback window, applies offset, and ratchets
6
6
  * the trail in the favorable direction. Flips direction when price breaches trail.
7
7
  *
8
- * Reference: TradingView "Bjorgum AutoTrail" by Bjorgum (simplified for auto mode)
8
+ * Reference: "Bjorgum AutoTrail" by Bjorgum (simplified for auto mode)
9
9
  */
10
10
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
11
11
  import type { MarkerData } from '../types';
@@ -11,7 +11,7 @@
11
11
  * fill(emaslowplot, emaslowplot2, fillCol2, transp=80) -- EMA-5 vs EMA-9
12
12
  * fill(emaslowplot2, emaslowplot3, fillCol3, transp=75) -- EMA-9 vs EMA-21
13
13
  *
14
- * Reference: TradingView "Bjorgum Triple EMA Strategy" (TV#84)
14
+ * Reference: "Bjorgum Triple EMA Strategy"
15
15
  */
16
16
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
17
17
  import type { BarColorData } from '../types';
@@ -6,7 +6,7 @@
6
6
  * Signal = EMA(TSI, signalLen)
7
7
  * Fast/Slow speed presets. Bar histogram for TSI-signal spread.
8
8
  *
9
- * Reference: TradingView "Bjorgum TSI" community indicator
9
+ * Reference: "Bjorgum TSI" community indicator
10
10
  */
11
11
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
12
12
  export interface BjorgumTSIInputs {
@@ -1 +1 @@
1
- {"version":3,"file":"bjorgum-tsi.d.ts","sourceRoot":"","sources":["../../src/community/bjorgum-tsi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAE5G,MAAM,WAAW,gBAAgB;IAC/B,UAAU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,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,EAAE,gBAY3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAAW,EAYpC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,EASlC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,MAAM,GAAE,OAAO,CAAC,gBAAgB,CAAM,GAAG,eAAe,CAoK9F;AAED,eAAO,MAAM,UAAU;;;;;;;;;;CAAkE,CAAC"}
@@ -22,7 +22,7 @@
22
22
  * break_down -> arrowDown aboveBar red "Sell"
23
23
  * break_up -> arrowUp belowBar green "Buy"
24
24
  *
25
- * Reference: TradingView "Bollinger Awesome Alert R1.1 by JustUncleL"
25
+ * Reference: "Bollinger Awesome Alert R1.1 by JustUncleL"
26
26
  */
27
27
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
28
28
  import type { MarkerData } from '../types';
@@ -7,7 +7,7 @@
7
7
  * LSMA WaveTrend using linreg for additional confluence.
8
8
  * Entry signals from crossover conditions on quotient + trigger.
9
9
  *
10
- * Reference: TradingView "Boom Hunter Pro" by veryfid
10
+ * Reference: "Boom Hunter Pro" by veryfid
11
11
  */
12
12
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
13
13
  import type { MarkerData } from '../types';
@@ -6,7 +6,7 @@
6
6
  * BearTrend = (highest50 - close) / atr5
7
7
  * Trend = BullTrend - BearTrend
8
8
  *
9
- * Reference: TradingView "Bull Bear Power Trend" (community)
9
+ * Reference: "Bull Bear Power Trend" (community)
10
10
  */
11
11
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
12
12
  export interface BullBearPowerTrendInputs {
@@ -5,7 +5,7 @@
5
5
  * Bullish engulfing: previous candle bearish, current candle bullish,
6
6
  * current body fully engulfs previous body.
7
7
  *
8
- * Reference: TradingView "Bullish Engulfing automatic finding script" (community)
8
+ * Reference: "Bullish Engulfing automatic finding script" (community)
9
9
  */
10
10
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
11
11
  import type { MarkerData, BarColorData } from '../types';
@@ -8,7 +8,7 @@
8
8
  * - Moving average (midpoint and/or close)
9
9
  * Plus an hline at a configurable level.
10
10
  *
11
- * Reference: TradingView "Custom Indicator Clearly Shows If Bulls or Bears are in Control!"
11
+ * Reference: "Custom Indicator Clearly Shows If Bulls or Bears are in Control!"
12
12
  */
13
13
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
14
14
  export interface BullsBearsInputs {
@@ -5,7 +5,7 @@
5
5
  * Plots: SELLING (columns), BUYING (columns), SPAvg (line), BPAvg (line),
6
6
  * plus Buy-to-Sell Convergence/Divergence oscillators: VPO1, VPO2, VPH.
7
7
  *
8
- * Reference: TradingView "BUY & SELL VOLUME TO PRICE PRESSURE by @XeL_Arjona" (community)
8
+ * Reference: "BUY & SELL VOLUME TO PRICE PRESSURE by @XeL_Arjona" (community)
9
9
  */
10
10
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
11
11
  export interface BuySellPressureInputs {
@@ -6,7 +6,7 @@
6
6
  * SellVolume%, VolumeIndex. Pressure columns show dominant as positive,
7
7
  * counterforce as negative.
8
8
  *
9
- * Reference: TradingView "Buying Selling Volume" by ceyhun (community)
9
+ * Reference: "Buying Selling Volume" by ceyhun (community)
10
10
  */
11
11
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
12
12
  import type { BarColorData } from '../types';
@@ -10,7 +10,7 @@
10
10
  * Uses pivothigh/pivotlow(5,0) for trend direction context.
11
11
  * Optional SMA overlay.
12
12
  *
13
- * Reference: TradingView "Candlestick Reversal System" by LonesomeTheBlue (community)
13
+ * Reference: "Candlestick Reversal System" by LonesomeTheBlue (community)
14
14
  */
15
15
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
16
16
  import type { MarkerData } from '../types';
@@ -18,6 +18,7 @@ export interface CandlestickReversalInputs {
18
18
  pivotLen: number;
19
19
  showMA: boolean;
20
20
  maLen: number;
21
+ maColor: string;
21
22
  enableWick: boolean;
22
23
  wickMultiplier: number;
23
24
  wickBodyPct: number;
@@ -1 +1 @@
1
- {"version":3,"file":"candlestick-reversal.d.ts","sourceRoot":"","sources":["../../src/community/candlestick-reversal.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAC5G,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,aAAa,EAAE,yBAgB3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAAW,EAgBpC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,EAElC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,wBAAgB,SAAS,CAAC,IAA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GAAG,EAAE,EAAE,MAAM,GAAE,OAAO,CAAC,yBAAyB,CAAM,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,GAAG;IAAE,OAAO,EAAE,UAAU,EAAE,CAAA;CAAE,CA6KpJ;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;CAAkE,CAAC"}
@@ -9,7 +9,7 @@
9
9
  * The CCI is computed on close (standard CCI), NOT on OBV.
10
10
  * Color coding: OBV line is green when CCI >= threshold, red otherwise.
11
11
  *
12
- * Reference: TradingView "CCI coded OBV" by LazyBear
12
+ * Reference: "CCI coded OBV" by LazyBear
13
13
  */
14
14
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
15
15
  export interface CCIOBVInputs {
@@ -4,7 +4,7 @@
4
4
  * CCI = (close - SMA(close, len)) / (0.015 * meanDev(close, len))
5
5
  * Then apply Stochastic to CCI: K = stoch(CCI, CCI, CCI, stochLen), smoothed.
6
6
  *
7
- * Reference: TradingView "CCI Stochastic" (TV#117)
7
+ * Reference: "CCI Stochastic"
8
8
  */
9
9
  import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs';
10
10
  import type { MarkerData } from '../types';