Indicator · Pine Script v6 · Own pane

Table Test

by hikari112· code credited to The_Peaceful_Lizard

Table Test is a Pine Script v6 indicator that renders a precomputed ASCII-art image in a table in a separate pane.

View on GitHub

GitHub stars2on the repository
Pine versionv6current
Lines of code375
Settings1inputs
LicenceNone statedfile: MPL-2.0
Last update1 year ago1 Apr 2025

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above, or the copy button on the code below.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

375 lines of Pine Script v6 from example.pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.

example.pine
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © The_Peaceful_Lizard

//@version=6
indicator("Table Test", overlay = false)


int text_size = input.int(5, "Text Size", minval = 0)

var const int[] test_row_0 = array.from(54, 53, 32, 22, 59, 68, 67, 64, 63, 12, 22, 48, 54, 47, 41, 42, 48, 54, 54, 53
 , 49, 44, 42, 42, 43, 44, 47, 53, 57, 58, 56, 56, 54, 52, 48, 44, 40, 37, 37, 40, 43, 50, 55, 56, 57, 56, 54, 45, 38
 , 25, 10, 45, 54, 41, 12, 25, 26, 22, 16, 13, 35, 18, 22, 23)

var const int[] test_row_1 = array.from(54, 54, 55, 45, 25, 32, 62, 66, 65, 21, 28, 52, 57, 53, 50, 45, 50, 56, 57, 54
 , 51, 49, 47, 47, 47, 48, 50, 53, 55, 55, 55, 55, 53, 51, 47, 42, 39, 37, 38, 42, 45, 51, 55, 56, 56, 53, 45, 40, 37
 , 29, 48, 57, 47, 28, 11, 26, 26, 25, 20, 8, 15, 26, 22, 22)

var const int[] test_row_2 = array.from(54, 54, 54, 55, 54, 37, 21, 45, 66, 29, 34, 63, 59, 55, 53, 51, 52, 57, 59, 56
 , 54, 54, 52, 52, 51, 51, 52, 53, 54, 55, 55, 54, 52, 48, 44, 42, 39, 38, 40, 43, 47, 51, 54, 55, 53, 45, 41, 42, 45
 , 54, 58, 52, 42, 15, 17, 25, 24, 25, 22, 15, 9, 11, 26, 27)

var const int[] test_row_3 = array.from(54, 54, 54, 54, 54, 55, 49, 23, 32, 32, 26, 64, 60, 58, 55, 53, 52, 56, 60, 58
 , 57, 56, 54, 53, 52, 52, 53, 54, 54, 54, 54, 52, 50, 47, 44, 42, 40, 40, 41, 43, 45, 50, 53, 54, 50, 44, 45, 48, 51
 , 54, 53, 44, 35, 8, 11, 13, 8, 22, 24, 23, 21, 13, 13, 31)

var const int[] test_row_4 = array.from(55, 54, 54, 54, 54, 54, 55, 54, 28, 8, 16, 62, 62, 60, 57, 55, 54, 56, 60, 59
 , 57, 56, 55, 54, 53, 52, 53, 54, 54, 54, 52, 50, 47, 46, 45, 44, 42, 42, 43, 44, 45, 48, 51, 52, 51, 50, 51, 50, 50
 , 50, 45, 40, 26, 23, 37, 23, 24, 19, 25, 24, 22, 21, 14, 21)

var const int[] test_row_5 = array.from(37, 47, 53, 55, 56, 56, 56, 56, 56, 16, 7, 36, 54, 61, 58, 56, 55, 54, 58, 58
 , 56, 56, 55, 54, 52, 52, 52, 53, 53, 52, 51, 50, 47, 46, 47, 47, 45, 45, 45, 45, 47, 49, 51, 52, 50, 49, 50, 47, 45
 , 43, 40, 37, 16, 22, 30, 33, 22, 16, 22, 15, 24, 21, 11, 7)

var const int[] test_row_6 = array.from(16, 11, 15, 19, 25, 30, 33, 32, 25, 9, 16, 43, 38, 45, 56, 56, 54, 52, 54, 55
 , 55, 56, 55, 54, 52, 50, 50, 51, 50, 50, 51, 50, 49, 48, 48, 48, 48, 48, 48, 48, 48, 50, 42, 31, 28, 27, 31, 42, 42
 , 39, 36, 27, 32, 63, 61, 52, 22, 9, 15, 14, 23, 21, 15, 6)

var const int[] test_row_7 = array.from(61, 49, 37, 30, 24, 20, 16, 13, 14, 29, 43, 52, 53, 43, 42, 50, 51, 48, 48, 53
 , 55, 55, 54, 53, 50, 48, 48, 49, 48, 48, 50, 49, 48, 48, 49, 50, 50, 50, 50, 49, 48, 35, 35, 64, 67, 64, 39, 20, 36
 , 35, 32, 16, 61, 67, 65, 65, 64, 23, 28, 22, 14, 13, 11, 11)

var const int[] test_row_8 = array.from(59, 53, 34, 18, 16, 15, 14, 30, 50, 55, 55, 54, 55, 54, 48, 40, 42, 44, 44, 51
 , 54, 54, 54, 52, 48, 44, 45, 47, 46, 43, 48, 53, 46, 44, 48, 50, 50, 50, 50, 48, 38, 33, 68, 68, 67, 67, 68, 37, 21
 , 34, 16, 40, 67, 67, 66, 65, 64, 58, 26, 29, 10, 17, 6, 7)

var const int[] test_row_9 = array.from(28, 31, 31, 30, 27, 14, 21, 51, 54, 53, 53, 53, 54, 54, 52, 46, 39, 39, 42, 49
 , 53, 53, 53, 51, 47, 43, 42, 44, 47, 42, 42, 55, 49, 33, 43, 50, 50, 50, 48, 43, 27, 64, 68, 57, 31, 31, 60, 67, 22
 , 16, 22, 65, 67, 67, 66, 66, 64, 64, 22, 22, 14, 18, 14, 11)

var const int[] test_row_10 = array.from(20, 38, 42, 41, 32, 16, 44, 51, 51, 49, 47, 47, 47, 53, 51, 46, 43, 40, 42, 48
 , 52, 53, 52, 50, 48, 44, 41, 40, 44, 43, 35, 31, 50, 28, 36, 50, 51, 49, 44, 33, 39, 68, 63, 30, 62, 62, 60, 67, 42, 5
 , 61, 67, 66, 67, 66, 66, 64, 64, 31, 12, 4, 13, 25, 61)

var const int[] test_row_11 = array.from(18, 34, 40, 39, 24, 30, 61, 56, 51, 44, 40, 31, 35, 51, 47, 43, 40, 41, 33, 44
 , 50, 50, 50, 49, 48, 46, 41, 36, 29, 38, 31, 10, 43, 16, 18, 50, 51, 50, 34, 26, 54, 68, 34, 29, 35, 57, 65, 67, 63, 7
 , 45, 66, 66, 66, 66, 66, 64, 63, 57, 60, 22, 7, 29, 63)

var const int[] test_row_12 = array.from(21, 25, 33, 37, 18, 42, 61, 57, 50, 40, 35, 16, 44, 52, 32, 39, 28, 36, 24, 36
 , 44, 44, 45, 46, 46, 45, 41, 33, 8, 29, 18, 6, 26, 9, 13, 31, 53, 52, 32, 12, 61, 67, 10, 26, 35, 21, 57, 66, 65, 27
 , 38, 63, 66, 66, 66, 66, 64, 63, 61, 62, 56, 9, 42, 60)

var const int[] test_row_13 = array.from(21, 24, 26, 30, 21, 53, 60, 51, 41, 35, 32, 20, 56, 50, 26, 41, 18, 30, 24, 26
 , 40, 39, 40, 42, 44, 43, 38, 25, 8, 14, 8, 6, 6, 5, 13, 9, 28, 51, 43, 9, 57, 63, 27, 65, 65, 46, 36, 67, 66, 32, 61
 , 64, 66, 67, 66, 66, 64, 64, 63, 62, 63, 35, 37, 60)

var const int[] test_row_14 = array.from(17, 20, 24, 21, 14, 54, 59, 44, 35, 35, 26, 18, 59, 45, 22, 37, 22, 12, 26, 10
 , 36, 35, 36, 38, 41, 40, 34, 11, 5, 3, 7, 7, 4, 4, 11, 27, 16, 21, 38, 31, 31, 52, 15, 37, 61, 60, 44, 67, 67, 32, 63
 , 66, 66, 67, 66, 66, 65, 64, 64, 63, 62, 52, 26, 56)

var const int[] test_row_15 = array.from(8, 15, 25, 24, 10, 43, 54, 42, 36, 22, 5, 10, 56, 44, 23, 28, 29, 4, 14, 4, 25
 , 36, 35, 35, 37, 37, 25, 10, 4, 7, 7, 7, 25, 19, 10, 32, 56, 38, 9, 42, 27, 12, 29, 41, 32, 64, 64, 67, 65, 30, 64, 67
 , 66, 66, 66, 66, 65, 64, 64, 63, 63, 59, 28, 54)

var const int[] test_row_16 = array.from(8, 9, 15, 18, 9, 43, 44, 39, 23, 7, 7, 7, 50, 44, 26, 7, 26, 6, 4, 5, 7, 30, 35
 , 35, 36, 30, 18, 7, 7, 7, 11, 56, 68, 68, 60, 29, 61, 63, 18, 40, 44, 18, 42, 68, 31, 60, 65, 67, 60, 27, 67, 67, 66
 , 66, 66, 66, 65, 64, 64, 64, 63, 61, 25, 40)

var const int[] test_row_17 = array.from(13, 17, 26, 14, 9, 35, 44, 29, 8, 12, 9, 10, 28, 46, 21, 4, 6, 25, 14, 6, 6, 9
 , 31, 36, 32, 25, 16, 6, 6, 15, 40, 67, 69, 69, 70, 63, 42, 65, 36, 34, 51, 41, 24, 53, 31, 62, 67, 67, 42, 38, 66, 67
 , 66, 66, 66, 66, 66, 65, 64, 64, 63, 63, 28, 30)

var const int[] test_row_18 = array.from(26, 30, 27, 17, 11, 22, 42, 10, 11, 10, 17, 8, 19, 39, 17, 14, 10, 68, 68, 37
 , 7, 4, 9, 27, 25, 31, 7, 6, 26, 61, 18, 50, 70, 70, 71, 70, 38, 64, 50, 31, 58, 44, 35, 16, 37, 67, 67, 67, 27, 54, 62
 , 64, 67, 66, 65, 48, 36, 47, 64, 64, 63, 63, 31, 28)

var const int[] test_row_19 = array.from(27, 31, 29, 31, 22, 11, 28, 8, 15, 10, 16, 31, 62, 27, 16, 18, 26, 67, 70, 69
 , 60, 11, 2, 10, 39, 13, 3, 26, 68, 67, 36, 48, 70, 71, 71, 71, 51, 57, 47, 31, 60, 47, 40, 25, 42, 68, 68, 37, 7, 26
 , 27, 25, 56, 66, 36, 43, 61, 42, 37, 56, 52, 63, 32, 24)

var const int[] test_row_20 = array.from(27, 28, 25, 25, 19, 15, 7, 12, 11, 16, 11, 62, 68, 51, 16, 25, 26, 51, 71, 70
 , 70, 54, 10, 13, 35, 4, 28, 67, 69, 70, 32, 17, 70, 71, 71, 71, 44, 35, 42, 32, 61, 50, 41, 33, 24, 66, 50, 5, 32, 64
 , 64, 47, 26, 50, 32, 68, 68, 67, 32, 12, 26, 35, 31, 25)

var const int[] test_row_21 = array.from(28, 29, 28, 16, 16, 24, 12, 21, 8, 8, 12, 67, 68, 67, 57, 44, 11, 29, 70, 71
 , 71, 67, 37, 27, 24, 33, 69, 69, 70, 71, 69, 68, 71, 71, 71, 68, 41, 49, 28, 32, 62, 51, 42, 36, 26, 16, 6, 28, 68, 68
 , 67, 64, 36, 29, 46, 68, 68, 65, 50, 33, 67, 41, 10, 16)

var const int[] test_row_22 = array.from(21, 36, 52, 39, 26, 17, 20, 22, 16, 27, 37, 68, 68, 67, 66, 39, 56, 62, 57, 71
 , 71, 70, 40, 8, 31, 42, 67, 70, 70, 71, 71, 71, 71, 71, 70, 43, 64, 67, 63, 40, 63, 53, 42, 35, 31, 8, 7, 60, 68, 68
 , 67, 64, 42, 30, 42, 68, 67, 63, 44, 39, 67, 58, 9, 13)

var const int[] test_row_23 = array.from(25, 50, 53, 48, 29, 20, 26, 22, 14, 53, 34, 68, 68, 68, 64, 41, 67, 68, 52, 60
 , 70, 71, 70, 32, 15, 34, 32, 68, 71, 71, 71, 71, 71, 68, 42, 52, 42, 35, 57, 41, 63, 54, 42, 34, 34, 12, 8, 65, 68, 68
 , 67, 64, 39, 35, 25, 64, 63, 61, 31, 57, 65, 42, 38, 59)

var const int[] test_row_24 = array.from(14, 48, 53, 45, 26, 16, 22, 12, 26, 63, 31, 68, 68, 68, 67, 38, 64, 68, 68, 59
 , 47, 61, 32, 36, 61, 51, 45, 45, 54, 64, 64, 61, 45, 38, 44, 28, 15, 24, 28, 41, 60, 55, 43, 34, 34, 17, 11, 64, 68
 , 68, 67, 64, 38, 12, 27, 52, 61, 35, 39, 58, 36, 30, 62, 64)

var const int[] test_row_25 = array.from(6, 39, 44, 37, 27, 13, 16, 11, 53, 67, 30, 67, 68, 68, 67, 55, 36, 67, 68, 68
 , 67, 63, 25, 64, 67, 67, 68, 67, 63, 54, 52, 59, 55, 29, 32, 64, 23, 35, 28, 44, 55, 57, 42, 34, 33, 25, 29, 47, 68
 , 68, 67, 64, 59, 40, 64, 63, 57, 55, 63, 28, 32, 54, 62, 51)

var const int[] test_row_26 = array.from(3, 33, 63, 57, 26, 22, 26, 17, 66, 68, 31, 63, 68, 68, 67, 65, 50, 34, 61, 68
 , 68, 68, 61, 65, 65, 67, 67, 68, 68, 68, 64, 40, 21, 26, 31, 31, 29, 34, 30, 61, 44, 59, 17, 25, 34, 25, 51, 25, 51
 , 61, 60, 63, 66, 65, 65, 65, 65, 65, 64, 60, 63, 56, 20, 25)

var const int[] test_row_27 = array.from(4, 10, 63, 51, 28, 42, 38, 28, 68, 68, 42, 45, 68, 68, 67, 65, 64, 60, 39, 38
 , 55, 66, 68, 68, 68, 68, 67, 65, 54, 35, 29, 32, 42, 42, 39, 35, 41, 27, 40, 63, 16, 58, 22, 7, 32, 25, 50, 42, 7, 26
 , 51, 64, 67, 67, 67, 67, 67, 67, 66, 66, 64, 65, 47, 34)

var const int[] test_row_28 = array.from(6, 4, 17, 11, 17, 41, 32, 28, 68, 68, 63, 32, 68, 68, 67, 67, 64, 64, 64, 59
 , 26, 25, 26, 31, 38, 32, 25, 31, 35, 43, 48, 49, 46, 44, 42, 42, 36, 20, 63, 26, 27, 42, 35, 15, 22, 20, 42, 34, 16
 , 64, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 66, 64, 47)

var const int[] test_row_29 = array.from(6, 5, 7, 8, 11, 30, 24, 24, 68, 68, 67, 20, 59, 68, 67, 67, 66, 64, 63, 63, 52
 , 13, 28, 8, 9, 8, 25, 52, 51, 51, 50, 49, 47, 44, 43, 37, 21, 52, 36, 32, 62, 38, 32, 29, 12, 9, 36, 20, 30, 67, 68
 , 68, 68, 68, 67, 67, 67, 67, 67, 67, 67, 67, 65, 64)

var const int[] test_row_30 = array.from(7, 7, 10, 8, 11, 32, 30, 21, 67, 68, 66, 10, 30, 67, 67, 67, 66, 64, 63, 63, 35
 , 24, 23, 34, 26, 7, 28, 52, 52, 51, 50, 48, 45, 41, 30, 26, 48, 31, 32, 62, 62, 58, 25, 33, 8, 10, 31, 12, 39, 68, 68
 , 68, 68, 68, 68, 66, 61, 67, 67, 68, 68, 67, 67, 64)

var const int[] test_row_31 = array.from(7, 10, 15, 7, 12, 33, 33, 19, 65, 68, 63, 29, 54, 65, 67, 67, 66, 64, 64, 63
 , 34, 10, 8, 13, 36, 44, 28, 28, 34, 42, 43, 39, 29, 26, 35, 42, 28, 40, 63, 63, 62, 62, 55, 53, 40, 15, 31, 14, 41, 68
 , 68, 68, 68, 68, 67, 65, 30, 64, 67, 68, 68, 68, 67, 64)

var const int[] test_row_32 = array.from(7, 16, 13, 5, 20, 34, 29, 16, 63, 67, 61, 37, 67, 68, 68, 67, 67, 66, 64, 64
 , 63, 16, 11, 38, 21, 22, 33, 40, 37, 31, 32, 32, 36, 36, 31, 36, 60, 64, 63, 63, 63, 63, 62, 63, 53, 13, 35, 21, 31
 , 68, 68, 68, 68, 68, 67, 67, 24, 59, 67, 68, 68, 68, 67, 64)

var const int[] test_row_33 = array.from(8, 12, 7, 7, 29, 31, 36, 16, 57, 64, 58, 42, 68, 68, 68, 68, 67, 67, 66, 64, 63
 , 41, 16, 44, 28, 32, 26, 16, 11, 16, 18, 20, 20, 8, 44, 66, 64, 64, 64, 64, 64, 64, 63, 63, 40, 15, 33, 32, 18, 65, 68
 , 68, 68, 68, 67, 67, 18, 56, 67, 67, 68, 67, 67, 64)

var const int[] test_row_34 = array.from(7, 7, 4, 16, 26, 26, 34, 19, 38, 63, 54, 41, 68, 68, 68, 68, 68, 67, 67, 65, 63
 , 54, 13, 40, 39, 30, 26, 11, 9, 16, 14, 27, 33, 12, 52, 66, 65, 66, 65, 64, 64, 63, 63, 61, 17, 13, 27, 32, 16, 26, 68
 , 68, 68, 68, 67, 64, 14, 63, 67, 67, 67, 67, 66, 64)

var const int[] test_row_35 = array.from(6, 4, 9, 30, 36, 38, 35, 30, 13, 48, 53, 38, 68, 68, 68, 68, 68, 68, 67, 66, 64
 , 61, 16, 32, 49, 15, 10, 9, 10, 21, 27, 36, 25, 8, 48, 67, 67, 67, 67, 65, 58, 42, 61, 53, 20, 30, 18, 21, 26, 9, 43
 , 68, 67, 67, 67, 49, 28, 67, 67, 67, 67, 67, 65, 63)

var const int[] test_row_36 = array.from(4, 6, 33, 42, 41, 55, 62, 35, 27, 10, 20, 28, 68, 68, 68, 68, 68, 68, 67, 67
 , 64, 63, 25, 13, 39, 16, 28, 26, 28, 34, 35, 20, 16, 10, 42, 67, 67, 67, 67, 57, 55, 51, 50, 55, 63, 42, 15, 14, 26
 , 16, 9, 59, 67, 67, 67, 48, 63, 67, 67, 67, 67, 66, 64, 63)

var const int[] test_row_37 = array.from(4, 36, 49, 42, 41, 67, 69, 49, 27, 15, 48, 31, 67, 68, 68, 68, 68, 68, 68, 67
 , 65, 64, 24, 12, 39, 16, 27, 34, 34, 32, 21, 11, 20, 19, 42, 68, 67, 67, 63, 55, 64, 42, 52, 64, 61, 21, 18, 26, 25
 , 27, 20, 32, 67, 66, 67, 67, 67, 67, 67, 67, 67, 65, 64, 58)

var const int[] test_row_38 = array.from(31, 64, 53, 45, 48, 65, 69, 50, 19, 26, 64, 35, 63, 68, 68, 68, 68, 68, 67, 67
 , 65, 63, 18, 26, 37, 18, 30, 36, 33, 17, 10, 14, 38, 25, 60, 68, 67, 67, 56, 63, 63, 54, 62, 63, 60, 44, 61, 63, 55
 , 33, 29, 19, 66, 67, 67, 67, 67, 67, 67, 67, 66, 64, 64, 36)

var const int[] test_row_39 = array.from(69, 58, 41, 38, 63, 70, 68, 31, 31, 26, 63, 48, 49, 68, 68, 68, 68, 68, 67, 67
 , 65, 63, 21, 42, 34, 29, 33, 28, 16, 11, 14, 35, 43, 25, 67, 68, 68, 67, 54, 63, 63, 63, 63, 63, 63, 63, 63, 59, 44
 , 32, 27, 16, 65, 67, 67, 67, 67, 67, 67, 67, 66, 64, 63, 18)

var const int[] test_row_40 = array.from(70, 69, 59, 33, 45, 69, 67, 18, 27, 21, 61, 61, 36, 68, 68, 68, 68, 67, 67, 67
 , 66, 63, 21, 26, 34, 35, 31, 16, 12, 15, 33, 45, 21, 41, 68, 68, 68, 67, 54, 63, 63, 63, 60, 53, 58, 63, 62, 28, 20
 , 25, 32, 16, 63, 68, 68, 68, 68, 67, 67, 67, 65, 64, 57, 10)

var const int[] test_row_41 = array.from(69, 70, 52, 40, 58, 64, 46, 16, 34, 13, 40, 64, 16, 56, 67, 68, 68, 68, 67, 67
 , 66, 64, 52, 11, 28, 28, 16, 14, 16, 32, 41, 38, 14, 64, 68, 68, 68, 67, 54, 63, 58, 56, 64, 69, 67, 58, 63, 60, 59
 , 36, 36, 20, 60, 68, 67, 67, 67, 68, 67, 67, 66, 64, 44, 10)

var const int[] test_row_42 = array.from(63, 67, 49, 37, 51, 43, 33, 42, 63, 61, 66, 68, 66, 67, 67, 64, 67, 63, 63, 64
 , 66, 65, 64, 42, 10, 12, 11, 24, 61, 64, 53, 31, 21, 68, 68, 65, 67, 65, 60, 57, 68, 69, 69, 71, 71, 63, 63, 64, 44
 , 35, 37, 24, 51, 65, 68, 68, 66, 63, 66, 67, 65, 64, 33, 11)

var const int[] test_row_43 = array.from(42, 44, 47, 39, 61, 68, 69, 68, 66, 61, 51, 47, 48, 44, 64, 69, 67, 69, 69, 68
 , 64, 62, 62, 58, 43, 48, 54, 67, 64, 56, 66, 68, 63, 66, 68, 69, 69, 68, 68, 64, 71, 67, 46, 69, 71, 64, 56, 68, 69
 , 63, 44, 28, 39, 69, 68, 67, 69, 70, 67, 63, 63, 63, 28, 10)

var const int[] test_row_44 = array.from(39, 39, 64, 70, 67, 44, 25, 13, 12, 12, 14, 14, 15, 12, 32, 71, 71, 68, 35, 54
 , 68, 68, 67, 68, 67, 61, 70, 67, 33, 48, 40, 28, 69, 70, 64, 40, 31, 29, 29, 33, 70, 69, 67, 70, 68, 52, 31, 42, 49
 , 68, 68, 30, 34, 70, 28, 21, 25, 47, 69, 69, 60, 63, 25, 12)

var const int[] test_row_45 = array.from(31, 63, 70, 30, 11, 14, 16, 17, 17, 17, 17, 17, 17, 16, 33, 67, 51, 42, 61, 64
 , 40, 66, 71, 45, 35, 39, 35, 32, 56, 60, 61, 39, 59, 43, 29, 40, 47, 49, 46, 34, 43, 67, 59, 57, 56, 32, 61, 68, 63
 , 44, 69, 31, 61, 66, 23, 36, 34, 27, 23, 66, 69, 57, 17, 22)

var const int[] test_row_46 = array.from(31, 51, 70, 17, 17, 17, 17, 17, 17, 17, 17, 15, 14, 12, 12, 51, 66, 68, 68, 68
 , 67, 41, 65, 36, 60, 61, 39, 43, 61, 59, 60, 46, 8, 30, 48, 46, 37, 36, 47, 45, 24, 55, 63, 64, 43, 44, 68, 68, 68, 47
 , 69, 60, 69, 44, 29, 35, 36, 32, 18, 63, 69, 48, 11, 22)

var const int[] test_row_47 = array.from(35, 35, 68, 45, 14, 17, 17, 17, 17, 17, 14, 25, 51, 23, 54, 68, 68, 67, 67, 68
 , 68, 65, 19, 44, 60, 59, 60, 60, 59, 60, 60, 53, 26, 31, 44, 48, 11, 8, 45, 44, 24, 60, 64, 58, 32, 67, 68, 68, 68, 44
 , 69, 71, 70, 34, 32, 36, 33, 22, 67, 68, 60, 31, 16, 25)

var const int[] test_row_48 = array.from(35, 31, 64, 66, 12, 17, 11, 9, 16, 17, 12, 62, 71, 45, 68, 68, 57, 7, 5, 54, 68
 , 68, 27, 52, 60, 59, 59, 59, 60, 60, 60, 58, 32, 43, 37, 48, 34, 32, 48, 45, 26, 32, 63, 35, 61, 68, 67, 67, 68, 56
 , 65, 71, 70, 28, 34, 36, 22, 63, 69, 55, 42, 11, 24, 25)

var const int[] test_row_49 = array.from(36, 30, 54, 69, 9, 16, 55, 28, 16, 17, 12, 57, 68, 54, 68, 68, 16, 0, 0, 26, 68
 , 68, 50, 55, 60, 60, 60, 59, 59, 58, 59, 60, 35, 35, 34, 47, 47, 44, 45, 46, 48, 27, 32, 39, 68, 68, 35, 63, 68, 65
 , 51, 71, 70, 27, 35, 32, 34, 70, 36, 21, 11, 12, 20, 24)

var const int[] test_row_50 = array.from(32, 29, 46, 69, 42, 69, 70, 24, 17, 17, 14, 42, 64, 61, 68, 68, 31, 1, 2, 54
 , 68, 67, 55, 59, 59, 58, 56, 61, 47, 40, 60, 60, 52, 15, 29, 48, 45, 10, 10, 45, 47, 40, 10, 64, 68, 68, 32, 62, 68
 , 68, 43, 69, 70, 21, 13, 11, 59, 70, 20, 25, 30, 19, 15, 20)

var const int[] test_row_51 = array.from(33, 33, 42, 70, 70, 68, 69, 17, 17, 17, 16, 20, 63, 57, 68, 68, 67, 54, 63, 68
 , 68, 67, 45, 60, 60, 54, 25, 41, 20, 27, 61, 60, 60, 18, 21, 49, 45, 8, 7, 44, 47, 39, 32, 68, 68, 68, 68, 68, 68, 68
 , 60, 59, 56, 20, 30, 21, 39, 70, 43, 32, 27, 13, 15, 18)

var const int[] test_row_52 = array.from(29, 35, 31, 48, 33, 36, 69, 25, 17, 17, 17, 12, 33, 41, 68, 68, 68, 68, 68, 68
 , 68, 37, 43, 61, 60, 53, 39, 65, 52, 31, 60, 60, 61, 43, 27, 48, 45, 38, 42, 47, 48, 32, 63, 68, 68, 64, 60, 66, 68
 , 68, 68, 37, 16, 36, 36, 36, 22, 68, 63, 32, 25, 12, 24, 24)

var const int[] test_row_53 = array.from(30, 22, 25, 14, 17, 26, 69, 36, 16, 17, 14, 11, 11, 26, 45, 67, 68, 68, 68, 67
 , 52, 14, 44, 57, 60, 53, 53, 71, 71, 42, 57, 56, 34, 20, 23, 44, 47, 48, 47, 43, 30, 13, 62, 67, 68, 43, 55, 38, 64
 , 68, 67, 32, 13, 36, 35, 36, 21, 68, 64, 20, 10, 8, 14, 22)

var const int[] test_row_54 = array.from(28, 18, 21, 16, 20, 18, 65, 63, 11, 11, 36, 67, 70, 70, 64, 43, 47, 53, 46, 44
 , 64, 62, 40, 42, 35, 30, 48, 71, 71, 55, 33, 34, 63, 69, 45, 34, 28, 26, 28, 34, 56, 66, 59, 45, 45, 41, 71, 68, 45
 , 63, 41, 67, 42, 22, 32, 26, 32, 70, 43, 10, 9, 9, 14, 20)

var const int[] test_row_55 = array.from(31, 26, 28, 15, 17, 22, 48, 70, 30, 64, 70, 63, 49, 60, 68, 70, 68, 68, 69, 69
 , 68, 67, 67, 67, 68, 64, 67, 68, 65, 68, 45, 68, 64, 64, 69, 69, 69, 68, 69, 69, 69, 67, 67, 69, 67, 47, 70, 71, 51
 , 38, 69, 71, 70, 52, 34, 45, 69, 67, 9, 9, 17, 15, 17, 17)

var const int[] test_row_56 = array.from(15, 11, 10, 13, 25, 31, 31, 68, 71, 67, 25, 12, 32, 36, 24, 35, 58, 63, 55, 34
 , 11, 12, 59, 63, 61, 64, 66, 58, 56, 64, 68, 63, 31, 49, 66, 64, 65, 65, 64, 63, 62, 60, 18, 15, 58, 70, 69, 68, 70
 , 70, 64, 47, 60, 69, 70, 69, 63, 38, 25, 25, 24, 17, 25, 25)

var const int[] test_row_57 = array.from(11, 10, 10, 18, 27, 30, 26, 28, 47, 16, 17, 34, 39, 33, 27, 17, 15, 16, 16, 21
 , 17, 9, 24, 64, 64, 63, 61, 63, 63, 62, 61, 63, 27, 63, 68, 68, 67, 67, 67, 67, 66, 64, 46, 44, 21, 27, 40, 22, 61, 53
 , 28, 51, 48, 46, 43, 42, 43, 48, 45, 40, 23, 25, 26, 26)

var const int[] test_row_58 = array.from(17, 20, 27, 30, 32, 25, 13, 11, 12, 31, 46, 42, 33, 38, 43, 35, 39, 43, 34, 38
 , 42, 27, 26, 55, 60, 60, 60, 61, 59, 60, 60, 60, 37, 64, 64, 63, 64, 64, 63, 63, 63, 62, 60, 60, 55, 30, 30, 33, 57
 , 54, 37, 51, 52, 47, 43, 44, 44, 48, 43, 35, 25, 28, 25, 26)

var const int[] test_row_59 = array.from(24, 34, 33, 31, 21, 11, 13, 24, 43, 54, 49, 38, 47, 33, 25, 38, 63, 63, 44, 47
 , 43, 51, 41, 43, 57, 51, 34, 39, 61, 60, 55, 44, 34, 20, 25, 58, 59, 59, 47, 35, 43, 42, 48, 55, 50, 40, 46, 57, 49
 , 53, 56, 55, 54, 49, 44, 40, 42, 40, 38, 25, 22, 27, 24, 26)

var const int[] test_row_60 = array.from(33, 35, 30, 17, 10, 12, 32, 53, 54, 54, 51, 48, 47, 16, 11, 28, 67, 64, 41, 52
 , 34, 34, 40, 41, 62, 41, 29, 32, 54, 66, 54, 34, 27, 14, 26, 66, 60, 45, 48, 35, 40, 37, 52, 57, 26, 24, 25, 55, 67
 , 64, 63, 50, 56, 53, 50, 54, 47, 44, 37, 20, 16, 22, 22, 25)

var const int[] test_row_61 = array.from(33, 26, 14, 10, 12, 33, 50, 48, 52, 54, 49, 54, 42, 11, 15, 34, 67, 61, 55, 56
 , 39, 28, 43, 27, 57, 32, 30, 31, 26, 67, 61, 61, 27, 14, 25, 65, 61, 42, 47, 64, 36, 53, 65, 54, 25, 22, 26, 55, 65
 , 67, 61, 49, 55, 53, 50, 54, 44, 44, 34, 16, 17, 19, 24, 20)

var const int[] test_row_62 = array.from(21, 13, 10, 11, 34, 46, 37, 32, 36, 39, 37, 30, 43, 27, 27, 60, 55, 55, 50, 48
 , 52, 45, 42, 40, 52, 32, 31, 36, 36, 60, 61, 59, 31, 26, 39, 55, 61, 48, 47, 63, 41, 52, 59, 53, 50, 41, 51, 62, 48
 , 54, 58, 42, 44, 44, 44, 42, 44, 37, 31, 24, 12, 17, 17, 17)

var const int[] test_row_63 = array.from(13, 11, 10, 30, 44, 36, 31, 28, 29, 34, 36, 32, 33, 43, 45, 43, 50, 34, 38, 50
 , 46, 39, 47, 53, 51, 44, 39, 29, 29, 32, 40, 42, 39, 61, 64, 63, 63, 63, 63, 63, 64, 63, 62, 61, 61, 61, 61, 58, 32
 , 37, 42, 40, 42, 39, 40, 41, 39, 25, 20, 24, 23, 22, 16, 11)


var matrix<int> test_image = matrix.new<int>()

if barstate.isfirst
    test_image.add_row(array_id = test_row_0)
    test_image.add_row(array_id = test_row_1)
    test_image.add_row(array_id = test_row_2)
    test_image.add_row(array_id = test_row_3)
    test_image.add_row(array_id = test_row_4)
    test_image.add_row(array_id = test_row_5)
    test_image.add_row(array_id = test_row_6)
    test_image.add_row(array_id = test_row_7)
    test_image.add_row(array_id = test_row_8)
    test_image.add_row(array_id = test_row_9)
    test_image.add_row(array_id = test_row_10)
    test_image.add_row(array_id = test_row_11)
    test_image.add_row(array_id = test_row_12)
    test_image.add_row(array_id = test_row_13)
    test_image.add_row(array_id = test_row_14)
    test_image.add_row(array_id = test_row_15)
    test_image.add_row(array_id = test_row_16)
    test_image.add_row(array_id = test_row_17)
    test_image.add_row(array_id = test_row_18)
    test_image.add_row(array_id = test_row_19)
    test_image.add_row(array_id = test_row_20)
    test_image.add_row(array_id = test_row_21)
    test_image.add_row(array_id = test_row_22)
    test_image.add_row(array_id = test_row_23)
    test_image.add_row(array_id = test_row_24)
    test_image.add_row(array_id = test_row_25)
    test_image.add_row(array_id = test_row_26)
    test_image.add_row(array_id = test_row_27)
    test_image.add_row(array_id = test_row_28)
    test_image.add_row(array_id = test_row_29)
    test_image.add_row(array_id = test_row_30)
    test_image.add_row(array_id = test_row_31)
    test_image.add_row(array_id = test_row_32)
    test_image.add_row(array_id = test_row_33)
    test_image.add_row(array_id = test_row_34)
    test_image.add_row(array_id = test_row_35)
    test_image.add_row(array_id = test_row_36)
    test_image.add_row(array_id = test_row_37)
    test_image.add_row(array_id = test_row_38)
    test_image.add_row(array_id = test_row_39)
    test_image.add_row(array_id = test_row_40)
    test_image.add_row(array_id = test_row_41)
    test_image.add_row(array_id = test_row_42)
    test_image.add_row(array_id = test_row_43)
    test_image.add_row(array_id = test_row_44)
    test_image.add_row(array_id = test_row_45)
    test_image.add_row(array_id = test_row_46)
    test_image.add_row(array_id = test_row_47)
    test_image.add_row(array_id = test_row_48)
    test_image.add_row(array_id = test_row_49)
    test_image.add_row(array_id = test_row_50)
    test_image.add_row(array_id = test_row_51)
    test_image.add_row(array_id = test_row_52)
    test_image.add_row(array_id = test_row_53)
    test_image.add_row(array_id = test_row_54)
    test_image.add_row(array_id = test_row_55)
    test_image.add_row(array_id = test_row_56)
    test_image.add_row(array_id = test_row_57)
    test_image.add_row(array_id = test_row_58)
    test_image.add_row(array_id = test_row_59)
    test_image.add_row(array_id = test_row_60)
    test_image.add_row(array_id = test_row_61)
    test_image.add_row(array_id = test_row_62)
    test_image.add_row(array_id = test_row_63)

var int height = test_image.rows()
var int width = test_image.columns()

var int real_height = height - 1
var int real_width = width - 1

var const int set_size = 71
var string[] set = array.from(
     " ", ",", "`", "¨", "¯", "'", ":", "=", "¡", "»", "¿", "«", "╲", "×", "<", "!", "ç", "÷", "s", ")", "°", "³", "a"
     , "*", "?", "[", "r", "C", "j", "t", "╝", "3", "e", "µ", "£", "╳", "Ç", "E", "╩", "q", "g", "U", "╣", "ù", "½", "◆"
     , "¥", "û", "§", "Ú", "d", "ô", "Þ", "ñ", "Ã", "A", "8", "å", "Ô", "W", "B", "©", "N", "#", "M", "@", "&", "Ø", "▌"
     , "▼", "▀", "▓")

var map<int, string> set_map = map.new<int, string>()

var table tb = table.new(position.middle_center, width, height, #000000, #000000, 0, #000000, 0)

if barstate.isfirst
    for column = 0 to real_width
        for row = 0 to real_height
            tb.cell_set_text_color(column, row, #FFFFFF)
            tb.cell_set_text_size(column, row, text_size)

    for i = 0 to set_size
        set_map.put(i, set.get(i))

var int pos = 0
var int run_counter = 0
var bool half_frame = true

if barstate.islast
    run_counter += 1

    if half_frame
        for row = 0 to real_height
            for column = 0 to real_width
                tb.cell_set_text(column, row, set_map.get(test_image.get(row, column)))
                pos += 1
                if pos > set_size
                    pos := 0
        half_frame := not half_frame

Overview

Integer arrays store character indexes for each image row, and the script maps those indexes to ASCII glyphs so the picture appears as text. A single text-size input changes how large the characters are drawn. It does not calculate prices, generate signals, or define entries, exits, or position sizing. The artwork is baked into the script and does not update with market data.

Details

Published by

hikari112 on GitHub

Code credit

The_Peaceful_Lizard, as written in the script's header

Type

Indicator, Pine Script v6

Draws

Separate pane below the chart

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Text Sizeint5text_size
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

Asymmetrical RSI

by everget
948 stars

Asymmetrical RSI is an indicator that computes a custom relative strength index from the rate of change of a user-selected source. It plots the resulting ARSI line in a separate pane with color coding that turns green above the overbought level and red below t

Indicator v4 Oscillators & momentum
Updated 10 days ago · GPL-3.0 GitHub repository of Asymmetrical RSI

This indicator calculates momentum setups based on the Relative Strength Index (RSI) and plots in a separate pane. It offers multiple scanning modes such as Continuous Break, Continuous Retracement, Flip Break, Flip Retracement, and both regular and hidden div

Indicator v6 Oscillators & momentumDivergence Repaints
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - RSI Directional Momentum Indicator
549 stars

Range Volume Change compares volume inside a chosen session window with the same window on the previous day and plots that change as a percentage. It accumulates volume during the window and, when enabled, volume outside it, drawing growing columns in a separa

Indicator v5 VolumeSessions & time Repaints
Updated 10 months ago · None stated GitHub repository of Range Volume Change

Beep Boop

by magic8bot
409 stars

This indicator calculates a modified MACD oscillator and signal line alongside a trend EMA filter, plotting the output as a stylized column histogram in a separate pane. Instead of plotting true MACD distance, it quantifies positive and negative histogram mome

Indicator v4 Oscillators & momentumTrend
Updated 3 years ago · MIT GitHub repository of Beep Boop

Mojito v3 Strategy

by namuan
318 stars

The Mojito v3 Strategy indicator evaluates volatility term structure by calculating the ratio between front-month and second-month VIX futures contracts. It smooths this ratio using a configurable median filter and compares the result against user-defined uppe

Indicator v5 Volatility & bands
Updated 2 months ago · MIT GitHub repository of Mojito v3 Strategy

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers