Highs and Lows of everyday on a daily chart for 1 year

Neel2020

New member
Is there any indicator that draws lines of all the highs and lows of all days (on a Daily chart for 1 Year)?

TOS has an indicator - DailyHighLow which plots like the image below. But I am looking for an indicator which draws the lines all the way to the right and shows the price level too.
14553[/ATTACH]']
Wi4BTHs.png
 

Attachments

  • Wi4BTHs.png
    Wi4BTHs.png
    261.3 KB · Views: 71
Last edited by a moderator:
Solution
ThinkScript does not support the type of arrays necessary to this. You could perhaps hard-code a limited number of them, but you would need a massive block of plot p1 = x, plot p2 = y, plot p3 = z, and on and on... Then when there is a new value, it would be like p1 = new value, p2 = p1[1], p3 = p2[1], and on and on... but I am certainly not going to copy and paste that like 100 times and edit all those numbers one by one. You're on your own there. Good luck.

It might just be best to dynamically find a small number of those which are most recent / nearest to current prices.
ThinkScript does not support the type of arrays necessary to this. You could perhaps hard-code a limited number of them, but you would need a massive block of plot p1 = x, plot p2 = y, plot p3 = z, and on and on... Then when there is a new value, it would be like p1 = new value, p2 = p1[1], p3 = p2[1], and on and on... but I am certainly not going to copy and paste that like 100 times and edit all those numbers one by one. You're on your own there. Good luck.

It might just be best to dynamically find a small number of those which are most recent / nearest to current prices.
 
Solution

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

ThinkScript does not support the type of arrays necessary to this. You could perhaps hard-code a limited number of them, but you would need a massive block of plot p1 = x, plot p2 = y, plot p3 = z, and on and on... Then when there is a new value, it would be like p1 = new value, p2 = p1[1], p3 = p2[1], and on and on... but I am certainly not going to copy and paste that like 100 times and edit all those numbers one by one. You're on your own there. Good luck.

It might just be best to dynamically find a small number of those which are most recent / nearest to current prices.
Thank you for the reply Joshua! I am wondering how the DailyHighLow indicator on TOS works, so basically I am wondering if there is a way to just extend those lines all the way to the right side of the chart, so I can see the historical support and resistance.
 
Thank you for the reply Joshua! I am wondering how the DailyHighLow indicator on TOS works, so basically I am wondering if there is a way to just extend those lines all the way to the right side of the chart, so I can see the historical support and resistance.

As Joshua indicated, TOS does not support the type of plotting you are requested with a built-in function. You can manually do it, but it is a very manual process. The script below will do want you want for a few extended lines. You can create more using the logic for the ones in the script.

Capture.jpg
Ruby:
#Example_PreviousDaysHL-each_extended_through_expansion
#20170911 - BLT
#Example Highs/Lows from previous days, extended from each day through the right expansion
script philow {
    input n = 1;
    def ymd = GetYYYYMMDD();
    def ok = !IsNaN(close);
    def capture = ok and ymd != ymd[1];
    def dayCount = CompoundValue(1, if capture
                                    then dayCount[1] + 1
                                    else dayCount[1], 0);
    def thisDay = (HighestAll(dayCount) - dayCount) ;
    def hh = CompoundValue(1, if thisDay == n and SecondsFromTime(0930) == 0
                              then high
                              else if thisDay == n and  high > hh[1]
                              then high
                              else hh[1] , high);
    def hhnan = if IsNaN(close) then hhnan[1] else hh;
    plot hhplot = if thisDay == n and SecondsFromTime(0930) < 0
                  then Double.NaN
                  else if thisDay <= n
                  then hhnan
                  else Double.NaN;

    def ll = CompoundValue(1, if thisDay == n and SecondsFromTime(0930) == 0
                              then low
                              else if  thisDay == n and low < ll[1]
                              then low
                              else ll[1] , low);
    def llnan   = if IsNaN(ll) then llnan[1] else ll;
    plot llplot = if thisDay == n and SecondsFromTime(0930) < 0
                  then Double.NaN
                  else if thisDay <= n
                  then (llnan)
                  else Double.NaN;
}

#Plots of Highs/Lows based upon script...add more days using similar plot statements, increasing the value by 1
plot H1 = philow(1);
plot H2 = philow(2);
plot H3 = philow(3);

plot L1 = philow(1).llplot;
plot L2 = philow(2).llplot;
plot L3 = philow(3).llplot;

defineGlobalColor("H",color.red);
defineGlobalColor("L",color.green);
H1.setdefaultColor(globalColor("H"));
H2.setdefaultColor(globalColor("H"));
H3.setdefaultColor(globalColor("H"));

L1.setdefaultColor(globalColor("L"));
L2.setdefaultColor(globalColor("L"));
L3.setdefaultColor(globalColor("L"));
 
As Joshua indicated, TOS does not support the type of plotting you are requested with a built-in function. You can manually do it, but it is a very manual process. The script below will do want you want for a few extended lines. You can create more using the logic for the ones in the script.
Great Thank you for the code SleepyZ!
 
Great Thank you for the code SleepyZ!
On excel I updated the code for high and lows (Daily candle chart) below. Unfortunately Thinkorswim error says script too long.
Is there a way to shorten the code or is there a tradingview indicator that draws a line from the price to the right for highs and lows of all 365 days in the past?
Code:
#Example_PreviousDaysHL-each_extended_through_expansion
#20170911 - BLT
#Example Highs/Lows from previous days, extended from each day through the right expansion
script philow {
    input n = 1;
    def ymd = GetYYYYMMDD();
    def ok = !IsNaN(close);
    def capture = ok and ymd != ymd[1];
    def dayCount = CompoundValue(1, if capture
                                    then dayCount[1] + 1
                                    else dayCount[1], 0);
    def thisDay = (HighestAll(dayCount) - dayCount) ;
    def hh = CompoundValue(1, if thisDay == n and SecondsFromTime(0930) == 0
                              then high
                              else if thisDay == n and  high > hh[1]
                              then high
                              else hh[1] , high);
    def hhnan = if IsNaN(close) then hhnan[1] else hh;
    plot hhplot = if thisDay == n and SecondsFromTime(0930) < 0
                  then Double.NaN
                  else if thisDay <= n
                  then hhnan
                  else Double.NaN;

    def ll = CompoundValue(1, if thisDay == n and SecondsFromTime(0930) == 0
                              then low
                              else if  thisDay == n and low < ll[1]
                              then low
                              else ll[1] , low);
    def llnan   = if IsNaN(ll) then llnan[1] else ll;
    plot llplot = if thisDay == n and SecondsFromTime(0930) < 0
                  then Double.NaN
                  else if thisDay <= n
                  then (llnan)
                  else Double.NaN;
}

#Plots of Highs/Lows based upon script...add more days using similar plot statements, increasing the value by 1
plot H1 = philow(1).llplot;
plot H2 = philow(2).llplot;
plot H3 = philow(3).llplot;
plot H4 = philow(4).llplot;
plot H5 = philow(5).llplot;
plot H6 = philow(6).llplot;
plot H7 = philow(7).llplot;
plot H8 = philow(8).llplot;
plot H9 = philow(9).llplot;
plot H10 = philow(10).llplot;
plot H11 = philow(11).llplot;
plot H12 = philow(12).llplot;
plot H13 = philow(13).llplot;
plot H14 = philow(14).llplot;
plot H15 = philow(15).llplot;
plot H16 = philow(16).llplot;
plot H17 = philow(17).llplot;
plot H18 = philow(18).llplot;
plot H19 = philow(19).llplot;
plot H20 = philow(20).llplot;
plot H21 = philow(21).llplot;
plot H22 = philow(22).llplot;
plot H23 = philow(23).llplot;
plot H24 = philow(24).llplot;
plot H25 = philow(25).llplot;
plot H26 = philow(26).llplot;
plot H27 = philow(27).llplot;
plot H28 = philow(28).llplot;
plot H29 = philow(29).llplot;
plot H30 = philow(30).llplot;
plot H31 = philow(31).llplot;
plot H32 = philow(32).llplot;
plot H33 = philow(33).llplot;
plot H34 = philow(34).llplot;
plot H35 = philow(35).llplot;
plot H36 = philow(36).llplot;
plot H37 = philow(37).llplot;
plot H38 = philow(38).llplot;
plot H39 = philow(39).llplot;
plot H40 = philow(40).llplot;
plot H41 = philow(41).llplot;
plot H42 = philow(42).llplot;
plot H43 = philow(43).llplot;
plot H44 = philow(44).llplot;
plot H45 = philow(45).llplot;
plot H46 = philow(46).llplot;
plot H47 = philow(47).llplot;
plot H48 = philow(48).llplot;
plot H49 = philow(49).llplot;
plot H50 = philow(50).llplot;
plot H51 = philow(51).llplot;
plot H52 = philow(52).llplot;
plot H53 = philow(53).llplot;
plot H54 = philow(54).llplot;
plot H55 = philow(55).llplot;
plot H56 = philow(56).llplot;
plot H57 = philow(57).llplot;
plot H58 = philow(58).llplot;
plot H59 = philow(59).llplot;
plot H60 = philow(60).llplot;
plot H61 = philow(61).llplot;
plot H62 = philow(62).llplot;
plot H63 = philow(63).llplot;
plot H64 = philow(64).llplot;
plot H65 = philow(65).llplot;
plot H66 = philow(66).llplot;
plot H67 = philow(67).llplot;
plot H68 = philow(68).llplot;
plot H69 = philow(69).llplot;
plot H70 = philow(70).llplot;
plot H71 = philow(71).llplot;
plot H72 = philow(72).llplot;
plot H73 = philow(73).llplot;
plot H74 = philow(74).llplot;
plot H75 = philow(75).llplot;
plot H76 = philow(76).llplot;
plot H77 = philow(77).llplot;
plot H78 = philow(78).llplot;
plot H79 = philow(79).llplot;
plot H80 = philow(80).llplot;
plot H81 = philow(81).llplot;
plot H82 = philow(82).llplot;
plot H83 = philow(83).llplot;
plot H84 = philow(84).llplot;
plot H85 = philow(85).llplot;
plot H86 = philow(86).llplot;
plot H87 = philow(87).llplot;
plot H88 = philow(88).llplot;
plot H89 = philow(89).llplot;
plot H90 = philow(90).llplot;
plot H91 = philow(91).llplot;
plot H92 = philow(92).llplot;
plot H93 = philow(93).llplot;
plot H94 = philow(94).llplot;
plot H95 = philow(95).llplot;
plot H96 = philow(96).llplot;
plot H97 = philow(97).llplot;
plot H98 = philow(98).llplot;
plot H99 = philow(99).llplot;
plot H100 = philow(100).llplot;
plot H101 = philow(101).llplot;
plot H102 = philow(102).llplot;
plot H103 = philow(103).llplot;
plot H104 = philow(104).llplot;
plot H105 = philow(105).llplot;
plot H106 = philow(106).llplot;
plot H107 = philow(107).llplot;
plot H108 = philow(108).llplot;
plot H109 = philow(109).llplot;
plot H110 = philow(110).llplot;
plot H111 = philow(111).llplot;
plot H112 = philow(112).llplot;
plot H113 = philow(113).llplot;
plot H114 = philow(114).llplot;
plot H115 = philow(115).llplot;
plot H116 = philow(116).llplot;
plot H117 = philow(117).llplot;
plot H118 = philow(118).llplot;
plot H119 = philow(119).llplot;
plot H120 = philow(120).llplot;
plot H121 = philow(121).llplot;
plot H122 = philow(122).llplot;
plot H123 = philow(123).llplot;
plot H124 = philow(124).llplot;
plot H125 = philow(125).llplot;
plot H126 = philow(126).llplot;
plot H127 = philow(127).llplot;
plot H128 = philow(128).llplot;
plot H129 = philow(129).llplot;
plot H130 = philow(130).llplot;
plot H131 = philow(131).llplot;
plot H132 = philow(132).llplot;
plot H133 = philow(133).llplot;
plot H134 = philow(134).llplot;
plot H135 = philow(135).llplot;
plot H136 = philow(136).llplot;
plot H137 = philow(137).llplot;
plot H138 = philow(138).llplot;
plot H139 = philow(139).llplot;
plot H140 = philow(140).llplot;
plot H141 = philow(141).llplot;
plot H142 = philow(142).llplot;
plot H143 = philow(143).llplot;
plot H144 = philow(144).llplot;
plot H145 = philow(145).llplot;
plot H146 = philow(146).llplot;
plot H147 = philow(147).llplot;
plot H148 = philow(148).llplot;
plot H149 = philow(149).llplot;
plot H150 = philow(150).llplot;
plot H151 = philow(151).llplot;
plot H152 = philow(152).llplot;
plot H153 = philow(153).llplot;
plot H154 = philow(154).llplot;
plot H155 = philow(155).llplot;
plot H156 = philow(156).llplot;
plot H157 = philow(157).llplot;
plot H158 = philow(158).llplot;
plot H159 = philow(159).llplot;
plot H160 = philow(160).llplot;
plot H161 = philow(161).llplot;
plot H162 = philow(162).llplot;
plot H163 = philow(163).llplot;
plot H164 = philow(164).llplot;
plot H165 = philow(165).llplot;
plot H166 = philow(166).llplot;
plot H167 = philow(167).llplot;
plot H168 = philow(168).llplot;
plot H169 = philow(169).llplot;
plot H170 = philow(170).llplot;
plot H171 = philow(171).llplot;
plot H172 = philow(172).llplot;
plot H173 = philow(173).llplot;
plot H174 = philow(174).llplot;
plot H175 = philow(175).llplot;
plot H176 = philow(176).llplot;
plot H177 = philow(177).llplot;
plot H178 = philow(178).llplot;
plot H179 = philow(179).llplot;
plot H180 = philow(180).llplot;
plot H181 = philow(181).llplot;
plot H182 = philow(182).llplot;
plot H183 = philow(183).llplot;
plot H184 = philow(184).llplot;
plot H185 = philow(185).llplot;
plot H186 = philow(186).llplot;
plot H187 = philow(187).llplot;
plot H188 = philow(188).llplot;
plot H189 = philow(189).llplot;
plot H190 = philow(190).llplot;
plot H191 = philow(191).llplot;
plot H192 = philow(192).llplot;
plot H193 = philow(193).llplot;
plot H194 = philow(194).llplot;
plot H195 = philow(195).llplot;
plot H196 = philow(196).llplot;
plot H197 = philow(197).llplot;
plot H198 = philow(198).llplot;
plot H199 = philow(199).llplot;
plot H200 = philow(200).llplot;
plot H201 = philow(201).llplot;
plot H202 = philow(202).llplot;
plot H203 = philow(203).llplot;
plot H204 = philow(204).llplot;
plot H205 = philow(205).llplot;
plot H206 = philow(206).llplot;
plot H207 = philow(207).llplot;
plot H208 = philow(208).llplot;
plot H209 = philow(209).llplot;
plot H210 = philow(210).llplot;
plot H211 = philow(211).llplot;
plot H212 = philow(212).llplot;
plot H213 = philow(213).llplot;
plot H214 = philow(214).llplot;
plot H215 = philow(215).llplot;
plot H216 = philow(216).llplot;
plot H217 = philow(217).llplot;
plot H218 = philow(218).llplot;
plot H219 = philow(219).llplot;
plot H220 = philow(220).llplot;
plot H221 = philow(221).llplot;
plot H222 = philow(222).llplot;
plot H223 = philow(223).llplot;
plot H224 = philow(224).llplot;
plot H225 = philow(225).llplot;
plot H226 = philow(226).llplot;
plot H227 = philow(227).llplot;
plot H228 = philow(228).llplot;
plot H229 = philow(229).llplot;
plot H230 = philow(230).llplot;
plot H231 = philow(231).llplot;
plot H232 = philow(232).llplot;
plot H233 = philow(233).llplot;
plot H234 = philow(234).llplot;
plot H235 = philow(235).llplot;
plot H236 = philow(236).llplot;
plot H237 = philow(237).llplot;
plot H238 = philow(238).llplot;
plot H239 = philow(239).llplot;
plot H240 = philow(240).llplot;
plot H241 = philow(241).llplot;
plot H242 = philow(242).llplot;
plot H243 = philow(243).llplot;
plot H244 = philow(244).llplot;
plot H245 = philow(245).llplot;
plot H246 = philow(246).llplot;
plot H247 = philow(247).llplot;
plot H248 = philow(248).llplot;
plot H249 = philow(249).llplot;
plot H250 = philow(250).llplot;
plot H251 = philow(251).llplot;
plot H252 = philow(252).llplot;
plot H253 = philow(253).llplot;
plot H254 = philow(254).llplot;
plot H255 = philow(255).llplot;
plot H256 = philow(256).llplot;
plot H257 = philow(257).llplot;
plot H258 = philow(258).llplot;
plot H259 = philow(259).llplot;
plot H260 = philow(260).llplot;
plot H261 = philow(261).llplot;
plot H262 = philow(262).llplot;
plot H263 = philow(263).llplot;
plot H264 = philow(264).llplot;
plot H265 = philow(265).llplot;
plot H266 = philow(266).llplot;
plot H267 = philow(267).llplot;
plot H268 = philow(268).llplot;
plot H269 = philow(269).llplot;
plot H270 = philow(270).llplot;
plot H271 = philow(271).llplot;
plot H272 = philow(272).llplot;
plot H273 = philow(273).llplot;
plot H274 = philow(274).llplot;
plot H275 = philow(275).llplot;
plot H276 = philow(276).llplot;
plot H277 = philow(277).llplot;
plot H278 = philow(278).llplot;
plot H279 = philow(279).llplot;
plot H280 = philow(280).llplot;
plot H281 = philow(281).llplot;
plot H282 = philow(282).llplot;
plot H283 = philow(283).llplot;
plot H284 = philow(284).llplot;
plot H285 = philow(285).llplot;
plot H286 = philow(286).llplot;
plot H287 = philow(287).llplot;
plot H288 = philow(288).llplot;
plot H289 = philow(289).llplot;
plot H290 = philow(290).llplot;
plot H291 = philow(291).llplot;
plot H292 = philow(292).llplot;
plot H293 = philow(293).llplot;
plot H294 = philow(294).llplot;
plot H295 = philow(295).llplot;
plot H296 = philow(296).llplot;
plot H297 = philow(297).llplot;
plot H298 = philow(298).llplot;
plot H299 = philow(299).llplot;
plot H300 = philow(300).llplot;
plot H301 = philow(301).llplot;
plot H302 = philow(302).llplot;
plot H303 = philow(303).llplot;
plot H304 = philow(304).llplot;
plot H305 = philow(305).llplot;
plot H306 = philow(306).llplot;
plot H307 = philow(307).llplot;
plot H308 = philow(308).llplot;
plot H309 = philow(309).llplot;
plot H310 = philow(310).llplot;
plot H311 = philow(311).llplot;
plot H312 = philow(312).llplot;
plot H313 = philow(313).llplot;
plot H314 = philow(314).llplot;
plot H315 = philow(315).llplot;
plot H316 = philow(316).llplot;
plot H317 = philow(317).llplot;
plot H318 = philow(318).llplot;
plot H319 = philow(319).llplot;
plot H320 = philow(320).llplot;
plot H321 = philow(321).llplot;
plot H322 = philow(322).llplot;
plot H323 = philow(323).llplot;
plot H324 = philow(324).llplot;
plot H325 = philow(325).llplot;
plot H326 = philow(326).llplot;
plot H327 = philow(327).llplot;
plot H328 = philow(328).llplot;
plot H329 = philow(329).llplot;
plot H330 = philow(330).llplot;
plot H331 = philow(331).llplot;
plot H332 = philow(332).llplot;
plot H333 = philow(333).llplot;
plot H334 = philow(334).llplot;
plot H335 = philow(335).llplot;
plot H336 = philow(336).llplot;
plot H337 = philow(337).llplot;
plot H338 = philow(338).llplot;
plot H339 = philow(339).llplot;
plot H340 = philow(340).llplot;
plot H341 = philow(341).llplot;
plot H342 = philow(342).llplot;
plot H343 = philow(343).llplot;
plot H344 = philow(344).llplot;
plot H345 = philow(345).llplot;
plot H346 = philow(346).llplot;
plot H347 = philow(347).llplot;
plot H348 = philow(348).llplot;
plot H349 = philow(349).llplot;
plot H350 = philow(350).llplot;
plot H351 = philow(351).llplot;
plot H352 = philow(352).llplot;
plot H353 = philow(353).llplot;
plot H354 = philow(354).llplot;
plot H355 = philow(355).llplot;
plot H356 = philow(356).llplot;
plot H357 = philow(357).llplot;
plot H358 = philow(358).llplot;
plot H359 = philow(359).llplot;
plot H360 = philow(360).llplot;
plot H361 = philow(361).llplot;
plot H362 = philow(362).llplot;
plot H363 = philow(363).llplot;
plot H364 = philow(364).llplot;
plot H365 = philow(365).llplot;


plot L1 = philow(1).llplot;
plot L2 = philow(2).llplot;
plot L3 = philow(3).llplot;
plot L4 = philow(4).llplot;
plot L5 = philow(5).llplot;
plot L6 = philow(6).llplot;
plot L7 = philow(7).llplot;
plot L8 = philow(8).llplot;
plot L9 = philow(9).llplot;
plot L10 = philow(10).llplot;
plot L11 = philow(11).llplot;
plot L12 = philow(12).llplot;
plot L13 = philow(13).llplot;
plot L14 = philow(14).llplot;
plot L15 = philow(15).llplot;
plot L16 = philow(16).llplot;
plot L17 = philow(17).llplot;
plot L18 = philow(18).llplot;
plot L19 = philow(19).llplot;
plot L20 = philow(20).llplot;
plot L21 = philow(21).llplot;
plot L22 = philow(22).llplot;
plot L23 = philow(23).llplot;
plot L24 = philow(24).llplot;
plot L25 = philow(25).llplot;
plot L26 = philow(26).llplot;
plot L27 = philow(27).llplot;
plot L28 = philow(28).llplot;
plot L29 = philow(29).llplot;
plot L30 = philow(30).llplot;
plot L31 = philow(31).llplot;
plot L32 = philow(32).llplot;
plot L33 = philow(33).llplot;
plot L34 = philow(34).llplot;
plot L35 = philow(35).llplot;
plot L36 = philow(36).llplot;
plot L37 = philow(37).llplot;
plot L38 = philow(38).llplot;
plot L39 = philow(39).llplot;
plot L40 = philow(40).llplot;
plot L41 = philow(41).llplot;
plot L42 = philow(42).llplot;
plot L43 = philow(43).llplot;
plot L44 = philow(44).llplot;
plot L45 = philow(45).llplot;
plot L46 = philow(46).llplot;
plot L47 = philow(47).llplot;
plot L48 = philow(48).llplot;
plot L49 = philow(49).llplot;
plot L50 = philow(50).llplot;
plot L51 = philow(51).llplot;
plot L52 = philow(52).llplot;
plot L53 = philow(53).llplot;
plot L54 = philow(54).llplot;
plot L55 = philow(55).llplot;
plot L56 = philow(56).llplot;
plot L57 = philow(57).llplot;
plot L58 = philow(58).llplot;
plot L59 = philow(59).llplot;
plot L60 = philow(60).llplot;
plot L61 = philow(61).llplot;
plot L62 = philow(62).llplot;
plot L63 = philow(63).llplot;
plot L64 = philow(64).llplot;
plot L65 = philow(65).llplot;
plot L66 = philow(66).llplot;
plot L67 = philow(67).llplot;
plot L68 = philow(68).llplot;
plot L69 = philow(69).llplot;
plot L70 = philow(70).llplot;
plot L71 = philow(71).llplot;
plot L72 = philow(72).llplot;
plot L73 = philow(73).llplot;
plot L74 = philow(74).llplot;
plot L75 = philow(75).llplot;
plot L76 = philow(76).llplot;
plot L77 = philow(77).llplot;
plot L78 = philow(78).llplot;
plot L79 = philow(79).llplot;
plot L80 = philow(80).llplot;
plot L81 = philow(81).llplot;
plot L82 = philow(82).llplot;
plot L83 = philow(83).llplot;
plot L84 = philow(84).llplot;
plot L85 = philow(85).llplot;
plot L86 = philow(86).llplot;
plot L87 = philow(87).llplot;
plot L88 = philow(88).llplot;
plot L89 = philow(89).llplot;
plot L90 = philow(90).llplot;
plot L91 = philow(91).llplot;
plot L92 = philow(92).llplot;
plot L93 = philow(93).llplot;
plot L94 = philow(94).llplot;
plot L95 = philow(95).llplot;
plot L96 = philow(96).llplot;
plot L97 = philow(97).llplot;
plot L98 = philow(98).llplot;
plot L99 = philow(99).llplot;
plot L100 = philow(100).llplot;
plot L101 = philow(101).llplot;
plot L102 = philow(102).llplot;
plot L103 = philow(103).llplot;
plot L104 = philow(104).llplot;
plot L105 = philow(105).llplot;
plot L106 = philow(106).llplot;
plot L107 = philow(107).llplot;
plot L108 = philow(108).llplot;
plot L109 = philow(109).llplot;
plot L110 = philow(110).llplot;
plot L111 = philow(111).llplot;
plot L112 = philow(112).llplot;
plot L113 = philow(113).llplot;
plot L114 = philow(114).llplot;
plot L115 = philow(115).llplot;
plot L116 = philow(116).llplot;
plot L117 = philow(117).llplot;
plot L118 = philow(118).llplot;
plot L119 = philow(119).llplot;
plot L120 = philow(120).llplot;
plot L121 = philow(121).llplot;
plot L122 = philow(122).llplot;
plot L123 = philow(123).llplot;
plot L124 = philow(124).llplot;
plot L125 = philow(125).llplot;
plot L126 = philow(126).llplot;
plot L127 = philow(127).llplot;
plot L128 = philow(128).llplot;
plot L129 = philow(129).llplot;
plot L130 = philow(130).llplot;
plot L131 = philow(131).llplot;
plot L132 = philow(132).llplot;
plot L133 = philow(133).llplot;
plot L134 = philow(134).llplot;
plot L135 = philow(135).llplot;
plot L136 = philow(136).llplot;
plot L137 = philow(137).llplot;
plot L138 = philow(138).llplot;
plot L139 = philow(139).llplot;
plot L140 = philow(140).llplot;
plot L141 = philow(141).llplot;
plot L142 = philow(142).llplot;
plot L143 = philow(143).llplot;
plot L144 = philow(144).llplot;
plot L145 = philow(145).llplot;
plot L146 = philow(146).llplot;
plot L147 = philow(147).llplot;
plot L148 = philow(148).llplot;
plot L149 = philow(149).llplot;
plot L150 = philow(150).llplot;
plot L151 = philow(151).llplot;
plot L152 = philow(152).llplot;
plot L153 = philow(153).llplot;
plot L154 = philow(154).llplot;
plot L155 = philow(155).llplot;
plot L156 = philow(156).llplot;
plot L157 = philow(157).llplot;
plot L158 = philow(158).llplot;
plot L159 = philow(159).llplot;
plot L160 = philow(160).llplot;
plot L161 = philow(161).llplot;
plot L162 = philow(162).llplot;
plot L163 = philow(163).llplot;
plot L164 = philow(164).llplot;
plot L165 = philow(165).llplot;
plot L166 = philow(166).llplot;
plot L167 = philow(167).llplot;
plot L168 = philow(168).llplot;
plot L169 = philow(169).llplot;
plot L170 = philow(170).llplot;
plot L171 = philow(171).llplot;
plot L172 = philow(172).llplot;
plot L173 = philow(173).llplot;
plot L174 = philow(174).llplot;
plot L175 = philow(175).llplot;
plot L176 = philow(176).llplot;
plot L177 = philow(177).llplot;
plot L178 = philow(178).llplot;
plot L179 = philow(179).llplot;
plot L180 = philow(180).llplot;
plot L181 = philow(181).llplot;
plot L182 = philow(182).llplot;
plot L183 = philow(183).llplot;
plot L184 = philow(184).llplot;
plot L185 = philow(185).llplot;
plot L186 = philow(186).llplot;
plot L187 = philow(187).llplot;
plot L188 = philow(188).llplot;
plot L189 = philow(189).llplot;
plot L190 = philow(190).llplot;
plot L191 = philow(191).llplot;
plot L192 = philow(192).llplot;
plot L193 = philow(193).llplot;
plot L194 = philow(194).llplot;
plot L195 = philow(195).llplot;
plot L196 = philow(196).llplot;
plot L197 = philow(197).llplot;
plot L198 = philow(198).llplot;
plot L199 = philow(199).llplot;
plot L200 = philow(200).llplot;
plot L201 = philow(201).llplot;
plot L202 = philow(202).llplot;
plot L203 = philow(203).llplot;
plot L204 = philow(204).llplot;
plot L205 = philow(205).llplot;
plot L206 = philow(206).llplot;
plot L207 = philow(207).llplot;
plot L208 = philow(208).llplot;
plot L209 = philow(209).llplot;
plot L210 = philow(210).llplot;
plot L211 = philow(211).llplot;
plot L212 = philow(212).llplot;
plot L213 = philow(213).llplot;
plot L214 = philow(214).llplot;
plot L215 = philow(215).llplot;
plot L216 = philow(216).llplot;
plot L217 = philow(217).llplot;
plot L218 = philow(218).llplot;
plot L219 = philow(219).llplot;
plot L220 = philow(220).llplot;
plot L221 = philow(221).llplot;
plot L222 = philow(222).llplot;
plot L223 = philow(223).llplot;
plot L224 = philow(224).llplot;
plot L225 = philow(225).llplot;
plot L226 = philow(226).llplot;
plot L227 = philow(227).llplot;
plot L228 = philow(228).llplot;
plot L229 = philow(229).llplot;
plot L230 = philow(230).llplot;
plot L231 = philow(231).llplot;
plot L232 = philow(232).llplot;
plot L233 = philow(233).llplot;
plot L234 = philow(234).llplot;
plot L235 = philow(235).llplot;
plot L236 = philow(236).llplot;
plot L237 = philow(237).llplot;
plot L238 = philow(238).llplot;
plot L239 = philow(239).llplot;
plot L240 = philow(240).llplot;
plot L241 = philow(241).llplot;
plot L242 = philow(242).llplot;
plot L243 = philow(243).llplot;
plot L244 = philow(244).llplot;
plot L245 = philow(245).llplot;
plot L246 = philow(246).llplot;
plot L247 = philow(247).llplot;
plot L248 = philow(248).llplot;
plot L249 = philow(249).llplot;
plot L250 = philow(250).llplot;
plot L251 = philow(251).llplot;
plot L252 = philow(252).llplot;
plot L253 = philow(253).llplot;
plot L254 = philow(254).llplot;
plot L255 = philow(255).llplot;
plot L256 = philow(256).llplot;
plot L257 = philow(257).llplot;
plot L258 = philow(258).llplot;
plot L259 = philow(259).llplot;
plot L260 = philow(260).llplot;
plot L261 = philow(261).llplot;
plot L262 = philow(262).llplot;
plot L263 = philow(263).llplot;
plot L264 = philow(264).llplot;
plot L265 = philow(265).llplot;
plot L266 = philow(266).llplot;
plot L267 = philow(267).llplot;
plot L268 = philow(268).llplot;
plot L269 = philow(269).llplot;
plot L270 = philow(270).llplot;
plot L271 = philow(271).llplot;
plot L272 = philow(272).llplot;
plot L273 = philow(273).llplot;
plot L274 = philow(274).llplot;
plot L275 = philow(275).llplot;
plot L276 = philow(276).llplot;
plot L277 = philow(277).llplot;
plot L278 = philow(278).llplot;
plot L279 = philow(279).llplot;
plot L280 = philow(280).llplot;
plot L281 = philow(281).llplot;
plot L282 = philow(282).llplot;
plot L283 = philow(283).llplot;
plot L284 = philow(284).llplot;
plot L285 = philow(285).llplot;
plot L286 = philow(286).llplot;
plot L287 = philow(287).llplot;
plot L288 = philow(288).llplot;
plot L289 = philow(289).llplot;
plot L290 = philow(290).llplot;
plot L291 = philow(291).llplot;
plot L292 = philow(292).llplot;
plot L293 = philow(293).llplot;
plot L294 = philow(294).llplot;
plot L295 = philow(295).llplot;
plot L296 = philow(296).llplot;
plot L297 = philow(297).llplot;
plot L298 = philow(298).llplot;
plot L299 = philow(299).llplot;
plot L300 = philow(300).llplot;
plot L301 = philow(301).llplot;
plot L302 = philow(302).llplot;
plot L303 = philow(303).llplot;
plot L304 = philow(304).llplot;
plot L305 = philow(305).llplot;
plot L306 = philow(306).llplot;
plot L307 = philow(307).llplot;
plot L308 = philow(308).llplot;
plot L309 = philow(309).llplot;
plot L310 = philow(310).llplot;
plot L311 = philow(311).llplot;
plot L312 = philow(312).llplot;
plot L313 = philow(313).llplot;
plot L314 = philow(314).llplot;
plot L315 = philow(315).llplot;
plot L316 = philow(316).llplot;
plot L317 = philow(317).llplot;
plot L318 = philow(318).llplot;
plot L319 = philow(319).llplot;
plot L320 = philow(320).llplot;
plot L321 = philow(321).llplot;
plot L322 = philow(322).llplot;
plot L323 = philow(323).llplot;
plot L324 = philow(324).llplot;
plot L325 = philow(325).llplot;
plot L326 = philow(326).llplot;
plot L327 = philow(327).llplot;
plot L328 = philow(328).llplot;
plot L329 = philow(329).llplot;
plot L330 = philow(330).llplot;
plot L331 = philow(331).llplot;
plot L332 = philow(332).llplot;
plot L333 = philow(333).llplot;
plot L334 = philow(334).llplot;
plot L335 = philow(335).llplot;
plot L336 = philow(336).llplot;
plot L337 = philow(337).llplot;
plot L338 = philow(338).llplot;
plot L339 = philow(339).llplot;
plot L340 = philow(340).llplot;
plot L341 = philow(341).llplot;
plot L342 = philow(342).llplot;
plot L343 = philow(343).llplot;
plot L344 = philow(344).llplot;
plot L345 = philow(345).llplot;
plot L346 = philow(346).llplot;
plot L347 = philow(347).llplot;
plot L348 = philow(348).llplot;
plot L349 = philow(349).llplot;
plot L350 = philow(350).llplot;
plot L351 = philow(351).llplot;
plot L352 = philow(352).llplot;
plot L353 = philow(353).llplot;
plot L354 = philow(354).llplot;
plot L355 = philow(355).llplot;
plot L356 = philow(356).llplot;
plot L357 = philow(357).llplot;
plot L358 = philow(358).llplot;
plot L359 = philow(359).llplot;
plot L360 = philow(360).llplot;
plot L361 = philow(361).llplot;
plot L362 = philow(362).llplot;
plot L363 = philow(363).llplot;
plot L364 = philow(364).llplot;
plot L365 = philow(365).llplot;


defineGlobalColor("H",color.red);
defineGlobalColor("L",color.green);
H1.setdefaultColor(globalColor("H"));
H2.setdefaultColor(globalColor("H"));
H3.setdefaultColor(globalColor("H"));
H4.setdefaultColor(globalColor("H"));
H5.setdefaultColor(globalColor("H"));
H6.setdefaultColor(globalColor("H"));
H7.setdefaultColor(globalColor("H"));
H8.setdefaultColor(globalColor("H"));
H9.setdefaultColor(globalColor("H"));
H10.setdefaultColor(globalColor("H"));
H11.setdefaultColor(globalColor("H"));
H12.setdefaultColor(globalColor("H"));
H13.setdefaultColor(globalColor("H"));
H14.setdefaultColor(globalColor("H"));
H15.setdefaultColor(globalColor("H"));
H16.setdefaultColor(globalColor("H"));
H17.setdefaultColor(globalColor("H"));
H18.setdefaultColor(globalColor("H"));
H19.setdefaultColor(globalColor("H"));
H20.setdefaultColor(globalColor("H"));
H21.setdefaultColor(globalColor("H"));
H22.setdefaultColor(globalColor("H"));
H23.setdefaultColor(globalColor("H"));
H24.setdefaultColor(globalColor("H"));
H25.setdefaultColor(globalColor("H"));
H26.setdefaultColor(globalColor("H"));
H27.setdefaultColor(globalColor("H"));
H28.setdefaultColor(globalColor("H"));
H29.setdefaultColor(globalColor("H"));
H30.setdefaultColor(globalColor("H"));
H31.setdefaultColor(globalColor("H"));
H32.setdefaultColor(globalColor("H"));
H33.setdefaultColor(globalColor("H"));
H34.setdefaultColor(globalColor("H"));
H35.setdefaultColor(globalColor("H"));
H36.setdefaultColor(globalColor("H"));
H37.setdefaultColor(globalColor("H"));
H38.setdefaultColor(globalColor("H"));
H39.setdefaultColor(globalColor("H"));
H40.setdefaultColor(globalColor("H"));
H41.setdefaultColor(globalColor("H"));
H42.setdefaultColor(globalColor("H"));
H43.setdefaultColor(globalColor("H"));
H44.setdefaultColor(globalColor("H"));
H45.setdefaultColor(globalColor("H"));
H46.setdefaultColor(globalColor("H"));
H47.setdefaultColor(globalColor("H"));
H48.setdefaultColor(globalColor("H"));
H49.setdefaultColor(globalColor("H"));
H50.setdefaultColor(globalColor("H"));
H51.setdefaultColor(globalColor("H"));
H52.setdefaultColor(globalColor("H"));
H53.setdefaultColor(globalColor("H"));
H54.setdefaultColor(globalColor("H"));
H55.setdefaultColor(globalColor("H"));
H56.setdefaultColor(globalColor("H"));
H57.setdefaultColor(globalColor("H"));
H58.setdefaultColor(globalColor("H"));
H59.setdefaultColor(globalColor("H"));
H60.setdefaultColor(globalColor("H"));
H61.setdefaultColor(globalColor("H"));
H62.setdefaultColor(globalColor("H"));
H63.setdefaultColor(globalColor("H"));
H64.setdefaultColor(globalColor("H"));
H65.setdefaultColor(globalColor("H"));
H66.setdefaultColor(globalColor("H"));
H67.setdefaultColor(globalColor("H"));
H68.setdefaultColor(globalColor("H"));
H69.setdefaultColor(globalColor("H"));
H70.setdefaultColor(globalColor("H"));
H71.setdefaultColor(globalColor("H"));
H72.setdefaultColor(globalColor("H"));
H73.setdefaultColor(globalColor("H"));
H74.setdefaultColor(globalColor("H"));
H75.setdefaultColor(globalColor("H"));
H76.setdefaultColor(globalColor("H"));
H77.setdefaultColor(globalColor("H"));
H78.setdefaultColor(globalColor("H"));
H79.setdefaultColor(globalColor("H"));
H80.setdefaultColor(globalColor("H"));
H81.setdefaultColor(globalColor("H"));
H82.setdefaultColor(globalColor("H"));
H83.setdefaultColor(globalColor("H"));
H84.setdefaultColor(globalColor("H"));
H85.setdefaultColor(globalColor("H"));
H86.setdefaultColor(globalColor("H"));
H87.setdefaultColor(globalColor("H"));
H88.setdefaultColor(globalColor("H"));
H89.setdefaultColor(globalColor("H"));
H90.setdefaultColor(globalColor("H"));
H91.setdefaultColor(globalColor("H"));
H92.setdefaultColor(globalColor("H"));
H93.setdefaultColor(globalColor("H"));
H94.setdefaultColor(globalColor("H"));
H95.setdefaultColor(globalColor("H"));
H96.setdefaultColor(globalColor("H"));
H97.setdefaultColor(globalColor("H"));
H98.setdefaultColor(globalColor("H"));
H99.setdefaultColor(globalColor("H"));
H100.setdefaultColor(globalColor("H"));
H101.setdefaultColor(globalColor("H"));
H102.setdefaultColor(globalColor("H"));
H103.setdefaultColor(globalColor("H"));
H104.setdefaultColor(globalColor("H"));
H105.setdefaultColor(globalColor("H"));
H106.setdefaultColor(globalColor("H"));
H107.setdefaultColor(globalColor("H"));
H108.setdefaultColor(globalColor("H"));
H109.setdefaultColor(globalColor("H"));
H110.setdefaultColor(globalColor("H"));
H111.setdefaultColor(globalColor("H"));
H112.setdefaultColor(globalColor("H"));
H113.setdefaultColor(globalColor("H"));
H114.setdefaultColor(globalColor("H"));
H115.setdefaultColor(globalColor("H"));
H116.setdefaultColor(globalColor("H"));
H117.setdefaultColor(globalColor("H"));
H118.setdefaultColor(globalColor("H"));
H119.setdefaultColor(globalColor("H"));
H120.setdefaultColor(globalColor("H"));
H121.setdefaultColor(globalColor("H"));
H122.setdefaultColor(globalColor("H"));
H123.setdefaultColor(globalColor("H"));
H124.setdefaultColor(globalColor("H"));
H125.setdefaultColor(globalColor("H"));
H126.setdefaultColor(globalColor("H"));
H127.setdefaultColor(globalColor("H"));
H128.setdefaultColor(globalColor("H"));
H129.setdefaultColor(globalColor("H"));
H130.setdefaultColor(globalColor("H"));
H131.setdefaultColor(globalColor("H"));
H132.setdefaultColor(globalColor("H"));
H133.setdefaultColor(globalColor("H"));
H134.setdefaultColor(globalColor("H"));
H135.setdefaultColor(globalColor("H"));
H136.setdefaultColor(globalColor("H"));
H137.setdefaultColor(globalColor("H"));
H138.setdefaultColor(globalColor("H"));
H139.setdefaultColor(globalColor("H"));
H140.setdefaultColor(globalColor("H"));
H141.setdefaultColor(globalColor("H"));
H142.setdefaultColor(globalColor("H"));
H143.setdefaultColor(globalColor("H"));
H144.setdefaultColor(globalColor("H"));
H145.setdefaultColor(globalColor("H"));
H146.setdefaultColor(globalColor("H"));
H147.setdefaultColor(globalColor("H"));
H148.setdefaultColor(globalColor("H"));
H149.setdefaultColor(globalColor("H"));
H150.setdefaultColor(globalColor("H"));
H151.setdefaultColor(globalColor("H"));
H152.setdefaultColor(globalColor("H"));
H153.setdefaultColor(globalColor("H"));
H154.setdefaultColor(globalColor("H"));
H155.setdefaultColor(globalColor("H"));
H156.setdefaultColor(globalColor("H"));
H157.setdefaultColor(globalColor("H"));
H158.setdefaultColor(globalColor("H"));
H159.setdefaultColor(globalColor("H"));
H160.setdefaultColor(globalColor("H"));
H161.setdefaultColor(globalColor("H"));
H162.setdefaultColor(globalColor("H"));
H163.setdefaultColor(globalColor("H"));
H164.setdefaultColor(globalColor("H"));
H165.setdefaultColor(globalColor("H"));
H166.setdefaultColor(globalColor("H"));
H167.setdefaultColor(globalColor("H"));
H168.setdefaultColor(globalColor("H"));
H169.setdefaultColor(globalColor("H"));
H170.setdefaultColor(globalColor("H"));
H171.setdefaultColor(globalColor("H"));
H172.setdefaultColor(globalColor("H"));
H173.setdefaultColor(globalColor("H"));
H174.setdefaultColor(globalColor("H"));
H175.setdefaultColor(globalColor("H"));
H176.setdefaultColor(globalColor("H"));
H177.setdefaultColor(globalColor("H"));
H178.setdefaultColor(globalColor("H"));
H179.setdefaultColor(globalColor("H"));
H180.setdefaultColor(globalColor("H"));
H181.setdefaultColor(globalColor("H"));
H182.setdefaultColor(globalColor("H"));
H183.setdefaultColor(globalColor("H"));
H184.setdefaultColor(globalColor("H"));
H185.setdefaultColor(globalColor("H"));
H186.setdefaultColor(globalColor("H"));
H187.setdefaultColor(globalColor("H"));
H188.setdefaultColor(globalColor("H"));
H189.setdefaultColor(globalColor("H"));
H190.setdefaultColor(globalColor("H"));
H191.setdefaultColor(globalColor("H"));
H192.setdefaultColor(globalColor("H"));
H193.setdefaultColor(globalColor("H"));
H194.setdefaultColor(globalColor("H"));
H195.setdefaultColor(globalColor("H"));
H196.setdefaultColor(globalColor("H"));
H197.setdefaultColor(globalColor("H"));
H198.setdefaultColor(globalColor("H"));
H199.setdefaultColor(globalColor("H"));
H200.setdefaultColor(globalColor("H"));
H201.setdefaultColor(globalColor("H"));
H202.setdefaultColor(globalColor("H"));
H203.setdefaultColor(globalColor("H"));
H204.setdefaultColor(globalColor("H"));
H205.setdefaultColor(globalColor("H"));
H206.setdefaultColor(globalColor("H"));
H207.setdefaultColor(globalColor("H"));
H208.setdefaultColor(globalColor("H"));
H209.setdefaultColor(globalColor("H"));
H210.setdefaultColor(globalColor("H"));
H211.setdefaultColor(globalColor("H"));
H212.setdefaultColor(globalColor("H"));
H213.setdefaultColor(globalColor("H"));
H214.setdefaultColor(globalColor("H"));
H215.setdefaultColor(globalColor("H"));
H216.setdefaultColor(globalColor("H"));
H217.setdefaultColor(globalColor("H"));
H218.setdefaultColor(globalColor("H"));
H219.setdefaultColor(globalColor("H"));
H220.setdefaultColor(globalColor("H"));
H221.setdefaultColor(globalColor("H"));
H222.setdefaultColor(globalColor("H"));
H223.setdefaultColor(globalColor("H"));
H224.setdefaultColor(globalColor("H"));
H225.setdefaultColor(globalColor("H"));
H226.setdefaultColor(globalColor("H"));
H227.setdefaultColor(globalColor("H"));
H228.setdefaultColor(globalColor("H"));
H229.setdefaultColor(globalColor("H"));
H230.setdefaultColor(globalColor("H"));
H231.setdefaultColor(globalColor("H"));
H232.setdefaultColor(globalColor("H"));
H233.setdefaultColor(globalColor("H"));
H234.setdefaultColor(globalColor("H"));
H235.setdefaultColor(globalColor("H"));
H236.setdefaultColor(globalColor("H"));
H237.setdefaultColor(globalColor("H"));
H238.setdefaultColor(globalColor("H"));
H239.setdefaultColor(globalColor("H"));
H240.setdefaultColor(globalColor("H"));
H241.setdefaultColor(globalColor("H"));
H242.setdefaultColor(globalColor("H"));
H243.setdefaultColor(globalColor("H"));
H244.setdefaultColor(globalColor("H"));
H245.setdefaultColor(globalColor("H"));
H246.setdefaultColor(globalColor("H"));
H247.setdefaultColor(globalColor("H"));
H248.setdefaultColor(globalColor("H"));
H249.setdefaultColor(globalColor("H"));
H250.setdefaultColor(globalColor("H"));
H251.setdefaultColor(globalColor("H"));
H252.setdefaultColor(globalColor("H"));
H253.setdefaultColor(globalColor("H"));
H254.setdefaultColor(globalColor("H"));
H255.setdefaultColor(globalColor("H"));
H256.setdefaultColor(globalColor("H"));
H257.setdefaultColor(globalColor("H"));
H258.setdefaultColor(globalColor("H"));
H259.setdefaultColor(globalColor("H"));
H260.setdefaultColor(globalColor("H"));
H261.setdefaultColor(globalColor("H"));
H262.setdefaultColor(globalColor("H"));
H263.setdefaultColor(globalColor("H"));
H264.setdefaultColor(globalColor("H"));
H265.setdefaultColor(globalColor("H"));
H266.setdefaultColor(globalColor("H"));
H267.setdefaultColor(globalColor("H"));
H268.setdefaultColor(globalColor("H"));
H269.setdefaultColor(globalColor("H"));
H270.setdefaultColor(globalColor("H"));
H271.setdefaultColor(globalColor("H"));
H272.setdefaultColor(globalColor("H"));
H273.setdefaultColor(globalColor("H"));
H274.setdefaultColor(globalColor("H"));
H275.setdefaultColor(globalColor("H"));
H276.setdefaultColor(globalColor("H"));
H277.setdefaultColor(globalColor("H"));
H278.setdefaultColor(globalColor("H"));
H279.setdefaultColor(globalColor("H"));
H280.setdefaultColor(globalColor("H"));
H281.setdefaultColor(globalColor("H"));
H282.setdefaultColor(globalColor("H"));
H283.setdefaultColor(globalColor("H"));
H284.setdefaultColor(globalColor("H"));
H285.setdefaultColor(globalColor("H"));
H286.setdefaultColor(globalColor("H"));
H287.setdefaultColor(globalColor("H"));
H288.setdefaultColor(globalColor("H"));
H289.setdefaultColor(globalColor("H"));
H290.setdefaultColor(globalColor("H"));
H291.setdefaultColor(globalColor("H"));
H292.setdefaultColor(globalColor("H"));
H293.setdefaultColor(globalColor("H"));
H294.setdefaultColor(globalColor("H"));
H295.setdefaultColor(globalColor("H"));
H296.setdefaultColor(globalColor("H"));
H297.setdefaultColor(globalColor("H"));
H298.setdefaultColor(globalColor("H"));
H299.setdefaultColor(globalColor("H"));
H300.setdefaultColor(globalColor("H"));
H301.setdefaultColor(globalColor("H"));
H302.setdefaultColor(globalColor("H"));
H303.setdefaultColor(globalColor("H"));
H304.setdefaultColor(globalColor("H"));
H305.setdefaultColor(globalColor("H"));
H306.setdefaultColor(globalColor("H"));
H307.setdefaultColor(globalColor("H"));
H308.setdefaultColor(globalColor("H"));
H309.setdefaultColor(globalColor("H"));
H310.setdefaultColor(globalColor("H"));
H311.setdefaultColor(globalColor("H"));
H312.setdefaultColor(globalColor("H"));
H313.setdefaultColor(globalColor("H"));
H314.setdefaultColor(globalColor("H"));
H315.setdefaultColor(globalColor("H"));
H316.setdefaultColor(globalColor("H"));
H317.setdefaultColor(globalColor("H"));
H318.setdefaultColor(globalColor("H"));
H319.setdefaultColor(globalColor("H"));
H320.setdefaultColor(globalColor("H"));
H321.setdefaultColor(globalColor("H"));
H322.setdefaultColor(globalColor("H"));
H323.setdefaultColor(globalColor("H"));
H324.setdefaultColor(globalColor("H"));
H325.setdefaultColor(globalColor("H"));
H326.setdefaultColor(globalColor("H"));
H327.setdefaultColor(globalColor("H"));
H328.setdefaultColor(globalColor("H"));
H329.setdefaultColor(globalColor("H"));
H330.setdefaultColor(globalColor("H"));
H331.setdefaultColor(globalColor("H"));
H332.setdefaultColor(globalColor("H"));
H333.setdefaultColor(globalColor("H"));
H334.setdefaultColor(globalColor("H"));
H335.setdefaultColor(globalColor("H"));
H336.setdefaultColor(globalColor("H"));
H337.setdefaultColor(globalColor("H"));
H338.setdefaultColor(globalColor("H"));
H339.setdefaultColor(globalColor("H"));
H340.setdefaultColor(globalColor("H"));
H341.setdefaultColor(globalColor("H"));
H342.setdefaultColor(globalColor("H"));
H343.setdefaultColor(globalColor("H"));
H344.setdefaultColor(globalColor("H"));
H345.setdefaultColor(globalColor("H"));
H346.setdefaultColor(globalColor("H"));
H347.setdefaultColor(globalColor("H"));
H348.setdefaultColor(globalColor("H"));
H349.setdefaultColor(globalColor("H"));
H350.setdefaultColor(globalColor("H"));
H351.setdefaultColor(globalColor("H"));
H352.setdefaultColor(globalColor("H"));
H353.setdefaultColor(globalColor("H"));
H354.setdefaultColor(globalColor("H"));
H355.setdefaultColor(globalColor("H"));
H356.setdefaultColor(globalColor("H"));
H357.setdefaultColor(globalColor("H"));
H358.setdefaultColor(globalColor("H"));
H359.setdefaultColor(globalColor("H"));
H360.setdefaultColor(globalColor("H"));
H361.setdefaultColor(globalColor("H"));
H362.setdefaultColor(globalColor("H"));
H363.setdefaultColor(globalColor("H"));
H364.setdefaultColor(globalColor("H"));
H365.setdefaultColor(globalColor("H"));

L1.setdefaultColor(globalColor("L"));
L2.setdefaultColor(globalColor("L"));
L3.setdefaultColor(globalColor("L"));
L4.setdefaultColor(globalColor("L"));
L5.setdefaultColor(globalColor("L"));
L6.setdefaultColor(globalColor("L"));
L7.setdefaultColor(globalColor("L"));
L8.setdefaultColor(globalColor("L"));
L9.setdefaultColor(globalColor("L"));
L10.setdefaultColor(globalColor("L"));
L11.setdefaultColor(globalColor("L"));
L12.setdefaultColor(globalColor("L"));
L13.setdefaultColor(globalColor("L"));
L14.setdefaultColor(globalColor("L"));
L15.setdefaultColor(globalColor("L"));
L16.setdefaultColor(globalColor("L"));
L17.setdefaultColor(globalColor("L"));
L18.setdefaultColor(globalColor("L"));
L19.setdefaultColor(globalColor("L"));
L20.setdefaultColor(globalColor("L"));
L21.setdefaultColor(globalColor("L"));
L22.setdefaultColor(globalColor("L"));
L23.setdefaultColor(globalColor("L"));
L24.setdefaultColor(globalColor("L"));
L25.setdefaultColor(globalColor("L"));
L26.setdefaultColor(globalColor("L"));
L27.setdefaultColor(globalColor("L"));
L28.setdefaultColor(globalColor("L"));
L29.setdefaultColor(globalColor("L"));
L30.setdefaultColor(globalColor("L"));
L31.setdefaultColor(globalColor("L"));
L32.setdefaultColor(globalColor("L"));
L33.setdefaultColor(globalColor("L"));
L34.setdefaultColor(globalColor("L"));
L35.setdefaultColor(globalColor("L"));
L36.setdefaultColor(globalColor("L"));
L37.setdefaultColor(globalColor("L"));
L38.setdefaultColor(globalColor("L"));
L39.setdefaultColor(globalColor("L"));
L40.setdefaultColor(globalColor("L"));
L41.setdefaultColor(globalColor("L"));
L42.setdefaultColor(globalColor("L"));
L43.setdefaultColor(globalColor("L"));
L44.setdefaultColor(globalColor("L"));
L45.setdefaultColor(globalColor("L"));
L46.setdefaultColor(globalColor("L"));
L47.setdefaultColor(globalColor("L"));
L48.setdefaultColor(globalColor("L"));
L49.setdefaultColor(globalColor("L"));
L50.setdefaultColor(globalColor("L"));
L51.setdefaultColor(globalColor("L"));
L52.setdefaultColor(globalColor("L"));
L53.setdefaultColor(globalColor("L"));
L54.setdefaultColor(globalColor("L"));
L55.setdefaultColor(globalColor("L"));
L56.setdefaultColor(globalColor("L"));
L57.setdefaultColor(globalColor("L"));
L58.setdefaultColor(globalColor("L"));
L59.setdefaultColor(globalColor("L"));
L60.setdefaultColor(globalColor("L"));
L61.setdefaultColor(globalColor("L"));
L62.setdefaultColor(globalColor("L"));
L63.setdefaultColor(globalColor("L"));
L64.setdefaultColor(globalColor("L"));
L65.setdefaultColor(globalColor("L"));
L66.setdefaultColor(globalColor("L"));
L67.setdefaultColor(globalColor("L"));
L68.setdefaultColor(globalColor("L"));
L69.setdefaultColor(globalColor("L"));
L70.setdefaultColor(globalColor("L"));
L71.setdefaultColor(globalColor("L"));
L72.setdefaultColor(globalColor("L"));
L73.setdefaultColor(globalColor("L"));
L74.setdefaultColor(globalColor("L"));
L75.setdefaultColor(globalColor("L"));
L76.setdefaultColor(globalColor("L"));
L77.setdefaultColor(globalColor("L"));
L78.setdefaultColor(globalColor("L"));
L79.setdefaultColor(globalColor("L"));
L80.setdefaultColor(globalColor("L"));
L81.setdefaultColor(globalColor("L"));
L82.setdefaultColor(globalColor("L"));
L83.setdefaultColor(globalColor("L"));
L84.setdefaultColor(globalColor("L"));
L85.setdefaultColor(globalColor("L"));
L86.setdefaultColor(globalColor("L"));
L87.setdefaultColor(globalColor("L"));
L88.setdefaultColor(globalColor("L"));
L89.setdefaultColor(globalColor("L"));
L90.setdefaultColor(globalColor("L"));
L91.setdefaultColor(globalColor("L"));
L92.setdefaultColor(globalColor("L"));
L93.setdefaultColor(globalColor("L"));
L94.setdefaultColor(globalColor("L"));
L95.setdefaultColor(globalColor("L"));
L96.setdefaultColor(globalColor("L"));
L97.setdefaultColor(globalColor("L"));
L98.setdefaultColor(globalColor("L"));
L99.setdefaultColor(globalColor("L"));
L100.setdefaultColor(globalColor("L"));
L101.setdefaultColor(globalColor("L"));
L102.setdefaultColor(globalColor("L"));
L103.setdefaultColor(globalColor("L"));
L104.setdefaultColor(globalColor("L"));
L105.setdefaultColor(globalColor("L"));
L106.setdefaultColor(globalColor("L"));
L107.setdefaultColor(globalColor("L"));
L108.setdefaultColor(globalColor("L"));
L109.setdefaultColor(globalColor("L"));
L110.setdefaultColor(globalColor("L"));
L111.setdefaultColor(globalColor("L"));
L112.setdefaultColor(globalColor("L"));
L113.setdefaultColor(globalColor("L"));
L114.setdefaultColor(globalColor("L"));
L115.setdefaultColor(globalColor("L"));
L116.setdefaultColor(globalColor("L"));
L117.setdefaultColor(globalColor("L"));
L118.setdefaultColor(globalColor("L"));
L119.setdefaultColor(globalColor("L"));
L120.setdefaultColor(globalColor("L"));
L121.setdefaultColor(globalColor("L"));
L122.setdefaultColor(globalColor("L"));
L123.setdefaultColor(globalColor("L"));
L124.setdefaultColor(globalColor("L"));
L125.setdefaultColor(globalColor("L"));
L126.setdefaultColor(globalColor("L"));
L127.setdefaultColor(globalColor("L"));
L128.setdefaultColor(globalColor("L"));
L129.setdefaultColor(globalColor("L"));
L130.setdefaultColor(globalColor("L"));
L131.setdefaultColor(globalColor("L"));
L132.setdefaultColor(globalColor("L"));
L133.setdefaultColor(globalColor("L"));
L134.setdefaultColor(globalColor("L"));
L135.setdefaultColor(globalColor("L"));
L136.setdefaultColor(globalColor("L"));
L137.setdefaultColor(globalColor("L"));
L138.setdefaultColor(globalColor("L"));
L139.setdefaultColor(globalColor("L"));
L140.setdefaultColor(globalColor("L"));
L141.setdefaultColor(globalColor("L"));
L142.setdefaultColor(globalColor("L"));
L143.setdefaultColor(globalColor("L"));
L144.setdefaultColor(globalColor("L"));
L145.setdefaultColor(globalColor("L"));
L146.setdefaultColor(globalColor("L"));
L147.setdefaultColor(globalColor("L"));
L148.setdefaultColor(globalColor("L"));
L149.setdefaultColor(globalColor("L"));
L150.setdefaultColor(globalColor("L"));
L151.setdefaultColor(globalColor("L"));
L152.setdefaultColor(globalColor("L"));
L153.setdefaultColor(globalColor("L"));
L154.setdefaultColor(globalColor("L"));
L155.setdefaultColor(globalColor("L"));
L156.setdefaultColor(globalColor("L"));
L157.setdefaultColor(globalColor("L"));
L158.setdefaultColor(globalColor("L"));
L159.setdefaultColor(globalColor("L"));
L160.setdefaultColor(globalColor("L"));
L161.setdefaultColor(globalColor("L"));
L162.setdefaultColor(globalColor("L"));
L163.setdefaultColor(globalColor("L"));
L164.setdefaultColor(globalColor("L"));
L165.setdefaultColor(globalColor("L"));
L166.setdefaultColor(globalColor("L"));
L167.setdefaultColor(globalColor("L"));
L168.setdefaultColor(globalColor("L"));
L169.setdefaultColor(globalColor("L"));
L170.setdefaultColor(globalColor("L"));
L171.setdefaultColor(globalColor("L"));
L172.setdefaultColor(globalColor("L"));
L173.setdefaultColor(globalColor("L"));
L174.setdefaultColor(globalColor("L"));
L175.setdefaultColor(globalColor("L"));
L176.setdefaultColor(globalColor("L"));
L177.setdefaultColor(globalColor("L"));
L178.setdefaultColor(globalColor("L"));
L179.setdefaultColor(globalColor("L"));
L180.setdefaultColor(globalColor("L"));
L181.setdefaultColor(globalColor("L"));
L182.setdefaultColor(globalColor("L"));
L183.setdefaultColor(globalColor("L"));
L184.setdefaultColor(globalColor("L"));
L185.setdefaultColor(globalColor("L"));
L186.setdefaultColor(globalColor("L"));
L187.setdefaultColor(globalColor("L"));
L188.setdefaultColor(globalColor("L"));
L189.setdefaultColor(globalColor("L"));
L190.setdefaultColor(globalColor("L"));
L191.setdefaultColor(globalColor("L"));
L192.setdefaultColor(globalColor("L"));
L193.setdefaultColor(globalColor("L"));
L194.setdefaultColor(globalColor("L"));
L195.setdefaultColor(globalColor("L"));
L196.setdefaultColor(globalColor("L"));
L197.setdefaultColor(globalColor("L"));
L198.setdefaultColor(globalColor("L"));
L199.setdefaultColor(globalColor("L"));
L200.setdefaultColor(globalColor("L"));
L201.setdefaultColor(globalColor("L"));
L202.setdefaultColor(globalColor("L"));
L203.setdefaultColor(globalColor("L"));
L204.setdefaultColor(globalColor("L"));
L205.setdefaultColor(globalColor("L"));
L206.setdefaultColor(globalColor("L"));
L207.setdefaultColor(globalColor("L"));
L208.setdefaultColor(globalColor("L"));
L209.setdefaultColor(globalColor("L"));
L210.setdefaultColor(globalColor("L"));
L211.setdefaultColor(globalColor("L"));
L212.setdefaultColor(globalColor("L"));
L213.setdefaultColor(globalColor("L"));
L214.setdefaultColor(globalColor("L"));
L215.setdefaultColor(globalColor("L"));
L216.setdefaultColor(globalColor("L"));
L217.setdefaultColor(globalColor("L"));
L218.setdefaultColor(globalColor("L"));
L219.setdefaultColor(globalColor("L"));
L220.setdefaultColor(globalColor("L"));
L221.setdefaultColor(globalColor("L"));
L222.setdefaultColor(globalColor("L"));
L223.setdefaultColor(globalColor("L"));
L224.setdefaultColor(globalColor("L"));
L225.setdefaultColor(globalColor("L"));
L226.setdefaultColor(globalColor("L"));
L227.setdefaultColor(globalColor("L"));
L228.setdefaultColor(globalColor("L"));
L229.setdefaultColor(globalColor("L"));
L230.setdefaultColor(globalColor("L"));
L231.setdefaultColor(globalColor("L"));
L232.setdefaultColor(globalColor("L"));
L233.setdefaultColor(globalColor("L"));
L234.setdefaultColor(globalColor("L"));
L235.setdefaultColor(globalColor("L"));
L236.setdefaultColor(globalColor("L"));
L237.setdefaultColor(globalColor("L"));
L238.setdefaultColor(globalColor("L"));
L239.setdefaultColor(globalColor("L"));
L240.setdefaultColor(globalColor("L"));
L241.setdefaultColor(globalColor("L"));
L242.setdefaultColor(globalColor("L"));
L243.setdefaultColor(globalColor("L"));
L244.setdefaultColor(globalColor("L"));
L245.setdefaultColor(globalColor("L"));
L246.setdefaultColor(globalColor("L"));
L247.setdefaultColor(globalColor("L"));
L248.setdefaultColor(globalColor("L"));
L249.setdefaultColor(globalColor("L"));
L250.setdefaultColor(globalColor("L"));
L251.setdefaultColor(globalColor("L"));
L252.setdefaultColor(globalColor("L"));
L253.setdefaultColor(globalColor("L"));
L254.setdefaultColor(globalColor("L"));
L255.setdefaultColor(globalColor("L"));
L256.setdefaultColor(globalColor("L"));
L257.setdefaultColor(globalColor("L"));
L258.setdefaultColor(globalColor("L"));
L259.setdefaultColor(globalColor("L"));
L260.setdefaultColor(globalColor("L"));
L261.setdefaultColor(globalColor("L"));
L262.setdefaultColor(globalColor("L"));
L263.setdefaultColor(globalColor("L"));
L264.setdefaultColor(globalColor("L"));
L265.setdefaultColor(globalColor("L"));
L266.setdefaultColor(globalColor("L"));
L267.setdefaultColor(globalColor("L"));
L268.setdefaultColor(globalColor("L"));
L269.setdefaultColor(globalColor("L"));
L270.setdefaultColor(globalColor("L"));
L271.setdefaultColor(globalColor("L"));
L272.setdefaultColor(globalColor("L"));
L273.setdefaultColor(globalColor("L"));
L274.setdefaultColor(globalColor("L"));
L275.setdefaultColor(globalColor("L"));
L276.setdefaultColor(globalColor("L"));
L277.setdefaultColor(globalColor("L"));
L278.setdefaultColor(globalColor("L"));
L279.setdefaultColor(globalColor("L"));
L280.setdefaultColor(globalColor("L"));
L281.setdefaultColor(globalColor("L"));
L282.setdefaultColor(globalColor("L"));
L283.setdefaultColor(globalColor("L"));
L284.setdefaultColor(globalColor("L"));
L285.setdefaultColor(globalColor("L"));
L286.setdefaultColor(globalColor("L"));
L287.setdefaultColor(globalColor("L"));
L288.setdefaultColor(globalColor("L"));
L289.setdefaultColor(globalColor("L"));
L290.setdefaultColor(globalColor("L"));
L291.setdefaultColor(globalColor("L"));
L292.setdefaultColor(globalColor("L"));
L293.setdefaultColor(globalColor("L"));
L294.setdefaultColor(globalColor("L"));
L295.setdefaultColor(globalColor("L"));
L296.setdefaultColor(globalColor("L"));
L297.setdefaultColor(globalColor("L"));
L298.setdefaultColor(globalColor("L"));
L299.setdefaultColor(globalColor("L"));
L300.setdefaultColor(globalColor("L"));
L301.setdefaultColor(globalColor("L"));
L302.setdefaultColor(globalColor("L"));
L303.setdefaultColor(globalColor("L"));
L304.setdefaultColor(globalColor("L"));
L305.setdefaultColor(globalColor("L"));
L306.setdefaultColor(globalColor("L"));
L307.setdefaultColor(globalColor("L"));
L308.setdefaultColor(globalColor("L"));
L309.setdefaultColor(globalColor("L"));
L310.setdefaultColor(globalColor("L"));
L311.setdefaultColor(globalColor("L"));
L312.setdefaultColor(globalColor("L"));
L313.setdefaultColor(globalColor("L"));
L314.setdefaultColor(globalColor("L"));
L315.setdefaultColor(globalColor("L"));
L316.setdefaultColor(globalColor("L"));
L317.setdefaultColor(globalColor("L"));
L318.setdefaultColor(globalColor("L"));
L319.setdefaultColor(globalColor("L"));
L320.setdefaultColor(globalColor("L"));
L321.setdefaultColor(globalColor("L"));
L322.setdefaultColor(globalColor("L"));
L323.setdefaultColor(globalColor("L"));
L324.setdefaultColor(globalColor("L"));
L325.setdefaultColor(globalColor("L"));
L326.setdefaultColor(globalColor("L"));
L327.setdefaultColor(globalColor("L"));
L328.setdefaultColor(globalColor("L"));
L329.setdefaultColor(globalColor("L"));
L330.setdefaultColor(globalColor("L"));
L331.setdefaultColor(globalColor("L"));
L332.setdefaultColor(globalColor("L"));
L333.setdefaultColor(globalColor("L"));
L334.setdefaultColor(globalColor("L"));
L335.setdefaultColor(globalColor("L"));
L336.setdefaultColor(globalColor("L"));
L337.setdefaultColor(globalColor("L"));
L338.setdefaultColor(globalColor("L"));
L339.setdefaultColor(globalColor("L"));
L340.setdefaultColor(globalColor("L"));
L341.setdefaultColor(globalColor("L"));
L342.setdefaultColor(globalColor("L"));
L343.setdefaultColor(globalColor("L"));
L344.setdefaultColor(globalColor("L"));
L345.setdefaultColor(globalColor("L"));
L346.setdefaultColor(globalColor("L"));
L347.setdefaultColor(globalColor("L"));
L348.setdefaultColor(globalColor("L"));
L349.setdefaultColor(globalColor("L"));
L350.setdefaultColor(globalColor("L"));
L351.setdefaultColor(globalColor("L"));
L352.setdefaultColor(globalColor("L"));
L353.setdefaultColor(globalColor("L"));
L354.setdefaultColor(globalColor("L"));
L355.setdefaultColor(globalColor("L"));
L356.setdefaultColor(globalColor("L"));
L357.setdefaultColor(globalColor("L"));
L358.setdefaultColor(globalColor("L"));
L359.setdefaultColor(globalColor("L"));
L360.setdefaultColor(globalColor("L"));
L361.setdefaultColor(globalColor("L"));
L362.setdefaultColor(globalColor("L"));
L363.setdefaultColor(globalColor("L"));
L364.setdefaultColor(globalColor("L"));
L365.setdefaultColor(globalColor("L"));
 
On excel I updated the code for high and lows (Daily candle chart) below. Unfortunately Thinkorswim error says script too long.
Is there a way to shorten the code or is there a tradingview indicator that draws a line from the price to the right for highs and lows of all 365 days in the past?
Code:
#Example_PreviousDaysHL-each_extended_through_expansion
#20170911 - BLT
#Example Highs/Lows from previous days, extended from each day through the right expansion
script philow {
    input n = 1;
    def ymd = GetYYYYMMDD();
    def ok = !IsNaN(close);
    def capture = ok and ymd != ymd[1];
    def dayCount = CompoundValue(1, if capture
                                    then dayCount[1] + 1
                                    else dayCount[1], 0);
    def thisDay = (HighestAll(dayCount) - dayCount) ;
    def hh = CompoundValue(1, if thisDay == n and SecondsFromTime(0930) == 0
                              then high
                              else if thisDay == n and  high > hh[1]
                              then high
                              else hh[1] , high);
    def hhnan = if IsNaN(close) then hhnan[1] else hh;
    plot hhplot = if thisDay == n and SecondsFromTime(0930) < 0
                  then Double.NaN
                  else if thisDay <= n
                  then hhnan
                  else Double.NaN;

    def ll = CompoundValue(1, if thisDay == n and SecondsFromTime(0930) == 0
                              then low
                              else if  thisDay == n and low < ll[1]
                              then low
                              else ll[1] , low);
    def llnan   = if IsNaN(ll) then llnan[1] else ll;
    plot llplot = if thisDay == n and SecondsFromTime(0930) < 0
                  then Double.NaN
                  else if thisDay <= n
                  then (llnan)
                  else Double.NaN;
}

#Plots of Highs/Lows based upon script...add more days using similar plot statements, increasing the value by 1
plot H1 = philow(1).llplot;
plot H2 = philow(2).llplot;
plot H3 = philow(3).llplot;
plot H4 = philow(4).llplot;
plot H5 = philow(5).llplot;
plot H6 = philow(6).llplot;
plot H7 = philow(7).llplot;
plot H8 = philow(8).llplot;
plot H9 = philow(9).llplot;
plot H10 = philow(10).llplot;
plot H11 = philow(11).llplot;
plot H12 = philow(12).llplot;
plot H13 = philow(13).llplot;
plot H14 = philow(14).llplot;
plot H15 = philow(15).llplot;
plot H16 = philow(16).llplot;
plot H17 = philow(17).llplot;
plot H18 = philow(18).llplot;
plot H19 = philow(19).llplot;
plot H20 = philow(20).llplot;
plot H21 = philow(21).llplot;
plot H22 = philow(22).llplot;
plot H23 = philow(23).llplot;
plot H24 = philow(24).llplot;
plot H25 = philow(25).llplot;
plot H26 = philow(26).llplot;
plot H27 = philow(27).llplot;
plot H28 = philow(28).llplot;
plot H29 = philow(29).llplot;
plot H30 = philow(30).llplot;
plot H31 = philow(31).llplot;
plot H32 = philow(32).llplot;
plot H33 = philow(33).llplot;
plot H34 = philow(34).llplot;
plot H35 = philow(35).llplot;
plot H36 = philow(36).llplot;
plot H37 = philow(37).llplot;
plot H38 = philow(38).llplot;
plot H39 = philow(39).llplot;
plot H40 = philow(40).llplot;
plot H41 = philow(41).llplot;
plot H42 = philow(42).llplot;
plot H43 = philow(43).llplot;
plot H44 = philow(44).llplot;
plot H45 = philow(45).llplot;
plot H46 = philow(46).llplot;
plot H47 = philow(47).llplot;
plot H48 = philow(48).llplot;
plot H49 = philow(49).llplot;
plot H50 = philow(50).llplot;
plot H51 = philow(51).llplot;
plot H52 = philow(52).llplot;
plot H53 = philow(53).llplot;
plot H54 = philow(54).llplot;
plot H55 = philow(55).llplot;
plot H56 = philow(56).llplot;
plot H57 = philow(57).llplot;
plot H58 = philow(58).llplot;
plot H59 = philow(59).llplot;
plot H60 = philow(60).llplot;
plot H61 = philow(61).llplot;
plot H62 = philow(62).llplot;
plot H63 = philow(63).llplot;
plot H64 = philow(64).llplot;
plot H65 = philow(65).llplot;
plot H66 = philow(66).llplot;
plot H67 = philow(67).llplot;
plot H68 = philow(68).llplot;
plot H69 = philow(69).llplot;
plot H70 = philow(70).llplot;
plot H71 = philow(71).llplot;
plot H72 = philow(72).llplot;
plot H73 = philow(73).llplot;
plot H74 = philow(74).llplot;
plot H75 = philow(75).llplot;
plot H76 = philow(76).llplot;
plot H77 = philow(77).llplot;
plot H78 = philow(78).llplot;
plot H79 = philow(79).llplot;
plot H80 = philow(80).llplot;
plot H81 = philow(81).llplot;
plot H82 = philow(82).llplot;
plot H83 = philow(83).llplot;
plot H84 = philow(84).llplot;
plot H85 = philow(85).llplot;
plot H86 = philow(86).llplot;
plot H87 = philow(87).llplot;
plot H88 = philow(88).llplot;
plot H89 = philow(89).llplot;
plot H90 = philow(90).llplot;
plot H91 = philow(91).llplot;
plot H92 = philow(92).llplot;
plot H93 = philow(93).llplot;
plot H94 = philow(94).llplot;
plot H95 = philow(95).llplot;
plot H96 = philow(96).llplot;
plot H97 = philow(97).llplot;
plot H98 = philow(98).llplot;
plot H99 = philow(99).llplot;
plot H100 = philow(100).llplot;
plot H101 = philow(101).llplot;
plot H102 = philow(102).llplot;
plot H103 = philow(103).llplot;
plot H104 = philow(104).llplot;
plot H105 = philow(105).llplot;
plot H106 = philow(106).llplot;
plot H107 = philow(107).llplot;
plot H108 = philow(108).llplot;
plot H109 = philow(109).llplot;
plot H110 = philow(110).llplot;
plot H111 = philow(111).llplot;
plot H112 = philow(112).llplot;
plot H113 = philow(113).llplot;
plot H114 = philow(114).llplot;
plot H115 = philow(115).llplot;
plot H116 = philow(116).llplot;
plot H117 = philow(117).llplot;
plot H118 = philow(118).llplot;
plot H119 = philow(119).llplot;
plot H120 = philow(120).llplot;
plot H121 = philow(121).llplot;
plot H122 = philow(122).llplot;
plot H123 = philow(123).llplot;
plot H124 = philow(124).llplot;
plot H125 = philow(125).llplot;
plot H126 = philow(126).llplot;
plot H127 = philow(127).llplot;
plot H128 = philow(128).llplot;
plot H129 = philow(129).llplot;
plot H130 = philow(130).llplot;
plot H131 = philow(131).llplot;
plot H132 = philow(132).llplot;
plot H133 = philow(133).llplot;
plot H134 = philow(134).llplot;
plot H135 = philow(135).llplot;
plot H136 = philow(136).llplot;
plot H137 = philow(137).llplot;
plot H138 = philow(138).llplot;
plot H139 = philow(139).llplot;
plot H140 = philow(140).llplot;
plot H141 = philow(141).llplot;
plot H142 = philow(142).llplot;
plot H143 = philow(143).llplot;
plot H144 = philow(144).llplot;
plot H145 = philow(145).llplot;
plot H146 = philow(146).llplot;
plot H147 = philow(147).llplot;
plot H148 = philow(148).llplot;
plot H149 = philow(149).llplot;
plot H150 = philow(150).llplot;
plot H151 = philow(151).llplot;
plot H152 = philow(152).llplot;
plot H153 = philow(153).llplot;
plot H154 = philow(154).llplot;
plot H155 = philow(155).llplot;
plot H156 = philow(156).llplot;
plot H157 = philow(157).llplot;
plot H158 = philow(158).llplot;
plot H159 = philow(159).llplot;
plot H160 = philow(160).llplot;
plot H161 = philow(161).llplot;
plot H162 = philow(162).llplot;
plot H163 = philow(163).llplot;
plot H164 = philow(164).llplot;
plot H165 = philow(165).llplot;
plot H166 = philow(166).llplot;
plot H167 = philow(167).llplot;
plot H168 = philow(168).llplot;
plot H169 = philow(169).llplot;
plot H170 = philow(170).llplot;
plot H171 = philow(171).llplot;
plot H172 = philow(172).llplot;
plot H173 = philow(173).llplot;
plot H174 = philow(174).llplot;
plot H175 = philow(175).llplot;
plot H176 = philow(176).llplot;
plot H177 = philow(177).llplot;
plot H178 = philow(178).llplot;
plot H179 = philow(179).llplot;
plot H180 = philow(180).llplot;
plot H181 = philow(181).llplot;
plot H182 = philow(182).llplot;
plot H183 = philow(183).llplot;
plot H184 = philow(184).llplot;
plot H185 = philow(185).llplot;
plot H186 = philow(186).llplot;
plot H187 = philow(187).llplot;
plot H188 = philow(188).llplot;
plot H189 = philow(189).llplot;
plot H190 = philow(190).llplot;
plot H191 = philow(191).llplot;
plot H192 = philow(192).llplot;
plot H193 = philow(193).llplot;
plot H194 = philow(194).llplot;
plot H195 = philow(195).llplot;
plot H196 = philow(196).llplot;
plot H197 = philow(197).llplot;
plot H198 = philow(198).llplot;
plot H199 = philow(199).llplot;
plot H200 = philow(200).llplot;
plot H201 = philow(201).llplot;
plot H202 = philow(202).llplot;
plot H203 = philow(203).llplot;
plot H204 = philow(204).llplot;
plot H205 = philow(205).llplot;
plot H206 = philow(206).llplot;
plot H207 = philow(207).llplot;
plot H208 = philow(208).llplot;
plot H209 = philow(209).llplot;
plot H210 = philow(210).llplot;
plot H211 = philow(211).llplot;
plot H212 = philow(212).llplot;
plot H213 = philow(213).llplot;
plot H214 = philow(214).llplot;
plot H215 = philow(215).llplot;
plot H216 = philow(216).llplot;
plot H217 = philow(217).llplot;
plot H218 = philow(218).llplot;
plot H219 = philow(219).llplot;
plot H220 = philow(220).llplot;
plot H221 = philow(221).llplot;
plot H222 = philow(222).llplot;
plot H223 = philow(223).llplot;
plot H224 = philow(224).llplot;
plot H225 = philow(225).llplot;
plot H226 = philow(226).llplot;
plot H227 = philow(227).llplot;
plot H228 = philow(228).llplot;
plot H229 = philow(229).llplot;
plot H230 = philow(230).llplot;
plot H231 = philow(231).llplot;
plot H232 = philow(232).llplot;
plot H233 = philow(233).llplot;
plot H234 = philow(234).llplot;
plot H235 = philow(235).llplot;
plot H236 = philow(236).llplot;
plot H237 = philow(237).llplot;
plot H238 = philow(238).llplot;
plot H239 = philow(239).llplot;
plot H240 = philow(240).llplot;
plot H241 = philow(241).llplot;
plot H242 = philow(242).llplot;
plot H243 = philow(243).llplot;
plot H244 = philow(244).llplot;
plot H245 = philow(245).llplot;
plot H246 = philow(246).llplot;
plot H247 = philow(247).llplot;
plot H248 = philow(248).llplot;
plot H249 = philow(249).llplot;
plot H250 = philow(250).llplot;
plot H251 = philow(251).llplot;
plot H252 = philow(252).llplot;
plot H253 = philow(253).llplot;
plot H254 = philow(254).llplot;
plot H255 = philow(255).llplot;
plot H256 = philow(256).llplot;
plot H257 = philow(257).llplot;
plot H258 = philow(258).llplot;
plot H259 = philow(259).llplot;
plot H260 = philow(260).llplot;
plot H261 = philow(261).llplot;
plot H262 = philow(262).llplot;
plot H263 = philow(263).llplot;
plot H264 = philow(264).llplot;
plot H265 = philow(265).llplot;
plot H266 = philow(266).llplot;
plot H267 = philow(267).llplot;
plot H268 = philow(268).llplot;
plot H269 = philow(269).llplot;
plot H270 = philow(270).llplot;
plot H271 = philow(271).llplot;
plot H272 = philow(272).llplot;
plot H273 = philow(273).llplot;
plot H274 = philow(274).llplot;
plot H275 = philow(275).llplot;
plot H276 = philow(276).llplot;
plot H277 = philow(277).llplot;
plot H278 = philow(278).llplot;
plot H279 = philow(279).llplot;
plot H280 = philow(280).llplot;
plot H281 = philow(281).llplot;
plot H282 = philow(282).llplot;
plot H283 = philow(283).llplot;
plot H284 = philow(284).llplot;
plot H285 = philow(285).llplot;
plot H286 = philow(286).llplot;
plot H287 = philow(287).llplot;
plot H288 = philow(288).llplot;
plot H289 = philow(289).llplot;
plot H290 = philow(290).llplot;
plot H291 = philow(291).llplot;
plot H292 = philow(292).llplot;
plot H293 = philow(293).llplot;
plot H294 = philow(294).llplot;
plot H295 = philow(295).llplot;
plot H296 = philow(296).llplot;
plot H297 = philow(297).llplot;
plot H298 = philow(298).llplot;
plot H299 = philow(299).llplot;
plot H300 = philow(300).llplot;
plot H301 = philow(301).llplot;
plot H302 = philow(302).llplot;
plot H303 = philow(303).llplot;
plot H304 = philow(304).llplot;
plot H305 = philow(305).llplot;
plot H306 = philow(306).llplot;
plot H307 = philow(307).llplot;
plot H308 = philow(308).llplot;
plot H309 = philow(309).llplot;
plot H310 = philow(310).llplot;
plot H311 = philow(311).llplot;
plot H312 = philow(312).llplot;
plot H313 = philow(313).llplot;
plot H314 = philow(314).llplot;
plot H315 = philow(315).llplot;
plot H316 = philow(316).llplot;
plot H317 = philow(317).llplot;
plot H318 = philow(318).llplot;
plot H319 = philow(319).llplot;
plot H320 = philow(320).llplot;
plot H321 = philow(321).llplot;
plot H322 = philow(322).llplot;
plot H323 = philow(323).llplot;
plot H324 = philow(324).llplot;
plot H325 = philow(325).llplot;
plot H326 = philow(326).llplot;
plot H327 = philow(327).llplot;
plot H328 = philow(328).llplot;
plot H329 = philow(329).llplot;
plot H330 = philow(330).llplot;
plot H331 = philow(331).llplot;
plot H332 = philow(332).llplot;
plot H333 = philow(333).llplot;
plot H334 = philow(334).llplot;
plot H335 = philow(335).llplot;
plot H336 = philow(336).llplot;
plot H337 = philow(337).llplot;
plot H338 = philow(338).llplot;
plot H339 = philow(339).llplot;
plot H340 = philow(340).llplot;
plot H341 = philow(341).llplot;
plot H342 = philow(342).llplot;
plot H343 = philow(343).llplot;
plot H344 = philow(344).llplot;
plot H345 = philow(345).llplot;
plot H346 = philow(346).llplot;
plot H347 = philow(347).llplot;
plot H348 = philow(348).llplot;
plot H349 = philow(349).llplot;
plot H350 = philow(350).llplot;
plot H351 = philow(351).llplot;
plot H352 = philow(352).llplot;
plot H353 = philow(353).llplot;
plot H354 = philow(354).llplot;
plot H355 = philow(355).llplot;
plot H356 = philow(356).llplot;
plot H357 = philow(357).llplot;
plot H358 = philow(358).llplot;
plot H359 = philow(359).llplot;
plot H360 = philow(360).llplot;
plot H361 = philow(361).llplot;
plot H362 = philow(362).llplot;
plot H363 = philow(363).llplot;
plot H364 = philow(364).llplot;
plot H365 = philow(365).llplot;


plot L1 = philow(1).llplot;
plot L2 = philow(2).llplot;
plot L3 = philow(3).llplot;
plot L4 = philow(4).llplot;
plot L5 = philow(5).llplot;
plot L6 = philow(6).llplot;
plot L7 = philow(7).llplot;
plot L8 = philow(8).llplot;
plot L9 = philow(9).llplot;
plot L10 = philow(10).llplot;
plot L11 = philow(11).llplot;
plot L12 = philow(12).llplot;
plot L13 = philow(13).llplot;
plot L14 = philow(14).llplot;
plot L15 = philow(15).llplot;
plot L16 = philow(16).llplot;
plot L17 = philow(17).llplot;
plot L18 = philow(18).llplot;
plot L19 = philow(19).llplot;
plot L20 = philow(20).llplot;
plot L21 = philow(21).llplot;
plot L22 = philow(22).llplot;
plot L23 = philow(23).llplot;
plot L24 = philow(24).llplot;
plot L25 = philow(25).llplot;
plot L26 = philow(26).llplot;
plot L27 = philow(27).llplot;
plot L28 = philow(28).llplot;
plot L29 = philow(29).llplot;
plot L30 = philow(30).llplot;
plot L31 = philow(31).llplot;
plot L32 = philow(32).llplot;
plot L33 = philow(33).llplot;
plot L34 = philow(34).llplot;
plot L35 = philow(35).llplot;
plot L36 = philow(36).llplot;
plot L37 = philow(37).llplot;
plot L38 = philow(38).llplot;
plot L39 = philow(39).llplot;
plot L40 = philow(40).llplot;
plot L41 = philow(41).llplot;
plot L42 = philow(42).llplot;
plot L43 = philow(43).llplot;
plot L44 = philow(44).llplot;
plot L45 = philow(45).llplot;
plot L46 = philow(46).llplot;
plot L47 = philow(47).llplot;
plot L48 = philow(48).llplot;
plot L49 = philow(49).llplot;
plot L50 = philow(50).llplot;
plot L51 = philow(51).llplot;
plot L52 = philow(52).llplot;
plot L53 = philow(53).llplot;
plot L54 = philow(54).llplot;
plot L55 = philow(55).llplot;
plot L56 = philow(56).llplot;
plot L57 = philow(57).llplot;
plot L58 = philow(58).llplot;
plot L59 = philow(59).llplot;
plot L60 = philow(60).llplot;
plot L61 = philow(61).llplot;
plot L62 = philow(62).llplot;
plot L63 = philow(63).llplot;
plot L64 = philow(64).llplot;
plot L65 = philow(65).llplot;
plot L66 = philow(66).llplot;
plot L67 = philow(67).llplot;
plot L68 = philow(68).llplot;
plot L69 = philow(69).llplot;
plot L70 = philow(70).llplot;
plot L71 = philow(71).llplot;
plot L72 = philow(72).llplot;
plot L73 = philow(73).llplot;
plot L74 = philow(74).llplot;
plot L75 = philow(75).llplot;
plot L76 = philow(76).llplot;
plot L77 = philow(77).llplot;
plot L78 = philow(78).llplot;
plot L79 = philow(79).llplot;
plot L80 = philow(80).llplot;
plot L81 = philow(81).llplot;
plot L82 = philow(82).llplot;
plot L83 = philow(83).llplot;
plot L84 = philow(84).llplot;
plot L85 = philow(85).llplot;
plot L86 = philow(86).llplot;
plot L87 = philow(87).llplot;
plot L88 = philow(88).llplot;
plot L89 = philow(89).llplot;
plot L90 = philow(90).llplot;
plot L91 = philow(91).llplot;
plot L92 = philow(92).llplot;
plot L93 = philow(93).llplot;
plot L94 = philow(94).llplot;
plot L95 = philow(95).llplot;
plot L96 = philow(96).llplot;
plot L97 = philow(97).llplot;
plot L98 = philow(98).llplot;
plot L99 = philow(99).llplot;
plot L100 = philow(100).llplot;
plot L101 = philow(101).llplot;
plot L102 = philow(102).llplot;
plot L103 = philow(103).llplot;
plot L104 = philow(104).llplot;
plot L105 = philow(105).llplot;
plot L106 = philow(106).llplot;
plot L107 = philow(107).llplot;
plot L108 = philow(108).llplot;
plot L109 = philow(109).llplot;
plot L110 = philow(110).llplot;
plot L111 = philow(111).llplot;
plot L112 = philow(112).llplot;
plot L113 = philow(113).llplot;
plot L114 = philow(114).llplot;
plot L115 = philow(115).llplot;
plot L116 = philow(116).llplot;
plot L117 = philow(117).llplot;
plot L118 = philow(118).llplot;
plot L119 = philow(119).llplot;
plot L120 = philow(120).llplot;
plot L121 = philow(121).llplot;
plot L122 = philow(122).llplot;
plot L123 = philow(123).llplot;
plot L124 = philow(124).llplot;
plot L125 = philow(125).llplot;
plot L126 = philow(126).llplot;
plot L127 = philow(127).llplot;
plot L128 = philow(128).llplot;
plot L129 = philow(129).llplot;
plot L130 = philow(130).llplot;
plot L131 = philow(131).llplot;
plot L132 = philow(132).llplot;
plot L133 = philow(133).llplot;
plot L134 = philow(134).llplot;
plot L135 = philow(135).llplot;
plot L136 = philow(136).llplot;
plot L137 = philow(137).llplot;
plot L138 = philow(138).llplot;
plot L139 = philow(139).llplot;
plot L140 = philow(140).llplot;
plot L141 = philow(141).llplot;
plot L142 = philow(142).llplot;
plot L143 = philow(143).llplot;
plot L144 = philow(144).llplot;
plot L145 = philow(145).llplot;
plot L146 = philow(146).llplot;
plot L147 = philow(147).llplot;
plot L148 = philow(148).llplot;
plot L149 = philow(149).llplot;
plot L150 = philow(150).llplot;
plot L151 = philow(151).llplot;
plot L152 = philow(152).llplot;
plot L153 = philow(153).llplot;
plot L154 = philow(154).llplot;
plot L155 = philow(155).llplot;
plot L156 = philow(156).llplot;
plot L157 = philow(157).llplot;
plot L158 = philow(158).llplot;
plot L159 = philow(159).llplot;
plot L160 = philow(160).llplot;
plot L161 = philow(161).llplot;
plot L162 = philow(162).llplot;
plot L163 = philow(163).llplot;
plot L164 = philow(164).llplot;
plot L165 = philow(165).llplot;
plot L166 = philow(166).llplot;
plot L167 = philow(167).llplot;
plot L168 = philow(168).llplot;
plot L169 = philow(169).llplot;
plot L170 = philow(170).llplot;
plot L171 = philow(171).llplot;
plot L172 = philow(172).llplot;
plot L173 = philow(173).llplot;
plot L174 = philow(174).llplot;
plot L175 = philow(175).llplot;
plot L176 = philow(176).llplot;
plot L177 = philow(177).llplot;
plot L178 = philow(178).llplot;
plot L179 = philow(179).llplot;
plot L180 = philow(180).llplot;
plot L181 = philow(181).llplot;
plot L182 = philow(182).llplot;
plot L183 = philow(183).llplot;
plot L184 = philow(184).llplot;
plot L185 = philow(185).llplot;
plot L186 = philow(186).llplot;
plot L187 = philow(187).llplot;
plot L188 = philow(188).llplot;
plot L189 = philow(189).llplot;
plot L190 = philow(190).llplot;
plot L191 = philow(191).llplot;
plot L192 = philow(192).llplot;
plot L193 = philow(193).llplot;
plot L194 = philow(194).llplot;
plot L195 = philow(195).llplot;
plot L196 = philow(196).llplot;
plot L197 = philow(197).llplot;
plot L198 = philow(198).llplot;
plot L199 = philow(199).llplot;
plot L200 = philow(200).llplot;
plot L201 = philow(201).llplot;
plot L202 = philow(202).llplot;
plot L203 = philow(203).llplot;
plot L204 = philow(204).llplot;
plot L205 = philow(205).llplot;
plot L206 = philow(206).llplot;
plot L207 = philow(207).llplot;
plot L208 = philow(208).llplot;
plot L209 = philow(209).llplot;
plot L210 = philow(210).llplot;
plot L211 = philow(211).llplot;
plot L212 = philow(212).llplot;
plot L213 = philow(213).llplot;
plot L214 = philow(214).llplot;
plot L215 = philow(215).llplot;
plot L216 = philow(216).llplot;
plot L217 = philow(217).llplot;
plot L218 = philow(218).llplot;
plot L219 = philow(219).llplot;
plot L220 = philow(220).llplot;
plot L221 = philow(221).llplot;
plot L222 = philow(222).llplot;
plot L223 = philow(223).llplot;
plot L224 = philow(224).llplot;
plot L225 = philow(225).llplot;
plot L226 = philow(226).llplot;
plot L227 = philow(227).llplot;
plot L228 = philow(228).llplot;
plot L229 = philow(229).llplot;
plot L230 = philow(230).llplot;
plot L231 = philow(231).llplot;
plot L232 = philow(232).llplot;
plot L233 = philow(233).llplot;
plot L234 = philow(234).llplot;
plot L235 = philow(235).llplot;
plot L236 = philow(236).llplot;
plot L237 = philow(237).llplot;
plot L238 = philow(238).llplot;
plot L239 = philow(239).llplot;
plot L240 = philow(240).llplot;
plot L241 = philow(241).llplot;
plot L242 = philow(242).llplot;
plot L243 = philow(243).llplot;
plot L244 = philow(244).llplot;
plot L245 = philow(245).llplot;
plot L246 = philow(246).llplot;
plot L247 = philow(247).llplot;
plot L248 = philow(248).llplot;
plot L249 = philow(249).llplot;
plot L250 = philow(250).llplot;
plot L251 = philow(251).llplot;
plot L252 = philow(252).llplot;
plot L253 = philow(253).llplot;
plot L254 = philow(254).llplot;
plot L255 = philow(255).llplot;
plot L256 = philow(256).llplot;
plot L257 = philow(257).llplot;
plot L258 = philow(258).llplot;
plot L259 = philow(259).llplot;
plot L260 = philow(260).llplot;
plot L261 = philow(261).llplot;
plot L262 = philow(262).llplot;
plot L263 = philow(263).llplot;
plot L264 = philow(264).llplot;
plot L265 = philow(265).llplot;
plot L266 = philow(266).llplot;
plot L267 = philow(267).llplot;
plot L268 = philow(268).llplot;
plot L269 = philow(269).llplot;
plot L270 = philow(270).llplot;
plot L271 = philow(271).llplot;
plot L272 = philow(272).llplot;
plot L273 = philow(273).llplot;
plot L274 = philow(274).llplot;
plot L275 = philow(275).llplot;
plot L276 = philow(276).llplot;
plot L277 = philow(277).llplot;
plot L278 = philow(278).llplot;
plot L279 = philow(279).llplot;
plot L280 = philow(280).llplot;
plot L281 = philow(281).llplot;
plot L282 = philow(282).llplot;
plot L283 = philow(283).llplot;
plot L284 = philow(284).llplot;
plot L285 = philow(285).llplot;
plot L286 = philow(286).llplot;
plot L287 = philow(287).llplot;
plot L288 = philow(288).llplot;
plot L289 = philow(289).llplot;
plot L290 = philow(290).llplot;
plot L291 = philow(291).llplot;
plot L292 = philow(292).llplot;
plot L293 = philow(293).llplot;
plot L294 = philow(294).llplot;
plot L295 = philow(295).llplot;
plot L296 = philow(296).llplot;
plot L297 = philow(297).llplot;
plot L298 = philow(298).llplot;
plot L299 = philow(299).llplot;
plot L300 = philow(300).llplot;
plot L301 = philow(301).llplot;
plot L302 = philow(302).llplot;
plot L303 = philow(303).llplot;
plot L304 = philow(304).llplot;
plot L305 = philow(305).llplot;
plot L306 = philow(306).llplot;
plot L307 = philow(307).llplot;
plot L308 = philow(308).llplot;
plot L309 = philow(309).llplot;
plot L310 = philow(310).llplot;
plot L311 = philow(311).llplot;
plot L312 = philow(312).llplot;
plot L313 = philow(313).llplot;
plot L314 = philow(314).llplot;
plot L315 = philow(315).llplot;
plot L316 = philow(316).llplot;
plot L317 = philow(317).llplot;
plot L318 = philow(318).llplot;
plot L319 = philow(319).llplot;
plot L320 = philow(320).llplot;
plot L321 = philow(321).llplot;
plot L322 = philow(322).llplot;
plot L323 = philow(323).llplot;
plot L324 = philow(324).llplot;
plot L325 = philow(325).llplot;
plot L326 = philow(326).llplot;
plot L327 = philow(327).llplot;
plot L328 = philow(328).llplot;
plot L329 = philow(329).llplot;
plot L330 = philow(330).llplot;
plot L331 = philow(331).llplot;
plot L332 = philow(332).llplot;
plot L333 = philow(333).llplot;
plot L334 = philow(334).llplot;
plot L335 = philow(335).llplot;
plot L336 = philow(336).llplot;
plot L337 = philow(337).llplot;
plot L338 = philow(338).llplot;
plot L339 = philow(339).llplot;
plot L340 = philow(340).llplot;
plot L341 = philow(341).llplot;
plot L342 = philow(342).llplot;
plot L343 = philow(343).llplot;
plot L344 = philow(344).llplot;
plot L345 = philow(345).llplot;
plot L346 = philow(346).llplot;
plot L347 = philow(347).llplot;
plot L348 = philow(348).llplot;
plot L349 = philow(349).llplot;
plot L350 = philow(350).llplot;
plot L351 = philow(351).llplot;
plot L352 = philow(352).llplot;
plot L353 = philow(353).llplot;
plot L354 = philow(354).llplot;
plot L355 = philow(355).llplot;
plot L356 = philow(356).llplot;
plot L357 = philow(357).llplot;
plot L358 = philow(358).llplot;
plot L359 = philow(359).llplot;
plot L360 = philow(360).llplot;
plot L361 = philow(361).llplot;
plot L362 = philow(362).llplot;
plot L363 = philow(363).llplot;
plot L364 = philow(364).llplot;
plot L365 = philow(365).llplot;


defineGlobalColor("H",color.red);
defineGlobalColor("L",color.green);
H1.setdefaultColor(globalColor("H"));
H2.setdefaultColor(globalColor("H"));
H3.setdefaultColor(globalColor("H"));
H4.setdefaultColor(globalColor("H"));
H5.setdefaultColor(globalColor("H"));
H6.setdefaultColor(globalColor("H"));
H7.setdefaultColor(globalColor("H"));
H8.setdefaultColor(globalColor("H"));
H9.setdefaultColor(globalColor("H"));
H10.setdefaultColor(globalColor("H"));
H11.setdefaultColor(globalColor("H"));
H12.setdefaultColor(globalColor("H"));
H13.setdefaultColor(globalColor("H"));
H14.setdefaultColor(globalColor("H"));
H15.setdefaultColor(globalColor("H"));
H16.setdefaultColor(globalColor("H"));
H17.setdefaultColor(globalColor("H"));
H18.setdefaultColor(globalColor("H"));
H19.setdefaultColor(globalColor("H"));
H20.setdefaultColor(globalColor("H"));
H21.setdefaultColor(globalColor("H"));
H22.setdefaultColor(globalColor("H"));
H23.setdefaultColor(globalColor("H"));
H24.setdefaultColor(globalColor("H"));
H25.setdefaultColor(globalColor("H"));
H26.setdefaultColor(globalColor("H"));
H27.setdefaultColor(globalColor("H"));
H28.setdefaultColor(globalColor("H"));
H29.setdefaultColor(globalColor("H"));
H30.setdefaultColor(globalColor("H"));
H31.setdefaultColor(globalColor("H"));
H32.setdefaultColor(globalColor("H"));
H33.setdefaultColor(globalColor("H"));
H34.setdefaultColor(globalColor("H"));
H35.setdefaultColor(globalColor("H"));
H36.setdefaultColor(globalColor("H"));
H37.setdefaultColor(globalColor("H"));
H38.setdefaultColor(globalColor("H"));
H39.setdefaultColor(globalColor("H"));
H40.setdefaultColor(globalColor("H"));
H41.setdefaultColor(globalColor("H"));
H42.setdefaultColor(globalColor("H"));
H43.setdefaultColor(globalColor("H"));
H44.setdefaultColor(globalColor("H"));
H45.setdefaultColor(globalColor("H"));
H46.setdefaultColor(globalColor("H"));
H47.setdefaultColor(globalColor("H"));
H48.setdefaultColor(globalColor("H"));
H49.setdefaultColor(globalColor("H"));
H50.setdefaultColor(globalColor("H"));
H51.setdefaultColor(globalColor("H"));
H52.setdefaultColor(globalColor("H"));
H53.setdefaultColor(globalColor("H"));
H54.setdefaultColor(globalColor("H"));
H55.setdefaultColor(globalColor("H"));
H56.setdefaultColor(globalColor("H"));
H57.setdefaultColor(globalColor("H"));
H58.setdefaultColor(globalColor("H"));
H59.setdefaultColor(globalColor("H"));
H60.setdefaultColor(globalColor("H"));
H61.setdefaultColor(globalColor("H"));
H62.setdefaultColor(globalColor("H"));
H63.setdefaultColor(globalColor("H"));
H64.setdefaultColor(globalColor("H"));
H65.setdefaultColor(globalColor("H"));
H66.setdefaultColor(globalColor("H"));
H67.setdefaultColor(globalColor("H"));
H68.setdefaultColor(globalColor("H"));
H69.setdefaultColor(globalColor("H"));
H70.setdefaultColor(globalColor("H"));
H71.setdefaultColor(globalColor("H"));
H72.setdefaultColor(globalColor("H"));
H73.setdefaultColor(globalColor("H"));
H74.setdefaultColor(globalColor("H"));
H75.setdefaultColor(globalColor("H"));
H76.setdefaultColor(globalColor("H"));
H77.setdefaultColor(globalColor("H"));
H78.setdefaultColor(globalColor("H"));
H79.setdefaultColor(globalColor("H"));
H80.setdefaultColor(globalColor("H"));
H81.setdefaultColor(globalColor("H"));
H82.setdefaultColor(globalColor("H"));
H83.setdefaultColor(globalColor("H"));
H84.setdefaultColor(globalColor("H"));
H85.setdefaultColor(globalColor("H"));
H86.setdefaultColor(globalColor("H"));
H87.setdefaultColor(globalColor("H"));
H88.setdefaultColor(globalColor("H"));
H89.setdefaultColor(globalColor("H"));
H90.setdefaultColor(globalColor("H"));
H91.setdefaultColor(globalColor("H"));
H92.setdefaultColor(globalColor("H"));
H93.setdefaultColor(globalColor("H"));
H94.setdefaultColor(globalColor("H"));
H95.setdefaultColor(globalColor("H"));
H96.setdefaultColor(globalColor("H"));
H97.setdefaultColor(globalColor("H"));
H98.setdefaultColor(globalColor("H"));
H99.setdefaultColor(globalColor("H"));
H100.setdefaultColor(globalColor("H"));
H101.setdefaultColor(globalColor("H"));
H102.setdefaultColor(globalColor("H"));
H103.setdefaultColor(globalColor("H"));
H104.setdefaultColor(globalColor("H"));
H105.setdefaultColor(globalColor("H"));
H106.setdefaultColor(globalColor("H"));
H107.setdefaultColor(globalColor("H"));
H108.setdefaultColor(globalColor("H"));
H109.setdefaultColor(globalColor("H"));
H110.setdefaultColor(globalColor("H"));
H111.setdefaultColor(globalColor("H"));
H112.setdefaultColor(globalColor("H"));
H113.setdefaultColor(globalColor("H"));
H114.setdefaultColor(globalColor("H"));
H115.setdefaultColor(globalColor("H"));
H116.setdefaultColor(globalColor("H"));
H117.setdefaultColor(globalColor("H"));
H118.setdefaultColor(globalColor("H"));
H119.setdefaultColor(globalColor("H"));
H120.setdefaultColor(globalColor("H"));
H121.setdefaultColor(globalColor("H"));
H122.setdefaultColor(globalColor("H"));
H123.setdefaultColor(globalColor("H"));
H124.setdefaultColor(globalColor("H"));
H125.setdefaultColor(globalColor("H"));
H126.setdefaultColor(globalColor("H"));
H127.setdefaultColor(globalColor("H"));
H128.setdefaultColor(globalColor("H"));
H129.setdefaultColor(globalColor("H"));
H130.setdefaultColor(globalColor("H"));
H131.setdefaultColor(globalColor("H"));
H132.setdefaultColor(globalColor("H"));
H133.setdefaultColor(globalColor("H"));
H134.setdefaultColor(globalColor("H"));
H135.setdefaultColor(globalColor("H"));
H136.setdefaultColor(globalColor("H"));
H137.setdefaultColor(globalColor("H"));
H138.setdefaultColor(globalColor("H"));
H139.setdefaultColor(globalColor("H"));
H140.setdefaultColor(globalColor("H"));
H141.setdefaultColor(globalColor("H"));
H142.setdefaultColor(globalColor("H"));
H143.setdefaultColor(globalColor("H"));
H144.setdefaultColor(globalColor("H"));
H145.setdefaultColor(globalColor("H"));
H146.setdefaultColor(globalColor("H"));
H147.setdefaultColor(globalColor("H"));
H148.setdefaultColor(globalColor("H"));
H149.setdefaultColor(globalColor("H"));
H150.setdefaultColor(globalColor("H"));
H151.setdefaultColor(globalColor("H"));
H152.setdefaultColor(globalColor("H"));
H153.setdefaultColor(globalColor("H"));
H154.setdefaultColor(globalColor("H"));
H155.setdefaultColor(globalColor("H"));
H156.setdefaultColor(globalColor("H"));
H157.setdefaultColor(globalColor("H"));
H158.setdefaultColor(globalColor("H"));
H159.setdefaultColor(globalColor("H"));
H160.setdefaultColor(globalColor("H"));
H161.setdefaultColor(globalColor("H"));
H162.setdefaultColor(globalColor("H"));
H163.setdefaultColor(globalColor("H"));
H164.setdefaultColor(globalColor("H"));
H165.setdefaultColor(globalColor("H"));
H166.setdefaultColor(globalColor("H"));
H167.setdefaultColor(globalColor("H"));
H168.setdefaultColor(globalColor("H"));
H169.setdefaultColor(globalColor("H"));
H170.setdefaultColor(globalColor("H"));
H171.setdefaultColor(globalColor("H"));
H172.setdefaultColor(globalColor("H"));
H173.setdefaultColor(globalColor("H"));
H174.setdefaultColor(globalColor("H"));
H175.setdefaultColor(globalColor("H"));
H176.setdefaultColor(globalColor("H"));
H177.setdefaultColor(globalColor("H"));
H178.setdefaultColor(globalColor("H"));
H179.setdefaultColor(globalColor("H"));
H180.setdefaultColor(globalColor("H"));
H181.setdefaultColor(globalColor("H"));
H182.setdefaultColor(globalColor("H"));
H183.setdefaultColor(globalColor("H"));
H184.setdefaultColor(globalColor("H"));
H185.setdefaultColor(globalColor("H"));
H186.setdefaultColor(globalColor("H"));
H187.setdefaultColor(globalColor("H"));
H188.setdefaultColor(globalColor("H"));
H189.setdefaultColor(globalColor("H"));
H190.setdefaultColor(globalColor("H"));
H191.setdefaultColor(globalColor("H"));
H192.setdefaultColor(globalColor("H"));
H193.setdefaultColor(globalColor("H"));
H194.setdefaultColor(globalColor("H"));
H195.setdefaultColor(globalColor("H"));
H196.setdefaultColor(globalColor("H"));
H197.setdefaultColor(globalColor("H"));
H198.setdefaultColor(globalColor("H"));
H199.setdefaultColor(globalColor("H"));
H200.setdefaultColor(globalColor("H"));
H201.setdefaultColor(globalColor("H"));
H202.setdefaultColor(globalColor("H"));
H203.setdefaultColor(globalColor("H"));
H204.setdefaultColor(globalColor("H"));
H205.setdefaultColor(globalColor("H"));
H206.setdefaultColor(globalColor("H"));
H207.setdefaultColor(globalColor("H"));
H208.setdefaultColor(globalColor("H"));
H209.setdefaultColor(globalColor("H"));
H210.setdefaultColor(globalColor("H"));
H211.setdefaultColor(globalColor("H"));
H212.setdefaultColor(globalColor("H"));
H213.setdefaultColor(globalColor("H"));
H214.setdefaultColor(globalColor("H"));
H215.setdefaultColor(globalColor("H"));
H216.setdefaultColor(globalColor("H"));
H217.setdefaultColor(globalColor("H"));
H218.setdefaultColor(globalColor("H"));
H219.setdefaultColor(globalColor("H"));
H220.setdefaultColor(globalColor("H"));
H221.setdefaultColor(globalColor("H"));
H222.setdefaultColor(globalColor("H"));
H223.setdefaultColor(globalColor("H"));
H224.setdefaultColor(globalColor("H"));
H225.setdefaultColor(globalColor("H"));
H226.setdefaultColor(globalColor("H"));
H227.setdefaultColor(globalColor("H"));
H228.setdefaultColor(globalColor("H"));
H229.setdefaultColor(globalColor("H"));
H230.setdefaultColor(globalColor("H"));
H231.setdefaultColor(globalColor("H"));
H232.setdefaultColor(globalColor("H"));
H233.setdefaultColor(globalColor("H"));
H234.setdefaultColor(globalColor("H"));
H235.setdefaultColor(globalColor("H"));
H236.setdefaultColor(globalColor("H"));
H237.setdefaultColor(globalColor("H"));
H238.setdefaultColor(globalColor("H"));
H239.setdefaultColor(globalColor("H"));
H240.setdefaultColor(globalColor("H"));
H241.setdefaultColor(globalColor("H"));
H242.setdefaultColor(globalColor("H"));
H243.setdefaultColor(globalColor("H"));
H244.setdefaultColor(globalColor("H"));
H245.setdefaultColor(globalColor("H"));
H246.setdefaultColor(globalColor("H"));
H247.setdefaultColor(globalColor("H"));
H248.setdefaultColor(globalColor("H"));
H249.setdefaultColor(globalColor("H"));
H250.setdefaultColor(globalColor("H"));
H251.setdefaultColor(globalColor("H"));
H252.setdefaultColor(globalColor("H"));
H253.setdefaultColor(globalColor("H"));
H254.setdefaultColor(globalColor("H"));
H255.setdefaultColor(globalColor("H"));
H256.setdefaultColor(globalColor("H"));
H257.setdefaultColor(globalColor("H"));
H258.setdefaultColor(globalColor("H"));
H259.setdefaultColor(globalColor("H"));
H260.setdefaultColor(globalColor("H"));
H261.setdefaultColor(globalColor("H"));
H262.setdefaultColor(globalColor("H"));
H263.setdefaultColor(globalColor("H"));
H264.setdefaultColor(globalColor("H"));
H265.setdefaultColor(globalColor("H"));
H266.setdefaultColor(globalColor("H"));
H267.setdefaultColor(globalColor("H"));
H268.setdefaultColor(globalColor("H"));
H269.setdefaultColor(globalColor("H"));
H270.setdefaultColor(globalColor("H"));
H271.setdefaultColor(globalColor("H"));
H272.setdefaultColor(globalColor("H"));
H273.setdefaultColor(globalColor("H"));
H274.setdefaultColor(globalColor("H"));
H275.setdefaultColor(globalColor("H"));
H276.setdefaultColor(globalColor("H"));
H277.setdefaultColor(globalColor("H"));
H278.setdefaultColor(globalColor("H"));
H279.setdefaultColor(globalColor("H"));
H280.setdefaultColor(globalColor("H"));
H281.setdefaultColor(globalColor("H"));
H282.setdefaultColor(globalColor("H"));
H283.setdefaultColor(globalColor("H"));
H284.setdefaultColor(globalColor("H"));
H285.setdefaultColor(globalColor("H"));
H286.setdefaultColor(globalColor("H"));
H287.setdefaultColor(globalColor("H"));
H288.setdefaultColor(globalColor("H"));
H289.setdefaultColor(globalColor("H"));
H290.setdefaultColor(globalColor("H"));
H291.setdefaultColor(globalColor("H"));
H292.setdefaultColor(globalColor("H"));
H293.setdefaultColor(globalColor("H"));
H294.setdefaultColor(globalColor("H"));
H295.setdefaultColor(globalColor("H"));
H296.setdefaultColor(globalColor("H"));
H297.setdefaultColor(globalColor("H"));
H298.setdefaultColor(globalColor("H"));
H299.setdefaultColor(globalColor("H"));
H300.setdefaultColor(globalColor("H"));
H301.setdefaultColor(globalColor("H"));
H302.setdefaultColor(globalColor("H"));
H303.setdefaultColor(globalColor("H"));
H304.setdefaultColor(globalColor("H"));
H305.setdefaultColor(globalColor("H"));
H306.setdefaultColor(globalColor("H"));
H307.setdefaultColor(globalColor("H"));
H308.setdefaultColor(globalColor("H"));
H309.setdefaultColor(globalColor("H"));
H310.setdefaultColor(globalColor("H"));
H311.setdefaultColor(globalColor("H"));
H312.setdefaultColor(globalColor("H"));
H313.setdefaultColor(globalColor("H"));
H314.setdefaultColor(globalColor("H"));
H315.setdefaultColor(globalColor("H"));
H316.setdefaultColor(globalColor("H"));
H317.setdefaultColor(globalColor("H"));
H318.setdefaultColor(globalColor("H"));
H319.setdefaultColor(globalColor("H"));
H320.setdefaultColor(globalColor("H"));
H321.setdefaultColor(globalColor("H"));
H322.setdefaultColor(globalColor("H"));
H323.setdefaultColor(globalColor("H"));
H324.setdefaultColor(globalColor("H"));
H325.setdefaultColor(globalColor("H"));
H326.setdefaultColor(globalColor("H"));
H327.setdefaultColor(globalColor("H"));
H328.setdefaultColor(globalColor("H"));
H329.setdefaultColor(globalColor("H"));
H330.setdefaultColor(globalColor("H"));
H331.setdefaultColor(globalColor("H"));
H332.setdefaultColor(globalColor("H"));
H333.setdefaultColor(globalColor("H"));
H334.setdefaultColor(globalColor("H"));
H335.setdefaultColor(globalColor("H"));
H336.setdefaultColor(globalColor("H"));
H337.setdefaultColor(globalColor("H"));
H338.setdefaultColor(globalColor("H"));
H339.setdefaultColor(globalColor("H"));
H340.setdefaultColor(globalColor("H"));
H341.setdefaultColor(globalColor("H"));
H342.setdefaultColor(globalColor("H"));
H343.setdefaultColor(globalColor("H"));
H344.setdefaultColor(globalColor("H"));
H345.setdefaultColor(globalColor("H"));
H346.setdefaultColor(globalColor("H"));
H347.setdefaultColor(globalColor("H"));
H348.setdefaultColor(globalColor("H"));
H349.setdefaultColor(globalColor("H"));
H350.setdefaultColor(globalColor("H"));
H351.setdefaultColor(globalColor("H"));
H352.setdefaultColor(globalColor("H"));
H353.setdefaultColor(globalColor("H"));
H354.setdefaultColor(globalColor("H"));
H355.setdefaultColor(globalColor("H"));
H356.setdefaultColor(globalColor("H"));
H357.setdefaultColor(globalColor("H"));
H358.setdefaultColor(globalColor("H"));
H359.setdefaultColor(globalColor("H"));
H360.setdefaultColor(globalColor("H"));
H361.setdefaultColor(globalColor("H"));
H362.setdefaultColor(globalColor("H"));
H363.setdefaultColor(globalColor("H"));
H364.setdefaultColor(globalColor("H"));
H365.setdefaultColor(globalColor("H"));

L1.setdefaultColor(globalColor("L"));
L2.setdefaultColor(globalColor("L"));
L3.setdefaultColor(globalColor("L"));
L4.setdefaultColor(globalColor("L"));
L5.setdefaultColor(globalColor("L"));
L6.setdefaultColor(globalColor("L"));
L7.setdefaultColor(globalColor("L"));
L8.setdefaultColor(globalColor("L"));
L9.setdefaultColor(globalColor("L"));
L10.setdefaultColor(globalColor("L"));
L11.setdefaultColor(globalColor("L"));
L12.setdefaultColor(globalColor("L"));
L13.setdefaultColor(globalColor("L"));
L14.setdefaultColor(globalColor("L"));
L15.setdefaultColor(globalColor("L"));
L16.setdefaultColor(globalColor("L"));
L17.setdefaultColor(globalColor("L"));
L18.setdefaultColor(globalColor("L"));
L19.setdefaultColor(globalColor("L"));
L20.setdefaultColor(globalColor("L"));
L21.setdefaultColor(globalColor("L"));
L22.setdefaultColor(globalColor("L"));
L23.setdefaultColor(globalColor("L"));
L24.setdefaultColor(globalColor("L"));
L25.setdefaultColor(globalColor("L"));
L26.setdefaultColor(globalColor("L"));
L27.setdefaultColor(globalColor("L"));
L28.setdefaultColor(globalColor("L"));
L29.setdefaultColor(globalColor("L"));
L30.setdefaultColor(globalColor("L"));
L31.setdefaultColor(globalColor("L"));
L32.setdefaultColor(globalColor("L"));
L33.setdefaultColor(globalColor("L"));
L34.setdefaultColor(globalColor("L"));
L35.setdefaultColor(globalColor("L"));
L36.setdefaultColor(globalColor("L"));
L37.setdefaultColor(globalColor("L"));
L38.setdefaultColor(globalColor("L"));
L39.setdefaultColor(globalColor("L"));
L40.setdefaultColor(globalColor("L"));
L41.setdefaultColor(globalColor("L"));
L42.setdefaultColor(globalColor("L"));
L43.setdefaultColor(globalColor("L"));
L44.setdefaultColor(globalColor("L"));
L45.setdefaultColor(globalColor("L"));
L46.setdefaultColor(globalColor("L"));
L47.setdefaultColor(globalColor("L"));
L48.setdefaultColor(globalColor("L"));
L49.setdefaultColor(globalColor("L"));
L50.setdefaultColor(globalColor("L"));
L51.setdefaultColor(globalColor("L"));
L52.setdefaultColor(globalColor("L"));
L53.setdefaultColor(globalColor("L"));
L54.setdefaultColor(globalColor("L"));
L55.setdefaultColor(globalColor("L"));
L56.setdefaultColor(globalColor("L"));
L57.setdefaultColor(globalColor("L"));
L58.setdefaultColor(globalColor("L"));
L59.setdefaultColor(globalColor("L"));
L60.setdefaultColor(globalColor("L"));
L61.setdefaultColor(globalColor("L"));
L62.setdefaultColor(globalColor("L"));
L63.setdefaultColor(globalColor("L"));
L64.setdefaultColor(globalColor("L"));
L65.setdefaultColor(globalColor("L"));
L66.setdefaultColor(globalColor("L"));
L67.setdefaultColor(globalColor("L"));
L68.setdefaultColor(globalColor("L"));
L69.setdefaultColor(globalColor("L"));
L70.setdefaultColor(globalColor("L"));
L71.setdefaultColor(globalColor("L"));
L72.setdefaultColor(globalColor("L"));
L73.setdefaultColor(globalColor("L"));
L74.setdefaultColor(globalColor("L"));
L75.setdefaultColor(globalColor("L"));
L76.setdefaultColor(globalColor("L"));
L77.setdefaultColor(globalColor("L"));
L78.setdefaultColor(globalColor("L"));
L79.setdefaultColor(globalColor("L"));
L80.setdefaultColor(globalColor("L"));
L81.setdefaultColor(globalColor("L"));
L82.setdefaultColor(globalColor("L"));
L83.setdefaultColor(globalColor("L"));
L84.setdefaultColor(globalColor("L"));
L85.setdefaultColor(globalColor("L"));
L86.setdefaultColor(globalColor("L"));
L87.setdefaultColor(globalColor("L"));
L88.setdefaultColor(globalColor("L"));
L89.setdefaultColor(globalColor("L"));
L90.setdefaultColor(globalColor("L"));
L91.setdefaultColor(globalColor("L"));
L92.setdefaultColor(globalColor("L"));
L93.setdefaultColor(globalColor("L"));
L94.setdefaultColor(globalColor("L"));
L95.setdefaultColor(globalColor("L"));
L96.setdefaultColor(globalColor("L"));
L97.setdefaultColor(globalColor("L"));
L98.setdefaultColor(globalColor("L"));
L99.setdefaultColor(globalColor("L"));
L100.setdefaultColor(globalColor("L"));
L101.setdefaultColor(globalColor("L"));
L102.setdefaultColor(globalColor("L"));
L103.setdefaultColor(globalColor("L"));
L104.setdefaultColor(globalColor("L"));
L105.setdefaultColor(globalColor("L"));
L106.setdefaultColor(globalColor("L"));
L107.setdefaultColor(globalColor("L"));
L108.setdefaultColor(globalColor("L"));
L109.setdefaultColor(globalColor("L"));
L110.setdefaultColor(globalColor("L"));
L111.setdefaultColor(globalColor("L"));
L112.setdefaultColor(globalColor("L"));
L113.setdefaultColor(globalColor("L"));
L114.setdefaultColor(globalColor("L"));
L115.setdefaultColor(globalColor("L"));
L116.setdefaultColor(globalColor("L"));
L117.setdefaultColor(globalColor("L"));
L118.setdefaultColor(globalColor("L"));
L119.setdefaultColor(globalColor("L"));
L120.setdefaultColor(globalColor("L"));
L121.setdefaultColor(globalColor("L"));
L122.setdefaultColor(globalColor("L"));
L123.setdefaultColor(globalColor("L"));
L124.setdefaultColor(globalColor("L"));
L125.setdefaultColor(globalColor("L"));
L126.setdefaultColor(globalColor("L"));
L127.setdefaultColor(globalColor("L"));
L128.setdefaultColor(globalColor("L"));
L129.setdefaultColor(globalColor("L"));
L130.setdefaultColor(globalColor("L"));
L131.setdefaultColor(globalColor("L"));
L132.setdefaultColor(globalColor("L"));
L133.setdefaultColor(globalColor("L"));
L134.setdefaultColor(globalColor("L"));
L135.setdefaultColor(globalColor("L"));
L136.setdefaultColor(globalColor("L"));
L137.setdefaultColor(globalColor("L"));
L138.setdefaultColor(globalColor("L"));
L139.setdefaultColor(globalColor("L"));
L140.setdefaultColor(globalColor("L"));
L141.setdefaultColor(globalColor("L"));
L142.setdefaultColor(globalColor("L"));
L143.setdefaultColor(globalColor("L"));
L144.setdefaultColor(globalColor("L"));
L145.setdefaultColor(globalColor("L"));
L146.setdefaultColor(globalColor("L"));
L147.setdefaultColor(globalColor("L"));
L148.setdefaultColor(globalColor("L"));
L149.setdefaultColor(globalColor("L"));
L150.setdefaultColor(globalColor("L"));
L151.setdefaultColor(globalColor("L"));
L152.setdefaultColor(globalColor("L"));
L153.setdefaultColor(globalColor("L"));
L154.setdefaultColor(globalColor("L"));
L155.setdefaultColor(globalColor("L"));
L156.setdefaultColor(globalColor("L"));
L157.setdefaultColor(globalColor("L"));
L158.setdefaultColor(globalColor("L"));
L159.setdefaultColor(globalColor("L"));
L160.setdefaultColor(globalColor("L"));
L161.setdefaultColor(globalColor("L"));
L162.setdefaultColor(globalColor("L"));
L163.setdefaultColor(globalColor("L"));
L164.setdefaultColor(globalColor("L"));
L165.setdefaultColor(globalColor("L"));
L166.setdefaultColor(globalColor("L"));
L167.setdefaultColor(globalColor("L"));
L168.setdefaultColor(globalColor("L"));
L169.setdefaultColor(globalColor("L"));
L170.setdefaultColor(globalColor("L"));
L171.setdefaultColor(globalColor("L"));
L172.setdefaultColor(globalColor("L"));
L173.setdefaultColor(globalColor("L"));
L174.setdefaultColor(globalColor("L"));
L175.setdefaultColor(globalColor("L"));
L176.setdefaultColor(globalColor("L"));
L177.setdefaultColor(globalColor("L"));
L178.setdefaultColor(globalColor("L"));
L179.setdefaultColor(globalColor("L"));
L180.setdefaultColor(globalColor("L"));
L181.setdefaultColor(globalColor("L"));
L182.setdefaultColor(globalColor("L"));
L183.setdefaultColor(globalColor("L"));
L184.setdefaultColor(globalColor("L"));
L185.setdefaultColor(globalColor("L"));
L186.setdefaultColor(globalColor("L"));
L187.setdefaultColor(globalColor("L"));
L188.setdefaultColor(globalColor("L"));
L189.setdefaultColor(globalColor("L"));
L190.setdefaultColor(globalColor("L"));
L191.setdefaultColor(globalColor("L"));
L192.setdefaultColor(globalColor("L"));
L193.setdefaultColor(globalColor("L"));
L194.setdefaultColor(globalColor("L"));
L195.setdefaultColor(globalColor("L"));
L196.setdefaultColor(globalColor("L"));
L197.setdefaultColor(globalColor("L"));
L198.setdefaultColor(globalColor("L"));
L199.setdefaultColor(globalColor("L"));
L200.setdefaultColor(globalColor("L"));
L201.setdefaultColor(globalColor("L"));
L202.setdefaultColor(globalColor("L"));
L203.setdefaultColor(globalColor("L"));
L204.setdefaultColor(globalColor("L"));
L205.setdefaultColor(globalColor("L"));
L206.setdefaultColor(globalColor("L"));
L207.setdefaultColor(globalColor("L"));
L208.setdefaultColor(globalColor("L"));
L209.setdefaultColor(globalColor("L"));
L210.setdefaultColor(globalColor("L"));
L211.setdefaultColor(globalColor("L"));
L212.setdefaultColor(globalColor("L"));
L213.setdefaultColor(globalColor("L"));
L214.setdefaultColor(globalColor("L"));
L215.setdefaultColor(globalColor("L"));
L216.setdefaultColor(globalColor("L"));
L217.setdefaultColor(globalColor("L"));
L218.setdefaultColor(globalColor("L"));
L219.setdefaultColor(globalColor("L"));
L220.setdefaultColor(globalColor("L"));
L221.setdefaultColor(globalColor("L"));
L222.setdefaultColor(globalColor("L"));
L223.setdefaultColor(globalColor("L"));
L224.setdefaultColor(globalColor("L"));
L225.setdefaultColor(globalColor("L"));
L226.setdefaultColor(globalColor("L"));
L227.setdefaultColor(globalColor("L"));
L228.setdefaultColor(globalColor("L"));
L229.setdefaultColor(globalColor("L"));
L230.setdefaultColor(globalColor("L"));
L231.setdefaultColor(globalColor("L"));
L232.setdefaultColor(globalColor("L"));
L233.setdefaultColor(globalColor("L"));
L234.setdefaultColor(globalColor("L"));
L235.setdefaultColor(globalColor("L"));
L236.setdefaultColor(globalColor("L"));
L237.setdefaultColor(globalColor("L"));
L238.setdefaultColor(globalColor("L"));
L239.setdefaultColor(globalColor("L"));
L240.setdefaultColor(globalColor("L"));
L241.setdefaultColor(globalColor("L"));
L242.setdefaultColor(globalColor("L"));
L243.setdefaultColor(globalColor("L"));
L244.setdefaultColor(globalColor("L"));
L245.setdefaultColor(globalColor("L"));
L246.setdefaultColor(globalColor("L"));
L247.setdefaultColor(globalColor("L"));
L248.setdefaultColor(globalColor("L"));
L249.setdefaultColor(globalColor("L"));
L250.setdefaultColor(globalColor("L"));
L251.setdefaultColor(globalColor("L"));
L252.setdefaultColor(globalColor("L"));
L253.setdefaultColor(globalColor("L"));
L254.setdefaultColor(globalColor("L"));
L255.setdefaultColor(globalColor("L"));
L256.setdefaultColor(globalColor("L"));
L257.setdefaultColor(globalColor("L"));
L258.setdefaultColor(globalColor("L"));
L259.setdefaultColor(globalColor("L"));
L260.setdefaultColor(globalColor("L"));
L261.setdefaultColor(globalColor("L"));
L262.setdefaultColor(globalColor("L"));
L263.setdefaultColor(globalColor("L"));
L264.setdefaultColor(globalColor("L"));
L265.setdefaultColor(globalColor("L"));
L266.setdefaultColor(globalColor("L"));
L267.setdefaultColor(globalColor("L"));
L268.setdefaultColor(globalColor("L"));
L269.setdefaultColor(globalColor("L"));
L270.setdefaultColor(globalColor("L"));
L271.setdefaultColor(globalColor("L"));
L272.setdefaultColor(globalColor("L"));
L273.setdefaultColor(globalColor("L"));
L274.setdefaultColor(globalColor("L"));
L275.setdefaultColor(globalColor("L"));
L276.setdefaultColor(globalColor("L"));
L277.setdefaultColor(globalColor("L"));
L278.setdefaultColor(globalColor("L"));
L279.setdefaultColor(globalColor("L"));
L280.setdefaultColor(globalColor("L"));
L281.setdefaultColor(globalColor("L"));
L282.setdefaultColor(globalColor("L"));
L283.setdefaultColor(globalColor("L"));
L284.setdefaultColor(globalColor("L"));
L285.setdefaultColor(globalColor("L"));
L286.setdefaultColor(globalColor("L"));
L287.setdefaultColor(globalColor("L"));
L288.setdefaultColor(globalColor("L"));
L289.setdefaultColor(globalColor("L"));
L290.setdefaultColor(globalColor("L"));
L291.setdefaultColor(globalColor("L"));
L292.setdefaultColor(globalColor("L"));
L293.setdefaultColor(globalColor("L"));
L294.setdefaultColor(globalColor("L"));
L295.setdefaultColor(globalColor("L"));
L296.setdefaultColor(globalColor("L"));
L297.setdefaultColor(globalColor("L"));
L298.setdefaultColor(globalColor("L"));
L299.setdefaultColor(globalColor("L"));
L300.setdefaultColor(globalColor("L"));
L301.setdefaultColor(globalColor("L"));
L302.setdefaultColor(globalColor("L"));
L303.setdefaultColor(globalColor("L"));
L304.setdefaultColor(globalColor("L"));
L305.setdefaultColor(globalColor("L"));
L306.setdefaultColor(globalColor("L"));
L307.setdefaultColor(globalColor("L"));
L308.setdefaultColor(globalColor("L"));
L309.setdefaultColor(globalColor("L"));
L310.setdefaultColor(globalColor("L"));
L311.setdefaultColor(globalColor("L"));
L312.setdefaultColor(globalColor("L"));
L313.setdefaultColor(globalColor("L"));
L314.setdefaultColor(globalColor("L"));
L315.setdefaultColor(globalColor("L"));
L316.setdefaultColor(globalColor("L"));
L317.setdefaultColor(globalColor("L"));
L318.setdefaultColor(globalColor("L"));
L319.setdefaultColor(globalColor("L"));
L320.setdefaultColor(globalColor("L"));
L321.setdefaultColor(globalColor("L"));
L322.setdefaultColor(globalColor("L"));
L323.setdefaultColor(globalColor("L"));
L324.setdefaultColor(globalColor("L"));
L325.setdefaultColor(globalColor("L"));
L326.setdefaultColor(globalColor("L"));
L327.setdefaultColor(globalColor("L"));
L328.setdefaultColor(globalColor("L"));
L329.setdefaultColor(globalColor("L"));
L330.setdefaultColor(globalColor("L"));
L331.setdefaultColor(globalColor("L"));
L332.setdefaultColor(globalColor("L"));
L333.setdefaultColor(globalColor("L"));
L334.setdefaultColor(globalColor("L"));
L335.setdefaultColor(globalColor("L"));
L336.setdefaultColor(globalColor("L"));
L337.setdefaultColor(globalColor("L"));
L338.setdefaultColor(globalColor("L"));
L339.setdefaultColor(globalColor("L"));
L340.setdefaultColor(globalColor("L"));
L341.setdefaultColor(globalColor("L"));
L342.setdefaultColor(globalColor("L"));
L343.setdefaultColor(globalColor("L"));
L344.setdefaultColor(globalColor("L"));
L345.setdefaultColor(globalColor("L"));
L346.setdefaultColor(globalColor("L"));
L347.setdefaultColor(globalColor("L"));
L348.setdefaultColor(globalColor("L"));
L349.setdefaultColor(globalColor("L"));
L350.setdefaultColor(globalColor("L"));
L351.setdefaultColor(globalColor("L"));
L352.setdefaultColor(globalColor("L"));
L353.setdefaultColor(globalColor("L"));
L354.setdefaultColor(globalColor("L"));
L355.setdefaultColor(globalColor("L"));
L356.setdefaultColor(globalColor("L"));
L357.setdefaultColor(globalColor("L"));
L358.setdefaultColor(globalColor("L"));
L359.setdefaultColor(globalColor("L"));
L360.setdefaultColor(globalColor("L"));
L361.setdefaultColor(globalColor("L"));
L362.setdefaultColor(globalColor("L"));
L363.setdefaultColor(globalColor("L"));
L364.setdefaultColor(globalColor("L"));
L365.setdefaultColor(globalColor("L"));

I have created 4 scripts from the above that results in the colored lines for 365 bars. The high plots were corrected from .llplot to .hhplot.

Here is a link to a chart with the 4 scripts. http://tos.mx/8pJJCi9

Here is what it looks like on a Daily chart of /ES
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
438 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top