FII and DII Data
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © nanujogi  

//@version=5
indicator("FII and DII Data", overlay=true, max_bars_back = 500, max_labels_count = 500)

showAll = input.bool(false, "Show All Months Activity") 


var netFII = +2625+256-306-456-646-478+957+650-1244-190-262-1712-85-497-549-12-1261-696-1762-1500-7702-4237+252+456-1093-1832+264-593+317-1863-422-1005-998-90-1864-4424-2934-1685-3364-1686-354-693-2333-1327-3007-3110-1237+164+295-1632-1047+1473-224-759-3246-1725-3368+488-2973-495+62-1393-2973-495+62-1393-4638+1525+614-495-1901-267-1511+723-2324-3073+331+644-711-1893-556-317-1878-93-702-1024-3979+923+1089-83-1999+3371+1166+2116+73+2636+2238-1242+1469+1059+871+2833+2290+2134+1996+6398+12350+2024-409-344-693+4013-1943-1031+181+3282+1863+2200-594-309+613+1446+1111-701+643+2652+3406+2086+2290+350+2512+1498+183+923-113+1805+149+1407+1685+1014+990+1833+1942+3163+778+1415+1389+2992+3304+3936-1257-362-336-2117-968+170-522+422+222+2152+1030+1383+476+822+322+2366+1245+1947-623-1457-995-1044-1455-1906-1767+167-1247-2209-1547-2061-561+3672+866+246+12771-425-4559-2023-1470-1417-580+526-159-625+1571+432+1305+1322+1458-145-737-2560-1218-932-3065+2543-4568-5693-5978-257-114+224-2002+588+55+211+1571-3739-1347-3405-2109+57-2676-1256-2621-256-213-2951+469-428+162-498-707+1158-499+1218-138-1975+1538+331+669+3615-158-779-1382-257-894+215-1475+8913+1279+2615+369+4234-1803-237-1221+272+1583+39-126+2993+3958-388+546+1942+1436+778+1392+6913+6916+1578+2818+331+576+439+1687-381+858-184-1011-1107-357-4613-2139-2251+749+1345+1278-1522-3873-2096-3040-5101-2900-2227-278+1196+732-3260-679-1375+1957+1696+2275+2836+111+1705-812-9-2297+4166-561-51+2361+168+1058-346+1111+3457+4308+1377+3040+2249+2455+1606+1728+3968+1663+5347+1470+6451-94-1278-855-615+1875+7012+1059+220-1653+363-2721-1457+359+119-925-795+2133-1434-2857-261-309-853-1278-2109-2010-2921-1177+342-8593-3123-3358-4313-3566-3182-1401-2408-2242-1854-3771-571-722-1004+2281-3137-1598-1667-1990-1285+1456-4900-1255-2192-1789-3780-3810-3004-3476-2891-4618-1560-2867+1335-3648+1890-2791+104-2644-2462-714-2340-5090-6483-2061-2660-1464-575-4495-1143+3487+1451+8677+3089+2383-177-319-1507-1347+895+725-2863+3120+541-1105-177-1319-1981-4476-8143-7482-7499-6531-4056-3948-4434-6687-3828-2262-2530-710-367-1391-4254+109-1733-893-1968-1157-2268-2096-184-96-3624-5045-6267-7094-3899-3149-4680+49-1669-2415-2785-1899-2280-1819-2436-5476-278+1171-401-520-1044+632-2942+3764+2448+922+14240+1135+2345-2110-4660-8054-172-3702-3643-5241-2757-302-2955-2990-2111+947+7948-923-1919-31-2651-484-840-3064-303-463+315-233-719+1630-747-1132+634+2317+1357+592-1697+493-145+403-725-1371-1598-855-1525-2705
var netDII = +134+457+721+722+78-565+706+610+830+95+823+1512+524+700+596+403+1380+340+1328+313+6558+3569+1112+9+736+1470+113+1184-103+1532+1032+1963+2661+783+521+1769+1361+2751+2711+386+714+1579+801+1158-573+553+1939-51+850+260+366+1150+28-247+1078+2563+2295+4383+1323+305+1264+1414+5797+125+534+626+339-314+2406+1461+500+704-598+537+1081+367+1729-2+1036+2488+1634+2528+470-334+934+1291-193-2135-1317+64-772-1197+437-7+288-2964-2352-439-785-338+1198-1021-1991+250-684+219+550+1973-365+681-298-655-203+1794+1246-405+392-489+1196+582+489-2529-439+854+1841+338+301+397+605+1071-850-204-886+191-922-200-790+405+245-2199+442-584-394+264+97-228+564+1177+1633+833-110+402+270-274-225-264+352-997-947-328+2480+1669-156+1809+2556+1660+384+1946+2877+1817+2051+1824+2124+1419+1350+42-938+757+2090+2129+1499+4610+2232+1401+1586+372-235+86-85+1577+517+205+522-291-205+941+640+1203+1265+2371+529+4506+5513+4252+1378+1145+435+1510-129+1226+91+686+1953+2128+2431+1807+1724+1083-194+774+351+743+2266+516+373+622+1286+3399+2207+1757+495+687+1543+261+926+37+696+502+772+389-559+2608+712+2665-4056-744+88-296-236+414+636+1263+890+449+1437-549+47+616-967-1060-844-549-732-1378-730-1107-613-1580+873+80-119-887+908+2085+1582+1624+753+85+2431+2137+545-44+946-423+3245+3162+2544+3505+3532+299+263+539+132-95-37-929+188-1268-891-1168-213-139+633+534-669+951-657+144+454-334-322-215-85-1633+471-510-136-839-730-768-496-47-518+118-822-1+600+712+999-72+735-312-230-101+844+1059-556+1719+141-297+35+981+1464-258+1688+1311+1378+847+1206+1164+2213+2438+1859+3066+2093+6087+1929+2588+3808+2815+2831+1625+1904+1311+1940+2361+131+984+1845+1524+2727+2906+2230+1948+1445+2149+3226+376+2294+1428+3170+4816+4181+2958+3077+3015+2229+1338+1951+3490+781+1918+1644+1870+1602+2823+2646+3981+3342+1411+870-486-17+1775+623+105+1647-184+1145+1216+1713+1162+1373+2091-294-602+253-678+773+98+1099+1687+946+3276+6499+5331+4739+4799+3062+4143+4318+7668+3024+2393+1929+901+1180+4412+2170-697+2727+1793+1115-1376+622-371+426+1598+3649+3359+2281+4535+75+269+769-2578-1681+428+1030+2390+1385+472+837+4373+116-6+196+38+1912+1418+767+446+851+1525+577-61+1886+2051+1412+3810+1368+2294+4611+5350+3467+1373+1649+1702+2606+1736+783+387+387+425+1553+1533+1479+2784+1405+1593+1196-43+956+567+1007+578+1166+803+533+1272+801-116+482+379+1332+1065+371-115-220-195

var nov23FII = +2625+256-306-456-646-478+957+650-1244-190-262-1712-85-497-549-12-1261-1817-696-1762-1500
var nov23DII = +134+457+721+722+78-565+706+610+830+95+823+1512+524+700+596+403+1380+1622+340+1328+313

var oct23FII = -7702-4237+252+456-1093-1832+264-593+317-1863-422-1005-998-90-1864-4424-2934-1685
var oct23DII = 6558+3569+1112+9+736+1470+113+1184-103+1532+1032+1963+2661+783+521+1769+1361+2751

var sep23FII = -3364-354-693-2333-1327-3007-3110-1237+164+295-1632-1047+1473-224-759-3246-1725-3368+488
var sep23DII = 2711+386+714+1579+801+1158-573+553+1939-51+850+260+366+1150+28-247+1078+2563+2295

var aug23FII = -2973-495+62-1393-4638+1525+614-495-1901-267-1511+723-2324-3073+331+644-711-1893-556-317-1878-93-702-1024
var aug23DII = +4383+1323+305+1264+1414+5797+125+534+626+339-314+2406+1461+500+704-598+537+1081+367+1729-2+1036+2488+1634

var july23DII = 2528+470-334+934+1291-193-2135-1317+64-772-1197+437-7+288-2964-2352-439-785-338+1198
var july23FII = -3979+923+1089-83-1999+3371+1166+2116+73+2636+2238-1242+1469+1059+871+2833+2290+2134+1996+6398

var june23FII = 12350+2024-409-344-693+4013-1943-1031+181+3282+1863+2200-594-309+613+1446+1111-701+643+2652+3406+2086+2290+350
var june23DII = -1021-1991+250-684+219+550+1973-365+681-298-655-203+1794+1246-405+392-489+1196+582+489-2529-439+854+1841

var may23FII = 2512+1498+183+923-113+1805+149+1407+1685+1014+990+1833+1942+3163+778+1415+1389+2992+3304
var may23DII = 338+301+397+605+1071-850-204-886+191-922-200-790+405+245-2199+442-584-394+264

var apr23FII = 3936+1257-362-336-2117-968+170-522+422+222+2152+1030+1383+476+822+322+2366
var apr23DII = 97-228+564+1177+1633+833-110+402+270-274-225-264+352-997-947-328+2480

var mar23FII = 1245+1947-623-1457-995-1044-1455-1906-1767+167-1247-2209-1547-2061-561+3672+866+246+12771-425-4559-2023-1470
var mar23DII = 1669-156+1809+2556+1660+384+1946+2877+1817+2051+1824+2124+1419+1350+42-938+757+2090+2129+1499+4610+2232+1401

var feb23FII = -1417-580+526-159-625+1571+432+1305+1322+1458-145-737-2560-1218-932-3065+2543-4568-5693-5978
var feb23DII = 1586+372-235+86-85+1577+517+205+522-291-205+941+640+1203+1265+2371+529+4506+5513+4252

var jan23FII = -257-114+224-2002+588+55+211+1571-3739-1347-3405-2109+57-2676-1256-2621-256-213-2951
var jan23DII = 1378+1145+435+1510-129+1226+91+686+1953+2128+2431+1807+1724+1083-194+774+351+743+2266

var decFII = 469-428+162-498-707+1158-499+1218-138-1975+1538+331+669+3615-158-779-1382-257-894+215-1475+8913+1279+2615+369
var decDII = 516+373+622+1286+3399+2207+1757+495+687+1543+261+926+37+696+502+772+389-559+2608+712+2665-4056-744+88-296

var novFII = 369+4234-1803-237-1221+272+1583+39-126+2993+3958-388+546+1942+1436+778+1392+6913+6916+1578
var novDII = -296-236+414+636+1263+890+449+1437-549+47+616-967-1060-844-549-732-1378-730-1107-613

var octFII = 2818+331+576+439+1687-381+858-184-1011-1107-357-4613-2139-2251+749+1345+1278-1522
var octDII = -1580+873+80-119-887+908+2085+1582+1624+753+85+2431+2137+545-44+946-423+3245

var sepFII = -3873-2096-3040-5101-2900-2227-278+1196+732-3260-679-1375+1957+1696+2275+2836+111+1705-812-9-2297+4166-561-51
var sepDII = 3162+2544+3505+3532+299+263+539+132-95-37-929+188-1268-891-1168-213-139+633+534-669+951-657+144+454


strnetFII = str.tostring(netFII)
strnetDII = str.tostring(netDII)

// percentage_calculation = ((netDII * 100 ) / math.abs(netFII)) - 100

// User Table Position is now flexible
string  tableYposInput = input.string("top", "Table position", inline = "11", options = ["top", "middle", "bottom"])
string  tableXposInput = input.string("right", "", inline = "11", options = ["left", "center", "right"])


var mySize = size.small
var myTextAlign = text.align_center
var myTextColor = color.rgb(245,166,35)
var bothSelling = color.yellow
var bothBuying = color.lime
var downArrow = #990000 // Crimson red

// STEP 1. Make an input with drop-down menu
sizeOption = input.string(title="Font Size", options=["Auto", "Huge", "Large", "Normal", "Small", "Tiny"], defval="Small", tooltip = "Select your font size")
     
     
// STEP 2. Convert the input to valid label sizes
labelSize = (sizeOption == "Huge") ? size.huge :
     (sizeOption == "Large") ? size.large :
     (sizeOption == "Small") ? size.small :
     (sizeOption == "Tiny") ? size.tiny :
     (sizeOption == "Auto") ? size.auto :
         size.normal
         
         
 // Make the color-type input
selectedColor = input.color(title="Color", defval=color.orange, tooltip = "Choose your own favourite text color")


//// Implemented Day Time Frame checks. Now will show an Yello Box in Middle if user is in One Hour Time Frame.
/// Thanks flies out to BobRivera990 for shareing source code of Weekly Volume Heatmap.

var string show_user_correct_timeframe = "Please use Day Time Frame on Nifty 50 Spot !!!"

var bool correct_TimeFrame = timeframe.multiplier == 1

var table dialogBox = table.new(position.middle_center, 1, 1, bgcolor = color.yellow)

showDialog(_dialogBox, _msg) =>
    table.cell(_dialogBox, 0, 0, _msg, text_color = color.red, text_size = size.large)
    
if not correct_TimeFrame 
    showDialog(dialogBox, show_user_correct_timeframe)
    // runtime.error(str.format("FII & DII data is available only in Day Time Frame", syminfo.prefix))
    
//// Implementation Ends 

// // pdata1 =  if bar_index == 7548
// //     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="Start 19h October 2021\nFII + 49" + "\nDII -- 2578\n\n", textcolor = color.lime, textalign = text.align_center, size = size.normal)
    
// // pdata2 =  if bar_index == 7549
// //     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1669" + "\nDII -- 1681", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
// // pdata3 =  if bar_index == 7550
// //     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2415" + "\nDII + 428", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// pdata4 =  if bar_index == 7551
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2785" + "\nDII + 1030", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
// pdata5 =  if bar_index == 7552
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1899" + "\nDII + 2390", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
// pdata6 =  if bar_index == 7553
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2280" + "\nDII + 1385", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// pdata7 =  if bar_index == 7554
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1819" + "\nDII + 472", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
// pdata8 =  if bar_index == 7555
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2436" + "\nDII + 837", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// pdata9 =  if bar_index == 7556
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 5476" + "\nDII + 4373", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
// pdata10 =  if bar_index == 7557
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 278" + "\nDII + 116", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
// pdata11 =  if bar_index == 7558
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 1171" + "\nDII -- 6", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// pdata12 =  if bar_index == 7559
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 401" + "\nDII + 196", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// pdata13 =  if bar_index == 7560
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 520" + "\nDII + 38", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// pdata14 =  if bar_index == 7561
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1044" + "\nDII + 1912", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// pdata15 =  if bar_index == 7562
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 632" + "\nDII + 1418", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// pdata16 =  if bar_index == 7563
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2942" + "\nDII + 767", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// pdata17 =  if bar_index == 7564
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 3764" + "\nDII + 446", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// pdata18 =  if bar_index == 7565
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2448" + "\nDII + 851", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// pdata19 =  if bar_index == 7566
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 922" + "\nDII + 1525", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)


// data1 = if bar_index == 7567
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="\nFII + 14240" + "\nDII + 577\n\n", textcolor = color.lime, textalign = text.align_right, size = size.normal)
    
    
// data2 =  if bar_index == 7568
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 1135" + "\nDII - 61", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// data3 =  if bar_index == 7569
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 2385" + "\nDII + 1846", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// data4 =  if bar_index == 7570
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2110" + "\nDII + 2051", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// data5 =  if bar_index == 7571
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 4660" + "\nDII + 1412", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// data6 =  if bar_index == 7572
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 8054" + "\nDII + 3810", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// data7 =  if bar_index == 7573
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 172" + "\nDII + 1368", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
// data8 =  if bar_index == 7574
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3702" + "\nDII + 2294", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// data9 =  if bar_index == 7575
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3643" + "\nDII + 4611", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// data10 =  if bar_index == 7576
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 5241" + "\nDII + 5350", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// data11 =  if bar_index == 7577
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2757" + "\nDII + 3467", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// data12 =  if bar_index == 7578
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 302" + "\nDII + 1373", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
// data13 =  if bar_index == 7579
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2955" + "\nDII + 1649", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// data14 =  if bar_index == 7580
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2990" + "\nDII + 1702", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// data15 =  if bar_index == 7581
//     label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2111" + "\nDII + 2606", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data16 =  if bar_index == 7582
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 947" + "\nDII + 1736", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data17 =  if bar_index == 7583
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 7948" + "\nDII + 783", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data18 =  if bar_index == 7584
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 923" + "\nDII + 387", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data19 =  if bar_index == 7585
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1919" + "\nDII + 1351", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data20 =  if bar_index == 7586
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 31" + "\nDII + 425", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data21 =  if bar_index == 7587
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2651" + "\nDII + 1553", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data22 =  if bar_index == 7588
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 484" + "\nDII + 1533", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data23 =  if bar_index == 7589
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 840" + "\nDII + 1479", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

// Just trying to understand how different style in labels.
data24 =  if bar_index == 7590
    label.new(bar_index, low, color = color.black, style=label.style_label_up, text="FII -- 3064" + "\nDII + 2784", textcolor = selectedColor, textalign = myTextAlign, size = size.normal)
    
    
    
data25 =  if bar_index == 7591
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 303" + "\nDII + 1405", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data26 =  if bar_index == 7592
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 463" + "\nDII + 1593", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data27 =  if bar_index == 7593
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 315" + "\nDII + 1196", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data28 =  if bar_index == 7594
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 233" + "\nDII -- 43", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data29 =  if bar_index == 7595
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 719" + "\nDII + 956", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data30 =  if bar_index == 7596
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 1630" + "\nDII + 567", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data31 =  if bar_index == 7597
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 747" + "\nDII + 1007", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data32 =  if bar_index == 7598
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1132" + "\nDII + 578", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data33 =  if bar_index == 7599
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 634" + "\nDII + 1166", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data34 =  if bar_index == 7600
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 2317" + "\nDII + 803", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
        
data35 =  if bar_index == 7601
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 1357" + "\nDII + 533", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data36 =  if bar_index == 7602
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 592" + "\nDII + 1272", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data37 =  if bar_index == 7603
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1697" + "\nDII  + 801", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data38 =  if bar_index == 7604
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 493" + "\nDII --116", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data39 =  if bar_index == 7605
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 145" + "\nDII + 482", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data40 =  if bar_index == 7606
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 403" + "\nDII + 309", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data41 =  if bar_index == 7607    
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 725" + "\nDII + 1332", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data42 =  if bar_index == 7608
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1371" + "\nDII + 1065", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data43 =  if bar_index == 7609
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1598" + "\nDII + 371", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
    // date: 17-01-2022
data44 =  if bar_index == 7610
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 855" + "\nDII -- 115", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data45 =  if bar_index == 7611
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1254" + "\nDII -- 220", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data46 =  if bar_index == 7612
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2705" + "\nDII -- 195", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data47 =  if bar_index == 7613
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 4680" + "\nDII + 769", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data48 =  if bar_index == 7614
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3149" + "\nDII + 269", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data49 =  if bar_index == 7615
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3899" + "\nDII + 75", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data50 =  if bar_index == 7616
//    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 7094" + "\nDII + 4535", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    label.new(bar_index, low, color = color.black, style=label.style_label_up, text="FII -- 7094" + "\nDII + 4535", textcolor = selectedColor, textalign = myTextAlign, size = size.normal)    
    
data51 =  if bar_index == 7617
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 6267" + "\nDII + 2881", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
   
data52 =  if bar_index == 7618
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 5045" + "\nDII + 3359", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data53 =  if bar_index == 7619
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3624" + "\nDII + 3649", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data54 =  if bar_index == 7620
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 96" + "\nDII + 1598", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data55 =  if bar_index == 7621
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 184" + "\nDII + 426", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data56 =  if bar_index == 7622
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2096" + "\nDII -- 371", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data57 =  if bar_index == 7623
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2268" + "\nDII + 426", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data58 =  if bar_index == 7624
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1157" + "\nDII -- 1376", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data59 =  if bar_index == 7625
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1968" + "\nDII + 1115", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data60 =  if bar_index == 7626
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 893" + "\nDII + 1793", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data61 =  if bar_index == 7627
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1733" + "\nDII + 2727", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data62 =  if bar_index == 7628
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 109" + "\nDII -- 697", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data63 =  if bar_index == 7629
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 4254" + "\nDII + 2170", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data64 =  if bar_index == 7630
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1391" + "\nDII + 4412", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data65 =  if bar_index == 7631
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 367" + "\nDII + 1180", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data66 =  if bar_index == 7632
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 710" + "\nDII + 901", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data67 =  if bar_index == 7633
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3058" + "\nDII + 1929", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data68 =  if bar_index == 7634
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 774" + "\nDII + 2393", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data69 =  if bar_index == 7635
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3246" + "\nDII + 4109", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data70 =  if bar_index == 7636
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2838" + "\nDII + 3024", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data71 =  if bar_index == 7637
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 6687" + "\nDII + 7668", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
   
data72 =  if bar_index == 7638
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 4434" + "\nDII + 4318", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data73 =  if bar_index == 7639
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3948" + "\nDII + 4143", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data74 =  if bar_index == 7640
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 4056" + "\nDII + 3062", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data75 =  if bar_index == 7641
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 6531" + "\nDII + 4799", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data76 =  if bar_index == 7642
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 7499" + "\nDII + 4739", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data77 =  if bar_index == 7643
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 7482" + "\nDII + 5331", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)


data78 =  if bar_index == 7644
    label.new(bar_index, low, color = color.black, style=label.style_label_up,text="FII -- 8143" + "\nDII + 6490", textcolor = selectedColor, textalign = myTextAlign, size = size.normal)
    

    
data79 =  if bar_index == 7645
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 4476" + "\nDII + 3276", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data80 =  if bar_index == 7646
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1981" + "\nDII + 946", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data81 =  if bar_index == 7647
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1319" + "\nDII + 1687", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data82 =  if bar_index == 7648
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 177" + "\nDII + 1099", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data83 =  if bar_index == 7649
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1105" + "\nDII + 98", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data84 =  if bar_index == 7650
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 541" + "\nDII + 773", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data85 =  if bar_index == 7651
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 3120" + "\nDII + 678", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data86 =  if bar_index == 7652
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2863" + "\nDII + 253", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data87 =  if bar_index == 7653
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 725" + "\nDII -- 602", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data88 =  if bar_index == 7654
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 895" + "\nDII -- 294", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data89 =  if bar_index == 7655
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1347" + "\nDII + 2091", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data90 =  if bar_index == 7656
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1507" + "\nDII + 1373", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data91 =  if bar_index == 7657
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 319" + "\nDII + 1162", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data92 =  if bar_index == 7658
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 177" + "\nDII + 1713", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data93 =  if bar_index == 7659
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 2383" + "\nDII + 1216", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data94 =  if bar_index == 7660
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 3089" + "\nDII + 1145", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data95 =  if bar_index == 7661
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 8677" + "\nDII -- 184", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data96 =  if bar_index == 7662
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 1451" + "\nDII + 1647", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data97 =  if bar_index == 7663
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 3487" + "\nDII + 105", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)


data98 =  if bar_index == 7664
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1413" + "\nDII + 623", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data99 =  if bar_index == 7665
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 4495" + "\nDII + 1775", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data100 =  if bar_index == 7666
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 575" + "\nDII -- 17", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data101 =  if bar_index == 7667
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1464" + "\nDII -- 486", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)


data102 =  if bar_index == 7668
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2660" + "\nDII + 870", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)


data103 =  if bar_index == 7669
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2061" + "\nDII + 1411", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data104 =  if bar_index == 7670
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 6483" + "\nDII + 3342", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data105 =  if bar_index == 7671
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 5090" + "\nDII + 3981", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data106 =  if bar_index == 7672
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2340" + "\nDII + 2646", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data107 =  if bar_index == 7673
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 714" + "\nDII + 2823", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data108 =  if bar_index == 7674
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2462" + "\nDII + 1602", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data109 =  if bar_index == 7675
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2644" + "\nDII + 1870", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data110 =  if bar_index == 7676
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 104" + "\nDII + 1644", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data111 =  if bar_index == 7677
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2791" + "\nDII + 1918", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data112 =  if bar_index == 7678
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 1890" + "\nDII + 781", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data113 =  if bar_index == 7679
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3648" + "\nDII + 3490", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data114 =  if bar_index == 7680
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 1335" + "\nDII + 1951", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data115 =  if bar_index == 7681
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2867" + "\nDII + 1338", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data116 =  if bar_index == 7682
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1560" + "\nDII + 2229", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data117 =  if bar_index == 7683
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 4618" + "\nDII + 3015", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

//

data118 =  if bar_index == 7684
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2891" + "\nDII + 3077", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data119 =  if bar_index == 7685
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3476" + "\nDII + 2958", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data120 =  if bar_index == 7686
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3004" + "\nDII + 4181", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data121 =  if bar_index == 7687
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 4810" + "\nDII + 4816", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data122 =  if bar_index == 7688
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3780" + "\nDII + 3170", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data123 =  if bar_index == 7689
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1789" + "\nDII + 1428", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data124 =  if bar_index == 7690
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2192" + "\nDII + 2294", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data125 =  if bar_index == 7691
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1255" + "\nDII + 376", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data126 =  if bar_index == 7692
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 4900" + "\nDII + 3226", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data127 =  if bar_index == 7693
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 1456" + "\nDII + 2149", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data128 =  if bar_index == 7694
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1285" + "\nDII + 1445", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data129 =  if bar_index == 7695
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1990" + "\nDII + 1948", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data130 =  if bar_index == 7696
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1617" + "\nDII + 2230", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data131 =  if bar_index == 7697
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1598" + "\nDII + 2906", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data132 =  if bar_index == 7698
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3137" + "\nDII + 2727", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data133 =  if bar_index == 7699
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 2281" + "\nDII + 1524", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data134 =  if bar_index == 7700
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1004" + "\nDII + 1845", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data135 =  if bar_index == 7701
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 722" + "\nDII + 984", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data136 =  if bar_index == 7702
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 571" + "\nDII + 131", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data137 =  if bar_index == 7703
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3771" + "\nDII + 2361", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data138 =  if bar_index == 7704
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1854" + "\nDII + 1940", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data139 =  if bar_index == 7705
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2242" + "\nDII + 1311", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data140 =  if bar_index == 7706
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2408" + "\nDII + 1904", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data141 =  if bar_index == 7707
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1401" + "\nDII + 1625", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data142 =  if bar_index == 7708
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3182" + "\nDII + 2831", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

//----

data143 =  if bar_index == 7709
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3566" + "\nDII + 2815", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data144 =  if bar_index == 7710
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 4313" + "\nDII + 3808", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data145 =  if bar_index == 7711
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3358" + "\nDII + 2588", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data146 =  if bar_index == 7712
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 3123" + "\nDII + 1929", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data147 =  if bar_index == 7713
//    label.new(bar_index, na, color = selectedColor, style=label.style_label_up, text="FII -- 7819" + "\nDII + 6087\n March also they sold & then market went up", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    label.new(bar_index, low, color = color.black, style=label.style_label_up,text="FII -- 8593" + "\nDII + 6097\n\n8th March also FII sold worth -8143\n&\nthen market went up", textcolor = selectedColor, textalign = myTextAlign, size = size.normal)

data148 =  if bar_index == 7714
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII + 342" + "\nDII + 2093", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data149 =  if bar_index == 7715
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 1177" + "\nDII + 3066", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data150 =  if bar_index == 7716
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2921" + "\nDII + 1859", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data151 =  if bar_index == 7717
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2010" + "\nDII + 2438", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data152 =  if bar_index == 7718
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII -- 2109" + "\nDII + 2213", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data153 =  if bar_index == 7719
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 1278" + "\nDII + 1184", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data154 =  if bar_index == 7720
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 853" + "\nDII + 1206", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data155 =  if bar_index == 7721
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 309" + "\nDII + 847", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data156 =  if bar_index == 7722
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 261" + "\nDII + 1378", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data157 =  if bar_index == 7723
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 2857" + "\nDII + 1311", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data158 =  if bar_index == 7724
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 1434" + "\nDII + 1688", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data159 =  if bar_index == 7725
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 2133" + "\nDII -- 258", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data160 =  if bar_index == 7726
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 795" + "\nDII + 1464", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data161 =  if bar_index == 7727
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 925" + "\nDII + 981", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data162 =  if bar_index == 7728
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 119" + "\nDII + 35", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data163 =  if bar_index == 7729
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 359" + "\nDII -- 297", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data164 =  if bar_index == 7730
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 1457" + "\nDII + 141", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data165 =  if bar_index == 7731
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 2721" + "\nDII + 1799", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data166 =  if bar_index == 7732
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 363" + "\nDII -- 556", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

//
data167 =  if bar_index == 7733
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 1653" + "\nDII + 1059", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data168 =  if bar_index == 7734
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 220" + "\nDII + 844", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data169 =  if bar_index == 7735
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1059" + "\nDII - 101", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data170 =  if bar_index == 7736
    label.new(bar_index, na, color = selectedColor, style=label.style_diamond, text="FII  + 7012" + "\nDII - 230", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data171 =  if bar_index == 7737
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1875" + "\nDII - 312", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data172 =  if bar_index == 7738
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 615" + "\nDII + 735", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data173 =  if bar_index == 7739
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 855" + "\nDII -- 72", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data174 =  if bar_index == 7740
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 1278" + "\nDII + 999", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data175 =  if bar_index == 7741
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 94" + "\nDII + 712", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data176 =  if bar_index == 7742
    label.new(bar_index, na, color = selectedColor, style=label.style_diamond,text="FII  + 6451" + "\nDII + 600", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data177 =  if bar_index == 7743
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1470" + "\nDII -- 1", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data178 =  if bar_index == 7744
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 5347" + "\nDII -- 822", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data179 =  if bar_index == 7745
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1663" + "\nDII + 118", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data180 =  if bar_index == 7746
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 3968" + "\nDII -- 518", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data181 =  if bar_index == 7747
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1728" + "\nDII -- 47", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data182 =  if bar_index == 7748
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1606" + "\nDII -- 496", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    
data183 =  if bar_index == 7749
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1574" + "\nDII -- 141", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data184 =  if bar_index == 7750
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 2455" + "\nDII -- 768", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data185 =  if bar_index == 7751
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 2249" + "\nDII -- 730", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data186 =  if bar_index == 7752
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 3040" + "\nDII -- 839", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data187 =  if bar_index == 7753
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1377" + "\nDII -- 136", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data188 =  if bar_index == 7754
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 4308" + "\nDII -- 510", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data189 =  if bar_index == 7755
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 3457" + "\nDII + 471", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data190 =  if bar_index == 7756
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1111" + "\nDII -- 1633", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data191 =  if bar_index == 7757
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 346" + "\nDII -- 85", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data192 =  if bar_index == 7758
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1058" + "\nDII -- 215", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data193 =  if bar_index == 7759
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 168" + "\nDII -- 322", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data194 =  if bar_index == 7760
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 2361" + "\nDII -- 334", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data195 =  if bar_index == 7761
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 51" + "\nDII + 454", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data196 =  if bar_index == 7762
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 561" + "\nDII + 144", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data197 =  if bar_index == 7763
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 4166" + "\nDII -- 657", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)


data198 =  if bar_index == 7764
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 2297" + "\nDII -- 951", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data199 =  if bar_index == 7765
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 9" + "\nDII -- 669", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data200 =  if bar_index == 7766
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 812" + "\nDII + 534", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data201 =  if bar_index == 7767
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1705" + "\nDII + 633", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data202 =  if bar_index == 7768
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 111" + "\nDII -- 139", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data203 =  if bar_index == 7769
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 2836" + "\nDII -- 213", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data204 =  if bar_index == 7770
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 2275" + "\nDII -- 1168", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data205 =  if bar_index == 7771
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1696" + "\nDII -- 891", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data206 =  if bar_index == 7772
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1957" + "\nDII -- 1268", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data207 =  if bar_index == 7773
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 1375" + "\nDII + 188", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data208 =  if bar_index == 7774
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 679" + "\nDII -- 929", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data209 =  if bar_index == 7775
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 3260" + "\nDII -- 37", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data210 =  if bar_index == 7776
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 732" + "\nDII -- 95", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data211 =  if bar_index == 7777
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1196" + "\nDII + 132", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data212 =  if bar_index == 7778
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 278" + "\nDII + 539", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data213 =  if bar_index == 7779
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 2227" + "\nDII + 263", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data214 =  if bar_index == 7780
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 2900" + "\nDII + 299", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data215 =  if bar_index == 7781
    label.new(bar_index, na, color = downArrow, style=label.style_triangledown,text="FII  -- 5101" + "\nDII + 3532", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data216 =  if bar_index == 7782
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  -- 3040" + "\nDII + 3505", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data217 =  if bar_index == 7783
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  -- 2096" + "\nDII + 2544", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data218 =  if bar_index == 7784
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  -- 3873" + "\nDII + 3162", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data219 =  if bar_index == 7785
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  -- 1522" + "\nDII + 3245", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data220 =  if bar_index == 7786
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  + 1278" + "\nDII -- 423", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data221 =  if bar_index == 7787
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  + 1345" + "\nDII + 946", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data222 =  if bar_index == 7788
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  + 749" + "\nDII -- 44", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data223 =  if bar_index == 7789
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  -- 2251" + "\nDII + 545", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data224 =  if bar_index == 7790
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  -- 2139" + "\nDII + 2137", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data225 =  if bar_index == 7791
    label.new(bar_index, na, color = downArrow, style=label.style_triangledown,text="FII  -- 4613" + "\nDII + 2431", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data226 =  if bar_index == 7792
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  -- 357" + "\nDII + 85", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data227 =  if bar_index == 7793
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  -- 1107" + "\nDII + 753", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data228 =  if bar_index == 7794
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  -- 1011" + "\nDII + 1624", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data229 =  if bar_index == 7795
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  -- 184" + "\nDII + 1582", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data230 =  if bar_index == 7796
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  + 858" + "\nDII + 2085", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data231 =  if bar_index == 7797
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  -- 381" + "\nDII + 908", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data232 =  if bar_index == 7798
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  + 1687" + "\nDII -- 887", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data233 =  if bar_index == 7799
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  + 439" + "\nDII -- 119", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data234 =  if bar_index == 7800
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  + 576" + "\nDII + 80 ", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data235 =  if bar_index == 7801
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  + 331" + "\nDII + 873 ", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data236 =  if bar_index == 7802
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  + 2818" + "\nDII -- 1580", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data237 =  if bar_index == 7803
    label.new(bar_index, na, color = downArrow, style=label.style_none,text="FII  + 1578" + "\nDII -- 613", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data238 =  if bar_index == 7804
    label.new(bar_index, na, color = selectedColor, style=label.style_diamond,text="FII  + 6916" + "\nDII -- 1107", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data239 =  if bar_index == 7805
    label.new(bar_index, na, color = selectedColor, style=label.style_diamond,text="FII  + 6913" + "\nDII -- 730", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data240 =  if bar_index == 7806
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1392" + "\nDII -- 1378", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data241 =  if bar_index == 7807
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 778" + "\nDII -- 732", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data242 =  if bar_index == 7808
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1436" + "\nDII -- 549", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data243 =  if bar_index == 7809
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1942" + "\nDII -- 844", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data244 =  if bar_index == 7810
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 546" + "\nDII -- 1060", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data245 =  if bar_index == 7811
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 388" + "\nDII -- 967", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data246 =  if bar_index == 7812
    label.new(bar_index, na, color = selectedColor, style=label.style_diamond, text="FII  + 3958" + "\nDII + 616", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data247 =  if bar_index == 7813
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 2993" + "\nDII + 47", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data248 =  if bar_index == 7814
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 126" + "\nDII -- 549", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data249 =  if bar_index == 7815
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 39" + "\nDII + 1437", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data250 =  if bar_index == 7816
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 1583" + "\nDII + 449", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data251 =  if bar_index == 7817
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 272" + "\nDII + 890", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

////////////
data252 =  if bar_index == 7818
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 1221" + "\nDII + 1263", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data253 =  if bar_index == 7819
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 237" + "\nDII + 636", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data254 =  if bar_index == 7820
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  -- 1803" + "\nDII + 414", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data255 =  if bar_index == 7821
    label.new(bar_index, na, color = selectedColor, style=label.style_diamond,text="FII  + 4234" + "\nDII -- 236", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data256 =  if bar_index == 7822
    label.new(bar_index, na, color = selectedColor, style=label.style_none,text="FII  + 369" + "\nDII -- 296", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

//
data257 =  if bar_index == 7823
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 2615" + "\nDII +88", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data258 =  if bar_index == 7824
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 129" + "\nDII -- 744", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data259 =  if bar_index == 7825
    label.new(bar_index, na, color = color.black, style=label.style_label_down, text="FII  + 8913 Huge" + "\nDII -- 4056", textcolor = selectedColor, textalign = myTextAlign, size = size.normal, yloc = yloc.abovebar)

data260 =  if bar_index == 7826
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1475" + "\nDII + 2665", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data261 =  if bar_index == 7827
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 215" + "\nDII + 712", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data262 =  if bar_index == 7828
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 894" + "\nDII + 2608", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data263 =  if bar_index == 7829
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 257" + "\nDII -- 559", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data264 =  if bar_index == 7830
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1382" + "\nDII + 389", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data265 =  if bar_index == 7831
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 779" + "\nDII + 772", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data266 =  if bar_index == 7832
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 158" + "\nDII + 502", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data267 =  if bar_index == 7833
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 3615" + "\nDII + 696", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data268 =  if bar_index == 7834
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 669" + "\nDII + 37", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data269 =  if bar_index == 7835
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 331" + "\nDII + 926", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data270 =  if bar_index == 7836
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1538" + "\nDII + 261", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data271 =  if bar_index == 7837
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1975" + "\nDII + 1543", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data272 =  if bar_index == 7838
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 138" + "\nDII + 687", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data273 =  if bar_index == 7839
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 1218" + "\nDII + 495", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data274 =  if bar_index == 7840
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 499" + "\nDII + 1757", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data275 =  if bar_index == 7841
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1158" + "\nDII + 2207", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data276 =  if bar_index == 7842
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 707" + "\nDII + 3399", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data277 =  if bar_index == 7843
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 498" + "\nDII + 1286", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data278 =  if bar_index == 7844
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 162" + "\nDII + 622", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data279 =  if bar_index == 7845
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 428" + "\nDII + 373", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data280 =  if bar_index == 7846
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 469" + "\nDII + 516", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data281 =  if bar_index == 7847
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  --2951" + "\nDII + 2266", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data282 =  if bar_index == 7848
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  --213" + "\nDII + 743", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data283 =  if bar_index == 7849
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  --256" + "\nDII + 351", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data284 =  if bar_index == 7850
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  --2621" + "\nDII + 774", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data285 =  if bar_index == 7851
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  --1256" + "\nDII -- -194", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data286 =  if bar_index == 7852
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  --2676" + "\nDII + 1083", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data287 =  if bar_index == 7853
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 57" + "\nDII + 1724", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data288 =  if bar_index == 7854
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 2109" + "\nDII + 1807", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data289 =  if bar_index == 7855
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 3405" + "\nDII + 2431", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data290 =  if bar_index == 7856
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1347" + "\nDII + 2128", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data291 =  if bar_index == 7857
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 3739" + "\nDII + 1953", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data292 =  if bar_index == 7858
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1571" + "\nDII + 686", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data293 =  if bar_index == 7859
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 211" + "\nDII + 91", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data294 =  if bar_index == 7860
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 55" + "\nDII + 1226", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data295 =  if bar_index == 7861
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 588" + "\nDII -- 129", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data296 =  if bar_index == 7862
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 2002" + "\nDII + 1510", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data297 =  if bar_index == 7863
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 224" + "\nDII + 435", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data298 =  if bar_index == 7864
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 114" + "\nDII + 1145", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data299 =  if bar_index == 7865
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 257" + "\nDII + 1378", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data300 =  if bar_index == 7866
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 5978" + "\nDII + 4252", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data301 =  if bar_index == 7867
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 5693" + "\nDII + 4568", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data302 =  if bar_index == 7868
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 4658" + "\nDII + 4506", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data303 =  if bar_index == 7869
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 2543" + "\nDII + 529", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data304 =  if bar_index == 7870
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 3065" + "\nDII + 2371", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data305 =  if bar_index == 7871
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 932" + "\nDII + 1265", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data306 =  if bar_index == 7872
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1218" + "\nDII + 1203", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data307 =  if bar_index == 7873
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 2560" + "\nDII + 640", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data308 =  if bar_index == 7874
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 737" + "\nDII + 941", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data309 =  if bar_index == 7875
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 145" + "\nDII -- 205", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data310 =  if bar_index == 7876
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1458" + "\nDII -- 291", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data311 =  if bar_index == 7877
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1322" + "\nDII + 522", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data312 =  if bar_index == 7878
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1305" + "\nDII + 205", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data313 =  if bar_index == 7879
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 432" + "\nDII + 517", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data314 =  if bar_index == 7880
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1571" + "\nDII + 1577", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data315 =  if bar_index == 7881
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 625" + "\nDII -- 85", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data316 =  if bar_index == 7882
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 159" + "\nDII + 86", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data317 =  if bar_index == 7883
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 526" + "\nDII -- 235", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data318 =  if bar_index == 7884
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 580" + "\nDII + 372", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data319 =  if bar_index == 7885
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1417" + "\nDII + 1586", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data320 =  if bar_index == 7886
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1470" + "\nDII + 1401", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data321 =  if bar_index == 7887
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 2023" + "\nDII + 2232", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data322 =  if bar_index == 7888
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 4559" + "\nDII + 4610", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data323 =  if bar_index == 7889
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 425" + "\nDII + 1499", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data324 =  if bar_index == 7890
    label.new(bar_index, na, color = selectedColor, style=label.style_triangleup, text="FII  + 12771" + "\nDII + 2129", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data325 =  if bar_index == 7891
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 246" + "\nDII + 2090", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data326 =  if bar_index == 7892
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 866" + "\nDII + 757", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data327 =  if bar_index == 7893
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 3672" + "\nDII -- 938", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data328 =  if bar_index == 7894
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 561" + "\nDII + 42", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data329 =  if bar_index == 7895
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 2061" + "\nDII + 1350", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data330 =  if bar_index == 7896
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1547" + "\nDII + 1419", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data331 =  if bar_index == 7897
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 2209" + "\nDII + 2124", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data332 =  if bar_index == 7898
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1247" + "\nDII + 1824", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data333 =  if bar_index == 7899
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 167" + "\nDII + 2051", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data334 =  if bar_index == 7900
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1767" + "\nDII + 1817", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data335 =  if bar_index == 7901
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1906" + "\nDII + 2877", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data336 =  if bar_index == 7902
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1455" + "\nDII + 1946", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data337 =  if bar_index == 7903
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1044" + "\nDII + 384", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data338 =  if bar_index == 7904
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 995" + "\nDII + 1669", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data339 =  if bar_index == 7905
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1457" + "\nDII + 2556", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data340 =  if bar_index == 7906
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 623" + "\nDII + 1809", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data341 =  if bar_index == 7907
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1947" + "\nDII -- 156", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data342 =  if bar_index == 7908
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1245" + "\nDII + 823", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data343 =  if bar_index == 7909
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 2366" + "\nDII + 2480", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data344 =  if bar_index == 7910
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 322" + "\nDII -- 328", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data345 =  if bar_index == 7911
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 822" + "\nDII -- 947", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data346 =  if bar_index == 7912
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 476" + "\nDII -- 997", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data347 =  if bar_index == 7913
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1383" + "\nDII + 352", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data348 =  if bar_index == 7914
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1030" + "\nDII -- 264", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data349 =  if bar_index == 7915
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 2152" + "\nDII -- 225", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data350 =  if bar_index == 7916
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 222" + "\nDII -- 274", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data351 =  if bar_index == 7917
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 422" + "\nDII + 270", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data352 =  if bar_index == 7918
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 522" + "\nDII + 402", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data353 =  if bar_index == 7919
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 170" + "\nDII -- 110", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data354 =  if bar_index == 7920
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 968" + "\nDII + 833", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data355 =  if bar_index == 7921
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 2117" + "\nDII + 1633", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data356 =  if bar_index == 7922
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 336" + "\nDII + 1177", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data357 =  if bar_index == 7923
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 362" + "\nDII + 564", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data358 =  if bar_index == 7924
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1257" + "\nDII -- 228", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data359 =  if bar_index == 7925
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 3936" + "\nDII + 97", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data360 =  if bar_index == 7926
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 3304" + "\nDII + 264", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data361 =  if bar_index == 7927
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 2992" + "\nDII -- 384", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data362 =  if bar_index == 7928
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1389" + "\nDII -- 584", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data363 =  if bar_index == 7929
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1415" + "\nDII + 442", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data364 =  if bar_index == 7930
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 778" + "\nDII -- 2199", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data365 =  if bar_index == 7931
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 3163" + "\nDII + 245", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data366 =  if bar_index == 7932
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1942" + "\nDII + 405", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data367 =  if bar_index == 7933
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1833" + "\nDII -- 790", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data368 =  if bar_index == 7934
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 990" + "\nDII -- 200", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data369 =  if bar_index == 7935
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1014" + "\nDII -- 922", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data370 =  if bar_index == 7936
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1685" + "\nDII + 191", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data371 =  if bar_index == 7937
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1407" + "\nDII -- 886", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data372 =  if bar_index == 7938
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 149" + "\nDII -- 204", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data373 =  if bar_index == 7939
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1805" + "\nDII - 850", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data374 =  if bar_index == 7940
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 113" + "\nDII + 1071", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data375 =  if bar_index == 7941
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 923" + "\nDII + 605", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data376 =  if bar_index == 7942
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 183" + "\nDII + 397", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data377 =  if bar_index == 7943
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1498" + "\nDII + 301", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data378 =  if bar_index == 7944
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 2512" + "\nDII + 338", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data379 =  if bar_index == 7945
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 350" + "\nDII + 1841", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data380 =  if bar_index == 7946
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 2290" + "\nDII + 854", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data381 =  if bar_index == 7947
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 2086" + "\nDII -- 439", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data382 =  if bar_index == 7948
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 3406" + "\nDII -- 2529", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data383 =  if bar_index == 7949
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 2652" + "\nDII + 489", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data384 =  if bar_index == 7950
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 643" + "\nDII + 582", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data385 =  if bar_index == 7951
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 701" + "\nDII + 1196", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data386 =  if bar_index == 7952
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 111" + "\nDII -- 489", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data387 =  if bar_index == 7953
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1446" + "\nDII + 392", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data388 =  if bar_index == 7954
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 613" + "\nDII -- 405", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data389 =  if bar_index == 7955
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 309" + "\nDII + 1246", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data390 =  if bar_index == 7956
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 594" + "\nDII + 1794", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data391 =  if bar_index == 7957
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 2200" + "\nDII -- 203", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data392 =  if bar_index == 7958
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 1863" + "\nDII -- 655", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data393 =  if bar_index == 7959
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 3282" + "\nDII -- 298", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data394 =  if bar_index == 7960
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 181" + "\nDII + 681", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data395 =  if bar_index == 7961
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1031" + "\nDII -- 365", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data396 =  if bar_index == 7962
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 1943" + "\nDII + 1973", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data397 =  if bar_index == 7963
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 4013" + "\nDII + 550", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data398 =  if bar_index == 7964
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 693" + "\nDII + 219", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data399 =  if bar_index == 7965
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 344" + "\nDII -- 684", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data400 =  if bar_index == 7966
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  -- 409" + "\nDII + 250", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data401 =  if bar_index == 7967
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII  + 2024" + "\nDII -- 1991", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data402 =  if bar_index == 7968
    label.new(bar_index, na, color = selectedColor, style=label.style_triangleup, text="𝗙𝗜𝗜 + 𝟭𝟮,𝟯𝟱𝟬 𝗠𝗮𝘀𝘀𝗶𝘃𝗲\n2nd March also above\n12K buying done" + "\n\nDII -- 1021", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data403 =  if bar_index == 7969
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 6398" + "\nDII + 1198", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data404 =  if bar_index == 7970
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 1196" + "\nDII -- 338", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data405 =  if bar_index == 7971
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 2134" + "\nDII -- 785", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data406 =  if bar_index == 7972
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 2290" + "\nDII -- 439", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data407 =  if bar_index == 7973
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 2833" + "\nDII -- 2352", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data408 =  if bar_index == 7974
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 871" + "\nDII -- 2964", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data409 =  if bar_index == 7975
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 1059" + "\nDII + 288", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data410 =  if bar_index == 7976
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 1469" + "\nDII -- 7", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data411 =  if bar_index == 7977
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1242" + "\nDII + 437", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

//
data412 =  if bar_index == 7978
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 2238" + "\nDII -- 1197", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data413 =  if bar_index == 7979
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 2636" + "\nDII -- 772", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data414 =  if bar_index == 7980
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 73" + "\nDII + 64", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data415 =  if bar_index == 7981
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 2116" + "\nDII -- 1317", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data416 =  if bar_index == 7982
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 1166" + "\nDII -- 2135", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data417 =  if bar_index == 7983
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 3371" + "\nDII -- 193", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data418 =  if bar_index == 7984
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1999" + "\nDII + 1291", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data419 =  if bar_index == 7985
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 83" + "\nDII + 934", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data420 =  if bar_index == 7986
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 1089" + "\nDII -- 334", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data421 =  if bar_index == 7987
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 923" + "\nDII + 470", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data422 =  if bar_index == 7988
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 3979" + "\nDII + 2528", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data423 =  if bar_index == 7989
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1024" + "\nDII + 1634", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data424 =  if bar_index == 7990
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 702" + "\nDII + 2488", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data425 =  if bar_index == 7991
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 93" + "\nDII + 1036", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data426 =  if bar_index == 7992
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1878" + "\nDII -- 2", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data427 =  if bar_index == 7993
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 317" + "\nDII + 1729", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data428 =  if bar_index == 7994
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 556" + "\nDII + 367", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data429 =  if bar_index == 7995
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1893" + "\nDII + 1081", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data430 =  if bar_index == 7996
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 711" + "\nDII + 537", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data431 =  if bar_index == 7997
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 644" + "\nDII -- 598", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data432 =  if bar_index == 7998
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 331" + "\nDII + 704", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data433 =  if bar_index == 7999
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 3073" + "\nDII + 500", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data434 =  if bar_index == 8000
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 2324" + "\nDII + 1461", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data435 =  if bar_index == 8001
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 723" + "\nDII + 2406", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data436 =  if bar_index == 8002
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1511" + "\nDII -- 314", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data437 =  if bar_index == 8003
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 267" + "\nDII + 339", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data438 =  if bar_index == 8004
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1901" + "\nDII + 626", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data439 =  if bar_index == 8005
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 495" + "\nDII + 534", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data440 =  if bar_index == 8006
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 624" + "\nDII + 125", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data441 =  if bar_index == 8007
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 1525" + "\nDII + 5797", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data442 =  if bar_index == 8008
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 4638" + "\nDII + 1414", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)


data443 =  if bar_index == 8009
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1393" + "\nDII + 1264", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data444 =  if bar_index == 8010
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 62" + "\nDII + 305", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data445 =  if bar_index == 8011
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 495" + "\nDII + 1323", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data446 =  if bar_index == 8012
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 2973" + "\nDII + 4383", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data447 =  if bar_index == 8013
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 488" + "\nDII + 2295", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data448 =  if bar_index == 8014
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 3368" + "\nDII + 2563", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data449 =  if bar_index == 8015
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1725" + "\nDII + 1078", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data450 =  if bar_index == 8016
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 3246" + "\nDII -- 247", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data451 =  if bar_index == 8017
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 759" + "\nDII + 28", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data452 =  if bar_index == 8018
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 224" + "\nDII + 1150", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data453 =  if bar_index == 8019
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 1473" + "\nDII + 366", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data454 =  if bar_index == 8020
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1047" + "\nDII + 260", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data455 =  if bar_index == 8021
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1632" + "\nDII + 850", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data456 =  if bar_index == 8022
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 295" + "\nDII -- 51", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data457 =  if bar_index == 8023
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 164" + "\nDII + 1939", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data458 =  if bar_index == 8024
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1237" + "\nDII + 553", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data459 =  if bar_index == 8025
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 3110" + "\nDII -- 573", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data460 =  if bar_index == 8026
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 3007" + "\nDII + 1158", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data461 =  if bar_index == 8027
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1327" + "\nDII + 801", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data462 =  if bar_index == 8028
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 2333" + "\nDII + 1579", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data463 =  if bar_index == 8029
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 693" + "\nDII + 714", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data464 =  if bar_index == 8030
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 354" + "\nDII + 386", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data465 =  if bar_index == 8031
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 3364" + "\nDII + 2711", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data466 =  if bar_index == 8032
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1686" + "\nDII + 2751", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data467 =  if bar_index == 8033
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 2034" + "\nDII + 1361", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data468 =  if bar_index == 8034
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 4424" + "\nDII + 1769", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data469 =  if bar_index == 8035
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1864" + "\nDII + 521", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data470 =  if bar_index == 8036
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 90" + "\nDII + 783", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data471 =  if bar_index == 8037
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 998" + "\nDII + 2661", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data472 =  if bar_index == 8038
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1005" + "\nDII + 1963", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data473 =  if bar_index == 8039
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 422" + "\nDII + 1032", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data474 =  if bar_index == 8040
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1863" + "\nDII + 1532", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data475 =  if bar_index == 8041
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 317" + "\nDII -- 103", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data476 =  if bar_index == 8042
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 593" + "\nDII + 1184", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data477 =  if bar_index == 8043
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 264" + "\nDII + 113", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data478 =  if bar_index == 8044
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1832" + "\nDII + 1470", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data479 =  if bar_index == 8045
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1093" + "\nDII + 736", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data480 =  if bar_index == 8046
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 456" + "\nDII + 9", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data481 =  if bar_index == 8047
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 252" + "\nDII + 1112", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data482 =  if bar_index == 8048
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 4237" + "\nDII + 3569", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

str_data_Analysis = "Previous data analysis:\n25th Jan 2022 FII Sold worth 7K market went up ↑.\n
 8th March 2022 FII Sold worth 8K market went up ↑.\n
 17th June 2022 FII Sold worth 8K+ market went up ↑.\n\n
 30th Nov 2022 FII Bought worth 8K market went down nicely ↓\n\n
 26th Oct 2023 FII Sold worth 7K guess it & play well. \n"

data483 =  if bar_index == 8049
//    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 7702" + "\nDII + 6558", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)
    label.new(bar_index, low, color = color.black, style=label.style_label_up,text="FII -- 7702" + "\nDII + 6558\n", tooltip = str_data_Analysis, textcolor = selectedColor, textalign = myTextAlign, size = size.normal)

data484 =  if bar_index == 8050
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1500" + "\nDII + 313", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data485 =  if bar_index == 8051
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1762" + "\nDII + 1328", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data486 =  if bar_index == 8052
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 696" + "\nDII + 340", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data487 =  if bar_index == 8053
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1817" + "\nDII + 1622", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data488 =  if bar_index == 8054
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1251" + "\nDII + 1380", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data489 =  if bar_index == 8055
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 12" + "\nDII + 403", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data490 =  if bar_index == 8056
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 549" + "\nDII + 596", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data491 =  if bar_index == 8057
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 497" + "\nDII + 700", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data492 =  if bar_index == 8058
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 85" + "\nDII + 524", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data493 =  if bar_index == 8059
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1712" + "\nDII + 1512", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data494 =  if bar_index == 8060
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 262" + "\nDII + 823", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data495 =  if bar_index == 8061
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 190" + "\nDII + 95", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data496 =  if bar_index == 8062
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 1244" + "\nDII + 830", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data497 =  if bar_index == 8063
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 550" + "\nDII + 610", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data498 =  if bar_index == 8064
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII +957" + "\nDII + 706", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data499 =  if bar_index == 8065
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 478" + "\nDII -- 565", textcolor = bothSelling, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data500 =  if bar_index == 8066
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 646" + "\nDII + 78", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data501 =  if bar_index == 8067
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 456" + "\nDII + 722", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data502 =  if bar_index == 8068
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII -- 306" + "\nDII + 721", textcolor = selectedColor, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data503 =  if bar_index == 8069
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 256" + "\nDII + 457", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)

data504 =  if bar_index == 8070
    label.new(bar_index, na, color = selectedColor, style=label.style_none, text="FII + 2625" + "\nDII + 134", textcolor = bothBuying, textalign = myTextAlign, size = labelSize, yloc = yloc.abovebar)


var table atrDisplay = table.new(tableYposInput + "_" + tableXposInput, 1, 1)

// {0, number, #.####}
myStr = " Net FII  " + str.format("{0}", netFII) + "  crores" + "\nDII +" + str.format("{0}", netDII) + "  crores\n\n" + 
   "Nov FII " + str.format("{0}", nov23FII) + "  crores" + "\n" + "Nov DII " + str.format("{0}", nov23DII) + "  crores" + "\n\n" +
   "Oct FII " + str.format("{0}", oct23FII) + "  crores" + "\n" + "Oct DII " + str.format("{0}", oct23DII) + "  crores" + "\n\n" +
   "Sep FII " + str.format("{0}", sep23FII) + "  crores" + "\n" + "Sep DII " + str.format("{0}", sep23DII) + "  crores" + "\n\n" +
   "Aug FII " + str.format("{0}", aug23FII) + "  crores" + "\n" + "Aug DII " + str.format("{0}", aug23DII) + "  crores" + "\n\n"
//    "July FII " + str.format("{0}", july23FII) + "  crores" + "\n" + "July DII " + str.format("{0}", july23DII) + "  crores" + "\n\n"
//   "June FII " + str.format("{0}", june23FII) + "  crores" + "\n" + "June DII " + str.format("{0}", june23DII) + "  crores" + "\n\n"
//   "May FII " + str.format("{0}", may23FII) + "  crores" + "\n" + "May DII " + str.format("{0}", may23DII) + "  crores" + "\n\n"
//   "April FII " + str.format("{0}", apr23FII) + "  crores" + "\n" + "April DII " + str.format("{0}", apr23DII) + "  crores" + "\n\n"
//    "March FII " + str.format("{0}", mar23FII) + "  crores" + "\n" + "March DII " + str.format("{0}", mar23DII) + "  crores" + "\n\n"
//   "Feb FII " + str.format("{0}", feb23FII) + "  crores" + "\n" + "Feb DII " + str.format("{0}", feb23DII) + "  crores" + "\n\n"
//    "Jan FII " + str.format("{0}", jan23FII) + "  crores" + "\n" + "Jan DII " + str.format("{0}", jan23DII) + "  crores" + "\n\n"
//    "Dec FII " + str.format("{0}", decFII) + "  crores" + "\n" + "Dec DII " + str.format("{0}", decDII) + "  crores" + "\n\n"
//   "Nov FII " + str.format("{0}", novFII) + "  crores" + "\n" + "Nov DII " + str.format("{0}", novDII) + "  crores"
//    +
//    "Oct FII " + str.format("{0}", octFII) + "  crores" + "\n" + "Oct DII " + str.format("{0}", octDII) + "  crores"

showAllStr = " Net FII  " + str.format("{0}", netFII) + "  crores" + "\nDII +" + str.format("{0}", netDII) + "  crores\n\n" + 
   "Nov FII " + str.format("{0}", nov23FII) + "  crores" + "\n" + "Nov DII " + str.format("{0}", nov23DII) + "  crores" + "\n\n" +
   "Oct FII " + str.format("{0}", oct23FII) + "  crores" + "\n" + "Oct DII " + str.format("{0}", oct23DII) + "  crores" + "\n\n" +
   "Sep FII " + str.format("{0}", sep23FII) + "  crores" + "\n" + "Sep DII " + str.format("{0}", sep23DII) + "  crores" + "\n\n" +
   "Aug FII " + str.format("{0}", aug23FII) + "  crores" + "\n" + "Aug DII " + str.format("{0}", aug23DII) + "  crores" + "\n\n" +
   "July FII " + str.format("{0}", july23FII) + "  crores" + "\n" + "July DII " + str.format("{0}", july23DII) + "  crores" + "\n\n" +
   "June FII " + str.format("{0}", june23FII) + "  crores" + "\n" + "June DII " + str.format("{0}", june23DII) + "  crores" + "\n\n" +
   "May FII " + str.format("{0}", may23FII) + "  crores" + "\n" + "May DII " + str.format("{0}", may23DII) + "  crores" + "\n\n" +
   "April FII " + str.format("{0}", apr23FII) + "  crores" + "\n" + "April DII " + str.format("{0}", apr23DII) + "  crores" + "\n\n" +
   "March FII " + str.format("{0}", mar23FII) + "  crores" + "\n" + "March DII " + str.format("{0}", mar23DII) + "  crores" + "\n\n" +
   "Feb FII " + str.format("{0}", feb23FII) + "  crores" + "\n" + "Feb DII " + str.format("{0}", feb23DII) + "  crores" + "\n\n" +
   "Jan FII " + str.format("{0}", jan23FII) + "  crores" + "\n" + "Jan DII " + str.format("{0}", jan23DII) + "  crores" + "\n\n" +
   "Dec22 FII " + str.format("{0}", decFII) + "  crores" + "\n" + "Dec22 DII " + str.format("{0}", decDII) + "  crores" + "\n\n" +
   "Nov22 FII " + str.format("{0}", novFII) + "  crores" + "\n" + "Nov22 DII " + str.format("{0}", novDII) + "  crores"
//    +
//    "Oct FII " + str.format("{0}", octFII) + "  crores" + "\n" + "Oct DII " + str.format("{0}", octDII) + "  crores"


if barstate.islast
    // We only populate the table on the last bar.
    if showAll == false
        table.cell(atrDisplay, 0, 0, myStr, text_color = color.rgb(210,219,35), text_halign = text.align_right, text_size = size.normal, bgcolor = color.black, text_font_family = font.family_monospace)
    else if showAll == true
        table.cell(atrDisplay, 0, 0, showAllStr, text_color = color.rgb(210,219,35), text_halign = text.align_right, text_size = size.normal, bgcolor = color.black, text_font_family = font.family_monospace)


