Untitled

mail@pastecode.io avatar
unknown
plain_text
8 months ago
27 kB
9
Indexable
Never
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0
//https://twitter.com/DermenHan
// © smtHaN

//@version=5
indicator(title='TARAMA', shorttitle='TARAMA', overlay=true)
gurupSec = input.string(defval='1', options=['1', '2', '3', '4', '5','6','7'], group='Taraması yapılacak 40\'arlı gruplardan birini seçin', title='Grup seç')
per = input.timeframe(defval='240', title='PERİYOT',group = "Tarama yapmak istediğiniz periyotu seçin")
loc = input.int(defval=10, title='Konum Ayarı', minval = -100,maxval = 100 , step = 5,  group='Tablonun konumunu belirleyin')

func() =>
    //ÖRNEK BİR FONKSİYON AŞAĞIDA YAZILMIŞTIR. SİZ DE İSTEDİĞİNİZ KOŞULLAR İÇİN TARAMA YAZABİLİRSİNİZ.
    rsi = ta.rsi(close,14)

    cond = rsi < 30 or rsi > 70
    [close,cond]

c1 = input.symbol(title='1',   defval='BINANCE:IDUSDT.P',group = "1. Grup coinleri")
c2 = input.symbol(title='2',   defval='BINANCE:BNBUSDT.P')
c3 = input.symbol(title='3',   defval='BINANCE:BALUSDT.P')
c4 = input.symbol(title='4',   defval='BINANCE:SXPUSDT.P')
c5 = input.symbol(title='5',   defval='BINANCE:TRUUSDT.P')
c6 = input.symbol(title='6',   defval='BINANCE:HIGHUSDT.P')
c7 = input.symbol(title='7',   defval='BINANCE:SKLUSDT.P')
c8 = input.symbol(title='8',   defval='BINANCE:FLOWUSDT.P')
c9 = input.symbol(title='9',   defval='BINANCE:BATUSDT.P')
c10 = input.symbol(title='10', defval='BINANCE:RDNTUSDT.P')
c11 = input.symbol(title='11', defval='BINANCE:BTCUSDT.P')
c12 = input.symbol(title='12', defval='BINANCE:DOGEUSDT.P')
c13 = input.symbol(title='13', defval='BINANCE:FLMUSDT.P')
c14 = input.symbol(title='14', defval='BINANCE:CELOUSDT.P')
c15 = input.symbol(title='15', defval='')
c16 = input.symbol(title='16', defval='')
c17 = input.symbol(title='17', defval='')
c18 = input.symbol(title='18', defval='BINANCE:DGBUSDT.P')
c19 = input.symbol(title='19', defval='BINANCE:GTCUSDT.P')
c20 = input.symbol(title='20', defval='BINANCE:TWTUSDT.P')
c21 = input.symbol(title='21', defval='BINANCE:API3USDT.P')
c22 = input.symbol(title='22', defval='BINANCE:GMXUSDT.P')
c23 = input.symbol(title='23', defval='BINANCE:CYBERUSDT.P')
c24 = input.symbol(title='24', defval='BINANCE:HBARUSDT.P')
c25 = input.symbol(title='25', defval='BINANCE:FILUSDT.P')
c26 = input.symbol(title='26', defval='BINANCE:ARBUSDT.P')
c27 = input.symbol(title='27', defval='BINANCE:IMXUSDT.P')
c28 = input.symbol(title='28', defval='BINANCE:ZILUSDT.P')
c29 = input.symbol(title='29', defval='BINANCE:ARUSDT.P')
c30 = input.symbol(title='30', defval='BINANCE:PERPUSDT.P')
c31 = input.symbol(title='31', defval='BINANCE:CELRUSDT.P')
c32 = input.symbol(title='32', defval='BINANCE:ENSUSDT.P')
c33 = input.symbol(title='33', defval='BINANCE:SUIUSDT.P')
c34 = input.symbol(title='34', defval='BINANCE:ARKUSDT.P')
c35 = input.symbol(title='35', defval='BINANCE:DOTUSDT.P')
c36 = input.symbol(title='36', defval='BINANCE:SLPUSDT.P')
c37 = input.symbol(title='37', defval='BINANCE:PYTHUSDT.P')
c38 = input.symbol(title='38', defval='BINANCE:QTUMUSDT.P')
c39 = input.symbol(title='39', defval='BINANCE:HIFIUSDT.P')
c40 = input.symbol(title='40', defval='BINANCE:MTLUSDT.P')
d1 = input.symbol(title='1',   defval='',group = "2. Grup coinleri")
d2 = input.symbol(title='2',   defval='')
d3 = input.symbol(title='3',   defval='')
d4 = input.symbol(title='4',   defval='')
d5 = input.symbol(title='5',   defval='')
d6 = input.symbol(title='6',   defval='')
d7 = input.symbol(title='7',   defval='')
d8 = input.symbol(title='8',   defval='')
d9 = input.symbol(title='9',   defval='')
d10 = input.symbol(title='10', defval='')
d11 = input.symbol(title='11', defval='')
d12 = input.symbol(title='12', defval='')
d13 = input.symbol(title='13', defval='')
d14 = input.symbol(title='14', defval='')
d15 = input.symbol(title='15', defval='')
d16 = input.symbol(title='16', defval='')
d17 = input.symbol(title='17', defval='')
d18 = input.symbol(title='18', defval='')
d19 = input.symbol(title='19', defval='')
d20 = input.symbol(title='20', defval='')
d21 = input.symbol(title='21', defval='')
d22 = input.symbol(title='22', defval='')
d23 = input.symbol(title='23', defval='')
d24 = input.symbol(title='24', defval='')
d25 = input.symbol(title='25', defval='')
d26 = input.symbol(title='26', defval='')
d27 = input.symbol(title='27', defval='')
d28 = input.symbol(title='28', defval='')
d29 = input.symbol(title='29', defval='')
d30 = input.symbol(title='30', defval='')
d31 = input.symbol(title='31', defval='')
d32 = input.symbol(title='32', defval='')
d33 = input.symbol(title='33', defval='')
d34 = input.symbol(title='34', defval='')
d35 = input.symbol(title='35', defval='')
d36 = input.symbol(title='36', defval='')
d37 = input.symbol(title='37', defval='')
d38 = input.symbol(title='38', defval='')
d39 = input.symbol(title='39', defval='')
d40 = input.symbol(title='40', defval='')
e1 = input.symbol(title='1',   defval='',group = "3. Grup coinleri")
e2 = input.symbol(title='2',   defval='')
e3 = input.symbol(title='3',   defval='')
e4 = input.symbol(title='4',   defval='')
e5 = input.symbol(title='5',   defval='')
e6 = input.symbol(title='6',   defval='')
e7 = input.symbol(title='7',   defval='')
e8 = input.symbol(title='8',   defval='')
e9 = input.symbol(title='9',   defval='')
e10 = input.symbol(title='10', defval='')
e11 = input.symbol(title='11', defval='')
e12 = input.symbol(title='12', defval='')
e13 = input.symbol(title='13', defval='')
e14 = input.symbol(title='14', defval='')
e15 = input.symbol(title='15', defval='')
e16 = input.symbol(title='16', defval='')
e17 = input.symbol(title='17', defval='')
e18 = input.symbol(title='18', defval='')
e19 = input.symbol(title='19', defval='')
e20 = input.symbol(title='20', defval='')
e21 = input.symbol(title='21', defval='')
e22 = input.symbol(title='22', defval='')
e23 = input.symbol(title='23', defval='')
e24 = input.symbol(title='24', defval='')
e25 = input.symbol(title='25', defval='')
e26 = input.symbol(title='26', defval='')
e27 = input.symbol(title='27', defval='')
e28 = input.symbol(title='28', defval='')
e29 = input.symbol(title='29', defval='')
e30 = input.symbol(title='30', defval='')
e31 = input.symbol(title='31', defval='')
e32 = input.symbol(title='32', defval='')
e33 = input.symbol(title='33', defval='')
e34 = input.symbol(title='34', defval='')
e35 = input.symbol(title='35', defval='')
e36 = input.symbol(title='36', defval='')
e37 = input.symbol(title='37', defval='')
e38 = input.symbol(title='38', defval='')
e39 = input.symbol(title='39', defval='')
e40 = input.symbol(title='40', defval='')
f1 = input.symbol(title='1',   defval='',group = "4. Grup coinleri")
f2 = input.symbol(title='2',   defval='')
f3 = input.symbol(title='3',   defval='')
f4 = input.symbol(title='4',   defval='')
f5 = input.symbol(title='5',   defval='')
f6 = input.symbol(title='6',   defval='')
f7 = input.symbol(title='7',   defval='')
f8 = input.symbol(title='8',   defval='')
f9 = input.symbol(title='9',   defval='')
f10 = input.symbol(title='10', defval='')
f11 = input.symbol(title='11', defval='')
f12 = input.symbol(title='12', defval='')
f13 = input.symbol(title='13', defval='')
f14 = input.symbol(title='14', defval='')
f15 = input.symbol(title='15', defval='')
f16 = input.symbol(title='16', defval='')
f17 = input.symbol(title='17', defval='')
f18 = input.symbol(title='18', defval='')
f19 = input.symbol(title='19', defval='')
f20 = input.symbol(title='20', defval='')
f21 = input.symbol(title='21', defval='')
f22 = input.symbol(title='22', defval='')
f23 = input.symbol(title='23', defval='')
f24 = input.symbol(title='24', defval='')
f25 = input.symbol(title='25', defval='')
f26 = input.symbol(title='26', defval='')
f27 = input.symbol(title='27', defval='')
f28 = input.symbol(title='28', defval='')
f29 = input.symbol(title='29', defval='')
f30 = input.symbol(title='30', defval='')
f31 = input.symbol(title='31', defval='')
f32 = input.symbol(title='32', defval='')
f33 = input.symbol(title='33', defval='')
f34 = input.symbol(title='34', defval='')
f35 = input.symbol(title='35', defval='')
f36 = input.symbol(title='36', defval='')
f37 = input.symbol(title='37', defval='')
f38 = input.symbol(title='38', defval='')
f39 = input.symbol(title='39', defval='')
f40 = input.symbol(title='40', defval='')
g1 = input.symbol(title='1',   defval='',group = "5. Grup coinleri")
g2 = input.symbol(title='2',   defval='')
g3 = input.symbol(title='3',   defval='')
g4 = input.symbol(title='4',   defval='')
g5 = input.symbol(title='5',   defval='')
g6 = input.symbol(title='6',   defval='')
g7 = input.symbol(title='7',   defval='')
g8 = input.symbol(title='8',   defval='')
g9 = input.symbol(title='9',   defval='')
g10 = input.symbol(title='10', defval='')
g11 = input.symbol(title='11', defval='')
g12 = input.symbol(title='12', defval='')
g13 = input.symbol(title='13', defval='')
g14 = input.symbol(title='14', defval='')
g15 = input.symbol(title='15', defval='')
g16 = input.symbol(title='16', defval='')
g17 = input.symbol(title='17', defval='')
g18 = input.symbol(title='18', defval='')
g19 = input.symbol(title='19', defval='')
g20 = input.symbol(title='20', defval='')
g21 = input.symbol(title='21', defval='')
g22 = input.symbol(title='22', defval='')
g23 = input.symbol(title='23', defval='')
g24 = input.symbol(title='24', defval='')
g25 = input.symbol(title='25', defval='')
g26 = input.symbol(title='26', defval='')
g27 = input.symbol(title='27', defval='')
g28 = input.symbol(title='28', defval='')
g29 = input.symbol(title='29', defval='')
g30 = input.symbol(title='30', defval='')
g31 = input.symbol(title='31', defval='')
g32 = input.symbol(title='32', defval='')
g33 = input.symbol(title='33', defval='')
g34 = input.symbol(title='34', defval='')
g35 = input.symbol(title='35', defval='')
g36 = input.symbol(title='36', defval='')
g37 = input.symbol(title='37', defval='')
g38 = input.symbol(title='38', defval='')
g39 = input.symbol(title='39', defval='')
g40 = input.symbol(title='40', defval='')
h1 = input.symbol(title='1',   defval='',group = "6. Grup coinleri")
h2 = input.symbol(title='2',   defval='')
h3 = input.symbol(title='3',   defval='')
h4 = input.symbol(title='4',   defval='')
h5 = input.symbol(title='5',   defval='')
h6 = input.symbol(title='6',   defval='')
h7 = input.symbol(title='7',   defval='')
h8 = input.symbol(title='8',   defval='')
h9 = input.symbol(title='9',   defval='')
h10 = input.symbol(title='10', defval='')
h11 = input.symbol(title='11', defval='')
h12 = input.symbol(title='12', defval='')
h13 = input.symbol(title='13', defval='')
h14 = input.symbol(title='14', defval='')
h15 = input.symbol(title='15', defval='')
h16 = input.symbol(title='16', defval='')
h17 = input.symbol(title='17', defval='')
h18 = input.symbol(title='18', defval='')
h19 = input.symbol(title='19', defval='')
h20 = input.symbol(title='20', defval='')
h21 = input.symbol(title='21', defval='')
h22 = input.symbol(title='22', defval='')
h23 = input.symbol(title='23', defval='')
h24 = input.symbol(title='24', defval='')
h25 = input.symbol(title='25', defval='')
h26 = input.symbol(title='26', defval='')
h27 = input.symbol(title='27', defval='')
h28 = input.symbol(title='28', defval='')
h29 = input.symbol(title='29', defval='')
h30 = input.symbol(title='30', defval='')
h31 = input.symbol(title='31', defval='')
h32 = input.symbol(title='32', defval='')
h33 = input.symbol(title='33', defval='')
h34 = input.symbol(title='34', defval='')
h35 = input.symbol(title='35', defval='')
h36 = input.symbol(title='36', defval='')
h37 = input.symbol(title='37', defval='')
h38 = input.symbol(title='38', defval='')
h39 = input.symbol(title='39', defval='')
h40 = input.symbol(title='40', defval='')
j1 = input.symbol(title='1', defval='',group = "7. Grup Hisseleri")
j2 = input.symbol(title='2', defval='')
j3 = input.symbol(title='3', defval='')
j4 = input.symbol(title='4', defval='')
j5 = input.symbol(title='5', defval='')
j6 = input.symbol(title='6', defval='')
j7 = input.symbol(title='7', defval='')
j8 = input.symbol(title='8', defval='')
j9 = input.symbol(title='9', defval='')
j10 = input.symbol(title='10', defval='')
j11 = input.symbol(title='11', defval='')
j12 = input.symbol(title='12', defval='')
j13 = input.symbol(title='13', defval='')
j14 = input.symbol(title='14', defval='')
j15 = input.symbol(title='15', defval='')
j16 = input.symbol(title='16', defval='')
j17 = input.symbol(title='17', defval='')
j18 = input.symbol(title='18', defval='')
j19 = input.symbol(title='19', defval='')
j20 = input.symbol(title='20', defval='')
j21 = input.symbol(title='21', defval='')
j22 = input.symbol(title='22', defval='')
j23 = input.symbol(title='23', defval='')
j24 = input.symbol(title='24', defval='')
j25 = input.symbol(title='25', defval='')
j26 = input.symbol(title='26', defval='')
j27 = input.symbol(title='27', defval='')
j28 = input.symbol(title='28', defval='')
j29 = input.symbol(title='29', defval='')
j30 = input.symbol(title='30', defval='')
j31 = input.symbol(title='31', defval='')
j32 = input.symbol(title='32', defval='')
j33 = input.symbol(title='33', defval='')
j34 = input.symbol(title='34', defval='')
j35 = input.symbol(title='35', defval='')
j36 = input.symbol(title='36', defval='')
j37 = input.symbol(title='37', defval='')
j38 = input.symbol(title='38', defval='')
j39 = input.symbol(title='39', defval='')
j40 = input.symbol(title='40', defval='')


//GRUP VE TARANACAK HİSSE SAYISINI AYNI ŞEKİLDE DİLEDİĞİNİZ GİBİ ARTIRABİLİRSİNİZ.

a1 = gurupSec == '1' ? c1 : gurupSec == '2' ? d1 : gurupSec == '3' ? e1 : gurupSec == '4' ? f1 : gurupSec == '5' ? g1 : gurupSec == '6' ? h1 : gurupSec == '7' ? j1 : na
a2 = gurupSec == '1' ? c2 : gurupSec == '2' ? d2 : gurupSec == '3' ? e2 : gurupSec == '4' ? f2 : gurupSec == '5' ? g2 : gurupSec == '6' ? h2 : gurupSec == '7' ? j2 : na
a3 = gurupSec == '1' ? c3 : gurupSec == '2' ? d3 : gurupSec == '3' ? e3 : gurupSec == '4' ? f3 : gurupSec == '5' ? g3 : gurupSec == '6' ? h3 : gurupSec == '7' ? j3 : na
a4 = gurupSec == '1' ? c4 : gurupSec == '2' ? d4 : gurupSec == '3' ? e4 : gurupSec == '4' ? f4 : gurupSec == '5' ? g4 : gurupSec == '6' ? h4 : gurupSec == '7' ? j4 : na
a5 = gurupSec == '1' ? c5 : gurupSec == '2' ? d5 : gurupSec == '3' ? e5 : gurupSec == '4' ? f5 : gurupSec == '5' ? g5 : gurupSec == '6' ? h5 : gurupSec == '7' ? j5 : na
a6 = gurupSec == '1' ? c6 : gurupSec == '2' ? d6 : gurupSec == '3' ? e6 : gurupSec == '4' ? f6 : gurupSec == '5' ? g6 : gurupSec == '6' ? h6 : gurupSec == '7' ? j6 : na
a7 = gurupSec == '1' ? c7 : gurupSec == '2' ? d7 : gurupSec == '3' ? e7 : gurupSec == '4' ? f7 : gurupSec == '5' ? g7 : gurupSec == '6' ? h7 : gurupSec == '7' ? j7 : na
a8 = gurupSec == '1' ? c8 : gurupSec == '2' ? d8 : gurupSec == '3' ? e8 : gurupSec == '4' ? f8 : gurupSec == '5' ? g8 : gurupSec == '6' ? h8 : gurupSec == '7' ? j8 : na
a9 = gurupSec == '1' ? c9 : gurupSec == '2' ? d9 : gurupSec == '3' ? e9 : gurupSec == '4' ? f9 : gurupSec == '5' ? g9 : gurupSec == '6' ? h9 : gurupSec == '7' ? j9 : na
a10 = gurupSec == '1' ? c10 : gurupSec == '2' ? d10 : gurupSec == '3' ? e10 : gurupSec == '4' ? f10 : gurupSec == '5' ? g10 : gurupSec == '6' ? h10 : gurupSec == '7' ? j10 : na
a11 = gurupSec == '1' ? c11 : gurupSec == '2' ? d11 : gurupSec == '3' ? e11 : gurupSec == '4' ? f11 : gurupSec == '5' ? g11 : gurupSec == '6' ? h11 : gurupSec == '7' ? j11 : na
a12 = gurupSec == '1' ? c12 : gurupSec == '2' ? d12 : gurupSec == '3' ? e12 : gurupSec == '4' ? f12 : gurupSec == '5' ? g12 : gurupSec == '6' ? h12 : gurupSec == '7' ? j12 : na
a13 = gurupSec == '1' ? c13 : gurupSec == '2' ? d13 : gurupSec == '3' ? e13 : gurupSec == '4' ? f13 : gurupSec == '5' ? g13 : gurupSec == '6' ? h13 : gurupSec == '7' ? j13 : na
a14 = gurupSec == '1' ? c14 : gurupSec == '2' ? d14 : gurupSec == '3' ? e14 : gurupSec == '4' ? f14 : gurupSec == '5' ? g14 : gurupSec == '6' ? h14 : gurupSec == '7' ? j14 : na
a15 = gurupSec == '1' ? c15 : gurupSec == '2' ? d15 : gurupSec == '3' ? e15 : gurupSec == '4' ? f15 : gurupSec == '5' ? g15 : gurupSec == '6' ? h15 : gurupSec == '7' ? j15 : na
a16 = gurupSec == '1' ? c16 : gurupSec == '2' ? d16 : gurupSec == '3' ? e16 : gurupSec == '4' ? f16 : gurupSec == '5' ? g16 : gurupSec == '6' ? h16 : gurupSec == '7' ? j16 : na
a17 = gurupSec == '1' ? c17 : gurupSec == '2' ? d17 : gurupSec == '3' ? e17 : gurupSec == '4' ? f17 : gurupSec == '5' ? g17 : gurupSec == '6' ? h17 : gurupSec == '7' ? j17 : na
a18 = gurupSec == '1' ? c18 : gurupSec == '2' ? d18 : gurupSec == '3' ? e18 : gurupSec == '4' ? f18 : gurupSec == '5' ? g18 : gurupSec == '6' ? h18 : gurupSec == '7' ? j18 : na
a19 = gurupSec == '1' ? c19 : gurupSec == '2' ? d19 : gurupSec == '3' ? e19 : gurupSec == '4' ? f19 : gurupSec == '5' ? g19 : gurupSec == '6' ? h19 : gurupSec == '7' ? j19 : na
a20 = gurupSec == '1' ? c20 : gurupSec == '2' ? d20 : gurupSec == '3' ? e20 : gurupSec == '4' ? f20 : gurupSec == '5' ? g20 : gurupSec == '6' ? h20 : gurupSec == '7' ? j20 : na
a21 = gurupSec == '1' ? c21 : gurupSec == '2' ? d21 : gurupSec == '3' ? e21 : gurupSec == '4' ? f21 : gurupSec == '5' ? g21 : gurupSec == '6' ? h21 : gurupSec == '7' ? j21 : na
a22 = gurupSec == '1' ? c22 : gurupSec == '2' ? d22 : gurupSec == '3' ? e22 : gurupSec == '4' ? f22 : gurupSec == '5' ? g22 : gurupSec == '6' ? h22 : gurupSec == '7' ? j22 : na
a23 = gurupSec == '1' ? c23 : gurupSec == '2' ? d23 : gurupSec == '3' ? e23 : gurupSec == '4' ? f23 : gurupSec == '5' ? g23 : gurupSec == '6' ? h23 : gurupSec == '7' ? j23 : na
a24 = gurupSec == '1' ? c24 : gurupSec == '2' ? d24 : gurupSec == '3' ? e24 : gurupSec == '4' ? f24 : gurupSec == '5' ? g24 : gurupSec == '6' ? h24 : gurupSec == '7' ? j24 : na
a25 = gurupSec == '1' ? c25 : gurupSec == '2' ? d25 : gurupSec == '3' ? e25 : gurupSec == '4' ? f25 : gurupSec == '5' ? g25 : gurupSec == '6' ? h25 : gurupSec == '7' ? j25 : na
a26 = gurupSec == '1' ? c26 : gurupSec == '2' ? d26 : gurupSec == '3' ? e26 : gurupSec == '4' ? f26 : gurupSec == '5' ? g26 : gurupSec == '6' ? h26 : gurupSec == '7' ? j26 : na
a27 = gurupSec == '1' ? c27 : gurupSec == '2' ? d27 : gurupSec == '3' ? e27 : gurupSec == '4' ? f27 : gurupSec == '5' ? g27 : gurupSec == '6' ? h27 : gurupSec == '7' ? j27 : na
a28 = gurupSec == '1' ? c28 : gurupSec == '2' ? d28 : gurupSec == '3' ? e28 : gurupSec == '4' ? f28 : gurupSec == '5' ? g28 : gurupSec == '6' ? h28 : gurupSec == '7' ? j28 : na
a29 = gurupSec == '1' ? c29 : gurupSec == '2' ? d29 : gurupSec == '3' ? e29 : gurupSec == '4' ? f29 : gurupSec == '5' ? g29 : gurupSec == '6' ? h29 : gurupSec == '7' ? j29 : na
a30 = gurupSec == '1' ? c30 : gurupSec == '2' ? d30 : gurupSec == '3' ? e30 : gurupSec == '4' ? f30 : gurupSec == '5' ? g30 : gurupSec == '6' ? h30 : gurupSec == '7' ? j30 : na
a31 = gurupSec == '1' ? c31 : gurupSec == '2' ? d31 : gurupSec == '3' ? e31 : gurupSec == '4' ? f31 : gurupSec == '5' ? g31 : gurupSec == '6' ? h31 : gurupSec == '7' ? j31: na
a32 = gurupSec == '1' ? c32 : gurupSec == '2' ? d32 : gurupSec == '3' ? e32 : gurupSec == '4' ? f32 : gurupSec == '5' ? g32 : gurupSec == '6' ? h32 : gurupSec == '7' ? j32 : na
a33 = gurupSec == '1' ? c33 : gurupSec == '2' ? d33 : gurupSec == '3' ? e33 : gurupSec == '4' ? f33 : gurupSec == '5' ? g33 : gurupSec == '6' ? h33 : gurupSec == '7' ? j33 : na
a34 = gurupSec == '1' ? c34 : gurupSec == '2' ? d34 : gurupSec == '3' ? e34 : gurupSec == '4' ? f34 : gurupSec == '5' ? g34 : gurupSec == '6' ? h34 : gurupSec == '7' ? j34 : na
a35 = gurupSec == '1' ? c35 : gurupSec == '2' ? d35 : gurupSec == '3' ? e35 : gurupSec == '4' ? f35 : gurupSec == '5' ? g35 : gurupSec == '6' ? h35 : gurupSec == '7' ? j35 : na
a36 = gurupSec == '1' ? c36 : gurupSec == '2' ? d36 : gurupSec == '3' ? e36 : gurupSec == '4' ? f36 : gurupSec == '5' ? g36 : gurupSec == '6' ? h36 : gurupSec == '7' ? j36 : na
a37 = gurupSec == '1' ? c37 : gurupSec == '2' ? d37 : gurupSec == '3' ? e37 : gurupSec == '4' ? f37 : gurupSec == '5' ? g37 : gurupSec == '6' ? h37 : gurupSec == '7' ? j37 : na
a38 = gurupSec == '1' ? c38 : gurupSec == '2' ? d38 : gurupSec == '3' ? e38 : gurupSec == '4' ? f38 : gurupSec == '5' ? g38 : gurupSec == '6' ? h38 : gurupSec == '7' ? j38 : na
a39 = gurupSec == '1' ? c39 : gurupSec == '2' ? d39 : gurupSec == '3' ? e39 : gurupSec == '4' ? f39 : gurupSec == '5' ? g39 : gurupSec == '6' ? h39 : gurupSec == '7' ? j39 : na
a40 = gurupSec == '1' ? c40 : gurupSec == '2' ? d40 : gurupSec == '3' ? e40 : gurupSec == '4' ? f40 : gurupSec == '5' ? g40 : gurupSec == '6' ? h40 : gurupSec == '7' ? j40 : na

[v1,s1] = request.security(a1, per, func())
[v2,s2] = request.security(a2, per, func())
[v3,s3] = request.security(a3, per, func())
[v4,s4] = request.security(a4, per, func())
[v5,s5] = request.security(a5, per, func())
[v6,s6] = request.security(a6, per, func())
[v7,s7] = request.security(a7, per, func())
[v8,s8] = request.security(a8, per, func())
[v9,s9] = request.security(a9, per, func())
[v10,s10] = request.security(a10, per, func())
[v11,s11] = request.security(a11, per, func())
[v12,s12] = request.security(a12, per, func())
[v13,s13] = request.security(a13, per, func())
[v14,s14] = request.security(a14, per, func())
[v15,s15] = request.security(a15, per, func())
[v16,s16] = request.security(a16, per, func())
[v17,s17] = request.security(a17, per, func())
[v18,s18] = request.security(a18, per, func())
[v19,s19] = request.security(a19, per, func())
[v20,s20] = request.security(a20, per, func())
[v21,s21] = request.security(a21, per, func())
[v22,s22] = request.security(a22, per, func())
[v23,s23] = request.security(a23, per, func())
[v24,s24] = request.security(a24, per, func())
[v25,s25] = request.security(a25, per, func())
[v26,s26] = request.security(a26, per, func())
[v27,s27] = request.security(a27, per, func())
[v28,s28] = request.security(a28, per, func())
[v29,s29] = request.security(a29, per, func())
[v30,s30] = request.security(a30, per, func())
[v31,s31] = request.security(a31, per, func())
[v32,s32] = request.security(a32, per, func())
[v33,s33] = request.security(a33, per, func())
[v34,s34] = request.security(a34, per, func())
[v35,s35] = request.security(a35, per, func())
[v36,s36] = request.security(a36, per, func())
[v37,s37] = request.security(a37, per, func())
[v38,s38] = request.security(a38, per, func())
[v39,s39] = request.security(a39, per, func())
[v40,s40] = request.security(a40, per, func())

scr_label = 'TARAMA\n'
scr_label := s1 ? scr_label + syminfo.ticker(a1) + ' ' + str.tostring(v1) + '\n' : scr_label
scr_label := s2 ? scr_label + syminfo.ticker(a2) + ' ' + str.tostring(v2) + '\n' : scr_label
scr_label := s3 ? scr_label + syminfo.ticker(a3) + ' ' + str.tostring(v3) + '\n' : scr_label
scr_label := s4 ? scr_label + syminfo.ticker(a4) + ' ' + str.tostring(v4) + '\n' : scr_label
scr_label := s5 ? scr_label + syminfo.ticker(a5) + ' ' + str.tostring(v5) + '\n' : scr_label
scr_label := s6 ? scr_label + syminfo.ticker(a6) + ' ' + str.tostring(v6) + '\n' : scr_label
scr_label := s7 ? scr_label + syminfo.ticker(a7) + ' ' + str.tostring(v7) + '\n' : scr_label
scr_label := s8 ? scr_label + syminfo.ticker(a8) + ' ' + str.tostring(v8) + '\n' : scr_label
scr_label := s9 ? scr_label + syminfo.ticker(a9) + ' ' + str.tostring(v9) + '\n' : scr_label
scr_label := s10 ? scr_label + syminfo.ticker(a10) + ' ' + str.tostring(v10) + '\n' : scr_label
scr_label := s11 ? scr_label + syminfo.ticker(a11) + ' ' + str.tostring(v11) + '\n' : scr_label
scr_label := s12 ? scr_label + syminfo.ticker(a12) + ' ' + str.tostring(v12) + '\n' : scr_label
scr_label := s13 ? scr_label + syminfo.ticker(a13) + ' ' + str.tostring(v13) + '\n' : scr_label
scr_label := s14 ? scr_label + syminfo.ticker(a14) + ' ' + str.tostring(v14) + '\n' : scr_label
scr_label := s15 ? scr_label + syminfo.ticker(a15) + ' ' + str.tostring(v15) + '\n' : scr_label
scr_label := s16 ? scr_label + syminfo.ticker(a16) + ' ' + str.tostring(v16) + '\n' : scr_label
scr_label := s17 ? scr_label + syminfo.ticker(a17) + ' ' + str.tostring(v17) + '\n' : scr_label
scr_label := s18 ? scr_label + syminfo.ticker(a18) + ' ' + str.tostring(v18) + '\n' : scr_label
scr_label := s19 ? scr_label + syminfo.ticker(a19) + ' ' + str.tostring(v19) + '\n' : scr_label
scr_label := s20 ? scr_label + syminfo.ticker(a20) + ' ' + str.tostring(v20) + '\n' : scr_label
scr_label := s21 ? scr_label + syminfo.ticker(a21) + ' ' + str.tostring(v21) + '\n' : scr_label
scr_label := s22 ? scr_label + syminfo.ticker(a22) + ' ' + str.tostring(v22) + '\n' : scr_label
scr_label := s23 ? scr_label + syminfo.ticker(a23) + ' ' + str.tostring(v23) + '\n' : scr_label
scr_label := s24 ? scr_label + syminfo.ticker(a24) + ' ' + str.tostring(v24) + '\n' : scr_label
scr_label := s25 ? scr_label + syminfo.ticker(a25) + ' ' + str.tostring(v25) + '\n' : scr_label
scr_label := s26 ? scr_label + syminfo.ticker(a26) + ' ' + str.tostring(v26) + '\n' : scr_label
scr_label := s27 ? scr_label + syminfo.ticker(a27) + ' ' + str.tostring(v27) + '\n' : scr_label
scr_label := s28 ? scr_label + syminfo.ticker(a28) + ' ' + str.tostring(v28) + '\n' : scr_label
scr_label := s29 ? scr_label + syminfo.ticker(a29) + ' ' + str.tostring(v29) + '\n' : scr_label
scr_label := s30 ? scr_label + syminfo.ticker(a30) + ' ' + str.tostring(v30) + '\n' : scr_label
scr_label := s31 ? scr_label + syminfo.ticker(a31) + ' ' + str.tostring(v31) + '\n' : scr_label
scr_label := s32 ? scr_label + syminfo.ticker(a32) + ' ' + str.tostring(v32) + '\n' : scr_label
scr_label := s33 ? scr_label + syminfo.ticker(a33) + ' ' + str.tostring(v33) + '\n' : scr_label
scr_label := s34 ? scr_label + syminfo.ticker(a34) + ' ' + str.tostring(v34) + '\n' : scr_label
scr_label := s35 ? scr_label + syminfo.ticker(a35) + ' ' + str.tostring(v35) + '\n' : scr_label
scr_label := s36 ? scr_label + syminfo.ticker(a36) + ' ' + str.tostring(v36) + '\n' : scr_label
scr_label := s37 ? scr_label + syminfo.ticker(a37) + ' ' + str.tostring(v37) + '\n' : scr_label
scr_label := s38 ? scr_label + syminfo.ticker(a38) + ' ' + str.tostring(v38) + '\n' : scr_label
scr_label := s39 ? scr_label + syminfo.ticker(a39) + ' ' + str.tostring(v39) + '\n' : scr_label
scr_label := s40 ? scr_label + syminfo.ticker(a40) + ' ' + str.tostring(v40) + '\n' : scr_label

lab_1 = label.new(bar_index + loc, close, scr_label, color=color.green, textcolor=color.white, style=label.style_label_center)
label.delete(lab_1[1])

if str.length(scr_label) > 8
    alert(scr_label,alert.freq_once_per_bar_close)
Leave a Comment