oakscriptjs 0.24.0 → 0.25.1

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 (300) hide show
  1. package/README.md +25 -1
  2. package/bin/oakscript.mjs +10 -3
  3. package/dist/cjs/box/index.d.ts +348 -289
  4. package/dist/cjs/box/index.d.ts.map +1 -1
  5. package/dist/cjs/box/index.js.map +2 -2
  6. package/dist/cjs/check/node.d.ts.map +1 -1
  7. package/dist/cjs/check/node.js +1 -0
  8. package/dist/cjs/check/node.js.map +2 -2
  9. package/dist/cjs/check/preview.d.ts +31 -0
  10. package/dist/cjs/check/preview.d.ts.map +1 -0
  11. package/dist/cjs/check/preview.js +303 -0
  12. package/dist/cjs/check/preview.js.map +7 -0
  13. package/dist/cjs/color/index.d.ts +11 -11
  14. package/dist/cjs/color/index.js.map +1 -1
  15. package/dist/cjs/color/parse.d.ts +2 -0
  16. package/dist/cjs/color/parse.d.ts.map +1 -1
  17. package/dist/cjs/color/parse.js +6 -0
  18. package/dist/cjs/color/parse.js.map +2 -2
  19. package/dist/cjs/compare/index.d.ts +76 -12
  20. package/dist/cjs/compare/index.d.ts.map +1 -1
  21. package/dist/cjs/compare/index.js.map +2 -2
  22. package/dist/cjs/drawing/registry.d.ts +28 -5
  23. package/dist/cjs/drawing/registry.d.ts.map +1 -1
  24. package/dist/cjs/drawing/registry.js +14 -0
  25. package/dist/cjs/drawing/registry.js.map +2 -2
  26. package/dist/cjs/index.d.ts +1 -1
  27. package/dist/cjs/index.js +1 -1
  28. package/dist/cjs/index.js.map +1 -1
  29. package/dist/cjs/label/index.d.ts +265 -187
  30. package/dist/cjs/label/index.d.ts.map +1 -1
  31. package/dist/cjs/label/index.js +1 -1
  32. package/dist/cjs/label/index.js.map +2 -2
  33. package/dist/cjs/line/index.d.ts +247 -207
  34. package/dist/cjs/line/index.d.ts.map +1 -1
  35. package/dist/cjs/line/index.js.map +2 -2
  36. package/dist/cjs/linefill/index.d.ts +61 -89
  37. package/dist/cjs/linefill/index.d.ts.map +1 -1
  38. package/dist/cjs/linefill/index.js.map +2 -2
  39. package/dist/cjs/math/index.d.ts +49 -40
  40. package/dist/cjs/math/index.d.ts.map +1 -1
  41. package/dist/cjs/math/index.js.map +2 -2
  42. package/dist/cjs/polyline/index.d.ts +57 -78
  43. package/dist/cjs/polyline/index.d.ts.map +1 -1
  44. package/dist/cjs/polyline/index.js.map +2 -2
  45. package/dist/cjs/runtime/input-active.d.ts +2 -2
  46. package/dist/cjs/runtime/input-active.js.map +1 -1
  47. package/dist/cjs/runtime/series.d.ts +241 -161
  48. package/dist/cjs/runtime/series.d.ts.map +1 -1
  49. package/dist/cjs/runtime/series.js +223 -127
  50. package/dist/cjs/runtime/series.js.map +2 -2
  51. package/dist/cjs/script/api/alert.d.ts +37 -0
  52. package/dist/cjs/script/api/alert.d.ts.map +1 -0
  53. package/dist/cjs/script/api/alert.js +17 -0
  54. package/dist/cjs/script/api/alert.js.map +7 -0
  55. package/dist/cjs/script/api/calc.d.ts +232 -0
  56. package/dist/cjs/script/api/calc.d.ts.map +1 -0
  57. package/dist/cjs/script/api/calc.js +17 -0
  58. package/dist/cjs/script/api/calc.js.map +7 -0
  59. package/dist/cjs/script/api/color.d.ts +213 -0
  60. package/dist/cjs/script/api/color.d.ts.map +1 -0
  61. package/dist/cjs/script/api/color.js +17 -0
  62. package/dist/cjs/script/api/color.js.map +7 -0
  63. package/dist/cjs/script/api/context.d.ts +764 -0
  64. package/dist/cjs/script/api/context.d.ts.map +1 -0
  65. package/dist/cjs/script/api/context.js +17 -0
  66. package/dist/cjs/script/api/context.js.map +7 -0
  67. package/dist/cjs/script/api/log.d.ts +58 -0
  68. package/dist/cjs/script/api/log.d.ts.map +1 -0
  69. package/dist/cjs/script/api/log.js +17 -0
  70. package/dist/cjs/script/api/log.js.map +7 -0
  71. package/dist/cjs/script/api/strategy.d.ts +391 -0
  72. package/dist/cjs/script/api/strategy.d.ts.map +1 -0
  73. package/dist/cjs/script/api/strategy.js +17 -0
  74. package/dist/cjs/script/api/strategy.js.map +7 -0
  75. package/dist/cjs/script/api/ta.d.ts +1012 -0
  76. package/dist/cjs/script/api/ta.d.ts.map +1 -0
  77. package/dist/cjs/script/api/ta.js +17 -0
  78. package/dist/cjs/script/api/ta.js.map +7 -0
  79. package/dist/cjs/script/api/table.d.ts +479 -0
  80. package/dist/cjs/script/api/table.d.ts.map +1 -0
  81. package/dist/cjs/script/api/table.js +17 -0
  82. package/dist/cjs/script/api/table.js.map +7 -0
  83. package/dist/cjs/script/constants.d.ts +228 -83
  84. package/dist/cjs/script/constants.d.ts.map +1 -1
  85. package/dist/cjs/script/constants.js +87 -0
  86. package/dist/cjs/script/constants.js.map +2 -2
  87. package/dist/cjs/script/define.d.ts +94 -0
  88. package/dist/cjs/script/define.d.ts.map +1 -0
  89. package/dist/cjs/script/define.js +127 -0
  90. package/dist/cjs/script/define.js.map +7 -0
  91. package/dist/cjs/script/drawing-args.d.ts.map +1 -1
  92. package/dist/cjs/script/drawing-args.js +1 -1
  93. package/dist/cjs/script/drawing-args.js.map +2 -2
  94. package/dist/cjs/script/formula.d.ts +53 -0
  95. package/dist/cjs/script/formula.d.ts.map +1 -0
  96. package/dist/cjs/script/formula.js +402 -0
  97. package/dist/cjs/script/formula.js.map +7 -0
  98. package/dist/cjs/script/globals.d.ts +10 -0
  99. package/dist/cjs/script/globals.d.ts.map +1 -1
  100. package/dist/cjs/script/globals.js.map +1 -1
  101. package/dist/cjs/script/index.d.ts +1067 -1006
  102. package/dist/cjs/script/index.d.ts.map +1 -1
  103. package/dist/cjs/script/index.js +530 -60
  104. package/dist/cjs/script/index.js.map +3 -3
  105. package/dist/cjs/script/json.d.ts +117 -0
  106. package/dist/cjs/script/json.d.ts.map +1 -0
  107. package/dist/cjs/script/json.js +321 -0
  108. package/dist/cjs/script/json.js.map +7 -0
  109. package/dist/cjs/str/index.d.ts +50 -75
  110. package/dist/cjs/str/index.d.ts.map +1 -1
  111. package/dist/cjs/str/index.js +2 -2
  112. package/dist/cjs/str/index.js.map +2 -2
  113. package/dist/cjs/strategy/index.d.ts +102 -1
  114. package/dist/cjs/strategy/index.d.ts.map +1 -1
  115. package/dist/cjs/strategy/index.js.map +2 -2
  116. package/dist/cjs/table/index.d.ts +330 -49
  117. package/dist/cjs/table/index.d.ts.map +1 -1
  118. package/dist/cjs/table/index.js +55 -27
  119. package/dist/cjs/table/index.js.map +2 -2
  120. package/dist/cjs/text/index.d.ts +12 -14
  121. package/dist/cjs/text/index.d.ts.map +1 -1
  122. package/dist/cjs/text/index.js.map +2 -2
  123. package/dist/cjs/types/index.d.ts +15 -8
  124. package/dist/cjs/types/index.d.ts.map +1 -1
  125. package/dist/cjs/types/index.js +12 -3
  126. package/dist/cjs/types/index.js.map +2 -2
  127. package/dist/esm/box/index.d.ts +348 -289
  128. package/dist/esm/box/index.d.ts.map +1 -1
  129. package/dist/esm/box/index.js +276 -276
  130. package/dist/esm/box/index.js.map +1 -1
  131. package/dist/esm/check/node.d.ts.map +1 -1
  132. package/dist/esm/check/node.js +1 -0
  133. package/dist/esm/check/node.js.map +1 -1
  134. package/dist/esm/check/preview.d.ts +31 -0
  135. package/dist/esm/check/preview.d.ts.map +1 -0
  136. package/dist/esm/check/preview.js +296 -0
  137. package/dist/esm/check/preview.js.map +1 -0
  138. package/dist/esm/color/index.d.ts +11 -11
  139. package/dist/esm/color/index.js +11 -11
  140. package/dist/esm/color/parse.d.ts +2 -0
  141. package/dist/esm/color/parse.d.ts.map +1 -1
  142. package/dist/esm/color/parse.js +7 -0
  143. package/dist/esm/color/parse.js.map +1 -1
  144. package/dist/esm/compare/index.d.ts +76 -12
  145. package/dist/esm/compare/index.d.ts.map +1 -1
  146. package/dist/esm/compare/index.js +76 -12
  147. package/dist/esm/compare/index.js.map +1 -1
  148. package/dist/esm/drawing/registry.d.ts +28 -5
  149. package/dist/esm/drawing/registry.d.ts.map +1 -1
  150. package/dist/esm/drawing/registry.js +39 -3
  151. package/dist/esm/drawing/registry.js.map +1 -1
  152. package/dist/esm/index.d.ts +1 -1
  153. package/dist/esm/index.js +1 -1
  154. package/dist/esm/label/index.d.ts +265 -187
  155. package/dist/esm/label/index.d.ts.map +1 -1
  156. package/dist/esm/label/index.js +207 -177
  157. package/dist/esm/label/index.js.map +1 -1
  158. package/dist/esm/line/index.d.ts +247 -207
  159. package/dist/esm/line/index.d.ts.map +1 -1
  160. package/dist/esm/line/index.js +202 -194
  161. package/dist/esm/line/index.js.map +1 -1
  162. package/dist/esm/linefill/index.d.ts +61 -89
  163. package/dist/esm/linefill/index.d.ts.map +1 -1
  164. package/dist/esm/linefill/index.js +61 -89
  165. package/dist/esm/linefill/index.js.map +1 -1
  166. package/dist/esm/math/index.d.ts +49 -40
  167. package/dist/esm/math/index.d.ts.map +1 -1
  168. package/dist/esm/math/index.js +22 -9
  169. package/dist/esm/math/index.js.map +1 -1
  170. package/dist/esm/polyline/index.d.ts +57 -78
  171. package/dist/esm/polyline/index.d.ts.map +1 -1
  172. package/dist/esm/polyline/index.js +57 -78
  173. package/dist/esm/polyline/index.js.map +1 -1
  174. package/dist/esm/runtime/input-active.d.ts +2 -2
  175. package/dist/esm/runtime/input-active.js +2 -2
  176. package/dist/esm/runtime/series.d.ts +241 -161
  177. package/dist/esm/runtime/series.d.ts.map +1 -1
  178. package/dist/esm/runtime/series.js +241 -161
  179. package/dist/esm/runtime/series.js.map +1 -1
  180. package/dist/esm/script/api/alert.d.ts +37 -0
  181. package/dist/esm/script/api/alert.d.ts.map +1 -0
  182. package/dist/esm/script/api/alert.js +7 -0
  183. package/dist/esm/script/api/alert.js.map +1 -0
  184. package/dist/esm/script/api/calc.d.ts +232 -0
  185. package/dist/esm/script/api/calc.d.ts.map +1 -0
  186. package/dist/esm/script/api/calc.js +6 -0
  187. package/dist/esm/script/api/calc.js.map +1 -0
  188. package/dist/esm/script/api/color.d.ts +213 -0
  189. package/dist/esm/script/api/color.d.ts.map +1 -0
  190. package/dist/esm/script/api/color.js +6 -0
  191. package/dist/esm/script/api/color.js.map +1 -0
  192. package/dist/esm/script/api/context.d.ts +764 -0
  193. package/dist/esm/script/api/context.d.ts.map +1 -0
  194. package/dist/esm/script/api/context.js +7 -0
  195. package/dist/esm/script/api/context.js.map +1 -0
  196. package/dist/esm/script/api/log.d.ts +58 -0
  197. package/dist/esm/script/api/log.d.ts.map +1 -0
  198. package/dist/esm/script/api/log.js +6 -0
  199. package/dist/esm/script/api/log.js.map +1 -0
  200. package/dist/esm/script/api/strategy.d.ts +391 -0
  201. package/dist/esm/script/api/strategy.d.ts.map +1 -0
  202. package/dist/esm/script/api/strategy.js +7 -0
  203. package/dist/esm/script/api/strategy.js.map +1 -0
  204. package/dist/esm/script/api/ta.d.ts +1012 -0
  205. package/dist/esm/script/api/ta.d.ts.map +1 -0
  206. package/dist/esm/script/api/ta.js +6 -0
  207. package/dist/esm/script/api/ta.js.map +1 -0
  208. package/dist/esm/script/api/table.d.ts +479 -0
  209. package/dist/esm/script/api/table.d.ts.map +1 -0
  210. package/dist/esm/script/api/table.js +7 -0
  211. package/dist/esm/script/api/table.js.map +1 -0
  212. package/dist/esm/script/constants.d.ts +228 -83
  213. package/dist/esm/script/constants.d.ts.map +1 -1
  214. package/dist/esm/script/constants.js +110 -24
  215. package/dist/esm/script/constants.js.map +1 -1
  216. package/dist/esm/script/define.d.ts +94 -0
  217. package/dist/esm/script/define.d.ts.map +1 -0
  218. package/dist/esm/script/define.js +136 -0
  219. package/dist/esm/script/define.js.map +1 -0
  220. package/dist/esm/script/drawing-args.d.ts.map +1 -1
  221. package/dist/esm/script/drawing-args.js +2 -1
  222. package/dist/esm/script/drawing-args.js.map +1 -1
  223. package/dist/esm/script/formula.d.ts +53 -0
  224. package/dist/esm/script/formula.d.ts.map +1 -0
  225. package/dist/esm/script/formula.js +408 -0
  226. package/dist/esm/script/formula.js.map +1 -0
  227. package/dist/esm/script/globals.d.ts +10 -0
  228. package/dist/esm/script/globals.d.ts.map +1 -1
  229. package/dist/esm/script/globals.js.map +1 -1
  230. package/dist/esm/script/index.d.ts +1067 -1006
  231. package/dist/esm/script/index.d.ts.map +1 -1
  232. package/dist/esm/script/index.js +1096 -151
  233. package/dist/esm/script/index.js.map +1 -1
  234. package/dist/esm/script/json.d.ts +117 -0
  235. package/dist/esm/script/json.d.ts.map +1 -0
  236. package/dist/esm/script/json.js +375 -0
  237. package/dist/esm/script/json.js.map +1 -0
  238. package/dist/esm/str/index.d.ts +50 -75
  239. package/dist/esm/str/index.d.ts.map +1 -1
  240. package/dist/esm/str/index.js +51 -76
  241. package/dist/esm/str/index.js.map +1 -1
  242. package/dist/esm/strategy/index.d.ts +102 -1
  243. package/dist/esm/strategy/index.d.ts.map +1 -1
  244. package/dist/esm/strategy/index.js +1 -1
  245. package/dist/esm/strategy/index.js.map +1 -1
  246. package/dist/esm/table/index.d.ts +330 -49
  247. package/dist/esm/table/index.d.ts.map +1 -1
  248. package/dist/esm/table/index.js +372 -61
  249. package/dist/esm/table/index.js.map +1 -1
  250. package/dist/esm/text/index.d.ts +12 -14
  251. package/dist/esm/text/index.d.ts.map +1 -1
  252. package/dist/esm/text/index.js +12 -14
  253. package/dist/esm/text/index.js.map +1 -1
  254. package/dist/esm/types/index.d.ts +15 -8
  255. package/dist/esm/types/index.d.ts.map +1 -1
  256. package/dist/esm/types/index.js +15 -8
  257. package/dist/esm/types/index.js.map +1 -1
  258. package/docs/first-indicator.md +152 -0
  259. package/docs/guide.md +1185 -0
  260. package/docs/inventory.md +772 -0
  261. package/docs/no-code.md +207 -0
  262. package/docs/recipes.md +202 -0
  263. package/package.json +2 -1
  264. package/skills/oakscript/SKILL.md +8 -0
  265. package/skills/oakscript/reference/errors.md +3 -2
  266. package/src/box/index.ts +348 -289
  267. package/src/check/node.ts +1 -0
  268. package/src/check/preview.ts +307 -0
  269. package/src/color/index.ts +11 -11
  270. package/src/color/parse.ts +7 -0
  271. package/src/compare/index.ts +76 -12
  272. package/src/drawing/registry.ts +44 -5
  273. package/src/index.ts +1 -1
  274. package/src/label/index.ts +267 -189
  275. package/src/line/index.ts +248 -208
  276. package/src/linefill/index.ts +61 -89
  277. package/src/math/index.ts +51 -42
  278. package/src/polyline/index.ts +57 -78
  279. package/src/runtime/input-active.ts +2 -2
  280. package/src/runtime/series.ts +243 -163
  281. package/src/script/api/alert.ts +43 -0
  282. package/src/script/api/calc.ts +250 -0
  283. package/src/script/api/color.ts +245 -0
  284. package/src/script/api/context.ts +944 -0
  285. package/src/script/api/log.ts +60 -0
  286. package/src/script/api/strategy.ts +410 -0
  287. package/src/script/api/ta.ts +1115 -0
  288. package/src/script/api/table.ts +538 -0
  289. package/src/script/constants.ts +229 -25
  290. package/src/script/define.ts +221 -0
  291. package/src/script/drawing-args.ts +2 -1
  292. package/src/script/formula.ts +438 -0
  293. package/src/script/globals.ts +10 -0
  294. package/src/script/index.ts +1519 -239
  295. package/src/script/json.ts +457 -0
  296. package/src/str/index.ts +51 -76
  297. package/src/strategy/index.ts +102 -1
  298. package/src/table/index.ts +388 -62
  299. package/src/text/index.ts +12 -14
  300. package/src/types/index.ts +15 -8
@@ -1,205 +1,350 @@
1
1
  /**
2
- * @fileoverview PineScript constant namespaces of the script API: `shape.*`, `location.*`, `size.*`, `xloc.*`,
3
- * `yloc.*`, `extend.*`, `display.*`, `format.*`, `font.*`, `scale.*`, `order.*`, `currency.*`, `adjustment.*`, and the
4
- * `label.style_*`, `line.style_*`, `dayofweek.*` members. Each constant is the string (or number) the functions take,
5
- * so `plotshape(cond, "Buy", { style: shape.triangleup })` and `{ style: "triangleup" }` are the same.
2
+ * @fileoverview Constant groups of the script API: `shape.*`, `location.*`, `size.*`, `xloc.*`, `yloc.*`, `extend.*`,
3
+ * `display.*`, `format.*`, `font.*`, `scale.*`, `order.*`, `currency.*`, `adjustment.*`, and the `label.style_*`,
4
+ * `line.style_*`, `dayofweek.*` members. Each constant is the string (or number) the functions take, so
5
+ * `plotshape(cond, "Buy", { style: shape.triangleup })` and `{ style: "triangleup" }` are the same.
6
6
  *
7
7
  * @module script/constants
8
8
  */
9
- /** PineScript `shape.*`: the shapes of plotshape(). */
9
+ /** Shapes of `plotshape()` (`style` option): `plotshape(cond, "Buy", { style: shape.triangleup })`. */
10
10
  export declare const shape: {
11
+ /** A diagonal cross (x). */
11
12
  readonly xcross: "xcross";
13
+ /** An upright cross (+). */
12
14
  readonly cross: "cross";
15
+ /** A triangle pointing up. */
13
16
  readonly triangleup: "triangleup";
17
+ /** A triangle pointing down. */
14
18
  readonly triangledown: "triangledown";
19
+ /** A small flag. */
15
20
  readonly flag: "flag";
21
+ /** A filled circle. */
16
22
  readonly circle: "circle";
23
+ /** An arrow pointing up. */
17
24
  readonly arrowup: "arrowup";
25
+ /** An arrow pointing down. */
18
26
  readonly arrowdown: "arrowdown";
27
+ /** A label box pointing up (its tip at the value): put it below the bar. */
19
28
  readonly labelup: "labelup";
29
+ /** A label box pointing down (its tip at the value): put it above the bar. */
20
30
  readonly labeldown: "labeldown";
31
+ /** A filled square. */
21
32
  readonly square: "square";
33
+ /** A filled diamond. */
22
34
  readonly diamond: "diamond";
23
35
  };
24
- /** PineScript `location.*`: where plotshape() / plotchar() draw. */
36
+ /** Where `plotshape()` and `plotchar()` draw their marker (`location` option). */
25
37
  export declare const location: {
38
+ /** Above the high of the bar (the default of `plotshape()` and `plotchar()`). */
26
39
  readonly abovebar: "abovebar";
40
+ /** Below the low of the bar. */
27
41
  readonly belowbar: "belowbar";
42
+ /** At the top edge of the pane. */
28
43
  readonly top: "top";
44
+ /** At the bottom edge of the pane. */
29
45
  readonly bottom: "bottom";
46
+ /** At the value of the series itself, read as a price (bars where it is na or 0 get no marker). */
30
47
  readonly absolute: "absolute";
31
48
  };
32
- /** PineScript `size.*`: sizes of shapes, characters, labels and table texts. */
49
+ /** Sizes of shapes, characters, labels and table texts (`size` / `text_size` options). */
33
50
  export declare const size: {
51
+ /** Size chosen by the chart to fit the space. */
34
52
  readonly auto: "auto";
53
+ /** The smallest size. */
35
54
  readonly tiny: "tiny";
55
+ /** Small size. */
36
56
  readonly small: "small";
57
+ /** Normal size. */
37
58
  readonly normal: "normal";
59
+ /** Large size. */
38
60
  readonly large: "large";
61
+ /** The largest size. */
39
62
  readonly huge: "huge";
40
63
  };
41
- /**
42
- * PineScript `xloc.*`: the x coordinate of drawings (bar index or UNIX time in ms). `xloc.pane` is not a Pine value: the x
43
- * coordinates are percents of the pane's width (0 left edge, 100 right edge), so the drawing stays in place while the
44
- * user scrolls and zooms.
45
- */
64
+ /** What the x coordinates of a drawing (label, line, box, polyline) are (`xloc` option). */
46
65
  export declare const xloc: {
66
+ /** Bar indexes: 0 is the first bar, `bar_index` the current one (the default). */
47
67
  readonly bar_index: "bar_index";
68
+ /** UNIX times in milliseconds, such as `time` or `time_close`. */
48
69
  readonly bar_time: "bar_time";
70
+ /** Percents of the pane's width (0 left edge, 100 right edge): the drawing stays in place while the user scrolls and zooms. */
49
71
  readonly pane: "pane";
50
72
  };
51
- /** PineScript `yloc.*`: the y position of labels. */
73
+ /** Vertical placement of a label (`label.new(..., { yloc })`). */
52
74
  export declare const yloc: {
75
+ /** At the y value given to the label (the default). */
53
76
  readonly price: "price";
77
+ /** Above the high of the bar at the label's x; the y value is not used. */
54
78
  readonly abovebar: "abovebar";
79
+ /** Below the low of the bar at the label's x; the y value is not used. */
55
80
  readonly belowbar: "belowbar";
56
81
  };
57
- /** PineScript `extend.*`: line extension. */
82
+ /** How far a line (or a box's top and bottom) is drawn past its two points (`extend` option). */
58
83
  export declare const extend: {
84
+ /** Not extended: drawn between its two points only (the default). */
59
85
  readonly none: "none";
86
+ /** Extended to the left edge of the chart, past the first point. */
60
87
  readonly left: "left";
88
+ /** Extended to the right edge of the chart, past the second point. */
61
89
  readonly right: "right";
90
+ /** Extended in both directions. */
62
91
  readonly both: "both";
63
92
  };
64
- /** PineScript `display.*`: where a plot or input is shown. */
93
+ /** Where a plot or an input value is shown (`display` option). */
65
94
  export declare const display: {
95
+ /** Not shown anywhere; the values still exist for alerts and other scripts. */
66
96
  readonly none: "none";
97
+ /** Shown everywhere: on the pane, in the status line and in the data window. */
67
98
  readonly all: "all";
99
+ /** Shown only in the data window. */
68
100
  readonly data_window: "data_window";
101
+ /** Shown only in the status line of the script. */
69
102
  readonly status_line: "status_line";
103
+ /** Drawn only on the pane, not in the status line or the data window. */
70
104
  readonly pane: "pane";
71
105
  };
72
- /** PineScript `format.*`: the number format of indicator() and str.tostring(). */
106
+ /** Number formats: the `format` option of `indicator()` and the format of `str.tostring()`. */
73
107
  export declare const format: {
108
+ /** The same format as the chart symbol. */
74
109
  readonly inherit: "inherit";
110
+ /** A price, with the precision of the script or of the symbol. */
75
111
  readonly price: "price";
112
+ /** A volume, shortened with K, M, B, T (12345 shows as "12.345K"). */
76
113
  readonly volume: "volume";
114
+ /** A percentage: two decimals and a "%" sign; the value is not multiplied by 100. */
77
115
  readonly percent: "percent";
116
+ /** Rounded to the tick size of the symbol (`syminfo.mintick`). */
78
117
  readonly mintick: "mintick";
79
118
  };
80
- /** PineScript `font.*`: font families of labels, boxes and table cells. */
119
+ /** Font families of labels, boxes and table cells (`text_font_family` option). */
81
120
  export declare const font: {
121
+ /** The default font of the chart. */
82
122
  readonly family_default: "default";
123
+ /** A monospace font: every character has the same width. */
83
124
  readonly family_monospace: "monospace";
84
125
  };
85
- /** PineScript `scale.*`: the price scale of indicator() (`scale` option). */
126
+ /** Price scale a script is attached to (`indicator(..., { scale })`). */
86
127
  export declare const scale: {
128
+ /** The right price scale. */
87
129
  readonly right: "right";
130
+ /** The left price scale. */
88
131
  readonly left: "left";
132
+ /** No price scale of its own (for overlay scripts). */
89
133
  readonly none: "none";
90
134
  };
91
- /** PineScript `order.*`: sort order of array.sort() / array.sort_indices() / matrix.sort(). */
135
+ /** Sort order of `array.sort()`, `array.sort_indices()` and `matrix.sort()`. */
92
136
  export declare const order: {
137
+ /** Smallest value first (the default). */
93
138
  readonly ascending: "ascending";
139
+ /** Largest value first. */
94
140
  readonly descending: "descending";
95
141
  };
96
- /** PineScript `adjustment.*`: price adjustment of a ticker. */
142
+ /** Price adjustment of a ticker. Kept for compatibility: no function of the library reads it yet. */
97
143
  export declare const adjustment: {
144
+ /** Prices not adjusted. */
98
145
  readonly none: "none";
146
+ /** Prices adjusted for splits. */
99
147
  readonly splits: "splits";
148
+ /** Prices adjusted for dividends. */
100
149
  readonly dividends: "dividends";
101
150
  };
102
- /** PineScript `currency.*`: currency codes (`strategy(..., { currency })`, `syminfo.currency`); `currency.NONE` is na. */
103
- export declare const currency: {
104
- readonly NONE: "NONE";
105
- readonly AED: "AED";
106
- readonly ARS: "ARS";
107
- readonly AUD: "AUD";
108
- readonly BDT: "BDT";
109
- readonly BHD: "BHD";
110
- readonly BRL: "BRL";
111
- readonly BTC: "BTC";
112
- readonly CAD: "CAD";
113
- readonly CHF: "CHF";
114
- readonly CLP: "CLP";
115
- readonly CNY: "CNY";
116
- readonly COP: "COP";
117
- readonly CZK: "CZK";
118
- readonly DKK: "DKK";
119
- readonly EGP: "EGP";
120
- readonly ETH: "ETH";
121
- readonly EUR: "EUR";
122
- readonly GBP: "GBP";
123
- readonly GEL: "GEL";
124
- readonly HKD: "HKD";
125
- readonly HUF: "HUF";
126
- readonly IDR: "IDR";
127
- readonly ILS: "ILS";
128
- readonly INR: "INR";
129
- readonly ISK: "ISK";
130
- readonly JPY: "JPY";
131
- readonly KES: "KES";
132
- readonly KRW: "KRW";
133
- readonly KWD: "KWD";
134
- readonly LKR: "LKR";
135
- readonly MAD: "MAD";
136
- readonly MXN: "MXN";
137
- readonly MYR: "MYR";
138
- readonly NGN: "NGN";
139
- readonly NOK: "NOK";
140
- readonly NZD: "NZD";
141
- readonly PEN: "PEN";
142
- readonly PHP: "PHP";
143
- readonly PKR: "PKR";
144
- readonly PLN: "PLN";
145
- readonly QAR: "QAR";
146
- readonly RON: "RON";
147
- readonly RSD: "RSD";
148
- readonly RUB: "RUB";
149
- readonly SAR: "SAR";
150
- readonly SEK: "SEK";
151
- readonly SGD: "SGD";
152
- readonly THB: "THB";
153
- readonly TND: "TND";
154
- readonly TRY: "TRY";
155
- readonly TWD: "TWD";
156
- readonly USD: "USD";
157
- readonly USDT: "USDT";
158
- readonly VES: "VES";
159
- readonly VND: "VND";
160
- readonly ZAR: "ZAR";
161
- };
162
- /** PineScript `label.style_*`. */
151
+ /** The members of `currency`: one constant per currency code, its value the code itself. */
152
+ export interface CurrencyConstants {
153
+ /** United Arab Emirates dirham. */
154
+ readonly AED: 'AED';
155
+ /** Argentine peso. */
156
+ readonly ARS: 'ARS';
157
+ /** Australian dollar. */
158
+ readonly AUD: 'AUD';
159
+ /** Bangladeshi taka. */
160
+ readonly BDT: 'BDT';
161
+ /** Bahraini dinar. */
162
+ readonly BHD: 'BHD';
163
+ /** Brazilian real. */
164
+ readonly BRL: 'BRL';
165
+ /** Bitcoin. */
166
+ readonly BTC: 'BTC';
167
+ /** Canadian dollar. */
168
+ readonly CAD: 'CAD';
169
+ /** Swiss franc. */
170
+ readonly CHF: 'CHF';
171
+ /** Chilean peso. */
172
+ readonly CLP: 'CLP';
173
+ /** Chinese yuan. */
174
+ readonly CNY: 'CNY';
175
+ /** Colombian peso. */
176
+ readonly COP: 'COP';
177
+ /** Czech koruna. */
178
+ readonly CZK: 'CZK';
179
+ /** Danish krone. */
180
+ readonly DKK: 'DKK';
181
+ /** Egyptian pound. */
182
+ readonly EGP: 'EGP';
183
+ /** Ether. */
184
+ readonly ETH: 'ETH';
185
+ /** Euro. */
186
+ readonly EUR: 'EUR';
187
+ /** Pound sterling. */
188
+ readonly GBP: 'GBP';
189
+ /** Georgian lari. */
190
+ readonly GEL: 'GEL';
191
+ /** Hong Kong dollar. */
192
+ readonly HKD: 'HKD';
193
+ /** Hungarian forint. */
194
+ readonly HUF: 'HUF';
195
+ /** Indonesian rupiah. */
196
+ readonly IDR: 'IDR';
197
+ /** Israeli new shekel. */
198
+ readonly ILS: 'ILS';
199
+ /** Indian rupee. */
200
+ readonly INR: 'INR';
201
+ /** Icelandic krona. */
202
+ readonly ISK: 'ISK';
203
+ /** Japanese yen. */
204
+ readonly JPY: 'JPY';
205
+ /** Kenyan shilling. */
206
+ readonly KES: 'KES';
207
+ /** South Korean won. */
208
+ readonly KRW: 'KRW';
209
+ /** Kuwaiti dinar. */
210
+ readonly KWD: 'KWD';
211
+ /** Sri Lankan rupee. */
212
+ readonly LKR: 'LKR';
213
+ /** Moroccan dirham. */
214
+ readonly MAD: 'MAD';
215
+ /** Mexican peso. */
216
+ readonly MXN: 'MXN';
217
+ /** Malaysian ringgit. */
218
+ readonly MYR: 'MYR';
219
+ /** Nigerian naira. */
220
+ readonly NGN: 'NGN';
221
+ /** Norwegian krone. */
222
+ readonly NOK: 'NOK';
223
+ /** New Zealand dollar. */
224
+ readonly NZD: 'NZD';
225
+ /** Peruvian sol. */
226
+ readonly PEN: 'PEN';
227
+ /** Philippine peso. */
228
+ readonly PHP: 'PHP';
229
+ /** Pakistani rupee. */
230
+ readonly PKR: 'PKR';
231
+ /** Polish zloty. */
232
+ readonly PLN: 'PLN';
233
+ /** Qatari riyal. */
234
+ readonly QAR: 'QAR';
235
+ /** Romanian leu. */
236
+ readonly RON: 'RON';
237
+ /** Serbian dinar. */
238
+ readonly RSD: 'RSD';
239
+ /** Russian ruble. */
240
+ readonly RUB: 'RUB';
241
+ /** Saudi riyal. */
242
+ readonly SAR: 'SAR';
243
+ /** Swedish krona. */
244
+ readonly SEK: 'SEK';
245
+ /** Singapore dollar. */
246
+ readonly SGD: 'SGD';
247
+ /** Thai baht. */
248
+ readonly THB: 'THB';
249
+ /** Tunisian dinar. */
250
+ readonly TND: 'TND';
251
+ /** Turkish lira. */
252
+ readonly TRY: 'TRY';
253
+ /** New Taiwan dollar. */
254
+ readonly TWD: 'TWD';
255
+ /** United States dollar. */
256
+ readonly USD: 'USD';
257
+ /** Tether (USDT). */
258
+ readonly USDT: 'USDT';
259
+ /** Venezuelan bolivar. */
260
+ readonly VES: 'VES';
261
+ /** Vietnamese dong. */
262
+ readonly VND: 'VND';
263
+ /** South African rand. */
264
+ readonly ZAR: 'ZAR';
265
+ /** No currency (na). */
266
+ readonly NONE: 'NONE';
267
+ }
268
+ /**
269
+ * Currency codes, such as the `currency` option of `strategy()` or the value of `syminfo.currency`
270
+ * (`currency.USD` is "USD"). `currency.NONE` means no currency (na).
271
+ */
272
+ export declare const currency: CurrencyConstants;
273
+ /** Label styles, available as `label.style_*` (`label.new(..., { style })`). */
163
274
  export declare const labelStyles: {
275
+ /** No shape: the text only. */
164
276
  readonly style_none: "none";
277
+ /** A diagonal cross (x) on the point. */
165
278
  readonly style_xcross: "xcross";
279
+ /** An upright cross (+) on the point. */
166
280
  readonly style_cross: "cross";
281
+ /** A triangle pointing up. */
167
282
  readonly style_triangleup: "triangleup";
283
+ /** A triangle pointing down. */
168
284
  readonly style_triangledown: "triangledown";
285
+ /** A small flag. */
169
286
  readonly style_flag: "flag";
287
+ /** A filled circle. */
170
288
  readonly style_circle: "circle";
289
+ /** An arrow pointing up. */
171
290
  readonly style_arrowup: "arrowup";
291
+ /** An arrow pointing down. */
172
292
  readonly style_arrowdown: "arrowdown";
293
+ /** A text box pointing up: its tip on the point, the box below it. */
173
294
  readonly style_label_up: "label_up";
295
+ /** A text box pointing down: its tip on the point, the box above it. */
174
296
  readonly style_label_down: "label_down";
297
+ /** A text box pointing left: its tip on the point, the box to the right. */
175
298
  readonly style_label_left: "label_left";
299
+ /** A text box pointing right: its tip on the point, the box to the left. */
176
300
  readonly style_label_right: "label_right";
301
+ /** A text box whose lower-left corner is on the point (the box above and to the right). */
177
302
  readonly style_label_lower_left: "label_lower_left";
303
+ /** A text box whose lower-right corner is on the point (the box above and to the left). */
178
304
  readonly style_label_lower_right: "label_lower_right";
305
+ /** A text box whose upper-left corner is on the point (the box below and to the right). */
179
306
  readonly style_label_upper_left: "label_upper_left";
307
+ /** A text box whose upper-right corner is on the point (the box below and to the left). */
180
308
  readonly style_label_upper_right: "label_upper_right";
309
+ /** A text box centred on the point, without a tip. */
181
310
  readonly style_label_center: "label_center";
311
+ /** A filled square. */
182
312
  readonly style_square: "square";
313
+ /** A filled diamond. */
183
314
  readonly style_diamond: "diamond";
315
+ /** The text only, with an outline in the label colour. */
184
316
  readonly style_text_outline: "text_outline";
185
317
  };
186
- /** PineScript `line.style_*` (lines, boxes, polylines). */
318
+ /** Line styles, available as `line.style_*` (lines, boxes and polylines). */
187
319
  export declare const lineStyles: {
320
+ /** A solid line (the default). */
188
321
  readonly style_solid: "solid";
322
+ /** A dotted line. */
189
323
  readonly style_dotted: "dotted";
324
+ /** A dashed line. */
190
325
  readonly style_dashed: "dashed";
326
+ /** A solid line with an arrowhead at its first point. */
191
327
  readonly style_arrow_left: "arrow_left";
328
+ /** A solid line with an arrowhead at its second point. */
192
329
  readonly style_arrow_right: "arrow_right";
330
+ /** A solid line with an arrowhead at both ends. */
193
331
  readonly style_arrow_both: "arrow_both";
194
332
  };
195
- /** PineScript `dayofweek.*`: the values of `dayofweek` (1 = Sunday ... 7 = Saturday). */
333
+ /** Days of the week as `dayofweek()` gives them, available as `dayofweek.*` (1 = Sunday ... 7 = Saturday). */
196
334
  export declare const daysOfWeek: {
335
+ /** Sunday (1). */
197
336
  readonly sunday: 1;
337
+ /** Monday (2). */
198
338
  readonly monday: 2;
339
+ /** Tuesday (3). */
199
340
  readonly tuesday: 3;
341
+ /** Wednesday (4). */
200
342
  readonly wednesday: 4;
343
+ /** Thursday (5). */
201
344
  readonly thursday: 5;
345
+ /** Friday (6). */
202
346
  readonly friday: 6;
347
+ /** Saturday (7). */
203
348
  readonly saturday: 7;
204
349
  };
205
350
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/script/constants.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,uDAAuD;AACvD,eAAO,MAAM,KAAK;;;;;;;;;;;;;CAaR,CAAC;AAEX,oEAAoE;AACpE,eAAO,MAAM,QAAQ;;;;;;CAMX,CAAC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