-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathbuilt-in_functions.json
2799 lines (2479 loc) · 167 KB
/
built-in_functions.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"Creates an alert ⇨ 𝑓": {
"prefix": "alert",
"body": [
"alert(message = ${1:\"${2:}\"}, freq = ${3| ,alert.freq_all,alert.freq_once_per_bar,alert.freq_once_per_bar_close|})",
"${0}"
],
"description": "alert(message = string, freq = input string) -> void"
},
"Creates an alert condition ⇨ 𝑓": {
"prefix": "alertcondition",
"body": [
"alertcondition(condition = $1${2:, title = \"${3}\"}, message = ${4:\"${5}\"}) $0"
],
"description": "alertcondition(condition = bool, title = const string, message = const string) → int|float"
},
"Mean of an array's elements ⇨ 𝑓": {
"prefix": "array.avg",
"body": [
"array.avg(id = $1) $0"
],
"description": "array.avg(id = int[]|float[]) → int|float"
},
"Removes all elements from an array ⇨ 𝑓": {
"prefix": "array.clear",
"body": [
"array.clear(id = $1) $0"
],
"description": "array.clear(id = any array type) → void"
},
"Merges two arrays ⇨ 𝑓": {
"prefix": "array.concat",
"body": [
"array.concat(id1 = $1, id2 = $2) $0"
],
"description": "array.concat(id1 = any array type, id2 = any array type) → id1"
},
"Copy of an existing array ⇨ 𝑓": {
"prefix": "array.copy",
"body": [
"array.copy(id = $1) $0"
],
"description": "array.copy(id = any array type) → array"
},
"Covariance of two arrays ⇨ 𝑓": {
"prefix": "array.covariance",
"body": [
"array.covariance(id1 = $1, id2 = $2) $0"
],
"description": "array.covariance(id1 = int[]|float[], id2 = int[]|float[]) → float"
},
"Sets elements of an array to a single value ⇨ 𝑓": {
"prefix": "array.fill",
"body": [
"array.fill(id = $1, value = $2, index_from = $3, index_to = $4) $0"
],
"description": "array.fill(id = any array type, value = series <type of the array's elements>, index_from = int, index_to = int) → bool[]"
},
"Variable number of arguments and returns an array of the corresponding type ⇨ 𝑓": {
"prefix": "array.from",
"body": [
"array.from(arg0 = ${1}${2:, arg1 = ${3}}${4:, arg3 = ${5}}) $0"
],
"description": "array.from(arg0 = series of any argument array type, ...) → (int|float|bool|color|string|label|line|box|table)[]"
},
"Returns the value of the element at the specified index ⇨ 𝑓": {
"prefix": "array.get",
"body": [
"array.get(id = $1, index = $2) $0"
],
"description": "array.get(id = any array type, index = int) → series <type of the array's elements>"
},
"True if the value was found in an array else false ⇨ 𝑓": {
"prefix": "array.includes",
"body": [
"array.includes(id = $1, value = $2) $0"
],
"description": "array.includes(id = any array type, value = series <type of the array's elements>) → series bool"
},
"Index of the first occurrence of the value else -1 ⇨ 𝑓": {
"prefix": "array.indexof",
"body": [
"array.indexof(id = $1, value = $2) $0"
],
"description": "array.indexof(id = any array type, value = series <type of the array's elements>) → int"
},
"Changes the contents by adding new elements in place ⇨ 𝑓": {
"prefix": "array.insert",
"body": [
"array.insert(id = $1, index = $2, value = $3) $0"
],
"description": "array.insert(id = any array type, index = int, value = series <type of the array's elements>) → void"
},
"Concatenating all the elements of an array, separated by `separator ⇨ 𝑓": {
"prefix": "array.join",
"body": [
"array.join(id = $1, separator = ${2:\"${3}\"}) $0"
],
"description": "array.join(id = int[]|float[]|string[], separator = series string) → series string"
},
"Index of the last occurrence of the value else -1 ⇨ 𝑓": {
"prefix": "array.lastindexof",
"body": [
"array.lastindexof(id = $1, value = $2) $0"
],
"description": "array.lastindexof(id = any array type, value = series <type of the array's elements>) → int"
},
"Largest value from a given array ⇨ 𝑓": {
"prefix": "array.max",
"body": [
"array.max(id = $1) $0"
],
"description": "array.max(id = int[]|float[]) → series int|float"
},
"Median of an array's elements ⇨ 𝑓": {
"prefix": "array.median",
"body": [
"array.median(id = $1) $0"
],
"description": "array.median(id = int[]|float[]) → series int|float"
},
"Lowest value of an array's elements ⇨ 𝑓": {
"prefix": "array.min",
"body": [
"array.min(id = $1) $0"
],
"description": "array.min(id = int[]|float[]) → series int|float"
},
"Mode of an array's elements ⇨ 𝑓": {
"prefix": "array.mode",
"body": [
"array.mode(id = $1) $0"
],
"description": "array.mode(id = int[]|float[]) → series int|float"
},
"Creates a new array object of bool ⇨ 𝑓": {
"prefix": "array.new_bool",
"body": [
"array.new_bool(size = $1, initial_value = $2) $0"
],
"description": "array.new_bool(size = bool, initial_value = series bool) → bool[]"
},
"Creates a new array object of box ⇨ 𝑓": {
"prefix": "array.new_box",
"body": [
"array.new_box(size = $1, initial_value = $2) $0"
],
"description": "array.new_box(size = box, initial_value = series box) → box[]"
},
"Creates a new array object of color ⇨ 𝑓": {
"prefix": "array.new_color",
"body": [
"array.new_color(size = $1, initial_value = color.new(color = ${2| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${3:0})) $0"
],
"description": "array.new_color(size = color, initial_value = series color) → color[]"
},
"Creates a new array object of float ⇨ 𝑓": {
"prefix": "array.new_float",
"body": [
"array.new_float(size = $1, initial_value = $2) $0"
],
"description": "array.new_float(size = float, initial_value = series float) → float[]"
},
"Creates a new array object of int ⇨ 𝑓": {
"prefix": "array.new_int",
"body": [
"array.new_int(size = $1, initial_value = $2) $0"
],
"description": "array.new_int(size = int, initial_value = series int) → int[]"
},
"Creates a new array object of label ⇨ 𝑓": {
"prefix": "array.new_label",
"body": [
"array.new_label(size = $1, initial_value = $2) $0"
],
"description": "array.new_label(size = int, initial_value = series label) → label[]"
},
"Creates a new array object of line ⇨ 𝑓": {
"prefix": "array.new_line",
"body": [
"array.new_line(size = $1, initial_value = $2) $0"
],
"description": "array.new_line(size = int, initial_value = series line) → line[]"
},
"Creates a new array object of string ⇨ 𝑓": {
"prefix": "array.new_string",
"body": [
"array.new_string(size = $1, initial_value = ${2:\"${3}\"}) $0"
],
"description": "array.new_string(size = int, initial_value = series string) → string[]"
},
"Creates a new array object of table ⇨ 𝑓": {
"prefix": "array.new_table",
"body": [
"array.new_table(size = $1, initial_value = $2) $0"
],
"description": "array.new_table(size = int, initial_value = series table) → table[]"
},
"Removes the last element from an array and returns its value ⇨ 𝑓": {
"prefix": "array.pop",
"body": [
"array.pop(id = $1) $0"
],
"description": "array.pop(id = any array type) → series <type of the array's elements>"
},
"Appends a value to an array ⇨ 𝑓": {
"prefix": "array.push",
"body": [
"array.push(id = $1, value = $2) $0"
],
"description": "array.push(id = any array type, value = <type of the array's elements>) → series void"
},
"Difference between min and max from array ⇨ 𝑓": {
"prefix": "array.range",
"body": [
"array.range(id = $1) $0"
],
"description": "array.range(id = int[]|float[]) → int|float"
},
"Remove array's element with the specified index ⇨ 𝑓": {
"prefix": "array.remove",
"body": [
"array.remove(id = $1, index = $2) $0"
],
"description": "array.remove(id = any array type, index = int) → series <type of the array's elements>"
},
"First array element = last and last = first ⇨ 𝑓": {
"prefix": "array.reverse",
"body": [
"array.reverse(id = $1) $0"
],
"description": "array.reverse(id = any array type) → void"
},
"Sets the value of the element at the specified index ⇨ 𝑓": {
"prefix": "array.set",
"body": [
"array.set(id = $1, index = $2, value = $3) $0"
],
"description": "array.set(id = any array type, index = int, value = <type of the array's elements>) → void"
},
"Removes an array's first element and returns its value ⇨ 𝑓": {
"prefix": "array.shift",
"body": [
"array.shift(id = $1) $0"
],
"description": "array.shift(id = any array type) → series <type of the array's elements>"
},
"Number of elements in an array ⇨ 𝑓": {
"prefix": "array.size",
"body": [
"array.size(id = $1) $0"
],
"description": "array.size(id = any array type) → series int"
},
"Slice from an existing array ⇨ 𝑓": {
"prefix": "array.slice",
"body": [
"array.slice(id = $1, index_from = $2, index_to = $3) $0"
],
"description": "array.slice(id = any array type, index_from = int, index_to = int) → int|float"
},
"Sorts the elements of an array ⇨ 𝑓": {
"prefix": "array.sort",
"body": [
"array.sort(id = $1, order = ${2| ,order.ascending,order.descending|}) $0"
],
"description": "array.sort(id = int[]|float[]|string[], order = sort_order) → void"
},
"Returns the array of standardized elements ⇨ 𝑓": {
"prefix": "array.standardize",
"body": [
"array.standardize(id = $1) $0"
],
"description": "array.standardize(id = int[]|float[]) → int[]|float[]"
},
"Standard deviation of an array's elements ⇨ 𝑓": {
"prefix": "array.stdev",
"body": [
"array.stdev(id = $1) $0"
],
"description": "array.stdev(id = int[]|float[]) → int|float"
},
"Sum of an array's elements ⇨ 𝑓": {
"prefix": "array.sum",
"body": [
"array.sum(id = $1) $0"
],
"description": "array.sum(id = int[]|float[]) → int|float"
},
"Inserts the value at the beginning of the array ⇨ 𝑓": {
"prefix": "array.unshift",
"body": [
"array.unshift(id = $1, value = $2) $0"
],
"description": "array.unshift(id = any array type, value = type of the array's elements) → int|float"
},
"Variance of an array's elements ⇨ 𝑓": {
"prefix": "array.variance",
"body": [
"array.variance(id = $1) $0"
],
"description": "array.variance(id = int[]|float[]) → int|float"
},
"Color of bars ⇨ 𝑓": {
"prefix": "barcolor",
"body": [
"barcolor(color = color.new(color = ${1| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${2:0})${3:, offset = ${4}}${5:, editable = ${6| ,true,false|}}${7:, bottom = ${8}}${9:, show_last = ${10}}${11:, title = \"${12}\"})",
"$0"
],
"description": "barcolor(color = color, offset = int, editable = bool, show_last = input int, title = string) → void"
},
"Fill background of bars with specified color ⇨ 𝑓": {
"prefix": "bgcolor",
"body": [
"bgcolor(color = color.new(color = ${1| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${2:0})${3:, offset = ${4}}${5:, editable = ${6| ,true,false|}}${7:, bottom = ${8}}${9:, show_last = ${10}}${11:, title = \"${12}\"})",
"$0"
],
"description": "bgcolor(color = color, offset = int, editable = bool, show_last = input int, title = string) → void"
},
"Casts na to bool | Value of the argument after casting to bool ⇨ 𝑓": {
"prefix": "bool",
"body": [
"bool(x = $1) $0"
],
"description": "bool(x = int) → simple|input|const|series int"
},
"Casts na to box | Value of the argument after casting to box ⇨ 𝑓": {
"prefix": "box",
"body": [
"box(x = $1)",
"$0"
],
"description": "box(x = box) → series box"
},
"Deletes the specified box object ⇨ 𝑓": {
"prefix": "box.delete",
"body": [
"box.delete(id = $1) $0"
],
"description": "box.delete(id = box) → series void"
},
"Price value of the bottom border of the box ⇨ 𝑓": {
"prefix": "box.get_bottom",
"body": [
"box.get_bottom(id = $1) $0"
],
"description": "box.get_bottom(id = box) → series float"
},
"A bar index or a UNIX timestamp of the left border ⇨ 𝑓": {
"prefix": "box.get_left",
"body": [
"box.get_left(id = $1) $0"
],
"description": "box.get_left(id = box) → int"
},
"A bar index or a UNIX timestamp of the right border ⇨ 𝑓": {
"prefix": "box.get_right",
"body": [
"box.get_right(id = $1) $0"
],
"description": "box.get_right(id = box) → int"
},
"Price value of the top border of the box ⇨ 𝑓": {
"prefix": "box.get_top",
"body": [
"box.get_top(id = $1) $0"
],
"description": "box.get_top(id = box) → float"
},
"New Box Object | block ⇨ 𝑓": {
"prefix": "box.new.block",
"body": [
"box.new(",
" left = ${1}, ",
" top = ${2}, ",
" right = ${3}, ",
" bottom = ${4}${5:, ",
" border_color = color.new(color = ${6| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, ",
" transp = ${7:0})}${8:, ",
" border_width = ${9}}${10:, ",
" border_style = ${11| ,line.style_solid,line.style_dotted,line.style_dashed|}}${12:, ",
" extend = ${13| ,extend.none,extend.right,extend.left,extend.both|}}${14:, ",
" xloc = ${15| ,xloc.bar_index,xloc.bar_time|}}${16:, ",
" bgcolor = color.new(color = ${17| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${18:0})}",
" )",
"$0"
],
"description": "box.new(left = int, top = int|float, right = int, bottom = int|float, border_color = color, border_width = int, border_style = string, extend = string, xloc = string, bgcolor = string)"
},
"New Box Object ⇨ 𝑓": {
"prefix": "box.new",
"body": [
"box.new(left = ${1}, top = ${2}, right = ${3}, bottom = ${4}${5:, border_color = color.new(color = ${6| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${7:0})}${8:, border_width = ${9}}${10:, border_style = ${11| ,line.style_solid,line.style_dotted,line.style_dashed|}}${12:, extend = ${13| ,extend.none,extend.right,extend.left,extend.both|}}${14:, xloc = ${15| ,xloc.bar_index,xloc.bar_time|}}${16:, bgcolor = color.new(color = ${17| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${18:0})})",
"$0"
],
"description": "box.new(left = int, top = int|float, right = int, bottom = int|float, border_color = color, border_width = int, border_style = string, extend = string, xloc = string, bgcolor = string)"
},
"background color of the box ⇨ 𝑓": {
"prefix": "box.set_bgcolor",
"body": [
"box.set_bgcolor(id = $1, color = color.new(color = ${2| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${3:0})) $0"
],
"description": "box.set_bgcolor(id = box, color = color) → void"
},
"Border color of the box ⇨ 𝑓": {
"prefix": "box.set_border_color",
"body": [
"box.set_border_color(id = $1, color = color.new(color = ${2| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${3:0})) $0"
],
"description": "box.set_border_color(id = box, color = color) → void"
},
"Border style of the box ⇨ 𝑓": {
"prefix": "box.set_border_style",
"body": [
"box.set_border_style(id = $1, style = ${2| ,line.style_solid,line.style_dotted,line.style_dashed|}) $0"
],
"description": "box.set_border_style(id = box, style = string) → void"
},
"Border width of the box ⇨ 𝑓": {
"prefix": "box.set_border_width",
"body": [
"box.set_border_width(id = $1, width = $2) $0"
],
"description": "box.set_border_width(id = box, width = int) → void"
},
"Bottom coordinate of the box ⇨ 𝑓": {
"prefix": "box.set_bottom",
"body": [
"box.set_bottom(id = $1, bottom = $2) $0"
],
"description": "box.set_bottom(id = box, bottom = int|float) → void"
},
"Extending type of the box border ⇨ 𝑓": {
"prefix": "box.set_extend",
"body": [
"box.set_extend(id = $1, extend = ${2| ,extend.none,extend.left,extend.right,extend.both|}) $0"
],
"description": "box.set_extend(id = box, extend = string) → void"
},
"Left coordinate of the box ⇨ 𝑓": {
"prefix": "box.set_left",
"body": [
"box.set_left(id = $1, left = $2) $0"
],
"description": "box.set_left(id = box, left = int) → void"
},
"Left and top coordinates of the box ⇨ 𝑓": {
"prefix": "box.set_lefttop",
"body": [
"box.set_lefttop(id = $1, left = $2, top = $3) $0"
],
"description": "box.set_lefttop(id = box, left = int, top = int|float) → void"
},
"Right coordinate of the box ⇨ 𝑓": {
"prefix": "box.set_right",
"body": [
"box.set_right(id = $1, right = $2) $0"
],
"description": "box.set_right(id = box, right = int) → void"
},
"Right and bottom coordinates of the box ⇨ 𝑓": {
"prefix": "box.set_rightbottom",
"body": [
"box.set_rightbottom(id = $1, right = $2, bottom = $3) $0"
],
"description": "box.set_rightbottom(id = box, right = int, bottom = int|float) → void"
},
"Top coordinate of the box ⇨ 𝑓": {
"prefix": "box.set_top",
"body": [
"box.set_top(id = $1, top = $2) $0"
],
"description": "box.set_top(id = box, top = int|float) → void"
},
"Value of the color's blue component ⇨ 𝑓": {
"prefix": "color.b",
"body": [
"color.b(color = color.new(color = ${1| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${2:0})) $0"
],
"description": "color.b(color = color) → series|const|input float"
},
"Linear gradient between bottom_color to top_color ⇨ 𝑓": {
"prefix": "color.from_gradient",
"body": [
"color.from_gradient(value = ${1}, bottom_value = ${2}, top_value = ${3}, bottom_color = color.new(color = ${4| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${5:0}), top_color = color.new(color = ${6| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${7:0})) $0"
],
"description": "color.from_gradient(value = int|float, bottom_value = int|float, top_value = int|float, bottom_color = color, top_color = color) → series color"
},
"Value of the color's green component ⇨ 𝑓": {
"prefix": "color.g",
"body": [
"color.g(color = color.new(color = ${1| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${2:0})) $0"
],
"description": "color.g(color = color) → series|const|input float"
},
"Color with specified transparency. ⇨ 𝑓": {
"prefix": "color.new",
"body": [
"color.new(color = ${1| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${2:0}) $0"
],
"description": "color.new(color = color, transp = int|float) → const color"
},
"Value of the color's red component ⇨ 𝑓": {
"prefix": "color.r",
"body": [
"color.r(color = color.new(color = ${1| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${2:0})) $0"
],
"description": "color.r(color = color) → series|const|input float"
},
"RGB color model ⇨ 𝑓": {
"prefix": "color.rgb",
"body": [
"color.rgb(red = $1, green = $2, blue = $3, transp = $4) $0"
],
"description": "color.rgb(red = int|float, green = int|float, blue = int|float, transp = int|float) → series|const|input color"
},
"Retrieves the color's transparency ⇨ 𝑓": {
"prefix": "color.t",
"body": [
"color.t(color = color.new(color = ${1| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${2:0})) $0"
],
"description": "color.t(color = color) → series|const|input float"
},
"Day of month (in exchange timezone) for provided UNIX time ⇨ 𝑓": {
"prefix": "dayofmonth",
"body": [
"dayofmonth(time = ${1}${2:, timezone = ${3| ,syminfo.timezone,\"GMT-12\",\"GMT-11\",\"GMT-10\",\"GMT-9\",\"GMT-8\",\"GMT-7\",\"GMT-6\",\"GMT-5\",\"GMT-4\",\"GMT-3\",\"GMT-2\",\"GMT-1\",\"GMT+0\",\"GMT+1\",\"GMT+2\",\"GMT+3\",\"GMT+4\",\"GMT+5\",\"GMT+6\",\"GMT+7\",\"GMT+8\",\"GMT+9\",\"GMT+10\",\"GMT+11\",\"GMT+12\"|}}) $0"
],
"description": "dayofmonth(time = int, timezone = series string) → series int"
},
"Day of week (in exchange timezone) for provided UNIX time ⇨ 𝑓": {
"prefix": "dayofweek",
"body": [
"dayofweek(time = ${1}${2:, timezone = ${3| ,syminfo.timezone,\"GMT-12\",\"GMT-11\",\"GMT-10\",\"GMT-9\",\"GMT-8\",\"GMT-7\",\"GMT-6\",\"GMT-5\",\"GMT-4\",\"GMT-3\",\"GMT-2\",\"GMT-1\",\"GMT+0\",\"GMT+1\",\"GMT+2\",\"GMT+3\",\"GMT+4\",\"GMT+5\",\"GMT+6\",\"GMT+7\",\"GMT+8\",\"GMT+9\",\"GMT+10\",\"GMT+11\",\"GMT+12\"|}}) $0"
],
"description": "dayofweek(time = int, timezone = series string) → series int"
},
"Fills background between two hlines ⇨ 𝑓": {
"prefix": "fill.hline",
"body": [
"fill(hline1 = ${1}, hline2 = ${2}, color = color.new(color = ${3| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${4:0}), title = \"${5}\"${6:, editable = ${7| ,true,false|}}${8:, fillgaps = ${9| ,true,false|}})",
"$0"
],
"description": "fill(hline1 = hline, hline2 = hline, color = color, title = string, editable = bool, fillgaps = bool) → void"
},
"Fills background between two plots ⇨ 𝑓": {
"prefix": "fill.plot",
"body": [
"fill(plot1 = ${1}, plot2 = ${2}, color = color.new(color = ${3| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${4:0}), title = \"${5}\"${6:, editable = ${7| ,true,false|}}${8:, show_last = ${9}}${10:, fillgaps = ${11| ,true,false|}})",
"$0"
],
"description": "fill(plot1 = plot, plot2 = plot, color = color, title = string, editable = bool, show_last = input int, fillgaps = bool) → void"
},
"Replaces NaN values with previous nearest non-NaN value ⇨ 𝑓": {
"prefix": "fixnan",
"body": [
"fixnan(source = $1) $0"
],
"description": "fixnan(source = int|float|bool|color) → series int|float|bool|color"
},
"Casts na float | Value of the argument after casting to float ⇨ 𝑓": {
"prefix": "float",
"body": [
"float(x = $1) $0"
],
"description": "float(x = any) → simple|input|const|series float"
},
"Renders a horizontal line at a given fixed price level ⇨ 𝑓": {
"prefix": "hline",
"body": [
"hline(price = ${1}, title = \"${2}\", color = color.new(color = ${3| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${4:0})${5:, linestyle = ${6| ,hline.style_solid,hline.style_dotted,hline.style_dashed|}}${7:, linewidth = ${8}}${9:, editable = ${10| ,true,false|}})",
"$0"
],
"description": "hline(price = int|float, title = const string, color = color, linestyle = hline_style, linewidth = int, editable = bool)"
},
"Hour (in exchange timezone) for provided UNIX time ⇨ 𝑓": {
"prefix": "hour",
"body": [
"hour(time = ${1}${2:, timezone = ${3| ,syminfo.timezone,\"GMT-12\",\"GMT-11\",\"GMT-10\",\"GMT-9\",\"GMT-8\",\"GMT-7\",\"GMT-6\",\"GMT-5\",\"GMT-4\",\"GMT-3\",\"GMT-2\",\"GMT-1\",\"GMT+0\",\"GMT+1\",\"GMT+2\",\"GMT+3\",\"GMT+4\",\"GMT+5\",\"GMT+6\",\"GMT+7\",\"GMT+8\",\"GMT+9\",\"GMT+10\",\"GMT+11\",\"GMT+12\"|}})",
"$0"
],
"description": "hour(time = int, timezone = string) → series int"
},
"Input ⇨ 𝑓": {
"prefix": "input",
"body": [
"input(defval = ${1}, title = \"${2}\"${3:,${4: tooltip = ${5:\"${6}\"},}${7: inline = \"${8| ,01,02,03,04,05,06,07,08,09,10|}\",}${9: group = ${10| ,\"🌲 🌲\",\"⛔ ⛔\",\"💬 💬\",\"🎨 🎨\",\"⏱ ⏱\",\"🔴 🔴\",\"🟠 🟠\",\"🟡 🟡\",\"🟢 🟢\",\"🔵 🔵\",\"🟣 🟣\",\"🟤 🟤\",\"⚫ ⚫\",\"⚪ ⚪\",\"🟥 🟥\",\"🟧 🟧\",\"🟨 🟨\",\"🟩 🟩\",\"🟦 🟦\",\"🟪 🟪\",\"🟫 🟫\",\"⬛ ⬛\",\"⬜ ⬜\",\"🔶 🔶\",\"🔷 🔷\",\"🔸 🔸\",\"🔹 🔹\",\"🔺 🔺\",\"🔻 🔻\",\"💠 💠\",\"🔱 🔱\",\"🔘 🔘\",\"🔳 🔳\",\"🔲 🔲\",\"🏁 🏁\",\"🚩 🚩\",\"🎌 🎌\",\"🏴 🏴\",\"🏳️🌈 🏳️🌈\",\"🏴☠️ 🏴☠️\",\"📍 📍\",\"📌 📌\",\"📊 📊\",\"📉 📉\",\"📈 📈\",\"🌎 🌎\",\"🌐 🌐\",\"🧭 🧭\",\"🌋 🌋\",\"🚀 🚀\",\"⌛ ⌛\",\"🌑 🌑\",\"🌗 🌗\",\"🌕 🌕\",\"🌙 🌙\",\"⭐ ⭐\",\"🌟 🌟\",\"🌞 🌞\",\"🪐 🪐\",\"🌈 🌈\",\"🌀 🌀\",\"🧨 🧨\",\"🎈 🎈\",\"🔊 🔊\",\"📢 📢\",\"📣 📣\",\"📯 📯\",\"🔔 🔔\",\"🔋 🔋\",\"🔍 🔍\",\"💾 💾\",\"💰 💰\",\"💴 💴\",\"💸 💸\",\"📐 📐\",\"📏 📏\",\"🔒 🔒\",\"🔓 🔓\",\"🔑 🔑\",\"🔐 🔐\",\"🔨 🔨\",\"⛓ ⛓\",\"🧲 🧲\",\"📡 📡\",\"🩸 🩸\",\"🗿 🗿\",\"🛂 🛂\",\"⛔ ⛔\",\"🚫 🚫\",\"☢ ☢\",\"☣ ☣\",\"▶ ▶\",\"⏯ ⏯\",\"🔂 🔂\",\"🔀 🔀\",\"📶 📶\",\"🔅 🔅\",\"✖ ✖\",\"➕ ➕\",\"➖ ➖\",\"➗ ➗\",\"💲 💲\",\"💱 💱\",\"♻ ♻\",\"📛 📛\",\"🔰 🔰\",\"⭕ ⭕\",\"✅ ✅\",\"✔ ✔\",\"❌ ❌\",\"❎ ❎\",\"➰ ➰\",\"™ ™\",\"#️⃣ #️⃣\",\"*️⃣ *️⃣\",\"0️⃣ 0️⃣\",\"1️⃣ 1️⃣\",\"2️⃣ 2️⃣\",\"3️⃣ 3️⃣\",\"4️⃣ 4️⃣\",\"5️⃣ 5️⃣\",\"6️⃣ 6️⃣\",\"7️⃣ 7️⃣\",\"8️⃣ 8️⃣\",\"9️⃣ 9️⃣\",\"🔟 🔟\",\"🅰 🅰\",\"🆎 🆎\",\"🅱 🅱\",\"🆑 🆑\",\"🆗 🆗\",\"🆙 🆙\"|}}})",
"$0"
],
"description": "input(defval = any, title = string, tooltip = string, inline = string, group = string) → input int|float|bool|string|color"
},
"Boolean input ⇨ 𝑓": {
"prefix": "input.bool",
"body": [
"input.bool(defval = ${1| ,true,false|}, title = \"${2}\"${3:,${4: tooltip = ${5:\"${6:}\"},} ${7:inline = \"${8| ,01,02,03,04,05,06,07,08,09,10|}\",} ${9:group = ${10| ,\"🟣 Backtesting Start 🟢\",\"🟣 Backtesting End ❎\",\"🟢 Entry 🟢\",\"❎ Exit ❎\",\"⛔ Exit ⛔\",\"🔵 Colors 🔵\",\"💬 Comments 💬\",\"🎨 Drawings 🎨\",\"🟤 Length 🟤\",\"🟢 Long 🟢\",\"⚪ Options ⚪\",\"⏱ Session ⏱\",\"🟠 Settings 🟠\",\"🔴 Short 🔴\",\"🌲 Source 🌲\",\"🔶 Statistics 🔶\",\"🟤 Strategy 🟤\",\"🔱 Symbol 🔱\",\"⏱ Timeframe ⏱\",\"🌲 🌲\",\"⛔ ⛔\",\"💬 💬\",\"🎨 🎨\",\"⏱ ⏱\",\"🔴 🔴\",\"🟠 🟠\",\"🟡 🟡\",\"🟢 🟢\",\"🔵 🔵\",\"🟣 🟣\",\"🟤 🟤\",\"⚫ ⚫\",\"⚪ ⚪\",\"🟥 🟥\",\"🟧 🟧\",\"🟨 🟨\",\"🟩 🟩\",\"🟦 🟦\",\"🟪 🟪\",\"🟫 🟫\",\"⬛ ⬛\",\"⬜ ⬜\",\"🔶 🔶\",\"🔷 🔷\",\"🔸 🔸\",\"🔹 🔹\",\"🔺 🔺\",\"🔻 🔻\",\"💠 💠\",\"🔱 🔱\",\"🔘 🔘\",\"🔳 🔳\",\"🔲 🔲\",\"🏁 🏁\",\"🚩 🚩\",\"🎌 🎌\",\"🏴 🏴\",\"🏳️🌈 🏳️🌈\",\"🏴☠️ 🏴☠️\",\"📍 📍\",\"📌 📌\",\"📊 📊\",\"📉 📉\",\"📈 📈\",\"🌎 🌎\",\"🌐 🌐\",\"🧭 🧭\",\"🌋 🌋\",\"🚀 🚀\",\"⌛ ⌛\",\"🌑 🌑\",\"🌗 🌗\",\"🌕 🌕\",\"🌙 🌙\",\"⭐ ⭐\",\"🌟 🌟\",\"🌞 🌞\",\"🪐 🪐\",\"🌈 🌈\",\"🌀 🌀\",\"🧨 🧨\",\"🎈 🎈\",\"🔊 🔊\",\"📢 📢\",\"📣 📣\",\"📯 📯\",\"🔔 🔔\",\"🔋 🔋\",\"🔍 🔍\",\"💾 💾\",\"💰 💰\",\"💴 💴\",\"💸 💸\",\"📐 📐\",\"📏 📏\",\"🔒 🔒\",\"🔓 🔓\",\"🔑 🔑\",\"🔐 🔐\",\"🔨 🔨\",\"⛓ ⛓\",\"🧲 🧲\",\"📡 📡\",\"🩸 🩸\",\"🗿 🗿\",\"🛂 🛂\",\"⛔ ⛔\",\"🚫 🚫\",\"☢ ☢\",\"☣ ☣\",\"▶ ▶\",\"⏯ ⏯\",\"🔂 🔂\",\"🔀 🔀\",\"📶 📶\",\"🔅 🔅\",\"✖ ✖\",\"➕ ➕\",\"➖ ➖\",\"➗ ➗\",\"💲 💲\",\"💱 💱\",\"♻ ♻\",\"📛 📛\",\"🔰 🔰\",\"⭕ ⭕\",\"✅ ✅\",\"✔ ✔\",\"❌ ❌\",\"❎ ❎\",\"➰ ➰\",\"™ ™\",\"#️⃣ #️⃣\",\"*️⃣ *️⃣\",\"0️⃣ 0️⃣\",\"1️⃣ 1️⃣\",\"2️⃣ 2️⃣\",\"3️⃣ 3️⃣\",\"4️⃣ 4️⃣\",\"5️⃣ 5️⃣\",\"6️⃣ 6️⃣\",\"7️⃣ 7️⃣\",\"8️⃣ 8️⃣\",\"9️⃣ 9️⃣\",\"🔟 🔟\",\"🅰 🅰\",\"🆎 🆎\",\"🅱 🅱\",\"🆑 🆑\",\"🆗 🆗\",\"🆙 🆙\"|},} ${11: confirm = ${12| ,false,true|}}}) $0"
],
"description": "input.bool(defval = bool, title = string, tooltip = string, inline = string, group = string, confirm = bool) → input bool"
},
"Color input ⇨ 𝑓": {
"prefix": "input.color",
"body": [
"input.color(defval = ${1| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, title = \"${2}\"${3:,${4: tooltip = ${5:\"${6}\"}}${7:, inline = \"${8| ,01,02,03,04,05,06,07,08,09,10|}\"}${9:, group = ${10| ,\"🔵 Colors 🔵\",\"🟣 Backtesting Start 🟢\",\"🟣 Backtesting End ❎\",\"🟢 Entry 🟢\",\"❎ Exit ❎\",\"⛔ Exit ⛔\",\"💬 Comments 💬\",\"🎨 Drawings 🎨\",\"🟤 Length 🟤\",\"🟢 Long 🟢\",\"⚪ Options ⚪\",\"⏱ Session ⏱\",\"🟠 Settings 🟠\",\"🔴 Short 🔴\",\"🌲 Source 🌲\",\"🔶 Statistics 🔶\",\"🟤 Strategy 🟤\",\"🔱 Symbol 🔱\",\"⏱ Timeframe ⏱\",\"🌲 🌲\",\"⛔ ⛔\",\"💬 💬\",\"🎨 🎨\",\"⏱ ⏱\",\"🔴 🔴\",\"🟠 🟠\",\"🟡 🟡\",\"🟢 🟢\",\"🔵 🔵\",\"🟣 🟣\",\"🟤 🟤\",\"⚫ ⚫\",\"⚪ ⚪\",\"🟥 🟥\",\"🟧 🟧\",\"🟨 🟨\",\"🟩 🟩\",\"🟦 🟦\",\"🟪 🟪\",\"🟫 🟫\",\"⬛ ⬛\",\"⬜ ⬜\",\"🔶 🔶\",\"🔷 🔷\",\"🔸 🔸\",\"🔹 🔹\",\"🔺 🔺\",\"🔻 🔻\",\"💠 💠\",\"🔱 🔱\",\"🔘 🔘\",\"🔳 🔳\",\"🔲 🔲\",\"🏁 🏁\",\"🚩 🚩\",\"🎌 🎌\",\"🏴 🏴\",\"🏳️🌈 🏳️🌈\",\"🏴☠️ 🏴☠️\",\"📍 📍\",\"📌 📌\",\"📊 📊\",\"📉 📉\",\"📈 📈\",\"🌎 🌎\",\"🌐 🌐\",\"🧭 🧭\",\"🌋 🌋\",\"🚀 🚀\",\"⌛ ⌛\",\"🌑 🌑\",\"🌗 🌗\",\"🌕 🌕\",\"🌙 🌙\",\"⭐ ⭐\",\"🌟 🌟\",\"🌞 🌞\",\"🪐 🪐\",\"🌈 🌈\",\"🌀 🌀\",\"🧨 🧨\",\"🎈 🎈\",\"🔊 🔊\",\"📢 📢\",\"📣 📣\",\"📯 📯\",\"🔔 🔔\",\"🔋 🔋\",\"🔍 🔍\",\"💾 💾\",\"💰 💰\",\"💴 💴\",\"💸 💸\",\"📐 📐\",\"📏 📏\",\"🔒 🔒\",\"🔓 🔓\",\"🔑 🔑\",\"🔐 🔐\",\"🔨 🔨\",\"⛓ ⛓\",\"🧲 🧲\",\"📡 📡\",\"🩸 🩸\",\"🗿 🗿\",\"🛂 🛂\",\"⛔ ⛔\",\"🚫 🚫\",\"☢ ☢\",\"☣ ☣\",\"▶ ▶\",\"⏯ ⏯\",\"🔂 🔂\",\"🔀 🔀\",\"📶 📶\",\"🔅 🔅\",\"✖ ✖\",\"➕ ➕\",\"➖ ➖\",\"➗ ➗\",\"💲 💲\",\"💱 💱\",\"♻ ♻\",\"📛 📛\",\"🔰 🔰\",\"⭕ ⭕\",\"✅ ✅\",\"✔ ✔\",\"❌ ❌\",\"❎ ❎\",\"➰ ➰\",\"™ ™\",\"#️⃣ #️⃣\",\"*️⃣ *️⃣\",\"0️⃣ 0️⃣\",\"1️⃣ 1️⃣\",\"2️⃣ 2️⃣\",\"3️⃣ 3️⃣\",\"4️⃣ 4️⃣\",\"5️⃣ 5️⃣\",\"6️⃣ 6️⃣\",\"7️⃣ 7️⃣\",\"8️⃣ 8️⃣\",\"9️⃣ 9️⃣\",\"🔟 🔟\",\"🅰 🅰\",\"🆎 🆎\",\"🅱 🅱\",\"🆑 🆑\",\"🆗 🆗\",\"🆙 🆙\"|}}${11:, confirm = ${12| ,false,true|}}}) $0"
],
"description": "input.color(defval = const color, title = string, tooltip = string, inline = string, group = string, confirm = bool) → input color"
},
"Float input ⇨ 𝑓": {
"prefix": "input.float",
"body": [
"input.float(defval = ${1| ,0.00,0.005,0.01,0.02,0.025,0.03,0.05,0.075,0.1,0.15,0.25,0.50,0.75,1.00,1.41421356237,1.61803398875,1.73205080757,2.2360679775,2.64575131106,3.14159265359|}, title = \"${2}\"${3:${4:, minval = ${5| ,0.00,0.005,0.01,0.02,0.025,0.03,0.05,0.075,0.1,0.15,0.25,0.50,0.75,1.00,1.41421356237,1.61803398875,1.73205080757,2.2360679775,2.64575131106,3.14159265359|}}${6:, maxval = ${7| ,0.00,0.005,0.01,0.02,0.025,0.03,0.05,0.075,0.1,0.15,0.25,0.50,0.75,1.00,1.41421356237,1.61803398875,1.73205080757,2.2360679775,2.64575131106,3.14159265359|}}${8:, step = ${9| ,0.00,0.005,0.01,0.02,0.025,0.03,0.05,0.075,0.1,0.15,0.25,0.50,0.75,1.00,1.41421356237,1.61803398875,1.73205080757,2.2360679775,2.64575131106,3.14159265359|}}${10:, tooltip = ${11:\"${12}\"}}${13:, inline = \"${14| ,01,02,03,04,05,06,07,08,09,10|}\"}${15:, group = ${16| ,\"🟣 Backtesting Start 🟢\",\"🟣 Backtesting End ❎\",\"🟢 Entry 🟢\",\"❎ Exit ❎\",\"⛔ Exit ⛔\",\"🔵 Colors 🔵\",\"💬 Comments 💬\",\"🎨 Drawings 🎨\",\"🟤 Length 🟤\",\"🟢 Long 🟢\",\"⚪ Options ⚪\",\"⏱ Session ⏱\",\"🟠 Settings 🟠\",\"🔴 Short 🔴\",\"🌲 Source 🌲\",\"🔶 Statistics 🔶\",\"🟤 Strategy 🟤\",\"🔱 Symbol 🔱\",\"⏱ Timeframe ⏱\",\"🌲 🌲\",\"⛔ ⛔\",\"💬 💬\",\"🎨 🎨\",\"⏱ ⏱\",\"🔴 🔴\",\"🟠 🟠\",\"🟡 🟡\",\"🟢 🟢\",\"🔵 🔵\",\"🟣 🟣\",\"🟤 🟤\",\"⚫ ⚫\",\"⚪ ⚪\",\"🟥 🟥\",\"🟧 🟧\",\"🟨 🟨\",\"🟩 🟩\",\"🟦 🟦\",\"🟪 🟪\",\"🟫 🟫\",\"⬛ ⬛\",\"⬜ ⬜\",\"🔶 🔶\",\"🔷 🔷\",\"🔸 🔸\",\"🔹 🔹\",\"🔺 🔺\",\"🔻 🔻\",\"💠 💠\",\"🔱 🔱\",\"🔘 🔘\",\"🔳 🔳\",\"🔲 🔲\",\"🏁 🏁\",\"🚩 🚩\",\"🎌 🎌\",\"🏴 🏴\",\"🏳️🌈 🏳️🌈\",\"🏴☠️ 🏴☠️\",\"📍 📍\",\"📌 📌\",\"📊 📊\",\"📉 📉\",\"📈 📈\",\"🌎 🌎\",\"🌐 🌐\",\"🧭 🧭\",\"🌋 🌋\",\"🚀 🚀\",\"⌛ ⌛\",\"🌑 🌑\",\"🌗 🌗\",\"🌕 🌕\",\"🌙 🌙\",\"⭐ ⭐\",\"🌟 🌟\",\"🌞 🌞\",\"🪐 🪐\",\"🌈 🌈\",\"🌀 🌀\",\"🧨 🧨\",\"🎈 🎈\",\"🔊 🔊\",\"📢 📢\",\"📣 📣\",\"📯 📯\",\"🔔 🔔\",\"🔋 🔋\",\"🔍 🔍\",\"💾 💾\",\"💰 💰\",\"💴 💴\",\"💸 💸\",\"📐 📐\",\"📏 📏\",\"🔒 🔒\",\"🔓 🔓\",\"🔑 🔑\",\"🔐 🔐\",\"🔨 🔨\",\"⛓ ⛓\",\"🧲 🧲\",\"📡 📡\",\"🩸 🩸\",\"🗿 🗿\",\"🛂 🛂\",\"⛔ ⛔\",\"🚫 🚫\",\"☢ ☢\",\"☣ ☣\",\"▶ ▶\",\"⏯ ⏯\",\"🔂 🔂\",\"🔀 🔀\",\"📶 📶\",\"🔅 🔅\",\"✖ ✖\",\"➕ ➕\",\"➖ ➖\",\"➗ ➗\",\"💲 💲\",\"💱 💱\",\"♻ ♻\",\"📛 📛\",\"🔰 🔰\",\"⭕ ⭕\",\"✅ ✅\",\"✔ ✔\",\"❌ ❌\",\"❎ ❎\",\"➰ ➰\",\"™ ™\",\"#️⃣ #️⃣\",\"*️⃣ *️⃣\",\"0️⃣ 0️⃣\",\"1️⃣ 1️⃣\",\"2️⃣ 2️⃣\",\"3️⃣ 3️⃣\",\"4️⃣ 4️⃣\",\"5️⃣ 5️⃣\",\"6️⃣ 6️⃣\",\"7️⃣ 7️⃣\",\"8️⃣ 8️⃣\",\"9️⃣ 9️⃣\",\"🔟 🔟\",\"🅰 🅰\",\"🆎 🆎\",\"🅱 🅱\",\"🆑 🆑\",\"🆗 🆗\",\"🆙 🆙\"|}}${17:, confirm = ${18| ,false,true|}}}) $0"
],
"description": "input.float(defval = float, title = string, minval = float, maxval = float, step = float, tooltip = string, inline = string, group = string, confirm = bool) → input float"
},
"Float input options ⇨ 𝑓": {
"prefix": "input.float",
"body": [
"input.float(defval = ${1| ,0.00,0.005,0.01,0.02,0.025,0.03,0.05,0.075,0.1,0.15,0.25,0.50,0.75,1.00,1.41421356237,1.61803398875,1.73205080757,2.2360679775,2.64575131106,3.14159265359|}, title = \"${2}\"${3:,${4: options = [${5| ,0.00,0.005,0.01,0.02,0.025,0.03,0.05,0.075,0.1,0.15,0.25,0.50,0.75,1.00,1.41421356237,1.61803398875,1.73205080757,2.2360679775,2.64575131106,3.14159265359|}${6:, ${7| ,0.00,0.005,0.01,0.02,0.025,0.03,0.05,0.075,0.1,0.15,0.25,0.50,0.75,1.00,1.41421356237,1.61803398875,1.73205080757,2.2360679775,2.64575131106,3.14159265359|}}${8:, ${9| ,0.00,0.005,0.01,0.02,0.025,0.03,0.05,0.075,0.1,0.15,0.25,0.50,0.75,1.00,1.41421356237,1.61803398875,1.73205080757,2.2360679775,2.64575131106,3.14159265359|}}${10:, ${11| ,0.00,0.005,0.01,0.02,0.025,0.03,0.05,0.075,0.1,0.15,0.25,0.50,0.75,1.00,1.41421356237,1.61803398875,1.73205080757,2.2360679775,2.64575131106,3.14159265359|}}],}${12: tooltip = ${13:\"${14}\"},}${15: inline = \"${16| ,01,02,03,04,05,06,07,08,09,10|}\",}${17: group = ${18| ,\"🟣 Backtesting Start 🟢\",\"🟣 Backtesting End ❎\",\"🟢 Entry 🟢\",\"❎ Exit ❎\",\"⛔ Exit ⛔\",\"🔵 Colors 🔵\",\"💬 Comments 💬\",\"🎨 Drawings 🎨\",\"🟤 Length 🟤\",\"🟢 Long 🟢\",\"⚪ Options ⚪\",\"⏱ Session ⏱\",\"🟠 Settings 🟠\",\"🔴 Short 🔴\",\"🌲 Source 🌲\",\"🔶 Statistics 🔶\",\"🟤 Strategy 🟤\",\"🔱 Symbol 🔱\",\"⏱ Timeframe ⏱\",\"🌲 🌲\",\"⛔ ⛔\",\"💬 💬\",\"🎨 🎨\",\"⏱ ⏱\",\"🔴 🔴\",\"🟠 🟠\",\"🟡 🟡\",\"🟢 🟢\",\"🔵 🔵\",\"🟣 🟣\",\"🟤 🟤\",\"⚫ ⚫\",\"⚪ ⚪\",\"🟥 🟥\",\"🟧 🟧\",\"🟨 🟨\",\"🟩 🟩\",\"🟦 🟦\",\"🟪 🟪\",\"🟫 🟫\",\"⬛ ⬛\",\"⬜ ⬜\",\"🔶 🔶\",\"🔷 🔷\",\"🔸 🔸\",\"🔹 🔹\",\"🔺 🔺\",\"🔻 🔻\",\"💠 💠\",\"🔱 🔱\",\"🔘 🔘\",\"🔳 🔳\",\"🔲 🔲\",\"🏁 🏁\",\"🚩 🚩\",\"🎌 🎌\",\"🏴 🏴\",\"🏳️🌈 🏳️🌈\",\"🏴☠️ 🏴☠️\",\"📍 📍\",\"📌 📌\",\"📊 📊\",\"📉 📉\",\"📈 📈\",\"🌎 🌎\",\"🌐 🌐\",\"🧭 🧭\",\"🌋 🌋\",\"🚀 🚀\",\"⌛ ⌛\",\"🌑 🌑\",\"🌗 🌗\",\"🌕 🌕\",\"🌙 🌙\",\"⭐ ⭐\",\"🌟 🌟\",\"🌞 🌞\",\"🪐 🪐\",\"🌈 🌈\",\"🌀 🌀\",\"🧨 🧨\",\"🎈 🎈\",\"🔊 🔊\",\"📢 📢\",\"📣 📣\",\"📯 📯\",\"🔔 🔔\",\"🔋 🔋\",\"🔍 🔍\",\"💾 💾\",\"💰 💰\",\"💴 💴\",\"💸 💸\",\"📐 📐\",\"📏 📏\",\"🔒 🔒\",\"🔓 🔓\",\"🔑 🔑\",\"🔐 🔐\",\"🔨 🔨\",\"⛓ ⛓\",\"🧲 🧲\",\"📡 📡\",\"🩸 🩸\",\"🗿 🗿\",\"🛂 🛂\",\"⛔ ⛔\",\"🚫 🚫\",\"☢ ☢\",\"☣ ☣\",\"▶ ▶\",\"⏯ ⏯\",\"🔂 🔂\",\"🔀 🔀\",\"📶 📶\",\"🔅 🔅\",\"✖ ✖\",\"➕ ➕\",\"➖ ➖\",\"➗ ➗\",\"💲 💲\",\"💱 💱\",\"♻ ♻\",\"📛 📛\",\"🔰 🔰\",\"⭕ ⭕\",\"✅ ✅\",\"✔ ✔\",\"❌ ❌\",\"❎ ❎\",\"➰ ➰\",\"™ ™\",\"#️⃣ #️⃣\",\"*️⃣ *️⃣\",\"0️⃣ 0️⃣\",\"1️⃣ 1️⃣\",\"2️⃣ 2️⃣\",\"3️⃣ 3️⃣\",\"4️⃣ 4️⃣\",\"5️⃣ 5️⃣\",\"6️⃣ 6️⃣\",\"7️⃣ 7️⃣\",\"8️⃣ 8️⃣\",\"9️⃣ 9️⃣\",\"🔟 🔟\",\"🅰 🅰\",\"🆎 🆎\",\"🅱 🅱\",\"🆑 🆑\",\"🆗 🆗\",\"🆙 🆙\"|},}${19: confirm = ${20| ,false,true|}}}) $0"
],
"description": "input.float(defval = float, title = string, options = tuple, tooltip = string, inline = string, group = string, confirm = bool) → input float"
},
"Int input ⇨ 𝑓": {
"prefix": "input.int",
"body": [
"input.int(defval = ${1| ,0,1,2,3,4,5,6,7,8,9,10,15,20,25,30,40,50,60,75,90,100,200,300,400,500,600,700,1000|}, title = \"${2}\"${3:${4:, minval = ${5| ,0,1,2,3,4,5,6,7,8,9,10,15,20,25,30,40,50,60,75,90,100,200,300,400,500,600,700,1000|}}${6:, maxval = ${7| ,0,1,2,3,4,5,6,7,8,9,10,15,20,25,30,40,50,60,75,90,100,200,300,400,500,600,700,1000|}}${8:, step = ${9| ,0,1,2,3,4,5,6,7,8,9,10,15,20,25,30,40,50,60,75,90,100,200,300,400,500,600,700,1000|}}${10:, tooltip = ${11:\"${12}\"}}${13:, inline = \"${14| ,01,02,03,04,05,06,07,08,09,10|}\"}${15:, group = ${16| ,\"🟣 Backtesting Start 🟢\",\"🟣 Backtesting End ❎\",\"🟢 Entry 🟢\",\"❎ Exit ❎\",\"⛔ Exit ⛔\",\"🔵 Colors 🔵\",\"💬 Comments 💬\",\"🎨 Drawings 🎨\",\"🟤 Length 🟤\",\"🟢 Long 🟢\",\"⚪ Options ⚪\",\"⏱ Session ⏱\",\"🟠 Settings 🟠\",\"🔴 Short 🔴\",\"🌲 Source 🌲\",\"🔶 Statistics 🔶\",\"🟤 Strategy 🟤\",\"🔱 Symbol 🔱\",\"⏱ Timeframe ⏱\",\"🌲 🌲\",\"⛔ ⛔\",\"💬 💬\",\"🎨 🎨\",\"⏱ ⏱\",\"🔴 🔴\",\"🟠 🟠\",\"🟡 🟡\",\"🟢 🟢\",\"🔵 🔵\",\"🟣 🟣\",\"🟤 🟤\",\"⚫ ⚫\",\"⚪ ⚪\",\"🟥 🟥\",\"🟧 🟧\",\"🟨 🟨\",\"🟩 🟩\",\"🟦 🟦\",\"🟪 🟪\",\"🟫 🟫\",\"⬛ ⬛\",\"⬜ ⬜\",\"🔶 🔶\",\"🔷 🔷\",\"🔸 🔸\",\"🔹 🔹\",\"🔺 🔺\",\"🔻 🔻\",\"💠 💠\",\"🔱 🔱\",\"🔘 🔘\",\"🔳 🔳\",\"🔲 🔲\",\"🏁 🏁\",\"🚩 🚩\",\"🎌 🎌\",\"🏴 🏴\",\"🏳️🌈 🏳️🌈\",\"🏴☠️ 🏴☠️\",\"📍 📍\",\"📌 📌\",\"📊 📊\",\"📉 📉\",\"📈 📈\",\"🌎 🌎\",\"🌐 🌐\",\"🧭 🧭\",\"🌋 🌋\",\"🚀 🚀\",\"⌛ ⌛\",\"🌑 🌑\",\"🌗 🌗\",\"🌕 🌕\",\"🌙 🌙\",\"⭐ ⭐\",\"🌟 🌟\",\"🌞 🌞\",\"🪐 🪐\",\"🌈 🌈\",\"🌀 🌀\",\"🧨 🧨\",\"🎈 🎈\",\"🔊 🔊\",\"📢 📢\",\"📣 📣\",\"📯 📯\",\"🔔 🔔\",\"🔋 🔋\",\"🔍 🔍\",\"💾 💾\",\"💰 💰\",\"💴 💴\",\"💸 💸\",\"📐 📐\",\"📏 📏\",\"🔒 🔒\",\"🔓 🔓\",\"🔑 🔑\",\"🔐 🔐\",\"🔨 🔨\",\"⛓ ⛓\",\"🧲 🧲\",\"📡 📡\",\"🩸 🩸\",\"🗿 🗿\",\"🛂 🛂\",\"⛔ ⛔\",\"🚫 🚫\",\"☢ ☢\",\"☣ ☣\",\"▶ ▶\",\"⏯ ⏯\",\"🔂 🔂\",\"🔀 🔀\",\"📶 📶\",\"🔅 🔅\",\"✖ ✖\",\"➕ ➕\",\"➖ ➖\",\"➗ ➗\",\"💲 💲\",\"💱 💱\",\"♻ ♻\",\"📛 📛\",\"🔰 🔰\",\"⭕ ⭕\",\"✅ ✅\",\"✔ ✔\",\"❌ ❌\",\"❎ ❎\",\"➰ ➰\",\"™ ™\",\"#️⃣ #️⃣\",\"*️⃣ *️⃣\",\"0️⃣ 0️⃣\",\"1️⃣ 1️⃣\",\"2️⃣ 2️⃣\",\"3️⃣ 3️⃣\",\"4️⃣ 4️⃣\",\"5️⃣ 5️⃣\",\"6️⃣ 6️⃣\",\"7️⃣ 7️⃣\",\"8️⃣ 8️⃣\",\"9️⃣ 9️⃣\",\"🔟 🔟\",\"🅰 🅰\",\"🆎 🆎\",\"🅱 🅱\",\"🆑 🆑\",\"🆗 🆗\",\"🆙 🆙\"|}}${17:, confirm = ${18| ,false,true|}}}) $0"
],
"description": "input.int(defval = int, title = string, minval = int, maxval = int, step = int, tooltip = string, inline = string, group = string, confirm = bool) → input int"
},
"Int input | options ⇨ 𝑓": {
"prefix": "input.int.options",
"body": [
"input.int(defval = ${1| ,0,1,2,3,4,5,6,7,8,9,10,15,20,25,30,40,50,60,75,90,100,200,300,400,500,600,700,1000|}, title = \"${2}\"${3:${4:, options = [${5| ,0,1,2,3,4,5,6,7,8,9,10,15,20,25,30,40,50,60,75,90,100,200,300,400,500,600,700,1000|}${6:, ${7| ,0,1,2,3,4,5,6,7,8,9,10,15,20,25,30,40,50,60,75,90,100,200,300,400,500,600,700,1000|}}${8:, ${9| ,0,1,2,3,4,5,6,7,8,9,10,15,20,25,30,40,50,60,75,90,100,200,300,400,500,600,700,1000|}}${10:, ${11| ,0,1,2,3,4,5,6,7,8,9,10,15,20,25,30,40,50,60,75,90,100,200,300,400,500,600,700,1000|}}]}${12:, tooltip = ${13:\"${14}\"}}${15:, inline = \"${16| ,01,02,03,04,05,06,07,08,09,10|}\"}${17:, group = ${18| ,\"🟣 Backtesting Start 🟢\",\"🟣 Backtesting End ❎\",\"🟢 Entry 🟢\",\"❎ Exit ❎\",\"⛔ Exit ⛔\",\"🔵 Colors 🔵\",\"💬 Comments 💬\",\"🎨 Drawings 🎨\",\"🟤 Length 🟤\",\"🟢 Long 🟢\",\"⚪ Options ⚪\",\"⏱ Session ⏱\",\"🟠 Settings 🟠\",\"🔴 Short 🔴\",\"🌲 Source 🌲\",\"🔶 Statistics 🔶\",\"🟤 Strategy 🟤\",\"🔱 Symbol 🔱\",\"⏱ Timeframe ⏱\",\"🌲 🌲\",\"⛔ ⛔\",\"💬 💬\",\"🎨 🎨\",\"⏱ ⏱\",\"🔴 🔴\",\"🟠 🟠\",\"🟡 🟡\",\"🟢 🟢\",\"🔵 🔵\",\"🟣 🟣\",\"🟤 🟤\",\"⚫ ⚫\",\"⚪ ⚪\",\"🟥 🟥\",\"🟧 🟧\",\"🟨 🟨\",\"🟩 🟩\",\"🟦 🟦\",\"🟪 🟪\",\"🟫 🟫\",\"⬛ ⬛\",\"⬜ ⬜\",\"🔶 🔶\",\"🔷 🔷\",\"🔸 🔸\",\"🔹 🔹\",\"🔺 🔺\",\"🔻 🔻\",\"💠 💠\",\"🔱 🔱\",\"🔘 🔘\",\"🔳 🔳\",\"🔲 🔲\",\"🏁 🏁\",\"🚩 🚩\",\"🎌 🎌\",\"🏴 🏴\",\"🏳️🌈 🏳️🌈\",\"🏴☠️ 🏴☠️\",\"📍 📍\",\"📌 📌\",\"📊 📊\",\"📉 📉\",\"📈 📈\",\"🌎 🌎\",\"🌐 🌐\",\"🧭 🧭\",\"🌋 🌋\",\"🚀 🚀\",\"⌛ ⌛\",\"🌑 🌑\",\"🌗 🌗\",\"🌕 🌕\",\"🌙 🌙\",\"⭐ ⭐\",\"🌟 🌟\",\"🌞 🌞\",\"🪐 🪐\",\"🌈 🌈\",\"🌀 🌀\",\"🧨 🧨\",\"🎈 🎈\",\"🔊 🔊\",\"📢 📢\",\"📣 📣\",\"📯 📯\",\"🔔 🔔\",\"🔋 🔋\",\"🔍 🔍\",\"💾 💾\",\"💰 💰\",\"💴 💴\",\"💸 💸\",\"📐 📐\",\"📏 📏\",\"🔒 🔒\",\"🔓 🔓\",\"🔑 🔑\",\"🔐 🔐\",\"🔨 🔨\",\"⛓ ⛓\",\"🧲 🧲\",\"📡 📡\",\"🩸 🩸\",\"🗿 🗿\",\"🛂 🛂\",\"⛔ ⛔\",\"🚫 🚫\",\"☢ ☢\",\"☣ ☣\",\"▶ ▶\",\"⏯ ⏯\",\"🔂 🔂\",\"🔀 🔀\",\"📶 📶\",\"🔅 🔅\",\"✖ ✖\",\"➕ ➕\",\"➖ ➖\",\"➗ ➗\",\"💲 💲\",\"💱 💱\",\"♻ ♻\",\"📛 📛\",\"🔰 🔰\",\"⭕ ⭕\",\"✅ ✅\",\"✔ ✔\",\"❌ ❌\",\"❎ ❎\",\"➰ ➰\",\"™ ™\",\"#️⃣ #️⃣\",\"*️⃣ *️⃣\",\"0️⃣ 0️⃣\",\"1️⃣ 1️⃣\",\"2️⃣ 2️⃣\",\"3️⃣ 3️⃣\",\"4️⃣ 4️⃣\",\"5️⃣ 5️⃣\",\"6️⃣ 6️⃣\",\"7️⃣ 7️⃣\",\"8️⃣ 8️⃣\",\"9️⃣ 9️⃣\",\"🔟 🔟\",\"🅰 🅰\",\"🆎 🆎\",\"🅱 🅱\",\"🆑 🆑\",\"🆗 🆗\",\"🆙 🆙\"|}}${19:, confirm = ${20| ,false,true|}}}) $0"
],
"description": "input.int(defval = int, title = string, options = tuple, tooltip = string, inline = string, group = string, confirm = bool) → input int"
},
"Price input ⇨ 𝑓": {
"prefix": "input.price",
"body": [
"input.price(defval = ${1| ,0,1,2,3,4,5,6,7,8,9,10,15,20,25,30,40,50,60,75,90,100,200,300,400,500,600,700,1000|}${2:.${3| ,01,02,03,04,05,06,07,08,09,1,15,25,30,40,50,60,75,99|}}, title = \"${4}\"${5:${6:, tooltip = ${7:\"${8}\"}}${9:, inline = \"${10| ,01,02,03,04,05,06,07,08,09,10|}\"}${11:, group = ${12| ,\"🟣 Backtesting Start 🟢\",\"🟣 Backtesting End ❎\",\"🟢 Entry 🟢\",\"❎ Exit ❎\",\"⛔ Exit ⛔\",\"🔵 Colors 🔵\",\"💬 Comments 💬\",\"🎨 Drawings 🎨\",\"🟤 Length 🟤\",\"🟢 Long 🟢\",\"⚪ Options ⚪\",\"⏱ Session ⏱\",\"🟠 Settings 🟠\",\"🔴 Short 🔴\",\"🌲 Source 🌲\",\"🔶 Statistics 🔶\",\"🟤 Strategy 🟤\",\"🔱 Symbol 🔱\",\"⏱ Timeframe ⏱\",\"🌲 🌲\",\"⛔ ⛔\",\"💬 💬\",\"🎨 🎨\",\"⏱ ⏱\",\"🔴 🔴\",\"🟠 🟠\",\"🟡 🟡\",\"🟢 🟢\",\"🔵 🔵\",\"🟣 🟣\",\"🟤 🟤\",\"⚫ ⚫\",\"⚪ ⚪\",\"🟥 🟥\",\"🟧 🟧\",\"🟨 🟨\",\"🟩 🟩\",\"🟦 🟦\",\"🟪 🟪\",\"🟫 🟫\",\"⬛ ⬛\",\"⬜ ⬜\",\"🔶 🔶\",\"🔷 🔷\",\"🔸 🔸\",\"🔹 🔹\",\"🔺 🔺\",\"🔻 🔻\",\"💠 💠\",\"🔱 🔱\",\"🔘 🔘\",\"🔳 🔳\",\"🔲 🔲\",\"🏁 🏁\",\"🚩 🚩\",\"🎌 🎌\",\"🏴 🏴\",\"🏳️🌈 🏳️🌈\",\"🏴☠️ 🏴☠️\",\"📍 📍\",\"📌 📌\",\"📊 📊\",\"📉 📉\",\"📈 📈\",\"🌎 🌎\",\"🌐 🌐\",\"🧭 🧭\",\"🌋 🌋\",\"🚀 🚀\",\"⌛ ⌛\",\"🌑 🌑\",\"🌗 🌗\",\"🌕 🌕\",\"🌙 🌙\",\"⭐ ⭐\",\"🌟 🌟\",\"🌞 🌞\",\"🪐 🪐\",\"🌈 🌈\",\"🌀 🌀\",\"🧨 🧨\",\"🎈 🎈\",\"🔊 🔊\",\"📢 📢\",\"📣 📣\",\"📯 📯\",\"🔔 🔔\",\"🔋 🔋\",\"🔍 🔍\",\"💾 💾\",\"💰 💰\",\"💴 💴\",\"💸 💸\",\"📐 📐\",\"📏 📏\",\"🔒 🔒\",\"🔓 🔓\",\"🔑 🔑\",\"🔐 🔐\",\"🔨 🔨\",\"⛓ ⛓\",\"🧲 🧲\",\"📡 📡\",\"🩸 🩸\",\"🗿 🗿\",\"🛂 🛂\",\"⛔ ⛔\",\"🚫 🚫\",\"☢ ☢\",\"☣ ☣\",\"▶ ▶\",\"⏯ ⏯\",\"🔂 🔂\",\"🔀 🔀\",\"📶 📶\",\"🔅 🔅\",\"✖ ✖\",\"➕ ➕\",\"➖ ➖\",\"➗ ➗\",\"💲 💲\",\"💱 💱\",\"♻ ♻\",\"📛 📛\",\"🔰 🔰\",\"⭕ ⭕\",\"✅ ✅\",\"✔ ✔\",\"❌ ❌\",\"❎ ❎\",\"➰ ➰\",\"™ ™\",\"#️⃣ #️⃣\",\"*️⃣ *️⃣\",\"0️⃣ 0️⃣\",\"1️⃣ 1️⃣\",\"2️⃣ 2️⃣\",\"3️⃣ 3️⃣\",\"4️⃣ 4️⃣\",\"5️⃣ 5️⃣\",\"6️⃣ 6️⃣\",\"7️⃣ 7️⃣\",\"8️⃣ 8️⃣\",\"9️⃣ 9️⃣\",\"🔟 🔟\",\"🅰 🅰\",\"🆎 🆎\",\"🅱 🅱\",\"🆑 🆑\",\"🆗 🆗\",\"🆙 🆙\"|}}${13:, confirm = ${14| ,false,true|}}}) $0"
],
"description": "input.price(defval = int|float, title = string, tooltip = string, inline = string, group = string, confirm = bool) → input float"
},
"Session input ⇨ 𝑓": {
"prefix": "input.session",
"body": [
"input.session(defval = \"${1| ,0000,0001,0015,0030,0045,0100,0115,0130,0145,0200,0215,0230,0245,0300,0315,0330,0345,0400,0415,0430,0445,0500,0515,0530,0545,0600,0615,0630,0645,0700,0715,0730,0745,0800,0815,0830,0845,0900,0915,0930,0945,1000,1015,1030,1045,1100,1115,1130,1145,1200,1215,1230,1245,1300,1315,1330,1345,1400,1415,1430,1445,1500,1515,1530,1545,1600,1615,1630,1645,1700,1715,1730,1745,1800,1815,1830,1845,1900,1915,1930,1945,2000,2015,2030,2045,2100,2115,2130,2145,2200,2215,2230,2245,2300,2315,2330,2345,2359,2400|}-${2| ,0000,0001,0015,0030,0045,0100,0115,0130,0145,0200,0215,0230,0245,0300,0315,0330,0345,0400,0415,0430,0445,0500,0515,0530,0545,0600,0615,0630,0645,0700,0715,0730,0745,0800,0815,0830,0845,0900,0915,0930,0945,1000,1015,1030,1045,1100,1115,1130,1145,1200,1215,1230,1245,1300,1315,1330,1345,1400,1415,1430,1445,1500,1515,1530,1545,1600,1615,1630,1645,1700,1715,1730,1745,1800,1815,1830,1845,1900,1915,1930,1945,2000,2015,2030,2045,2100,2115,2130,2145,2200,2215,2230,2245,2300,2315,2330,2345,2359,2400|}\", title = \"${3| ,Session|}\"${4:${5:, options = [\"${6| ,0000,0001,0015,0030,0045,0100,0115,0130,0145,0200,0215,0230,0245,0300,0315,0330,0345,0400,0415,0430,0445,0500,0515,0530,0545,0600,0615,0630,0645,0700,0715,0730,0745,0800,0815,0830,0845,0900,0915,0930,0945,1000,1015,1030,1045,1100,1115,1130,1145,1200,1215,1230,1245,1300,1315,1330,1345,1400,1415,1430,1445,1500,1515,1530,1545,1600,1615,1630,1645,1700,1715,1730,1745,1800,1815,1830,1845,1900,1915,1930,1945,2000,2015,2030,2045,2100,2115,2130,2145,2200,2215,2230,2245,2300,2315,2330,2345,2359,2400|}-${7| ,0000,0001,0015,0030,0045,0100,0115,0130,0145,0200,0215,0230,0245,0300,0315,0330,0345,0400,0415,0430,0445,0500,0515,0530,0545,0600,0615,0630,0645,0700,0715,0730,0745,0800,0815,0830,0845,0900,0915,0930,0945,1000,1015,1030,1045,1100,1115,1130,1145,1200,1215,1230,1245,1300,1315,1330,1345,1400,1415,1430,1445,1500,1515,1530,1545,1600,1615,1630,1645,1700,1715,1730,1745,1800,1815,1830,1845,1900,1915,1930,1945,2000,2015,2030,2045,2100,2115,2130,2145,2200,2215,2230,2245,2300,2315,2330,2345,2359,2400|}\"${8:, \"${9| ,0000,0001,0015,0030,0045,0100,0115,0130,0145,0200,0215,0230,0245,0300,0315,0330,0345,0400,0415,0430,0445,0500,0515,0530,0545,0600,0615,0630,0645,0700,0715,0730,0745,0800,0815,0830,0845,0900,0915,0930,0945,1000,1015,1030,1045,1100,1115,1130,1145,1200,1215,1230,1245,1300,1315,1330,1345,1400,1415,1430,1445,1500,1515,1530,1545,1600,1615,1630,1645,1700,1715,1730,1745,1800,1815,1830,1845,1900,1915,1930,1945,2000,2015,2030,2045,2100,2115,2130,2145,2200,2215,2230,2245,2300,2315,2330,2345,2359,2400|}-${10| ,0000,0001,0015,0030,0045,0100,0115,0130,0145,0200,0215,0230,0245,0300,0315,0330,0345,0400,0415,0430,0445,0500,0515,0530,0545,0600,0615,0630,0645,0700,0715,0730,0745,0800,0815,0830,0845,0900,0915,0930,0945,1000,1015,1030,1045,1100,1115,1130,1145,1200,1215,1230,1245,1300,1315,1330,1345,1400,1415,1430,1445,1500,1515,1530,1545,1600,1615,1630,1645,1700,1715,1730,1745,1800,1815,1830,1845,1900,1915,1930,1945,2000,2015,2030,2045,2100,2115,2130,2145,2200,2215,2230,2245,2300,2315,2330,2345,2359,2400|}\"}${11:, \"${12| ,0000,0001,0015,0030,0045,0100,0115,0130,0145,0200,0215,0230,0245,0300,0315,0330,0345,0400,0415,0430,0445,0500,0515,0530,0545,0600,0615,0630,0645,0700,0715,0730,0745,0800,0815,0830,0845,0900,0915,0930,0945,1000,1015,1030,1045,1100,1115,1130,1145,1200,1215,1230,1245,1300,1315,1330,1345,1400,1415,1430,1445,1500,1515,1530,1545,1600,1615,1630,1645,1700,1715,1730,1745,1800,1815,1830,1845,1900,1915,1930,1945,2000,2015,2030,2045,2100,2115,2130,2145,2200,2215,2230,2245,2300,2315,2330,2345,2359,2400|}-${13| ,0000,0001,0015,0030,0045,0100,0115,0130,0145,0200,0215,0230,0245,0300,0315,0330,0345,0400,0415,0430,0445,0500,0515,0530,0545,0600,0615,0630,0645,0700,0715,0730,0745,0800,0815,0830,0845,0900,0915,0930,0945,1000,1015,1030,1045,1100,1115,1130,1145,1200,1215,1230,1245,1300,1315,1330,1345,1400,1415,1430,1445,1500,1515,1530,1545,1600,1615,1630,1645,1700,1715,1730,1745,1800,1815,1830,1845,1900,1915,1930,1945,2000,2015,2030,2045,2100,2115,2130,2145,2200,2215,2230,2245,2300,2315,2330,2345,2359,2400|}\"}]}${14:, tooltip = ${15:\"${16}\"}}${17:, inline = \"${18| ,01,02,03,04,05,06,07,08,09,10|}\"}${19:, group = ${20| ,\"⏱ Session ⏱\",\"🟣 Backtesting Start 🟢\",\"🟣 Backtesting End ❎\",\"🟢 Entry 🟢\",\"❎ Exit ❎\",\"⛔ Exit ⛔\",\"🔵 Colors 🔵\",\"💬 Comments 💬\",\"🎨 Drawings 🎨\",\"🟤 Length 🟤\",\"🟢 Long 🟢\",\"⚪ Options ⚪\",\"🟠 Settings 🟠\",\"🔴 Short 🔴\",\"🌲 Source 🌲\",\"🔶 Statistics 🔶\",\"🟤 Strategy 🟤\",\"🔱 Symbol 🔱\",\"⏱ Timeframe ⏱\",\"🌲 🌲\",\"⛔ ⛔\",\"💬 💬\",\"🎨 🎨\",\"⏱ ⏱\",\"🔴 🔴\",\"🟠 🟠\",\"🟡 🟡\",\"🟢 🟢\",\"🔵 🔵\",\"🟣 🟣\",\"🟤 🟤\",\"⚫ ⚫\",\"⚪ ⚪\",\"🟥 🟥\",\"🟧 🟧\",\"🟨 🟨\",\"🟩 🟩\",\"🟦 🟦\",\"🟪 🟪\",\"🟫 🟫\",\"⬛ ⬛\",\"⬜ ⬜\",\"🔶 🔶\",\"🔷 🔷\",\"🔸 🔸\",\"🔹 🔹\",\"🔺 🔺\",\"🔻 🔻\",\"💠 💠\",\"🔱 🔱\",\"🔘 🔘\",\"🔳 🔳\",\"🔲 🔲\",\"🏁 🏁\",\"🚩 🚩\",\"🎌 🎌\",\"🏴 🏴\",\"🏳️🌈 🏳️🌈\",\"🏴☠️ 🏴☠️\",\"📍 📍\",\"📌 📌\",\"📊 📊\",\"📉 📉\",\"📈 📈\",\"🌎 🌎\",\"🌐 🌐\",\"🧭 🧭\",\"🌋 🌋\",\"🚀 🚀\",\"⌛ ⌛\",\"🌑 🌑\",\"🌗 🌗\",\"🌕 🌕\",\"🌙 🌙\",\"⭐ ⭐\",\"🌟 🌟\",\"🌞 🌞\",\"🪐 🪐\",\"🌈 🌈\",\"🌀 🌀\",\"🧨 🧨\",\"🎈 🎈\",\"🔊 🔊\",\"📢 📢\",\"📣 📣\",\"📯 📯\",\"🔔 🔔\",\"🔋 🔋\",\"🔍 🔍\",\"💾 💾\",\"💰 💰\",\"💴 💴\",\"💸 💸\",\"📐 📐\",\"📏 📏\",\"🔒 🔒\",\"🔓 🔓\",\"🔑 🔑\",\"🔐 🔐\",\"🔨 🔨\",\"⛓ ⛓\",\"🧲 🧲\",\"📡 📡\",\"🩸 🩸\",\"🗿 🗿\",\"🛂 🛂\",\"⛔ ⛔\",\"🚫 🚫\",\"☢ ☢\",\"☣ ☣\",\"▶ ▶\",\"⏯ ⏯\",\"🔂 🔂\",\"🔀 🔀\",\"📶 📶\",\"🔅 🔅\",\"✖ ✖\",\"➕ ➕\",\"➖ ➖\",\"➗ ➗\",\"💲 💲\",\"💱 💱\",\"♻ ♻\",\"📛 📛\",\"🔰 🔰\",\"⭕ ⭕\",\"✅ ✅\",\"✔ ✔\",\"❌ ❌\",\"❎ ❎\",\"➰ ➰\",\"™ ™\",\"#️⃣ #️⃣\",\"*️⃣ *️⃣\",\"0️⃣ 0️⃣\",\"1️⃣ 1️⃣\",\"2️⃣ 2️⃣\",\"3️⃣ 3️⃣\",\"4️⃣ 4️⃣\",\"5️⃣ 5️⃣\",\"6️⃣ 6️⃣\",\"7️⃣ 7️⃣\",\"8️⃣ 8️⃣\",\"9️⃣ 9️⃣\",\"🔟 🔟\",\"🅰 🅰\",\"🆎 🆎\",\"🅱 🅱\",\"🆑 🆑\",\"🆗 🆗\",\"🆙 🆙\"|}}${21:, confirm = ${22| ,false,true|}}}) $0"
],
"description": "input.session(defval = string, title = string, options = tuple, tooltip = string, inline = string, group = string, confirm = bool) → input string"
},
"Source input ⇨ 𝑓": {
"prefix": "input.source",
"body": [
"input.source(defval = ${1| ,open,high,low,close,hl2,hlc3,ohlc4|}, title = \"${2| ,Source|}\"${3:${4:, tooltip = ${5:\"${6:}\"}}${7:, inline = \"${8| ,01,02,03,04,05,06,07,08,09,10|}\"}${9:, group = ${10| ,\"🌲 Source 🌲\",\"🟣 Backtesting Start 🟢\",\"🟣 Backtesting End ❎\",\"🟢 Entry 🟢\",\"❎ Exit ❎\",\"⛔ Exit ⛔\",\"🔵 Colors 🔵\",\"💬 Comments 💬\",\"🎨 Drawings 🎨\",\"🟤 Length 🟤\",\"🟢 Long 🟢\",\"⚪ Options ⚪\",\"⏱ Session ⏱\",\"🟠 Settings 🟠\",\"🔴 Short 🔴\",\"🔶 Statistics 🔶\",\"🟤 Strategy 🟤\",\"🔱 Symbol 🔱\",\"⏱ Timeframe ⏱\",\"🌲 🌲\",\"⛔ ⛔\",\"💬 💬\",\"🎨 🎨\",\"⏱ ⏱\",\"🔴 🔴\",\"🟠 🟠\",\"🟡 🟡\",\"🟢 🟢\",\"🔵 🔵\",\"🟣 🟣\",\"🟤 🟤\",\"⚫ ⚫\",\"⚪ ⚪\",\"🟥 🟥\",\"🟧 🟧\",\"🟨 🟨\",\"🟩 🟩\",\"🟦 🟦\",\"🟪 🟪\",\"🟫 🟫\",\"⬛ ⬛\",\"⬜ ⬜\",\"🔶 🔶\",\"🔷 🔷\",\"🔸 🔸\",\"🔹 🔹\",\"🔺 🔺\",\"🔻 🔻\",\"💠 💠\",\"🔱 🔱\",\"🔘 🔘\",\"🔳 🔳\",\"🔲 🔲\",\"🏁 🏁\",\"🚩 🚩\",\"🎌 🎌\",\"🏴 🏴\",\"🏳️🌈 🏳️🌈\",\"🏴☠️ 🏴☠️\",\"📍 📍\",\"📌 📌\",\"📊 📊\",\"📉 📉\",\"📈 📈\",\"🌎 🌎\",\"🌐 🌐\",\"🧭 🧭\",\"🌋 🌋\",\"🚀 🚀\",\"⌛ ⌛\",\"🌑 🌑\",\"🌗 🌗\",\"🌕 🌕\",\"🌙 🌙\",\"⭐ ⭐\",\"🌟 🌟\",\"🌞 🌞\",\"🪐 🪐\",\"🌈 🌈\",\"🌀 🌀\",\"🧨 🧨\",\"🎈 🎈\",\"🔊 🔊\",\"📢 📢\",\"📣 📣\",\"📯 📯\",\"🔔 🔔\",\"🔋 🔋\",\"🔍 🔍\",\"💾 💾\",\"💰 💰\",\"💴 💴\",\"💸 💸\",\"📐 📐\",\"📏 📏\",\"🔒 🔒\",\"🔓 🔓\",\"🔑 🔑\",\"🔐 🔐\",\"🔨 🔨\",\"⛓ ⛓\",\"🧲 🧲\",\"📡 📡\",\"🩸 🩸\",\"🗿 🗿\",\"🛂 🛂\",\"⛔ ⛔\",\"🚫 🚫\",\"☢ ☢\",\"☣ ☣\",\"▶ ▶\",\"⏯ ⏯\",\"🔂 🔂\",\"🔀 🔀\",\"📶 📶\",\"🔅 🔅\",\"✖ ✖\",\"➕ ➕\",\"➖ ➖\",\"➗ ➗\",\"💲 💲\",\"💱 💱\",\"♻ ♻\",\"📛 📛\",\"🔰 🔰\",\"⭕ ⭕\",\"✅ ✅\",\"✔ ✔\",\"❌ ❌\",\"❎ ❎\",\"➰ ➰\",\"™ ™\",\"#️⃣ #️⃣\",\"*️⃣ *️⃣\",\"0️⃣ 0️⃣\",\"1️⃣ 1️⃣\",\"2️⃣ 2️⃣\",\"3️⃣ 3️⃣\",\"4️⃣ 4️⃣\",\"5️⃣ 5️⃣\",\"6️⃣ 6️⃣\",\"7️⃣ 7️⃣\",\"8️⃣ 8️⃣\",\"9️⃣ 9️⃣\",\"🔟 🔟\",\"🅰 🅰\",\"🆎 🆎\",\"🅱 🅱\",\"🆑 🆑\",\"🆗 🆗\",\"🆙 🆙\"|}}${11:, confirm = ${12| ,false,true|}}}) $0"
],
"description": "input.source(defval = int|float, title = string, tooltip = string, inline = string, group = string) → series float"
},
"String input ⇨ 𝑓": {
"prefix": "input.string",
"body": [
"input.string(defval = \"${1}\", title = \"${2}\"${3:${4:, options = [\"${5}\"${6:, \"${7}\"}${8:, \"${9}\"}${10:, \"${11}\"}${12:, \"${13}\"}]}${14:, tooltip = ${15:\"${16}\"}}${17:, inline = \"${18| ,01,02,03,04,05,06,07,08,09,10|}\"}${19:, group = ${20| ,\"🟣 Backtesting Start 🟢\",\"🟣 Backtesting End ❎\",\"🟢 Entry 🟢\",\"❎ Exit ❎\",\"⛔ Exit ⛔\",\"🔵 Colors 🔵\",\"💬 Comments 💬\",\"🎨 Drawings 🎨\",\"🟤 Length 🟤\",\"🟢 Long 🟢\",\"⚪ Options ⚪\",\"⏱ Session ⏱\",\"🟠 Settings 🟠\",\"🔴 Short 🔴\",\"🌲 Source 🌲\",\"🔶 Statistics 🔶\",\"🟤 Strategy 🟤\",\"🔱 Symbol 🔱\",\"⏱ Timeframe ⏱\",\"🌲 🌲\",\"⛔ ⛔\",\"💬 💬\",\"🎨 🎨\",\"⏱ ⏱\",\"🔴 🔴\",\"🟠 🟠\",\"🟡 🟡\",\"🟢 🟢\",\"🔵 🔵\",\"🟣 🟣\",\"🟤 🟤\",\"⚫ ⚫\",\"⚪ ⚪\",\"🟥 🟥\",\"🟧 🟧\",\"🟨 🟨\",\"🟩 🟩\",\"🟦 🟦\",\"🟪 🟪\",\"🟫 🟫\",\"⬛ ⬛\",\"⬜ ⬜\",\"🔶 🔶\",\"🔷 🔷\",\"🔸 🔸\",\"🔹 🔹\",\"🔺 🔺\",\"🔻 🔻\",\"💠 💠\",\"🔱 🔱\",\"🔘 🔘\",\"🔳 🔳\",\"🔲 🔲\",\"🏁 🏁\",\"🚩 🚩\",\"🎌 🎌\",\"🏴 🏴\",\"🏳️🌈 🏳️🌈\",\"🏴☠️ 🏴☠️\",\"📍 📍\",\"📌 📌\",\"📊 📊\",\"📉 📉\",\"📈 📈\",\"🌎 🌎\",\"🌐 🌐\",\"🧭 🧭\",\"🌋 🌋\",\"🚀 🚀\",\"⌛ ⌛\",\"🌑 🌑\",\"🌗 🌗\",\"🌕 🌕\",\"🌙 🌙\",\"⭐ ⭐\",\"🌟 🌟\",\"🌞 🌞\",\"🪐 🪐\",\"🌈 🌈\",\"🌀 🌀\",\"🧨 🧨\",\"🎈 🎈\",\"🔊 🔊\",\"📢 📢\",\"📣 📣\",\"📯 📯\",\"🔔 🔔\",\"🔋 🔋\",\"🔍 🔍\",\"💾 💾\",\"💰 💰\",\"💴 💴\",\"💸 💸\",\"📐 📐\",\"📏 📏\",\"🔒 🔒\",\"🔓 🔓\",\"🔑 🔑\",\"🔐 🔐\",\"🔨 🔨\",\"⛓ ⛓\",\"🧲 🧲\",\"📡 📡\",\"🩸 🩸\",\"🗿 🗿\",\"🛂 🛂\",\"⛔ ⛔\",\"🚫 🚫\",\"☢ ☢\",\"☣ ☣\",\"▶ ▶\",\"⏯ ⏯\",\"🔂 🔂\",\"🔀 🔀\",\"📶 📶\",\"🔅 🔅\",\"✖ ✖\",\"➕ ➕\",\"➖ ➖\",\"➗ ➗\",\"💲 💲\",\"💱 💱\",\"♻ ♻\",\"📛 📛\",\"🔰 🔰\",\"⭕ ⭕\",\"✅ ✅\",\"✔ ✔\",\"❌ ❌\",\"❎ ❎\",\"➰ ➰\",\"™ ™\",\"#️⃣ #️⃣\",\"*️⃣ *️⃣\",\"0️⃣ 0️⃣\",\"1️⃣ 1️⃣\",\"2️⃣ 2️⃣\",\"3️⃣ 3️⃣\",\"4️⃣ 4️⃣\",\"5️⃣ 5️⃣\",\"6️⃣ 6️⃣\",\"7️⃣ 7️⃣\",\"8️⃣ 8️⃣\",\"9️⃣ 9️⃣\",\"🔟 🔟\",\"🅰 🅰\",\"🆎 🆎\",\"🅱 🅱\",\"🆑 🆑\",\"🆗 🆗\",\"🆙 🆙\"|}}${21:, confirm = ${22| ,false,true|}}}) $0"
],
"description": "input.string(defval = string, title = string, options = string, tooltip = string, inline = string, group = string, confirm = bool) → input string"
},
"Symbol input ⇨ 𝑓": {
"prefix": "input.symbol",
"body": [
"input.symbol(defval = \"${1}\", title = \"${2}\"${3:${4:, tooltip = ${5:\"${6}\"}}${7:, inline = \"${8| ,01,02,03,04,05,06,07,08,09,10|}\"}${9:, group = ${10| ,\"🔱 Symbol 🔱\",\"🟣 Backtesting Start 🟢\",\"🟣 Backtesting End ❎\",\"🟢 Entry 🟢\",\"❎ Exit ❎\",\"⛔ Exit ⛔\",\"🔵 Colors 🔵\",\"💬 Comments 💬\",\"🎨 Drawings 🎨\",\"🟤 Length 🟤\",\"🟢 Long 🟢\",\"⚪ Options ⚪\",\"⏱ Session ⏱\",\"🟠 Settings 🟠\",\"🔴 Short 🔴\",\"🌲 Source 🌲\",\"🔶 Statistics 🔶\",\"🟤 Strategy 🟤\",\"⏱ Timeframe ⏱\",\"🌲 🌲\",\"⛔ ⛔\",\"💬 💬\",\"🎨 🎨\",\"⏱ ⏱\",\"🔴 🔴\",\"🟠 🟠\",\"🟡 🟡\",\"🟢 🟢\",\"🔵 🔵\",\"🟣 🟣\",\"🟤 🟤\",\"⚫ ⚫\",\"⚪ ⚪\",\"🟥 🟥\",\"🟧 🟧\",\"🟨 🟨\",\"🟩 🟩\",\"🟦 🟦\",\"🟪 🟪\",\"🟫 🟫\",\"⬛ ⬛\",\"⬜ ⬜\",\"🔶 🔶\",\"🔷 🔷\",\"🔸 🔸\",\"🔹 🔹\",\"🔺 🔺\",\"🔻 🔻\",\"💠 💠\",\"🔱 🔱\",\"🔘 🔘\",\"🔳 🔳\",\"🔲 🔲\",\"🏁 🏁\",\"🚩 🚩\",\"🎌 🎌\",\"🏴 🏴\",\"🏳️🌈 🏳️🌈\",\"🏴☠️ 🏴☠️\",\"📍 📍\",\"📌 📌\",\"📊 📊\",\"📉 📉\",\"📈 📈\",\"🌎 🌎\",\"🌐 🌐\",\"🧭 🧭\",\"🌋 🌋\",\"🚀 🚀\",\"⌛ ⌛\",\"🌑 🌑\",\"🌗 🌗\",\"🌕 🌕\",\"🌙 🌙\",\"⭐ ⭐\",\"🌟 🌟\",\"🌞 🌞\",\"🪐 🪐\",\"🌈 🌈\",\"🌀 🌀\",\"🧨 🧨\",\"🎈 🎈\",\"🔊 🔊\",\"📢 📢\",\"📣 📣\",\"📯 📯\",\"🔔 🔔\",\"🔋 🔋\",\"🔍 🔍\",\"💾 💾\",\"💰 💰\",\"💴 💴\",\"💸 💸\",\"📐 📐\",\"📏 📏\",\"🔒 🔒\",\"🔓 🔓\",\"🔑 🔑\",\"🔐 🔐\",\"🔨 🔨\",\"⛓ ⛓\",\"🧲 🧲\",\"📡 📡\",\"🩸 🩸\",\"🗿 🗿\",\"🛂 🛂\",\"⛔ ⛔\",\"🚫 🚫\",\"☢ ☢\",\"☣ ☣\",\"▶ ▶\",\"⏯ ⏯\",\"🔂 🔂\",\"🔀 🔀\",\"📶 📶\",\"🔅 🔅\",\"✖ ✖\",\"➕ ➕\",\"➖ ➖\",\"➗ ➗\",\"💲 💲\",\"💱 💱\",\"♻ ♻\",\"📛 📛\",\"🔰 🔰\",\"⭕ ⭕\",\"✅ ✅\",\"✔ ✔\",\"❌ ❌\",\"❎ ❎\",\"➰ ➰\",\"™ ™\",\"#️⃣ #️⃣\",\"*️⃣ *️⃣\",\"0️⃣ 0️⃣\",\"1️⃣ 1️⃣\",\"2️⃣ 2️⃣\",\"3️⃣ 3️⃣\",\"4️⃣ 4️⃣\",\"5️⃣ 5️⃣\",\"6️⃣ 6️⃣\",\"7️⃣ 7️⃣\",\"8️⃣ 8️⃣\",\"9️⃣ 9️⃣\",\"🔟 🔟\",\"🅰 🅰\",\"🆎 🆎\",\"🅱 🅱\",\"🆑 🆑\",\"🆗 🆗\",\"🆙 🆙\"|}}${11:, confirm = ${12| ,false,true|}}}) $0"
],
"description": "input.symbol(defval = string, title = string, tooltip = string, inline = string, group = string, confirm = bool) → input string"
},
"Time input ⇨ 𝑓": {
"prefix": "input.time",
"body": [
"input.time(defval = timestamp(${1|TZ,syminfo.timezone,\"GMT-12\",\"GMT-11\",\"GMT-10\",\"GMT-9\",\"GMT-8\",\"GMT-7\",\"GMT-6\",\"GMT-5\",\"GMT-4\",\"GMT-3\",\"GMT-2\",\"GMT-1\",\"GMT+0\",\"GMT+1\",\"GMT+2\",\"GMT+3\",\"GMT+4\",\"GMT+5\",\"GMT+6\",\"GMT+7\",\"GMT+8\",\"GMT+9\",\"GMT+10\",\"GMT+11\",\"GMT+12\"|}, ${2|Y,2022,2021,2020,2019,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2000|}, ${3|M,01,02,03,04,05,06,07,08,09,10,11,12|}, ${4|D,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31|}, ${5|h,00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23|}, ${6|m,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59|}${7:, ${8|s,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59|}}), title = \"${9| ,Time|}\"${10:${11:, tooltip = ${12:\"${13:}\"}}${14:, inline = \"${15| ,01,02,03,04,05,06,07,08,09,10|}\"}${16:, group = ${17| ,\"🌲 Source 🌲\",\"🟣 Backtesting Start 🟢\",\"🟣 Backtesting End ❎\",\"🟢 Entry 🟢\",\"❎ Exit ❎\",\"⛔ Exit ⛔\",\"🔵 Colors 🔵\",\"💬 Comments 💬\",\"🎨 Drawings 🎨\",\"🟤 Length 🟤\",\"🟢 Long 🟢\",\"⚪ Options ⚪\",\"⏱ Session ⏱\",\"🟠 Settings 🟠\",\"🔴 Short 🔴\",\"🔶 Statistics 🔶\",\"🟤 Strategy 🟤\",\"🔱 Symbol 🔱\",\"⏱ Timeframe ⏱\",\"🌲 🌲\",\"⛔ ⛔\",\"💬 💬\",\"🎨 🎨\",\"⏱ ⏱\",\"🔴 🔴\",\"🟠 🟠\",\"🟡 🟡\",\"🟢 🟢\",\"🔵 🔵\",\"🟣 🟣\",\"🟤 🟤\",\"⚫ ⚫\",\"⚪ ⚪\",\"🟥 🟥\",\"🟧 🟧\",\"🟨 🟨\",\"🟩 🟩\",\"🟦 🟦\",\"🟪 🟪\",\"🟫 🟫\",\"⬛ ⬛\",\"⬜ ⬜\",\"🔶 🔶\",\"🔷 🔷\",\"🔸 🔸\",\"🔹 🔹\",\"🔺 🔺\",\"🔻 🔻\",\"💠 💠\",\"🔱 🔱\",\"🔘 🔘\",\"🔳 🔳\",\"🔲 🔲\",\"🏁 🏁\",\"🚩 🚩\",\"🎌 🎌\",\"🏴 🏴\",\"🏳️🌈 🏳️🌈\",\"🏴☠️ 🏴☠️\",\"📍 📍\",\"📌 📌\",\"📊 📊\",\"📉 📉\",\"📈 📈\",\"🌎 🌎\",\"🌐 🌐\",\"🧭 🧭\",\"🌋 🌋\",\"🚀 🚀\",\"⌛ ⌛\",\"🌑 🌑\",\"🌗 🌗\",\"🌕 🌕\",\"🌙 🌙\",\"⭐ ⭐\",\"🌟 🌟\",\"🌞 🌞\",\"🪐 🪐\",\"🌈 🌈\",\"🌀 🌀\",\"🧨 🧨\",\"🎈 🎈\",\"🔊 🔊\",\"📢 📢\",\"📣 📣\",\"📯 📯\",\"🔔 🔔\",\"🔋 🔋\",\"🔍 🔍\",\"💾 💾\",\"💰 💰\",\"💴 💴\",\"💸 💸\",\"📐 📐\",\"📏 📏\",\"🔒 🔒\",\"🔓 🔓\",\"🔑 🔑\",\"🔐 🔐\",\"🔨 🔨\",\"⛓ ⛓\",\"🧲 🧲\",\"📡 📡\",\"🩸 🩸\",\"🗿 🗿\",\"🛂 🛂\",\"⛔ ⛔\",\"🚫 🚫\",\"☢ ☢\",\"☣ ☣\",\"▶ ▶\",\"⏯ ⏯\",\"🔂 🔂\",\"🔀 🔀\",\"📶 📶\",\"🔅 🔅\",\"✖ ✖\",\"➕ ➕\",\"➖ ➖\",\"➗ ➗\",\"💲 💲\",\"💱 💱\",\"♻ ♻\",\"📛 📛\",\"🔰 🔰\",\"⭕ ⭕\",\"✅ ✅\",\"✔ ✔\",\"❌ ❌\",\"❎ ❎\",\"➰ ➰\",\"™ ™\",\"#️⃣ #️⃣\",\"*️⃣ *️⃣\",\"0️⃣ 0️⃣\",\"1️⃣ 1️⃣\",\"2️⃣ 2️⃣\",\"3️⃣ 3️⃣\",\"4️⃣ 4️⃣\",\"5️⃣ 5️⃣\",\"6️⃣ 6️⃣\",\"7️⃣ 7️⃣\",\"8️⃣ 8️⃣\",\"9️⃣ 9️⃣\",\"🔟 🔟\",\"🅰 🅰\",\"🆎 🆎\",\"🅱 🅱\",\"🆑 🆑\",\"🆗 🆗\",\"🆙 🆙\"|}}${18:, confirm = ${19| ,false,true|}}}) $0"
],
"description": "input.time(defval = const int, title = string, tooltip = string, inline = string, group = string, confirm = bool) → input int"
},
"Timeframe input ⇨ 𝑓": {
"prefix": "input.timeframe",
"body": [
"input.timeframe(defval = \"${1| ,1,2,3,5,7,10,15,30,60,90,120,180,240,360,480,D,2D,5D,W,2W,M,2M,6M,Y|}\", title = \"${2}\"${3:${4:, options = [\"${5| ,1,2,3,5,7,10,15,30,60,90,120,180,240,360,480,D,2D,5D,W,2W,M,2M,6M,Y|}\"${6:, \"${7| ,1,2,3,5,7,10,15,30,60,90,120,180,240,360,480,D,2D,5D,W,2W,M,2M,6M,Y|}\"}${8:, \"${9| ,1,2,3,5,7,10,15,30,60,90,120,180,240,360,480,D,2D,5D,W,2W,M,2M,6M,Y|}\"}${10:, \"${11| ,1,2,3,5,7,10,15,30,60,90,120,180,240,360,480,D,2D,5D,W,2W,M,2M,6M,Y|}\"}${12:, \"${13| ,1,2,3,5,7,10,15,30,60,90,120,180,240,360,480,D,2D,5D,W,2W,M,2M,6M,Y|}\"}]}${14:, tooltip = ${15:\"${16}\"}}${17:, inline = \"${18| ,01,02,03,04,05,06,07,08,09,10|}\"}${19:, group = ${20| ,\"⏱ Timeframe ⏱\",\"🟣 Backtesting Start 🟢\",\"🟣 Backtesting End ❎\",\"🟢 Entry 🟢\",\"❎ Exit ❎\",\"⛔ Exit ⛔\",\"🔵 Colors 🔵\",\"💬 Comments 💬\",\"🎨 Drawings 🎨\",\"🟤 Length 🟤\",\"🟢 Long 🟢\",\"⚪ Options ⚪\",\"⏱ Session ⏱\",\"🟠 Settings 🟠\",\"🔴 Short 🔴\",\"🌲 Source 🌲\",\"🔶 Statistics 🔶\",\"🟤 Strategy 🟤\",\"🔱 Symbol 🔱\",\"🌲 🌲\",\"⛔ ⛔\",\"💬 💬\",\"🎨 🎨\",\"⏱ ⏱\",\"🔴 🔴\",\"🟠 🟠\",\"🟡 🟡\",\"🟢 🟢\",\"🔵 🔵\",\"🟣 🟣\",\"🟤 🟤\",\"⚫ ⚫\",\"⚪ ⚪\",\"🟥 🟥\",\"🟧 🟧\",\"🟨 🟨\",\"🟩 🟩\",\"🟦 🟦\",\"🟪 🟪\",\"🟫 🟫\",\"⬛ ⬛\",\"⬜ ⬜\",\"🔶 🔶\",\"🔷 🔷\",\"🔸 🔸\",\"🔹 🔹\",\"🔺 🔺\",\"🔻 🔻\",\"💠 💠\",\"🔱 🔱\",\"🔘 🔘\",\"🔳 🔳\",\"🔲 🔲\",\"🏁 🏁\",\"🚩 🚩\",\"🎌 🎌\",\"🏴 🏴\",\"🏳️🌈 🏳️🌈\",\"🏴☠️ 🏴☠️\",\"📍 📍\",\"📌 📌\",\"📊 📊\",\"📉 📉\",\"📈 📈\",\"🌎 🌎\",\"🌐 🌐\",\"🧭 🧭\",\"🌋 🌋\",\"🚀 🚀\",\"⌛ ⌛\",\"🌑 🌑\",\"🌗 🌗\",\"🌕 🌕\",\"🌙 🌙\",\"⭐ ⭐\",\"🌟 🌟\",\"🌞 🌞\",\"🪐 🪐\",\"🌈 🌈\",\"🌀 🌀\",\"🧨 🧨\",\"🎈 🎈\",\"🔊 🔊\",\"📢 📢\",\"📣 📣\",\"📯 📯\",\"🔔 🔔\",\"🔋 🔋\",\"🔍 🔍\",\"💾 💾\",\"💰 💰\",\"💴 💴\",\"💸 💸\",\"📐 📐\",\"📏 📏\",\"🔒 🔒\",\"🔓 🔓\",\"🔑 🔑\",\"🔐 🔐\",\"🔨 🔨\",\"⛓ ⛓\",\"🧲 🧲\",\"📡 📡\",\"🩸 🩸\",\"🗿 🗿\",\"🛂 🛂\",\"⛔ ⛔\",\"🚫 🚫\",\"☢ ☢\",\"☣ ☣\",\"▶ ▶\",\"⏯ ⏯\",\"🔂 🔂\",\"🔀 🔀\",\"📶 📶\",\"🔅 🔅\",\"✖ ✖\",\"➕ ➕\",\"➖ ➖\",\"➗ ➗\",\"💲 💲\",\"💱 💱\",\"♻ ♻\",\"📛 📛\",\"🔰 🔰\",\"⭕ ⭕\",\"✅ ✅\",\"✔ ✔\",\"❌ ❌\",\"❎ ❎\",\"➰ ➰\",\"™ ™\",\"#️⃣ #️⃣\",\"*️⃣ *️⃣\",\"0️⃣ 0️⃣\",\"1️⃣ 1️⃣\",\"2️⃣ 2️⃣\",\"3️⃣ 3️⃣\",\"4️⃣ 4️⃣\",\"5️⃣ 5️⃣\",\"6️⃣ 6️⃣\",\"7️⃣ 7️⃣\",\"8️⃣ 8️⃣\",\"9️⃣ 9️⃣\",\"🔟 🔟\",\"🅰 🅰\",\"🆎 🆎\",\"🅱 🅱\",\"🆑 🆑\",\"🆗 🆗\",\"🆙 🆙\"|}}${21:, confirm = ${22| ,false,true|}}}) $0"
],
"description": "input.timeframe(defval = string, title = string, options = tuple, tooltip = string, inline = string, group = string, confirm = bool) → input string"
},
"Casts na or truncates float value to int | Value of the argument after casting to int ⇨ 𝑓": {
"prefix": "int",
"body": [
"int(x = $1) $0"
],
"description": "int(x = int) → simple|input|const|series int"
},
"Casts na to label | Value of the argument after casting to label ⇨ 𝑓": {
"prefix": "label",
"body": [
"label(x = $1)",
"$0"
],
"description": "label(x = label) → label"
},
"Deletes the specified label object ⇨ 𝑓": {
"prefix": "label.delete",
"body": [
"label.delete(id = $1)",
"$0"
],
"description": "label.delete(id = label) → void"
},
"Text of this label object ⇨ 𝑓": {
"prefix": "label.get_text",
"body": [
"label.get_text(id = $1)",
"$0"
],
"description": "label.get_text(id = label) → string"
},
"UNIX time or bar index ⇨ 𝑓": {
"prefix": "label.get_x",
"body": [
"label.get_x(id = $1)",
"$0"
],
"description": "label.get_x(id = label) → int"
},
"Price of this label's position ⇨ 𝑓": {
"prefix": "label.get_y",
"body": [
"label.get_y(id = $1)",
"$0"
],
"description": "label.get_y(id = label) → float"
},
"New label Object ⇨ 𝑓": {
"prefix": "label.new",
"body": [
"label.new(x = ${1| ,bar_index|}, y = ${2| ,na,open,high,low,close,hl2,hlc3,ohlc4|}, text = ${3:\"${4}\"}${5:, xloc = ${6| ,xloc.bar_index,xloc.bar_time|}}${7:, yloc = ${8| ,yloc.price,yloc.abovebar,yloc.belowbar|}}${9:, color = color.new(color = ${10| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${11:0})}, style = ${12| ,label.style_none,label.style_xcross,label.style_cross,label.style_triangleup,label.style_triangledown,label.style_flag,label.style_circle,label.style_arrowup,label.style_arrowdown,label.style_label_up,label.style_label_down,label.style_label_left,label.style_label_right,label.style_label_lower_left,label.style_label_lower_right,label.style_label_upper_left,label.style_label_upper_right,label.style_label_center,label.style_square,label.style_diamond|}${13:, textcolor = color.new(color = ${14| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${15:0})}${16:, size = ${17| ,size.auto,size.tiny,size.small,size.normal,size.large,size.huge|}}${18:, textalign = ${19| ,text.align_left,text.align_center,text.align_right|}}${20:, tooltip = ${21:\"${22}\"}})",
"$0"
],
"description": "label.new(x = int, y = int|float, text = string, xloc = string, yloc = string, color = color, style = string, textcolor = color, size = string , textalign = string, tooltip = string) → series label"
},
"New label object | Block ⇨ 𝑓": {
"prefix": "label.new.block",
"body": [
"label.new(",
" x = ${1| ,bar_index|},",
" y = ${2| ,na,open,high,low,close,hl2,hlc3,ohlc4|},",
" text = ${3:\"${4}\"}${5:,",
" xloc = ${6| ,xloc.bar_index,xloc.bar_time|}}${7:,",
" yloc = ${8| ,yloc.price,yloc.abovebar,yloc.belowbar|}}${9:,",
" color = color.new(color = ${10| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${11:0})},",
" style = ${12| ,label.style_none,label.style_xcross,label.style_cross,label.style_triangleup,label.style_triangledown,label.style_flag,label.style_circle,label.style_arrowup,label.style_arrowdown,label.style_label_up,label.style_label_down,label.style_label_left,label.style_label_right,label.style_label_lower_left,label.style_label_lower_right,label.style_label_upper_left,label.style_label_upper_right,label.style_label_center,label.style_square,label.style_diamond|}${13:,",
" textcolor = color.new(color = ${14| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${15:0})}${16:,",
" size = ${17| ,size.auto,size.tiny,size.small,size.normal,size.large,size.huge|}}${18:,",
" textalign = ${19| ,text.align_left,text.align_center,text.align_right|}}${20:,",
" tooltip = ${21:\"${22}\"} }",
" )",
"$0"
],
"description": "label.new(x = int, y = int|float, text = string, xloc = string, yloc = string, color = color, style = string, textcolor = color, size = string , textalign = string, tooltip = string) → series label"
},
"Sets label border and arrow color ⇨ 𝑓": {
"prefix": "label.set_color",
"body": [
"label.set_color(id = $1, color = color.new(color = ${2| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${3:0}))",
"$0"
],
"description": "label.set_color(id = label, color = string) → void"
},
"Sets arrow and text size of the specified label object ⇨ 𝑓": {
"prefix": "label.set_size",
"body": [
"label.set_size(id = $1, size = ${2| ,size.auto,size.tiny,size.small,size.normal,size.large,size.huge|})",
"$0"
],
"description": "label.set_size(id = label, size = string) → void"
},
"Sets label style ⇨ 𝑓": {
"prefix": "label.set_style",
"body": [
"label.set_style(id = $1, style = ${2|label.style_none,label.style_xcross,label.style_cross,label.style_triangleup,label.style_triangledown,label.style_flag,label.style_circle,label.style_arrowup,label.style_arrowdown,label.style_label_up,label.style_label_down,label.style_label_left,label.style_label_right,label.style_label_lower_left,label.style_label_lower_right,label.style_label_upper_left,label.style_label_upper_right,label.style_label_center,label.style_square,label.style_diamond|})",
"$0"
],
"description": "label.set_style(id = label, style = string) → void"
},
"Sets label text ⇨ 𝑓": {
"prefix": "label.set_text",
"body": [
"label.set_text(id = $1, text = \"${2}\")",
"$0"
],
"description": "label.set_text(id = label, text = string) → void"
},
"Sets the alignment for the label text ⇨ 𝑓": {
"prefix": "label.set_textalign",
"body": [
"label.set_textalign(id = $1, textalign = ${2| ,text.align_left,text.align_center,text.align_right|})",
"$0"
],
"description": "label.set_textalign(id = label, textalign = string) → void"
},
"Sets color of the label text ⇨ 𝑓": {
"prefix": "label.set_textcolor",
"body": [
"label.set_textcolor(id = $1, textcolor = color.new(color = ${2| ,color.aqua,color.black,color.blue,color.fuchsia,color.gray,color.green,color.lime,color.maroon,color.navy,color.olive,color.orange,color.purple,color.red,color.silver,color.teal,color.white,color.yellow|}, transp = ${3:0})",
"$0"
],
"description": "label.set_textcolor(id = label, textcolor = color) → void"
},
"Sets the tooltip text ⇨ 𝑓": {
"prefix": "label.set_tooltip",
"body": [
"label.set_tooltip(id = $1, tooltip = \"${2}\")",
"$0"
],
"description": "label.set_tooltip(id = label, tooltip = string) → void"
},
"Sets bar index or bar time of the label position ⇨ 𝑓": {
"prefix": "label.set_x",
"body": [
"label.set_x(id = $1, x = ${2})",
"$0"
],
"description": "label.set_x(id = label, x = int) → void"
},
"Sets x-location and new bar index/time value ⇨ 𝑓": {
"prefix": "label.set_xloc",
"body": [
"label.set_xloc(id = $1, x = ${2}, xloc = ${3| ,xloc.bar_index,xloc.bar_time|})",
"$0"
],
"description": "label.set_xloc(id = label, x = int, xloc = string) → void"
},
"Sets bar index/time and price of the label position ⇨ 𝑓": {
"prefix": "label.set_xy",
"body": [
"label.set_xy(id = $1, x = ${2}, y = ${3})",
"$0"
],
"description": "label.set_xy(id = label, x = int, y = int|float) → void"
},
"Sets price of the label position ⇨ 𝑓": {
"prefix": "label.set_y",
"body": [
"label.set_y(id = $1, y = ${2})",
"$0"
],
"description": "label.set_y(id = label, y = int|float) → void"
},
"Sets new y-location calculation algorithm ⇨ 𝑓": {
"prefix": "label.set_yloc",
"body": [
"label.set_yloc(id = $1, yloc = ${2| ,yloc.price,yloc.abovebar,yloc.belowbar|})",
"$0"
],
"description": "label.set_yloc(id = label, yloc = string) → void"
},
"Casts na to line ⇨ 𝑓": {
"prefix": "line",
"body": [
"line(id = $1) $0"
],
"description": "line(id = line) → line "
},
"Declaration statement identifying a script as a library ⇨ 𝑓": {
"prefix": "library",
"body": [
"library(title = \"${1}\", overlay = ${2| ,true,false|}) $0"
],
"description": "library(title = string, overlay = bool) → void"
},
"Deletes the specified line object ⇨ 𝑓": {
"prefix": "line.delete",
"body": [
"line.delete(id = $1) $0"
],
"description": "line.delete(id = line) → void"
},
"Price level of a line at a given bar index ⇨ 𝑓": {
"prefix": "line.get_price",
"body": [
"line.get_price(id = $1, x = $2) $0"
],
"description": "line.get_price(id = line, x = int) → float"
},