-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscript.js
354 lines (293 loc) · 83.7 KB
/
script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
document.addEventListener("DOMContentLoaded", function() {
var data = [
[176.82,180.6,175.35,180.22,1196208000000],[179.43,185.17,179.15,184.29,1196294400000],[187.34,187.7,179.7,182.22,1196380800000],[181.86,184.14,177.7,178.86,1196640000000],[177.15,180.9,176.99,179.81,1196726400000],[182.89,186,182.41,185.5,1196812800000],[186.19,190.1,186.12,189.95,1196899200000],[190.54,194.99,188.04,194.3,1196985600000],[193.59,195.66,192.69,194.21,1197244800000],[194.75,196.83,187.39,188.54,1197331200000],[193.44,194.48,185.76,190.86,1197417600000],[190.19,192.12,187.82,191.83,1197504000000],[190.37,200,189.54,190.39,1197590400000],[190.72,192.65,182.98,184.4,1197849600000],[186.52,187.33,178.6,182.98,1197936000000],[182.98,184.64,180.9,183.12,1198022400000],[185.43,187.83,183.33,187.21,1198108800000],[190.12,193.91,189.89,193.91,1198195200000],[195.03,199.33,194.79,198.8,1198454400000],[199.01,200.96,196.82,198.95,1198627200000],[198.95,202.96,197.8,198.57,1198713600000],[200.59,201.56,196.88,199.83,1198800000000],[199.5,200.5,197.75,198.08,1199059200000],[199.27,200.26,192.55,194.84,1199232000000],[195.41,197.39,192.69,194.93,1199318400000],[191.45,193,178.89,180.05,1199404800000],[181.25,183.6,170.23,177.64,1199664000000],[180.14,182.46,170.8,171.25,1199750400000],[171.3,179.5,168.3,179.4,1199836800000],[177.58,181,175.41,178.02,1199923200000],[176,177.85,170,172.69,1200009600000],[177.52,179.42,175.17,178.78,1200268800000],[177.72,179.22,164.66,169.04,1200355200000],[165.31,169.01,156.7,159.64,1200441600000],[161.51,165.36,158.42,160.89,1200528000000],[161.71,165.75,159.61,161.36,1200614400000],[148.06,159.98,146,155.64,1200960000000],[136.19,140,126.14,139.07,1201046400000],[139.99,140.7,132.01,135.6,1201132800000],[138.99,139.09,129.61,130.01,1201219200000],[128.16,133.2,126.45,130.01,1201478400000],[131.15,132.79,129.05,131.54,1201564800000],[131.37,135.45,130,132.18,1201651200000],[129.45,136.65,129.4,135.36,1201737600000],[136.24,136.59,132.18,133.75,1201824000000],[134.21,135.9,131.42,131.65,1202083200000],[130.43,134,128.9,129.36,1202169600000],[130.83,131.92,121.77,122,1202256000000],[119.97,124.78,117.27,121.24,1202342400000],[122.08,125.7,121.6,125.48,1202428800000],[128.01,129.98,127.2,129.45,1202688000000],[130.7,131,123.62,124.86,1202774400000],[126.68,129.78,125.63,129.4,1202860800000],[129.4,130.8,127.01,127.46,1202947200000],[126.27,127.08,124.06,124.63,1203033600000],[125.99,126.75,121.44,122.18,1203379200000],[122.2,124.6,121.68,123.82,1203465600000],[126.05,126.47,120.86,121.54,1203552000000],[122.48,122.51,115.87,119.46,1203638400000],[118.59,120.17,116.66,119.74,1203897600000],[117.64,121.09,115.44,119.15,1203984000000],[118.23,123.05,118.09,122.96,1204070400000],[127.2,132.2,125.77,129.91,1204156800000],[129.29,130.21,124.8,125.02,1204243200000],[124.44,125.98,118,121.73,1204502400000],[121.99,124.88,120.4,124.62,1204588800000],[123.58,125.14,122.25,124.49,1204675200000],[124.62,127.5,120.81,120.93,1204761600000],[120.41,122.98,119.05,122.25,1204848000000],[121.98,123.46,119.37,119.69,1205107200000],[124.1,127.48,122,127.35,1205193600000],[127.04,128.68,125.17,126.03,1205280000000],[124.1,129.5,123,127.94,1205366400000],[129.88,130.3,124.2,126.61,1205452800000],[122.55,128.59,122.55,126.73,1205712000000],[129.18,133,128.67,132.82,1205798400000],[133.12,134.29,129.67,129.67,1205884800000],[131.12,133.29,129.18,133.27,1205971200000],[134.01,140.85,133.64,139.53,1206316800000],[139.96,143.1,137.33,140.98,1206403200000],[140.87,145.74,140.64,145.06,1206489600000],[144.95,145.31,139.99,140.25,1206576000000],[141.8,144.65,141.6,143.01,1206662400000],[143.27,145.71,142.52,143.5,1206921600000],[146.3,149.66,143.61,149.53,1207008000000],[148.78,151.2,145.85,147.49,1207094400000],[147.06,153.63,147,151.61,1207180800000],[152.19,154.72,150.75,153.08,1207267200000],[156.13,159.69,155.11,155.89,1207526400000],[153.55,156.45,152.32,152.84,1207612800000],[153.31,153.89,150.46,151.44,1207699200000],[151.13,155.42,150.6,154.55,1207785600000],[152.72,153.3,146.4,147.14,1207872000000],[146.77,149.25,144.54,147.78,1208131200000],[149.4,149.72,145.72,148.38,1208217600000],[151.72,154.1,150.62,153.7,1208304000000],[154.17,156,153.35,154.49,1208390400000],[159.12,162.26,158.38,161.04,1208476800000],[162.21,168.5,161.76,168.16,1208736000000],[167.4,168,158.09,160.2,1208822400000],[164.05,164.84,161.08,162.89,1208908800000],[165.34,169.98,159.19,168.94,1208995200000],[170.7,171.1,166.42,169.73,1209081600000],[169.75,173.75,169.13,172.24,1209340800000],[171.11,175.66,170.25,175.05,1209427200000],[176.19,180,172.92,173.95,1209513600000],[174.96,180,174.86,180,1209600000000],[180.19,181.92,178.55,180.94,1209686400000],[181.92,185.31,181.05,184.73,1209945600000],[184.66,187.12,182.18,186.66,1210032000000],[186.05,188.2,180.54,182.59,1210118400000],[183.77,186.5,183.07,185.06,1210204800000],[183.16,184.25,181.37,183.45,1210291200000],[185.21,188.87,182.85,188.16,1210550400000],[188.61,191.45,187.86,189.96,1210636800000],[191.23,192.24,185.57,186.26,1210723200000],[186.81,189.9,184.2,189.73,1210809600000],[190.11,190.3,187,187.62,1210896000000],[187.86,188.69,181.3,183.6,1211155200000],[181.82,186.16,180.12,185.9,1211241600000],[185.67,188,176.25,178.19,1211328000000],[179.26,181.33,172,177.05,1211414400000],[180.77,181.99,177.8,181.17,1211500800000],[182.75,186.43,181.84,186.43,1211846400000],[187.41,187.95,183.72,187.01,1211932800000],[186.76,188.2,185.5,186.69,1212019200000],[187.45,189.54,187.38,188.75,1212105600000],[188.6,189.65,184.53,186.1,1212364800000],[186.86,188.2,182.34,185.37,1212451200000],[184.02,187.09,183.23,185.19,1212537600000],[186.34,189.84,185.7,189.43,1212624000000],[188,189.95,185.55,185.64,1212710400000],[184.79,184.94,175.75,181.61,1212969600000],[180.51,186.78,179.02,185.64,1213056000000],[184.34,186,179.59,180.81,1213142400000],[181.49,182.6,171.2,173.26,1213228800000],[171.64,174.16,165.31,172.37,1213315200000],[171.3,177.9,169.07,176.84,1213574400000],[178.1,181.99,177.41,181.43,1213660800000],[181.12,182.2,177.35,178.75,1213747200000],[178.55,182.34,176.8,180.9,1213833600000],[179.35,181,175,175.27,1213920000000],[174.74,175.88,171.56,173.16,1214179200000],[172.37,175.78,171.63,173.25,1214265600000],[174.61,178.83,173.88,177.39,1214352000000],[174.07,174.84,168.01,168.26,1214438400000],[166.51,170.57,164.15,170.09,1214524800000],[170.06,172,166.62,167.44,1214784000000],[164.23,174.72,164,174.68,1214870400000],[175.2,177.45,168.18,168.18,1214956800000],[169.59,172.17,165.75,170.12,1215043200000],[173.16,177.13,171.9,175.16,1215388800000],[175.4,179.7,172.74,179.55,1215475200000],[180.2,180.91,174.14,174.25,1215561600000],[174.92,177.34,171.37,176.63,1215648000000],[175.47,177.11,171,172.58,1215734400000],[179.24,179.3,173.08,173.88,1215993600000],[172.48,173.74,166.39,169.64,1216080000000],[170.2,172.93,168.6,172.81,1216166400000],[174.1,174.98,171.39,171.81,1216252800000],[168.52,169.65,165,165.15,1216339200000],[166.9,167.5,161.12,166.29,1216598400000],[149,162.76,146.53,162.02,1216684800000],[164.99,168.37,161.56,166.26,1216771200000],[164.32,165.26,158.45,159.03,1216857600000],[160.4,163,158.65,162.12,1216944000000],[162.34,162.47,154.02,154.4,1217203200000],[155.41,159.45,153.65,157.08,1217289600000],[157.78,160.49,156.08,159.88,1217376000000],[157.54,162.2,156.98,158.95,1217462400000],[159.9,159.99,155.75,156.66,1217548800000],[156.6,157.9,152.91,153.23,1217808000000],[155.42,160.8,154.82,160.64,1217894400000],[159.97,167.4,158,164.19,1217980800000],[162.71,166.15,161.5,163.57,1218067200000],[163.86,169.65,163.75,169.55,1218153600000],[170.07,176.5,169.67,173.56,1218412800000],[173.52,179.29,173.51,176.73,1218499200000],[177.98,180,175.9,179.3,1218585600000],[178.33,180.45,177.84,179.32,1218672000000],[179.04,179.75,175.05,175.74,1218758400000],[175.57,177.81,173.82,175.39,1219017600000],[174.54,177.07,171.81,173.53,1219104000000],[174.77,176.94,173.61,175.84,1219190400000],[174.47,175.45,171.89,174.29,1219276800000],[175.82,177.5,175.57,176.79,1219363200000],[176.15,176.23,171.66,172.55,1219622400000],[172.76,174.88,172.61,173.64,1219708800000],[173.31,175.76,172.19,174.67,1219795200000],[175.28,176.25,172.75,173.74,1219881600000],[172.96,173.5,169.04,169.53,1219968000000],[172.4,173.5,165,166.19,1220313600000],[166.84,168.68,164,166.96,1220400000000],[165.86,167.91,160.81,161.22,1220486400000],[158.59,162.4,157.65,160.18,1220572800000],[164.57,164.89,151.46,157.92,1220832000000],[156.86,159.96,149.79,151.68,1220918400000],[152.32,154.99,148.8,151.61,1221004800000],[148.18,152.99,146,152.65,1221091200000],[150.91,150.91,146.5,148.94,1221177600000],[142.03,147.69,140.36,140.36,1221436800000],[133.86,142.5,132.15,139.88,1221523200000],[138.49,138.51,127.83,127.83,1221609600000],[130.57,135.43,120.68,134.09,1221696000000],[142.6,144.2,136.31,140.91,1221782400000],[139.94,140.25,130.66,131.05,1222041600000],[131.85,135.8,126.66,126.84,1222128000000],[127.27,130.95,125.15,128.71,1222214400000],[129.8,134.79,128.52,131.93,1222300800000],[124.91,129.8,123,128.24,1222387200000],[119.62,119.68,100.59,105.26,1222646400000],[108.25,115,106.3,113.66,1222732800000],[111.92,112.36,107.39,109.12,1222819200000],[108.01,108.79,100,100.1,1222905600000],[104,106.5,94.65,97.07,1222992000000],[91.96,98.78,87.54,98.14,1223251200000],[100.48,101.5,88.95,89.16,1223337600000],[85.91,96.33,85.68,89.79,1223424000000],[93.35,95.8,86.6,88.74,1223510400000],[85.7,100,85,96.8,1223596800000],[104.55,110.53,101.02,110.26,1223856000000],[116.26,116.4,103.14,104.08,1223942400000],[103.84,107,97.89,97.95,1224028800000],[99.77,103.43,91.74,101.89,1224115200000],[99.6,102.04,85.88,97.4,1224201600000],[99.78,100.03,93.64,98.44,1224460800000],[96.95,97.9,91.16,91.49,1224547200000],[97.37,101.25,92.93,96.87,1224633600000],[96.51,99.25,91.9,98.23,1224720000000],[90.33,97.9,90.11,96.38,1224806400000],[95.07,97.63,91.86,92.09,1225065600000],[95.43,100.5,92.37,99.91,1225152000000],[100.86,109.54,99.94,104.55,1225238400000],[108.23,112.19,107.61,111.04,1225324800000],[107.4,110.78,105.14,107.59,1225411200000],[105.93,109.1,104.86,106.96,1225670400000],[109.99,111.79,106.67,110.99,1225756800000],[108.91,109.72,102.99,103.3,1225843200000],[101.05,102.78,98,99.1,1225929600000],[99.24,99.85,95.72,98.24,1226016000000],[100.17,100.4,94.5,95.88,1226275200000],[94.81,97.17,92.26,94.77,1226361600000],[92.43,93.24,90.01,90.12,1226448000000],[89.87,96.44,86.02,96.44,1226534400000],[93.76,93.99,90,90.24,1226620800000],[88.48,90.55,87.26,88.14,1226880000000],[89.64,90.99,86.86,89.91,1226966400000],[89.44,91.58,86.21,86.29,1227052800000],[85.24,86.45,80,80.49,1227139200000],[81.93,84.12,79.14,82.58,1227225600000],[85.21,94.79,84.84,92.95,1227484800000],[94.63,94.71,88.16,90.8,1227571200000],[89.92,95.25,89.85,95,1227657600000],[null,null,null,95,1227744000000],[94.7,94.76,91.86,92.67,1227830400000],[91.3,92.27,88.92,88.93,1228089600000],[90.03,92.65,86.5,92.47,1228176000000],[89.4,96.23,88.8,95.9,1228262400000],[94.43,95.21,89.06,91.41,1228348800000],[90.35,94.49,88.86,94,1228435200000],[97.28,100.8,95.8,99.72,1228694400000],[98.09,103.6,97.21,100.06,1228780800000],[97.87,99.49,96.5,98.21,1228867200000],[97.35,101.24,94.83,95,1228953600000],[92.8,99,92.53,98.27,1229040000000],[95.99,96.21,93,94.75,1229299200000],[93.98,96.48,92.75,95.43,1229385600000],[91.03,91.1,88.02,89.16,1229472000000],[89.31,90.83,88.44,89.43,1229558400000],[89.94,90.94,88.8,90,1229644800000],[90.02,90.03,84.69,85.74,1229904000000],[86.87,87.87,85.9,86.38,1229990400000],[86.14,86.25,84.55,85.04,1230076800000],[null,null,null,85.04,1230163200000],[86.64,87.42,85.24,85.81,1230249600000],[86.52,87.62,85.07,86.61,1230508800000],[87.42,88.05,84.72,86.29,1230595200000],[85.97,87.74,85.34,85.35,1230681600000],[null,null,null,85.35,1230768000000],[85.88,91.04,85.16,90.75,1230854400000],[93.17,96.18,92.71,94.58,1231113600000],[95.95,97.17,92.39,93.02,1231200000000],[91.81,92.5,90.26,91.01,1231286400000],[90.43,93.15,90.04,92.7,1231372800000],[93.21,93.38,90.14,90.58,1231459200000],[90.46,90.99,87.55,88.66,1231718400000],[88.24,89.74,86.35,87.71,1231804800000],[86.24,87.25,84.72,85.33,1231891200000],[80.57,84.12,80.05,83.38,1231977600000],[84.3,84.38,80.4,82.33,1232064000000],[81.93,82,78.2,78.2,1232409600000],[79.39,82.88,79.31,82.83,1232496000000],[88.04,90,85.82,88.36,1232582400000],[86.82,89.87,86.5,88.36,1232668800000],[88.86,90.97,88.3,89.64,1232928000000],[90.19,91.55,89.74,90.73,1233014400000],[92.12,95,91.5,94.2,1233100800000],[93.09,94.34,92.6,93,1233187200000],[92.6,93.62,90.01,90.13,1233273600000],[89.1,92,88.9,91.51,1233532800000],[91.92,93.38,90.28,92.98,1233619200000],[93.22,96.25,93.1,93.55,1233705600000],[92.77,97.25,92.62,96.46,1233792000000],[97.02,100,97,99.72,1233878400000],[100,103,99.5,102.51,1234137600000],[101.33,102.51,97.06,97.83,1234224000000],[96.37,98.31,95.77,96.82,1234310400000],[95.83,99.75,95.83,99.27,1234396800000],[98.99,99.94,98.12,99.16,1234483200000],[96.87,97.04,94.28,94.53,1234828800000],[95.05,95.85,92.72,94.37,1234915200000],[93.37,94.25,90.11,90.64,1235001600000],[89.4,92.4,89,91.2,1235088000000],[91.65,92,86.51,86.95,1235347200000],[87.45,90.89,87,90.25,1235433600000],[89.86,92.92,89.25,91.16,1235520000000],[92,92.92,88.96,89.19,1235606400000],[87.93,91.3,87.67,89.31,1235692800000],[88.12,91.2,87.67,87.94,1235952000000],[88.93,90.74,87.88,88.37,1236038400000],[90.18,92.77,89.45,91.17,1236124800000],[90.46,91.87,88.45,88.84,1236211200000],[88.34,88.4,82.33,85.3,1236297600000],[84.18,87.6,82.57,83.11,1236556800000],[84.87,89.17,84.36,88.63,1236643200000],[89.81,94.07,89.58,92.68,1236729600000],[92.9,96.58,92,96.35,1236816000000],[96.3,97.2,95.01,95.93,1236902400000],[96.53,97.39,94.18,95.42,1237161600000],[95.24,99.69,95.07,99.66,1237248000000],[99.91,103.48,99.72,101.52,1237334400000],[101.85,103.2,100.25,101.62,1237420800000],[102.09,103.11,100.57,101.59,1237507200000],[102.71,108.16,101.75,107.66,1237766400000],[106.36,109.44,105.39,106.5,1237852800000],[107.58,108.36,103.86,106.49,1237939200000],[107.83,109.98,107.58,109.87,1238025600000],[108.23,108.53,106.4,106.85,1238112000000],[104.51,105.01,102.61,104.49,1238371200000],[105.45,107.45,105,105.12,1238457600000],[104.09,109,103.89,108.69,1238544000000],[110.14,114.75,109.78,112.71,1238630400000],[114.19,116.13,113.52,115.99,1238716800000],[114.94,118.75,113.28,118.45,1238976000000],[116.53,116.67,114.19,115,1239062400000],[115.43,116.79,114.58,116.32,1239148800000],[118.42,120,117.96,119.57,1239235200000],[null,null,null,119.57,1239321600000],[120.01,120.98,119,120.22,1239580800000],[119.57,120.17,117.25,118.31,1239667200000],[117.2,118.25,115.76,117.64,1239753600000],[119.19,123.15,118.79,121.45,1239840000000],[121.18,124.25,120.25,123.42,1239926400000],[121.73,122.99,119.16,120.5,1240185600000],[118.89,122.14,118.6,121.76,1240272000000],[122.63,125.35,121.2,121.51,1240358400000],[126.62,127.2,123.51,125.4,1240444800000],[124.64,125.14,122.97,123.9,1240531200000],[122.9,125,122.66,124.73,1240790400000],[123.35,126.21,123.26,123.9,1240876800000],[124.85,126.85,123.83,125.14,1240963200000],[126.22,127,124.92,125.83,1241049600000],[125.8,127.95,125.8,127.24,1241136000000],[128.24,132.25,127.68,132.07,1241395200000],[131.75,132.86,131.12,132.71,1241481600000],[133.33,133.5,130.22,132.5,1241568000000],[132.33,132.39,127.9,129.06,1241654400000],[129.04,131.23,126.26,129.19,1241740800000],[127.37,130.96,127.12,129.57,1242000000000],[129.56,129.71,123.25,124.42,1242086400000],[123.21,124.02,119.38,119.49,1242172800000],[119.78,123.53,119.7,122.95,1242259200000],[122.32,124.62,121.61,122.42,1242345600000],[123.73,126.7,121.57,126.65,1242604800000],[126.82,129.31,125.74,127.45,1242691200000],[127.63,129.21,125.3,125.87,1242777600000],[125.15,126.78,122.89,124.18,1242864000000],[124.05,124.18,121.75,122.5,1242950400000],[124.76,130.83,124.55,130.78,1243296000000],[131.78,134.98,130.91,133.05,1243382400000],[133.45,135.39,132.03,135.07,1243468800000],[135.39,135.9,133.85,135.81,1243555200000],[136.47,139.99,136,139.35,1243814400000],[138.99,141.34,138.35,139.49,1243900800000],[140,141.11,139.07,140.95,1243987200000],[140.13,144.18,140.04,143.74,1244073600000],[145.31,146.4,143.21,144.67,1244160000000],[143.82,144.23,139.43,143.85,1244419200000],[143.81,144.56,140.55,142.72,1244505600000],[142.28,142.35,138.3,140.25,1244592000000],[139.55,141.56,138.55,139.95,1244678400000],[138.81,139.1,136.04,136.97,1244764800000],[136.01,136.93,134.89,136.09,1245024000000],[136.66,138.47,136.1,136.35,1245110400000],[136.67,137.45,134.53,135.58,1245196800000],[136.11,138,135.59,135.88,1245283200000],[138.07,139.5,136.9,139.48,1245369600000],[140.67,141.56,136.33,137.37,1245628800000],[136.4,136.95,132.88,134.01,1245715200000],[135.42,137.5,134.86,136.22,1245801600000],[135.75,140.2,135.21,139.86,1245888000000],[139.79,143.56,139.74,142.44,1245974400000],[143.46,143.95,141.54,141.97,1246233600000],[142.58,143.8,141.8,142.43,1246320000000],[143.5,144.66,142.52,142.83,1246406400000],[141.25,142.83,139.79,140.02,1246492800000],[null,null,null,140.02,1246579200000],[138.7,138.99,136.25,138.61,1246838400000],[138.48,139.68,135.18,135.4,1246924800000],[135.92,138.04,134.42,137.22,1247011200000],[137.76,137.99,135.93,136.36,1247097600000],[136.34,138.97,136.32,138.52,1247184000000],[139.54,142.34,137.53,142.34,1247443200000],[142.03,143.18,141.16,142.27,1247529600000],[145.04,147,144.32,146.88,1247616000000],[145.76,148.02,145.57,147.52,1247702400000],[149.08,152.02,148.63,151.75,1247788800000],[153.27,155.04,150.89,152.91,1248048000000],[153.29,153.43,149.75,151.51,1248134400000],[157.79,158.73,156.11,156.74,1248220800000],[156.63,158.44,155.56,157.82,1248307200000],[156.95,160,156.5,159.99,1248393600000],[160.17,160.88,157.26,160.1,1248652800000],[158.88,160.1,157.6,160,1248739200000],[158.9,160.45,158.25,160.03,1248825600000],[161.7,164.72,161.5,162.79,1248912000000],[162.99,165,162.91,163.39,1248998400000],[165.21,166.64,164.87,166.43,1249257600000],[164.93,165.57,164.21,165.55,1249344000000],[165.75,167.39,164.21,165.11,1249430400000],[165.58,166.51,163.09,163.91,1249516800000],[165.49,166.6,164.8,165.51,1249603200000],[165.66,166.6,163.66,164.72,1249862400000],[163.69,164.38,161.88,162.83,1249948800000],[162.55,166.71,162.46,165.31,1250035200000],[166.65,168.67,166.5,168.42,1250121600000],[167.94,168.23,165.53,166.78,1250208000000],[163.55,163.59,159.42,159.59,1250467200000],[161.63,164.24,161.41,164,1250553600000],[162.75,165.3,162.45,164.6,1250640000000],[164.98,166.72,164.61,166.33,1250726400000],[167.65,169.37,166.8,169.22,1250812800000],[170.12,170.71,168.27,169.06,1251072000000],[169.46,170.94,169.13,169.4,1251158400000],[168.92,169.55,166.76,167.41,1251244800000],[168.75,169.57,164.83,169.45,1251331200000],[172.27,172.49,168.53,170.05,1251417600000],[168.16,168.85,166.5,168.21,1251676800000],[167.99,170,164.94,165.3,1251763200000],[164.62,167.61,164.11,165.18,1251849600000],[166.44,167.1,165,166.55,1251936000000],[167.28,170.7,167.09,170.31,1252022400000],[172.98,173.14,172,172.93,1252368000000],[172.78,174.47,169.7,171.14,1252454400000],[172.06,173.25,170.81,172.56,1252540800000],[172.91,173.18,170.87,172.16,1252627200000],[170.83,173.9,170.25,173.72,1252886400000],[174.04,175.65,173.59,175.16,1252972800000],[177.99,182.75,177.88,181.87,1253059200000],[181.98,186.79,181.97,184.55,1253145600000],[185.83,186.55,184.76,185.02,1253232000000],[184.29,185.16,181.62,184.02,1253491200000],[185.19,185.38,182.85,184.48,1253577600000],[185.4,188.9,185.03,185.5,1253664000000],[187.2,187.7,182.77,183.82,1253750400000],[182.01,185.5,181.44,182.37,1253836800000],[183.87,186.68,183.33,186.15,1254096000000],[186.73,187.4,184.31,185.38,1254182400000],[186.13,186.45,182.61,185.35,1254268800000],[185.35,186.22,180.7,180.86,1254355200000],[181.41,185.94,181.35,184.9,1254441600000],[186.2,186.86,184.27,186.02,1254700800000],[187.74,190.01,187.3,190.01,1254787200000],[189.76,190.55,189.03,190.25,1254873600000],[190.66,191.45,188.89,189.27,1254960000000],[188.97,190.7,188.62,190.47,1255046400000],[191.02,191.51,189.64,190.81,1255305600000],[190.63,191.17,189.7,190.02,1255392000000],[192.25,192.32,190.23,191.29,1255478400000],[189.63,190.92,189.53,190.56,1255564800000],[189.35,190.36,187.84,188.05,1255651200000],[187.85,190,185.55,189.86,1255910400000],[200.6,201.75,197.85,198.76,1255996800000],[199.52,208.71,199.23,204.92,1256083200000],[204.7,207.85,202.51,205.2,1256169600000],[205.7,205.8,203.23,203.94,1256256000000],[203.67,206.75,200.1,202.48,1256515200000],[201.66,202.81,196.45,197.37,1256601600000],[197.71,198.02,191.1,192.4,1256688000000],[195,196.81,192.14,196.35,1256774400000],[196.06,196.8,186.07,188.5,1256860800000],[189.8,192.88,185.57,189.31,1257120000000],[187.85,189.52,185.92,188.75,1257206400000],[190.73,193.85,190.23,190.81,1257292800000],[192.4,195,191.82,194.03,1257379200000],[192.51,195.19,192.4,194.34,1257465600000],[196.94,201.9,196.26,201.46,1257724800000],[201.02,204.98,201.01,202.98,1257811200000],[204.56,205,201.83,203.25,1257897600000],[203.14,204.87,201.43,201.99,1257984000000],[202.87,204.83,202.07,204.45,1258070400000],[205.48,208,205.01,206.63,1258329600000],[206.08,207.44,205,207,1258416000000],[206.54,207,204,205.96,1258502400000],[204.61,204.61,199.8,200.51,1258588800000],[199.15,200.39,197.76,199.92,1258675200000],[203,206,202.95,205.88,1258934400000],[205.33,205.88,202.9,204.44,1259020800000],[205.4,205.65,203.76,204.19,1259107200000],[null,null,null,204.19,1259193600000],[199.22,202.96,198.37,200.59,1259280000000],[201.11,201.68,198.77,199.91,1259539200000],[202.24,202.77,196.83,196.97,1259625600000],[198.96,201.42,195.75,196.23,1259712000000],[197.42,198.98,196.27,196.48,1259798400000],[199.7,199.88,190.28,193.32,1259884800000],[193.32,193.77,188.68,188.95,1260144000000],[189.36,192.35,188.7,189.87,1260230400000],[191.28,198.16,190.31,197.8,1260316800000],[199.5,199.7,196.12,196.43,1260403200000],[197.78,198,193.43,194.67,1260489600000],[195.37,197.43,192.56,196.98,1260748800000],[195.83,197.51,193.27,194.17,1260835200000],[195.1,196.5,194.55,195.03,1260921600000],[194.26,195,191,191.86,1261008000000],[193.17,195.5,192.6,195.43,1261094400000],[196.05,199.75,195.67,198.23,1261353600000],[199.44,200.85,198.66,200.36,1261440000000],[201.25,202.38,200.81,202.1,1261526400000],[203.55,209.35,203.35,209.04,1261612800000],[null,null,null,209.04,1261699200000],[211.72,213.95,209.61,211.61,1261958400000],[212.63,212.72,208.73,209.1,1262044800000],[208.83,212,208.31,211.64,1262131200000],[213.13,213.35,210.56,210.73,1262217600000],[null,null,null,210.73,1262304000000],[213.43,214.5,212.38,214.01,1262563200000],[214.6,215.59,213.25,214.38,1262649600000],[214.38,215.23,210.75,210.97,1262736000000],[211.75,212,209.05,210.58,1262822400000],[210.3,212,209.06,211.98,1262908800000],[212.8,213,208.45,210.11,1263168000000],[209.19,209.77,206.42,207.72,1263254400000],[207.87,210.93,204.1,210.65,1263340800000],[210.11,210.46,209.02,209.43,1263427200000],[210.93,211.6,205.87,205.93,1263513600000],[null,null,null,205.93,1263772800000],[208.33,215.19,207.24,215.04,1263859200000],[214.91,215.55,209.5,211.72,1263945600000],[212.08,213.31,207.21,208.07,1264032000000],[206.78,207.5,197.16,197.75,1264118400000],[202.51,204.7,200.19,203.08,1264377600000],[205.95,213.71,202.58,205.94,1264464000000],[206.85,210.58,199.53,207.88,1264550400000],[204.93,205.5,198.7,199.29,1264636800000],[201.08,202.2,190.25,192.06,1264723200000],[192.37,196,191.3,194.73,1264982400000],[195.91,196.32,193.38,195.86,1265068800000],[195.17,200.2,194.42,199.23,1265155200000],[196.73,198.37,191.57,192.05,1265241600000],[192.62,196,190.85,195.46,1265328000000],[195.69,197.88,194,194.12,1265587200000],[196.42,197.5,194.75,196.19,1265673600000],[195.89,196.6,194.26,195.12,1265760000000],[194.88,199.75,194.06,198.67,1265846400000],[198.11,201.64,195.5,200.38,1265932800000],[null,null,null,200.38,1266192000000],[201.94,203.69,201.52,203.4,1266278400000],[204.19,204.31,200.86,202.55,1266364800000],[201.63,203.89,200.92,202.93,1266451200000],[201.86,203.2,201.11,201.67,1266537600000],[202.34,202.5,199.19,200.42,1266796800000],[200,201.33,195.71,197.06,1266883200000],[198.23,201.44,197.84,200.66,1266969600000],[197.38,202.86,196.89,202,1267056000000],[202.38,205.17,202,204.62,1267142400000],[205.75,209.5,205.45,208.99,1267401600000],[209.93,210.83,207.74,208.85,1267488000000],[208.94,209.87,207.94,209.33,1267574400000],[209.28,210.92,208.63,210.71,1267660800000],[214.94,219.7,214.63,218.95,1267747200000],[220.01,220.09,218.25,219.08,1268006400000],[218.31,225,217.89,223.02,1268092800000],[223.83,225.48,223.2,224.84,1268179200000],[223.91,225.5,223.32,225.5,1268265600000],[227.37,227.73,225.75,226.6,1268352000000],[225.38,225.5,220.25,223.84,1268611200000],[224.18,224.98,222.51,224.45,1268697600000],[224.9,226.45,223.27,224.12,1268784000000],[224.1,225,222.61,224.65,1268870400000],[224.79,225.24,221.23,222.25,1268956800000],[220.47,226,220.15,224.75,1269216000000],[225.64,228.78,224.1,228.36,1269302400000],[227.64,230.2,227.51,229.37,1269388800000],[230.92,230.97,226.25,226.65,1269475200000],[228.95,231.95,228.55,230.9,1269561600000],[233,233.87,231.62,232.39,1269820800000],[236.6,237.48,234.25,235.84,1269907200000],[235.49,236.61,234.46,235,1269993600000],[237.49,238.73,232.75,235.97,1270080000000],[null,null,null,235.97,1270166400000],[234.98,238.51,234.77,238.49,1270425600000],[238.2,240.24,237,239.54,1270512000000],[239.72,241.92,238.66,240.6,1270598400000],[240.44,241.54,238.04,239.95,1270684800000],[241.43,241.89,240.46,241.79,1270771200000],[242.2,243.07,241.81,242.29,1271030400000],[241.86,242.8,241.11,242.43,1271116800000],[245.28,245.81,244.07,245.69,1271203200000],[245.78,249.03,245.51,248.92,1271289600000],[248.57,251.14,244.55,247.4,1271376000000],[247.03,247.89,241.77,247.07,1271635200000],[248.54,249.25,242.96,244.59,1271721600000],[258.8,260.25,255.73,259.22,1271808000000],[258.24,266.75,256.2,266.47,1271894400000],[267.99,272.18,267,270.83,1271980800000],[271.88,272.46,268.19,269.5,1272240000000],[267.27,267.84,260.52,262.04,1272326400000],[263.25,264,256.41,261.6,1272412800000],[263.02,270,262.01,268.64,1272499200000],[269.31,270.57,261,261.09,1272585600000],[263.84,267.88,262.88,266.35,1272844800000],[263.03,263.29,256.75,258.68,1272931200000],[253.03,258.14,248.73,255.98,1273017600000],[253.83,258.25,199.25,246.25,1273104000000],[243.71,246.57,225.21,235.86,1273190400000],[250.25,254.65,248.53,253.99,1273449600000],[251.84,259.89,250.5,256.52,1273536000000],[259.24,263.13,258.7,262.09,1273622400000],[263.22,265,256.4,258.36,1273708800000],[255.16,256.48,249.5,253.82,1273795200000],[254.7,256.18,247.71,254.22,1274054400000],[256.98,258.55,250.26,252.36,1274140800000],[249.5,252.92,244.85,248.34,1274227200000],[241.88,243.85,236.21,237.76,1274313600000],[232.82,244.5,231.35,242.32,1274400000000],[247.28,250.9,246.26,246.76,1274659200000],[239.35,246.76,237.16,245.22,1274745600000],[250.08,252.13,243.75,244.11,1274832000000],[250.6,253.89,249.11,253.35,1274918400000],[259.39,259.4,253.35,256.88,1275004800000],[null,null,null,256.88,1275264000000],[259.69,265.94,258.96,260.83,1275350400000],[264.54,264.8,260.34,263.95,1275436800000],[265.18,265.55,260.41,263.12,1275523200000],[258.21,261.9,254.63,255.96,1275609600000],[258.29,259.15,250.55,250.94,1275868800000],[253.24,253.8,245.65,249.33,1275955200000],[251.47,251.9,242.49,243.2,1276041600000],[244.84,250.98,242.2,250.51,1276128000000],[248.22,253.86,247.37,253.51,1276214400000],[255.96,259.15,254.01,254.28,1276473600000],[255.64,259.85,255.5,259.69,1276560000000],[261.1,267.75,260.63,267.25,1276646400000],[270.6,272.9,269.5,271.87,1276732800000],[272.25,275,271.42,274.07,1276819200000],[277.69,279.01,268.73,270.17,1277078400000],[272.16,275.97,271.5,273.85,1277164800000],[274.58,274.66,267.9,270.97,1277251200000],[271,273.2,268.1,269,1277337600000],[270.06,270.27,265.81,266.7,1277424000000],[266.93,269.75,264.52,268.3,1277683200000],[264.12,264.39,254.3,256.17,1277769600000],[256.71,257.97,250.01,251.53,1277856000000],[254.3,254.8,243.22,248.48,1277942400000],[250.49,250.93,243.2,246.94,1278028800000],[null,null,null,246.94,1278288000000],[251,252.8,246.16,248.63,1278374400000],[250.49,258.77,249.75,258.66,1278460800000],[262.48,262.9,254.89,258.09,1278547200000],[256.89,259.9,255.16,259.62,1278633600000],[258.53,261.85,254.86,257.28,1278892800000],[256.32,256.4,246.43,251.8,1278979200000],[249.38,255.8,249,252.73,1279065600000],[248.23,256.97,247.3,251.45,1279152000000],[253.18,254.97,248.41,249.9,1279238400000],[249.88,249.88,239.6,245.58,1279497600000],[242.9,252.9,240.01,251.89,1279584000000],[265.09,265.15,254,254.24,1279670400000],[257.68,260,255.31,259.02,1279756800000],[257.09,260.38,256.28,259.94,1279843200000],[260,260.1,257.71,259.28,1280102400000],[260.87,264.8,260.3,264.08,1280188800000],[263.67,265.99,260.25,260.96,1280275200000],[260.71,262.65,256.1,258.11,1280361600000],[255.89,259.7,254.9,257.25,1280448000000],[260.44,262.59,259.62,261.85,1280707200000],[261.01,263.26,259.42,261.93,1280793600000],[262.84,264.28,260.31,262.98,1280880000000],[261.73,263.18,260.55,261.7,1280966400000],[259.78,261.49,257.63,260.09,1281052800000],[261.48,262.15,259.57,261.75,1281312000000],[259.85,260.45,257.55,259.41,1281398400000],[255.4,255.69,249.81,250.19,1281484800000],[246.69,253.1,246.12,251.79,1281571200000],[251.65,251.88,249.09,249.1,1281657600000],[247.58,250.01,246.62,247.64,1281916800000],[250.08,254.63,249.2,251.97,1282003200000],[252.36,254.67,251.58,253.07,1282089600000],[252.84,253.48,248.68,249.88,1282176000000],[249.39,253.92,249,249.64,1282262400000],[251.79,252,245.25,245.8,1282521600000],[242.67,243,238.65,239.93,1282608000000],[238.04,243.99,237.2,242.89,1282694400000],[245.45,245.75,240.28,240.28,1282780800000],[241.75,242.61,235.56,241.62,1282867200000],[240.76,245.75,240.68,242.5,1283126400000],[241.85,244.56,240.35,243.1,1283212800000],[247.47,251.46,246.28,250.33,1283299200000],[251.26,252.17,248.57,252.17,1283385600000],[255.09,258.78,254.5,258.77,1283472000000],[null,null,null,258.77,1283731200000],[256.64,259.53,256.25,257.81,1283817600000],[259.78,264.39,259.1,262.92,1283904000000],[265.04,266.52,262.92,263.07,1283990400000],[263.19,264.5,261.4,263.41,1284076800000],[265.82,268.28,265.76,267.04,1284336000000],[266.21,269.17,265.52,268.06,1284422400000],[268.17,270.38,267.84,270.22,1284508800000],[270.24,276.67,269.5,276.57,1284595200000],[277.69,277.96,273.68,275.37,1284681600000],[276.08,283.78,275.85,283.23,1284940800000],[283.86,287.35,282.79,283.77,1285027200000],[282.71,287.98,282.41,287.75,1285113600000],[286.33,292.76,286,288.92,1285200000000],[292.1,293.53,290.55,292.32,1285286400000],[293.98,294.73,291.01,291.16,1285545600000],[291.77,291.77,275,286.86,1285632000000],[287.23,289.81,286,287.37,1285718400000],[289,290,281.25,283.75,1285804800000],[286.15,286.58,281.35,282.52,1285891200000],[281.6,282.9,277.77,278.64,1286150400000],[282,289.45,281.82,288.94,1286236800000],[289.59,291.99,285.26,289.19,1286323200000],[290.34,290.48,286.91,289.22,1286409600000],[291.71,294.5,290,294.07,1286496000000],[294.74,297.24,294.6,295.36,1286755200000],[295.41,299.5,292.49,298.54,1286841600000],[300.2,301.96,299.8,300.14,1286928000000],[301.69,302.47,300.4,302.31,1287014400000],[307.44,315,304.91,314.74,1287100800000],[318.47,319,314.29,318,1287360000000],[303.4,313.77,300.02,309.49,1287446400000],[309,314.25,306.87,310.53,1287532800000],[312.36,314.74,306.8,309.52,1287619200000],[309.07,310.04,306.3,307.47,1287705600000],[309.09,311.6,308.44,308.84,1287964800000],[306.87,309.74,305.65,308.05,1288051200000],[307.65,309.9,305.6,307.83,1288137600000],[307.95,308,300.9,305.24,1288224000000],[304.23,305.88,300.87,300.98,1288310400000],[302.22,305.6,302.2,304.18,1288569600000],[307,310.19,307,309.36,1288656000000],[311.37,312.88,308.53,312.8,1288742400000],[315.45,320.18,315.03,318.27,1288828800000],[317.99,319.57,316.75,317.13,1288915200000],[317.2,319.77,316.76,318.62,1289174400000],[321.05,321.3,314.5,316.08,1289260800000],[316.64,318.77,313.55,318.03,1289347200000],[315,318.4,314.25,316.66,1289433600000],[316,316.5,303.63,308.03,1289520000000],[308.46,310.54,306.27,307.04,1289779200000],[305.72,307.6,299.32,301.59,1289865600000],[301.2,303.99,297.76,300.5,1289952000000],[305.2,309.67,304.69,308.43,1290038400000],[307.97,308.4,305.24,306.73,1290124800000],[306.68,313.36,305.87,313.36,1290384000000],[310.45,311.75,306.56,308.73,1290470400000],[312,315.4,311.75,314.8,1290556800000],[313.74,317.7,312.94,315,1290729600000],[315.5,317.48,311.38,316.87,1290988800000],[313.54,314.36,310.87,311.15,1291075200000],[315.27,317.75,315,316.4,1291161600000],[317.53,319,314.89,318.15,1291248000000],[317.01,318.65,316.34,317.44,1291334400000],[318.64,322.33,318.42,320.15,1291593600000],[323.8,323.99,318.12,318.21,1291680000000],[319.63,321.02,317.11,321.01,1291766400000],[322.13,322.5,319.02,319.76,1291852800000],[319.65,321.05,318.6,320.56,1291939200000],[324.37,325.06,321,321.67,1292198400000],[321.73,322.54,319,320.29,1292284800000],[320,323,319.19,320.36,1292371200000],[321.09,322.61,320.1,321.25,1292457600000],[321.63,321.79,320.23,320.61,1292544000000],[321.6,323.25,318.23,322.21,1292803200000],[323,324.39,322.05,324.2,1292889600000],[324.36,325.72,323.55,325.16,1292976000000],[325,325.15,323.17,323.6,1293062400000],[322.85,325.44,321.52,324.68,1293408000000],[325.91,326.66,325.06,325.47,1293494400000],[326.22,326.45,325.1,325.29,1293580800000],[325.48,325.51,323.05,323.66,1293667200000],[322.95,323.48,321.31,322.56,1293753600000],[325.64,330.26,324.84,329.57,1294012800000],[332.44,332.5,328.15,331.29,1294099200000],[329.55,334.34,329.5,334,1294185600000],[334.72,335.25,332.9,333.73,1294272000000],[333.99,336.35,331.9,336.12,1294358400000],[338.83,343.23,337.17,342.46,1294617600000],[344.88,344.96,339.47,341.64,1294704000000],[343.25,344.43,342,344.42,1294790400000],[345.16,346.64,343.85,345.68,1294876800000],[345.89,348.48,344.44,348.48,1294963200000],[329.52,344.76,326,340.65,1295308800000],[348.35,348.6,336.88,338.84,1295395200000],[336.43,338.3,330.12,332.68,1295481600000],[333.77,334.88,326.63,326.72,1295568000000],[326.87,337.45,326.72,337.45,1295827200000],[336.33,341.44,334.57,341.4,1295913600000],[342.96,345.6,341.5,343.85,1296000000000],[343.78,344.69,342.83,343.21,1296086400000],[344.17,344.4,333.53,336.1,1296172800000],[335.8,340.04,334.3,339.32,1296432000000],[341.3,345.65,340.98,345.03,1296518400000],[344.45,345.25,343.55,344.32,1296604800000],[343.8,344.24,338.55,343.44,1296691200000],[343.64,346.7,343.51,346.5,1296777600000],[347.89,353.25,347.64,351.88,1297036800000],[353.68,355.52,352.15,355.2,1297123200000],[355.19,359,354.87,358.16,1297209600000],[357.39,360,348,354.54,1297296000000],[354.75,357.8,353.54,356.85,1297382400000],[356.79,359.48,356.71,359.18,1297641600000],[359.19,359.97,357.55,359.9,1297728000000],[360.8,364.9,360.5,363.13,1297814400000],[357.25,360.27,356.52,358.3,1297900800000],[358.71,359.5,349.52,350.56,1297987200000],[342.15,345.4,337.72,338.61,1298332800000],[338.77,344.64,338.61,342.62,1298419200000],[344.02,345.15,338.37,342.88,1298505600000],[345.26,348.43,344.8,348.16,1298592000000],[351.24,355.05,351.12,353.21,1298851200000],[355.47,355.72,347.68,349.31,1298937600000],[349.96,354.35,348.4,352.12,1299024000000],[357.19,359.79,355.92,359.56,1299110400000],[360.07,360.29,357.75,360,1299196800000],[361.4,361.67,351.31,355.36,1299456000000],[354.91,357.4,352.25,355.76,1299542400000],[354.69,354.76,350.6,352.47,1299628800000],[349.12,349.77,344.9,346.67,1299715200000],[345.33,352.32,345,351.99,1299801600000],[353.18,356.48,351.31,353.56,1300060800000],[342.1,347.84,340.1,345.43,1300147200000],[342,343,326.26,330.01,1300233600000],[336.83,339.61,330.66,334.64,1300320000000],[337.13,338.2,330,330.67,1300406400000],[335.99,339.74,335.26,339.3,1300665600000],[342.56,342.62,339.14,341.2,1300752000000],[339.28,340.22,335.95,339.19,1300838400000],[341.85,346,338.86,344.97,1300924800000],[348.07,352.06,347.02,351.54,1301011200000],[353.15,354.32,350.44,350.44,1301270400000],[347.66,350.96,346.06,350.96,1301356800000],[350.64,350.88,347.44,348.63,1301443200000],[346.36,349.8,346.06,348.51,1301529600000],[351.11,351.59,343.3,344.56,1301616000000],[344.31,344.6,338.4,341.19,1301875200000],[336.99,342.25,336,338.89,1301961600000],[341.22,343.9,337.14,338.04,1302048000000],[338.1,340.43,336.03,338.08,1302134400000],[339.92,340.15,333.95,335.06,1302220800000],[334.06,335.67,330.02,330.8,1302480000000],[330.49,333.73,330.2,332.4,1302566400000],[335.02,336.14,332.52,336.13,1302652800000],[334.8,336,332.06,332.42,1302739200000],[333.3,333.64,326.8,327.46,1302825600000],[326.1,332.23,320.16,331.85,1303084800000],[333.1,337.98,331.71,337.86,1303171200000],[343.51,345.75,341.5,342.41,1303257600000],[355,355.13,348.52,350.7,1303344000000],[350.34,353.75,350.3,353.01,1303689600000],[353.62,354.99,349.35,350.42,1303776000000],[352.24,352.35,347.1,350.15,1303862400000],[346.19,349.75,345.52,346.75,1303948800000],[346.78,353.95,346.67,350.13,1304035200000],[349.74,350.47,345.5,346.28,1304294400000],[347.99,349.89,345.62,348.2,1304380800000],[348.26,351.83,346.88,349.57,1304467200000],[348.4,350.95,346.05,346.75,1304553600000],[349.69,350,346.21,346.66,1304640000000],[347.86,349.2,346.53,347.6,1304899200000],[348.89,349.69,346.66,349.45,1304985600000],[349.02,350,345.24,347.23,1305072000000],[346.12,347.12,342.27,346.57,1305158400000],[345.66,346.25,340.35,340.5,1305244800000],[339.2,341.22,332.6,333.3,1305504000000],[332,336.14,330.73,336.14,1305590400000],[336.47,341.05,336,339.87,1305676800000],[342.08,342.41,338.67,340.53,1305763200000],[339.56,340.95,335.02,335.22,1305849600000],[329.97,335.98,329.42,334.4,1306108800000],[335.5,335.9,331.34,332.19,1306195200000],[333.43,338.56,332.85,336.78,1306281600000],[335.97,336.89,334.44,335,1306368000000],[334.8,337.63,334.31,337.41,1306454400000],[341.1,347.83,341,347.83,1306800000000],[348.87,352.13,344.65,345.51,1306886400000],[346.5,347.98,344.3,346.1,1306972800000],[343.18,345.33,342.01,343.44,1307059200000],[345.96,347.05,337.81,338.04,1307318400000],[338.17,338.22,331.9,332.04,1307404800000],[331.78,334.8,330.65,332.24,1307491200000],[333.25,333.67,330.75,331.49,1307577600000],[330.55,331.66,325.51,325.9,1307664000000],[327.2,328.31,325.07,326.6,1307923200000],[330,333.25,329.31,332.44,1308009600000],[329.75,330.3,324.88,326.75,1308096000000],[326.9,328.68,318.33,325.16,1308182400000],[328.99,329.25,319.36,320.26,1308268800000],[317.36,317.7,310.5,315.32,1308528000000],[316.68,325.8,315.2,325.3,1308614400000],[325.16,328.9,322.38,322.61,1308700800000],[318.94,331.69,318.12,331.23,1308787200000],[331.37,333.15,325.09,326.35,1308873600000],[327.59,333.9,327.25,332.04,1309132800000],[333.65,336.7,333.44,335.26,1309219200000],[336.04,336.37,331.88,334.04,1309305600000],[334.7,336.13,332.84,335.67,1309392000000],[335.95,343.5,334.2,343.26,1309478400000],[343,349.83,342.5,349.43,1309824000000],[348.95,354.1,346.71,351.76,1309910400000],[354.67,358,354,357.2,1309996800000],[353.34,360,352.2,359.71,1310083200000],[356.34,359.77,352.82,354,1310342400000],[353.53,357.68,348.62,353.75,1310428800000],[358.33,360,356.38,358.02,1310515200000],[361.01,361.61,356.34,357.77,1310601600000],[361.17,365,359.17,364.92,1310688000000],[365.43,374.65,365.28,373.8,1310947200000],[378,378.65,373.32,376.85,1311033600000],[396.12,396.27,386,386.9,1311120000000],[386.95,390.06,383.9,387.29,1311206400000],[388.32,395.05,387.75,393.3,1311292800000],[390.35,400,389.62,398.5,1311552000000],[400,404.5,399.68,403.41,1311638400000],[400.59,402.64,392.15,392.59,1311724800000],[391.62,396.99,388.13,391.82,1311811200000],[387.64,395.15,384,390.48,1311897600000],[397.78,399.5,392.37,396.75,1312156800000],[397.65,392.88,382.24,388.21,1312243200000],[388.22,393.55,382.24,392.57,1312329600000],[389.41,391.32,377.35,377.37,1312416000000],[380.44,383.5,362.57,373.62,1312502400000],[361.69,367.77,353.02,353.21,1312761600000],[361.3,374.61,355,374.01,1312848000000],[371.15,374.65,362.5,363.69,1312934400000],[370.52,375.45,364.72,373.7,1313020800000],[378.02,379.64,374.23,376.99,1313107200000],[379.63,384.97,378.09,383.41,1313366400000],[381.52,383.37,376.06,380.48,1313452800000],[382.31,384.52,378,380.44,1313539200000],[370.84,372.65,361.37,366.05,1313625600000],[362.17,367,356,356.03,1313712000000],[364.51,364.88,355.09,356.44,1313971200000],[360.3,373.64,357,373.6,1314057600000],[373.47,378.96,370.6,376.18,1314144000000],[365.08,375.45,365,373.72,1314230400000],[371.17,383.8,370.8,383.58,1314316800000],[388.18,391.5,388,389.97,1314576000000],[388.25,391.84,386.21,389.99,1314662400000],[390.57,392.08,381.86,384.83,1314748800000],[385.82,387.34,380.72,381.03,1314835200000],[374.74,378,371.83,374.05,1314921600000],[367.37,380.33,366.48,379.74,1315267200000],[385.56,385.6,382,383.93,1315353600000],[382.4,388.61,382.31,384.14,1315440000000],[383.93,386,375.02,377.48,1315526400000],[373,380.88,371.9,379.94,1315785600000],[382.14,386.21,380.25,384.62,1315872000000],[387.02,392.21,385.76,389.3,1315958400000],[391.43,393.66,389.9,392.96,1316044800000],[395.54,400.5,395.03,400.5,1316131200000],[397,413.23,395.2,411.63,1316390400000],[415.25,422.86,411.19,413.45,1316476800000],[419.64,421.59,412,412.14,1316563200000],[401.03,409.82,396.7,401.82,1316649600000],[400.28,406.74,399.85,404.3,1316736000000],[399.86,403.98,391.3,403.17,1316995200000],[408.73,409.25,398.06,399.26,1317081600000],[400.19,403.74,396.51,397.01,1317168000000],[401.92,402.21,386.21,390.57,1317254400000],[387.12,388.89,381.18,381.32,1317340800000],[380.37,382.64,373.17,374.6,1317600000000],[374.57,381.8,354.24,372.5,1317686400000],[367.86,379.82,360.3,378.25,1317772800000],[373.33,384.78,371.8,377.37,1317859200000],[375.78,377.74,368.49,369.8,1317945600000],[379.09,388.81,378.21,388.81,1318204800000],[392.57,403.18,391.5,400.29,1318291200000],[407.34,409.25,400.14,402.19,1318377600000],[404.98,408.43,402.85,408.43,1318464000000],[416.83,422,415.27,422,1318550400000],[421.74,426.7,415.94,419.99,1318809600000],[421.76,424.81,415.99,422.24,1318896000000],[401.35,408.42,397.8,398.62,1318982400000],[400,400.35,394.21,395.31,1319068800000],[398.1,399.14,390.75,392.87,1319155200000],[396.18,406.5,395.4,405.77,1319414400000],[405.03,406.55,397.38,397.77,1319500800000],[401.76,402.55,393.15,400.6,1319587200000],[407.56,409,401.89,404.69,1319673600000],[403,406.35,402.51,404.95,1319760000000],[402.42,409.33,401.05,404.78,1320019200000],[397.41,399.5,393.22,396.51,1320105600000],[400.09,400.44,395.11,397.41,1320192000000],[399.07,403.4,395.36,403.07,1320278400000],[402.03,403.44,399.16,400.24,1320364800000],[399.91,400,396.13,399.73,1320624000000],[402.21,408,401.56,406.23,1320710400000],[396.97,400.89,394.23,395.28,1320796800000],[397.03,397.21,382.15,385.22,1320883200000],[386.61,388.7,380.26,384.62,1320969600000],[383.52,385.25,378.2,379.26,1321228800000],[380.8,389.5,379.45,388.83,1321315200000],[389.25,391.14,384.32,384.77,1321401600000],[383.98,384.58,375.5,377.41,1321488000000],[378.92,379.99,374.88,374.94,1321574400000],[370.4,371.68,365.91,369.01,1321833600000],[371.02,377.93,370.94,376.51,1321920000000],[374.51,375.84,366.88,366.99,1322006400000],[368.42,371.15,363.32,363.57,1322179200000],[372.35,376.72,370.33,376.12,1322438400000],[375.84,378.83,370.2,373.2,1322524800000],[381.29,382.28,378.3,382.2,1322611200000],[382.54,389,380.75,387.93,1322697600000],[389.83,393.63,388.58,389.7,1322784000000],[393.49,396.41,390.39,393.01,1323043200000],[392.51,394.63,389.38,390.95,1323129600000],[389.93,390.94,386.76,389.09,1323216000000],[391.45,395.5,390.23,390.66,1323302400000],[392.85,394.04,391.03,393.62,1323388800000],[391.68,393.9,389.45,391.84,1323648000000],[393,395.4,387.1,388.81,1323734400000],[386.7,387.38,377.68,380.19,1323820800000],[383.33,383.74,378.31,378.94,1323907200000],[380.36,384.15,379.57,381.02,1323993600000],[382.47,384.85,380.48,382.21,1324252800000],[387.76,396.1,387.26,395.95,1324339200000],[396.69,397.3,392.01,396.44,1324425600000],[397,399.13,396.1,398.55,1324512000000],[399.69,403.59,399.5,403.33,1324598400000],[403.1,409.09,403.02,406.53,1324944000000],[406.89,408.25,401.34,402.64,1325030400000],[403.4,405.65,400.51,405.12,1325116800000],[403.51,406.28,403.49,405,1325203200000],[409.4,412.5,409,411.23,1325548800000],[410,414.68,409.28,413.44,1325635200000],[414.95,418.55,412.67,418.03,1325721600000],[419.77,422.75,419.22,422.4,1325808000000],[425.5,427.75,421.35,421.73,1326067200000],[425.91,426,421.5,423.24,1326153600000],[422.68,422.85,419.31,422.55,1326240000000],[422.28,422.9,418.75,421.39,1326326400000],[419.7,420.45,418.66,419.81,1326412800000],[424.2,425.99,422.96,424.7,1326758400000],[426.96,429.47,426.3,429.11,1326844800000],[430.15,431.37,426.51,427.75,1326931200000],[427.49,427.5,419.75,420.3,1327017600000],[422.67,428.45,422.3,427.41,1327276800000],[425.1,425.1,419.55,420.41,1327363200000],[454.44,454.45,443.73,446.66,1327449600000],[448.36,448.79,443.14,444.63,1327536000000],[444.34,448.48,443.77,447.28,1327622400000],[445.71,453.9,445.39,453.01,1327881600000],[455.59,458.24,453.07,456.48,1327968000000],[458.41,458.99,455.55,456.19,1328054400000],[455.9,457.17,453.98,455.12,1328140800000],[457.3,460,455.56,459.68,1328227200000],[458.38,464.98,458.2,463.97,1328486400000],[465.25,469.75,464.58,468.83,1328572800000],[470.5,476.79,469.7,476.68,1328659200000],[480.76,496.75,480.56,493.17,1328745600000],[490.96,497.62,488.55,493.42,1328832000000],[499.53,503.83,497.09,502.6,1329091200000],[504.66,509.56,502,509.46,1329177600000],[514.26,526.29,496.89,497.67,1329264000000],[491.5,504.89,486.63,502.21,1329350400000],[503.11,507.77,500.3,502.12,1329436800000],[506.88,514.85,504.12,514.85,1329782400000],[513.08,515.49,509.07,513.04,1329868800000],[515.08,517.83,509.5,516.39,1329955200000],[519.67,522.9,518.64,522.41,1330041600000],[521.31,528.5,516.28,525.76,1330300800000],[527.96,535.41,525.85,535.41,1330387200000],[541.56,547.61,535.7,542.44,1330473600000],[548.17,548.21,538.77,544.47,1330560000000],[544.24,546.8,542.52,545.18,1330646400000],[545.42,547.48,526,533.16,1330905600000],[523.66,533.69,516.22,530.26,1330992000000],[536.8,537.78,523.3,530.69,1331078400000],[534.69,542.99,532.12,541.99,1331164800000],[544.21,547.74,543.11,545.17,1331251200000],[548.98,552,547,552,1331510400000],[557.54,568.18,555.75,568.1,1331596800000],[578.05,594.72,575.4,589.58,1331683200000],[599.61,600.01,578.55,585.56,1331769600000],[584.72,589.2,578,585.57,1331856000000],[598.37,601.77,589.05,601.1,1332115200000],[599.51,606.9,582,605.96,1332201600000],[602.74,609.65,601.41,602.5,1332288000000],[597.78,604.5,595.53,599.34,1332374400000],[600.49,601.8,594.4,596.05,1332460800000],[599.79,607.15,595.26,606.98,1332720000000],[606.18,616.28,606.06,614.48,1332806400000],[618.38,621.45,610.31,617.62,1332892800000],[612.78,616.56,607.23,609.86,1332979200000],[608.77,610.56,597.94,599.55,1333065600000],[601.83,618.77,600.38,618.63,1333324800000],[627.3,632.21,622.51,629.32,1333411200000],[624.35,625.86,617,624.31,1333497600000],[626.98,634.66,623.4,633.68,1333584000000],[626.13,639.84,625.3,636.23,1333929600000],[639.93,644,626,628.44,1334016000000],[636.2,636.87,623.34,626.2,1334102400000],[625,631.33,620.5,622.77,1334188800000],[624.11,624.7,603.51,605.23,1334275200000],[610.06,610.28,578.25,580.13,1334534400000],[578.94,610,571.91,609.7,1334620800000],[613.72,620.25,602.71,608.34,1334707200000],[600.22,604.73,584.52,587.44,1334793600000],[591.38,594.62,570.42,572.98,1334880000000],[570.61,576.67,556.62,571.7,1335139200000],[562.61,567.69,555,560.28,1335225600000],[615.64,618,606,610,1335312000000],[614.27,614.69,602.13,607.7,1335398400000],[605.07,606.18,600.5,603,1335484800000],[597.8,598.4,583,583.98,1335744000000],[584.9,596.76,581.23,582.13,1335830400000],[580.24,587.4,578.86,585.98,1335916800000],[590.5,591.4,580.3,581.82,1336003200000],[577.08,578.36,565.17,565.25,1336089600000],[561.5,572.77,561.23,569.48,1336348800000],[569.58,571.5,558.73,568.18,1336435200000],[563.7,573.98,560.85,569.18,1336521600000],[574.58,575.88,568.44,570.52,1336608000000],[565,574.47,564.35,566.71,1336694400000],[562.57,567.51,557.6,558.22,1336953600000],[561.45,563.22,551.75,553.17,1337040000000],[554.05,556.89,541.04,546.08,1337126400000],[545.31,547.5,530.12,530.12,1337212800000],[533.96,543.41,522.18,530.38,1337299200000],[534.5,561.54,534.05,561.28,1337558400000],[569.55,573.88,552.58,556.97,1337644800000],[557.5,572.8,553.23,570.56,1337731200000],[575.87,576.5,561.23,565.32,1337817600000],[564.59,565.85,558.47,562.29,1337904000000],[570.9,574,565.31,572.27,1338249600000],[569.2,579.99,566.56,579.17,1338336000000],[580.74,581.5,571.46,577.73,1338422400000],[569.16,572.65,560.52,560.99,1338508800000],[561.5,567.5,548.5,564.29,1338768000000],[561.27,566.47,558.33,562.83,1338854400000],[567.77,573.85,565.5,571.46,1338940800000],[577.29,577.32,570.5,571.72,1339027200000],[571.6,580.58,569,580.32,1339113600000],[587.72,588.5,570.63,571.17,1339372800000],[574.46,576.62,566.7,576.16,1339459200000],[574.52,578.48,570.38,572.16,1339545600000],[571.24,573.5,567.26,571.53,1339632000000],[571,574.62,569.55,574.13,1339718400000],[570.96,587.89,570.37,585.78,1339977600000],[583.4,590,583.1,587.41,1340064000000],[588.21,589.25,580.8,585.74,1340150400000],[585.44,588.22,577.44,577.67,1340236800000],[579.04,582.19,575.42,582.1,1340323200000],[577.3,579.8,570.37,570.76,1340582400000],[571.33,574.49,567.33,572.02,1340668800000],[575,576.74,571.92,574.5,1340755200000],[571.67,574,565.61,569.05,1340841600000],[578,584,574.25,584,1340928000000],[584.73,593.47,583.6,592.52,1341187200000],[594.88,600,594,599.41,1341273600000],[600.56,614.34,599.65,609.94,1341446400000],[607.09,608.44,601.58,605.88,1341532800000],[605.3,613.9,604.11,613.89,1341792000000],[617.97,619.87,605.31,608.21,1341878400000],[606.12,607.66,597.22,604.43,1341964800000],[600.24,603.47,592.68,598.9,1342051200000],[602.95,607.19,600,604.97,1342137600000],[605.12,611.62,605.02,606.91,1342396800000],[610.79,611.5,603.15,606.94,1342483200000],[606.59,608.34,603.56,606.26,1342569600000],[611.28,615.35,606,614.32,1342656000000],[613.03,614.44,603.7,604.3,1342742400000],[594.4,605.9,587.71,603.83,1343001600000],[607.38,609.68,598.51,600.92,1343088000000],[574.46,580.8,570,574.97,1343174400000],[579.76,580.4,570.36,574.88,1343260800000],[575.01,585.83,571.59,585.16,1343347200000],[590.92,599.44,587.82,595.03,1343606400000],[603.23,611.7,602.72,610.76,1343692800000],[615.9,616.4,603,606.81,1343779200000],[602.84,610.69,600.25,607.79,1343865600000],[613.63,617.98,611.56,615.7,1343952000000],[617.29,624.87,615.26,622.55,1344211200000],[622.77,625,618.04,620.91,1344297600000],[619.39,623.88,617.1,619.86,1344384000000],[617.85,621.73,617.8,620.73,1344470400000],[618.71,621.76,618.7,621.7,1344556800000],[623.39,630,623.25,630,1344816000000],[631.87,638.61,630.21,631.69,1344902400000],[631.3,634,627.75,630.83,1344988800000],[631.21,636.76,630.5,636.34,1345075200000],[640,648.19,638.81,648.11,1345161600000],[650.01,665.15,649.9,665.15,1345420800000],[670.82,674.88,650.33,656.06,1345507200000],[654.42,669,648.11,668.87,1345593600000],[666.11,669.9,661.15,662.63,1345680000000],[659.51,669.48,655.55,663.22,1345766400000],[679.99,680.87,673.54,675.68,1346025600000],[674.98,676.1,670.67,674.8,1346112000000],[675.25,677.67,672.6,673.47,1346198400000],[670.64,671.55,662.85,663.87,1346284800000],[667.25,668.6,657.25,665.24,1346371200000],[665.76,675.14,664.5,674.97,1346716800000],[675.57,676.35,669.6,670.23,1346803200000],[673.17,678.29,670.8,676.27,1346889600000],[678.05,682.48,675.77,680.44,1346976000000],[680.45,683.29,662.1,662.74,1347235200000],[665.11,670.1,656.5,660.59,1347321600000],[666.85,669.9,656,669.79,1347408000000],[677.37,685.5,674.77,682.98,1347494400000],[689.96,696.98,687.89,691.28,1347580800000],[699.35,699.8,694.61,699.78,1347840000000],[699.88,702.33,696.42,701.91,1347926400000],[700.26,703.99,699.57,702.1,1348012800000],[699.16,700.06,693.62,698.7,1348099200000],[702.41,705.07,699.36,700.1,1348185600000],[686.86,695.12,683,690.79,1348444800000],[688.26,692.78,673,673.54,1348531200000],[668.74,672.69,661.2,665.18,1348617600000],[664.29,682.17,660.35,681.32,1348704000000],[678.75,681.11,666.75,667.1,1348790400000],[671.16,676.75,656.5,659.39,1349049600000],[661.81,666.35,650.65,661.31,1349136000000],[664.86,671.86,662.63,671.45,1349222400000],[671.25,674.25,665.55,666.8,1349308800000],[665.2,666,651.28,652.59,1349395200000],[646.88,647.56,636.11,638.17,1349654400000],[638.65,640.49,623.55,635.85,1349740800000],[639.74,644.98,637,640.91,1349827200000],[646.5,647.2,628.1,628.1,1349913600000],[629.56,635.38,625.3,629.71,1350000000000],[632.35,635.13,623.85,634.76,1350259200000],[635.37,650.3,631,649.79,1350345600000],[648.87,652.79,644,644.61,1350432000000],[639.59,642.06,630,632.64,1350518400000],[631.05,631.77,609.62,609.84,1350604800000],[612.42,635.38,610.76,634.03,1350864000000],[631,633.9,611.7,613.36,1350950400000],[621.44,626.55,610.64,616.83,1351036800000],[620,622,605.55,609.54,1351123200000],[609.43,614,591,604,1351209600000],[594.88,601.96,587.7,595.32,1351641600000],[598.22,603,594.17,596.54,1351728000000],[595.89,596.95,574.75,576.8,1351814400000],[583.52,587.77,577.6,584.62,1352073600000],[590.23,590.74,580.09,582.85,1352160000000],[573.84,574.54,555.75,558,1352246400000],[560.63,562.23,535.29,537.75,1352332800000],[540.42,554.88,533.72,547.06,1352419200000],[554.15,554.5,538.65,542.83,1352678400000],[538.91,550.48,536.36,542.9,1352764800000],[545.5,547.45,536.18,536.88,1352851200000],[537.53,539.5,522.62,525.62,1352937600000],[525.2,530,505.75,527.68,1353024000000],[540.71,567.5,539.88,565.73,1353283200000],[571.91,571.95,554.58,560.91,1353369600000],[564.25,567.37,556.6,561.7,1353456000000],[567.17,572,562.6,571.5,1353628800000],[575.9,590,573.71,589.53,1353888000000],[589.55,590.42,580.1,584.78,1353974400000],[577.27,585.8,572.26,582.94,1354060800000],[590.22,594.25,585.25,589.36,1354147200000],[586.79,588.4,582.68,585.28,1354233600000],[593.65,594.59,585.5,586.19,1354492800000],[581.8,581.8,572.13,575.85,1354579200000],[568.91,569.25,538.77,538.79,1354665600000],[528.94,553.31,518.63,547.24,1354752000000],[553.4,555.2,530,533.25,1354838400000],[525,538.51,521.58,529.82,1355097600000],[539.77,549.56,537.37,541.39,1355184000000],[547.77,548,536.27,539,1355270400000],[531.15,537.64,525.8,529.69,1355356800000],[514.75,518.13,505.58,509.79,1355443200000],[508.93,520,501.23,518.83,1355702400000],[525,534.9,520.25,533.9,1355788800000],[531.47,533.7,525.5,526.31,1355875200000],[530,530.2,518.88,521.73,1355961600000],[512.47,519.67,510.24,519.33,1356048000000],[520.35,524.25,518.71,520.17,1356307200000],[519,519.46,511.12,513,1356480000000],[513.54,516.25,504.66,515.06,1356566400000],[510.29,514.48,508.12,509.59,1356652800000],[510.53,535.4,509,532.17,1356912000000],[553.82,555,541.63,549.03,1357084800000],[547.88,549.67,541,542.1,1357171200000],[536.96,538.63,525.83,527,1357257600000],[522,529.3,515.2,523.9,1357516800000],[529.21,531.89,521.25,525.31,1357603200000],[522.5,525.01,515.99,517.1,1357689600000],[528.55,528.72,515.52,523.51,1357776000000],[521,525.32,519.02,520.3,1357862400000],[502.68,507.5,498.51,501.75,1358121600000],[498.3,498.99,483.38,485.92,1358208000000],[494.64,509.44,492.5,506.09,1358294400000],[510.31,510.75,502.03,502.68,1358380800000],[498.52,502.22,496.4,500,1358467200000],[504.56,507.88,496.63,504.77,1358812800000],[508.81,514.99,504.77,514,1358899200000],[460,465.73,450.25,450.5,1358985600000],[451.69,456.23,435,439.88,1359072000000],[437.82,453.21,435.86,449.83,1359331200000],[458.5,460.2,452.12,458.27,1359417600000],[457,462.6,454.5,456.83,1359504000000],[456.98,459.28,454.98,455.49,1359590400000],[459.11,459.48,448.35,453.62,1359676800000],[453.91,455.94,442,442.32,1359936000000],[444.05,459.74,442.22,457.84,1360022400000],[456.47,466.5,452.58,457.35,1360108800000],[463.25,470,454.12,468.22,1360195200000],[474,478.81,468.25,474.98,1360281600000],[476.5,484.94,473.25,479.93,1360540800000],[479.51,482.38,467.74,467.9,1360627200000],[467.21,473.64,463.22,467.01,1360713600000],[464.52,471.64,464.02,466.59,1360800000000],[468.85,470.16,459.92,460.16,1360886400000],[461.1,462.73,453.85,459.99,1361232000000],[457.69,457.69,448.8,448.85,1361318400000],[446,449.17,442.82,446.06,1361404800000],[449.25,451.6,446.6,450.81,1361491200000],[453.85,455.12,442.57,442.8,1361750400000],[443.82,451.54,437.66,448.97,1361836800000],[448.43,452.44,440.65,444.57,1361923200000],[444.05,447.87,441.4,441.4,1362009600000],[438,438.18,429.98,430.47,1362096000000],[427.8,428.2,419,420.05,1362355200000],[421.48,435.19,420.75,431.14,1362441600000],[434.51,435.25,424.43,425.66,1362528000000],[424.5,432.01,421.06,430.58,1362614400000],[429.8,435.43,428.61,431.72,1362700800000],[429.75,439.01,425.14,437.87,1362960000000],[435.6,438.88,427.57,428.43,1363046400000],[428.45,434.5,425.36,428.35,1363132800000],[432.83,434.64,430.45,432.5,1363219200000],[437.93,444.23,437.25,443.66,1363305600000],[441.45,457.46,441.2,455.72,1363564800000],[459.5,460.97,448.5,454.49,1363651200000],[457.42,457.63,449.59,452.08,1363737600000],[450.22,457.98,450.1,452.73,1363824000000],[454.58,462.1,453.11,461.91,1363910400000],[464.69,469.95,461.78,463.58,1364169600000],[465.44,465.84,460.53,461.14,1364256000000],[456.46,456.8,450.73,452.08,1364342400000],[449.82,451.82,441.62,442.66,1364428800000],[441.9,443.7,427.74,428.91,1364774400000],[427.6,438.14,426.4,429.79,1364860800000],[431.37,437.28,430.31,431.99,1364947200000],[433.76,435,425.25,427.72,1365033600000],[424.5,424.95,419.68,423.2,1365120000000],[424.85,427.5,422.49,426.21,1365379200000],[426.36,428.5,422.75,426.98,1365465600000],[428.1,437.06,426.01,435.69,1365552000000],[433.72,437.99,431.2,434.33,1365638400000],[434.15,434.15,429.09,429.8,1365724800000],[427,427.89,419.55,419.85,1365984000000],[421.57,426.61,420.57,426.24,1366070400000],[420.27,420.6,398.11,402.8,1366156800000],[404.99,405.79,389.74,392.05,1366243200000],[387.97,399.6,385.1,390.53,1366329600000],[392.64,402.2,391.28,398.67,1366588800000],[403.99,408.38,398.81,406.13,1366675200000],[393.54,415.25,392.5,405.46,1366761600000],[411.22,413.94,407,408.38,1366848000000],[409.81,418.77,408.25,417.2,1366934400000],[420.45,433.62,420,430.12,1367193600000],[435.1,445.25,432.07,442.78,1367280000000],[444.46,444.93,434.39,439.29,1367366400000],[441.78,448.59,440.63,445.52,1367452800000],[451.31,453.23,449.15,449.98,1367539200000],[455.71,462.2,454.31,460.71,1367798400000],[464.97,465.75,453.7,458.66,1367884800000],[459.04,465.37,455.81,463.84,1367971200000],[459.81,463,455.58,456.77,1368057600000],[457.97,459.71,450.48,452.97,1368144000000],[451.51,457.9,451.5,454.74,1368403200000],[453.85,455.2,442.15,443.86,1368489600000],[439.16,441,422.36,428.85,1368576000000],[423.24,437.85,418.9,434.58,1368662400000],[439.05,440.09,431.01,433.26,1368748800000],[431.91,445.8,430.1,442.93,1369008000000],[438.15,445.48,434.2,439.66,1369094400000],[444.05,448.35,438.22,441.35,1369180800000],[435.95,446.16,435.79,442.14,1369267200000],[440.85,445.66,440.36,445.15,1369353600000],[449.9,451.11,440.85,441.44,1369699200000],[440,447.5,439.4,444.95,1369785600000],[445.65,454.5,444.51,451.58,1369872000000],[452.5,457.1,449.5,449.74,1369958400000],[447.78,452.36,442.48,450.72,1370217600000],[453.22,454.43,447.39,449.31,1370304000000],[445.65,450.72,443.71,445.11,1370390400000],[445.47,447,434.05,438.46,1370476800000],[436.5,443.24,432.77,441.81,1370563200000],[444.73,449.08,436.8,438.89,1370822400000],[435.74,442.76,433.32,437.6,1370908800000],[439.5,441.25,431.5,432.19,1370995200000],[432.5,437.14,428.75,435.96,1371081600000],[435.4,436.29,428.5,430.05,1371168000000],[431.44,435.7,430.36,432,1371427200000],[431.56,434.9,430.21,431.77,1371513600000],[431.4,431.66,423,423,1371600000000],[419.3,425.98,415.17,416.84,1371686400000],[418.49,420,408.1,413.5,1371772800000],[407.4,408.66,398.05,402.54,1372032000000],[405.7,407.79,398.83,402.63,1372118400000],[403.9,404.79,395.66,398.07,1372204800000],[399.25,401.39,393.54,393.78,1372291200000],[391.36,400.27,388.87,396.53,1372377600000],[402.69,412.27,401.22,409.22,1372636800000],[409.96,421.63,409.47,418.49,1372723200000],[420.86,422.98,417.45,420.8,1372809600000],[420.39,423.29,415.35,417.42,1372982400000],[420.11,421,410.65,415.05,1373241600000],[413.6,423.5,410.38,422.35,1373328000000],[419.6,424.8,418.25,420.73,1373414400000],[422.95,428.25,421.17,427.29,1373500800000],[427.65,429.79,423.41,426.51,1373587200000],[425.01,431.46,424.8,427.44,1373846400000],[426.52,430.71,424.17,430.2,1373932800000],[429.7,432.22,428.22,430.31,1374019200000],[433.38,434.87,430.61,431.76,1374105600000],[433.1,433.98,424.35,424.95,1374192000000],[429.46,429.75,425.47,426.31,1374451200000],[426,426.96,418.71,418.99,1374537600000],[438.93,444.59,435.26,440.51,1374624000000],[440.7,441.4,435.81,438.5,1374710400000],[435.3,441.04,434.34,440.99,1374796800000],[440.8,449.99,440.2,447.79,1375056000000],[449.96,457.15,449.23,453.32,1375142400000],[454.99,457.34,449.43,452.53,1375228800000],[455.75,456.8,453.26,456.68,1375315200000],[458.01,462.85,456.66,462.54,1375401600000],[464.69,470.67,462.15,469.45,1375660800000],[468.02,471.89,462.17,465.25,1375747200000],[463.8,467,461.77,464.98,1375833600000],[463.86,464.1,457.95,461.01,1375920000000],[458.64,460.46,453.65,454.45,1376006400000],[456.86,468.65,456.63,467.36,1376265600000],[470.94,494.66,468.05,489.57,1376352000000],[497.88,504.25,493.4,498.5,1376438400000],[496.42,502.4,489.08,497.91,1376524800000],[500.15,502.94,498.86,502.33,1376611200000],[504.34,513.74,504,507.74,1376870400000],[509.71,510.57,500.82,501.07,1376956800000],[503.59,507.15,501.2,502.36,1377043200000],[504.98,505.59,498.2,502.96,1377129600000],[503.27,503.35,499.35,501.02,1377216000000],[500.75,510.2,500.5,502.97,1377475200000],[498,502.51,486.3,488.59,1377561600000],[486,495.8,486,490.9,1377648000000],[491.65,496.5,491.13,491.7,1377734400000],[492,492.95,486.5,487.22,1377820800000],[493.1,500.6,487.35,488.58,1378166400000],[499.56,502.24,496.28,498.69,1378252800000],[500.25,500.68,493.64,495.27,1378339200000],[498.44,499.38,489.95,498.22,1378425600000],[505,507.92,503.48,506.17,1378684800000],[506.2,507.45,489.5,494.64,1378771200000],[467.01,473.69,464.81,467.71,1378857600000],[468.5,475.4,466.01,472.69,1378944000000],[469.34,471.83,464.7,464.9,1379030400000],[461,461.61,447.22,450.12,1379289600000],[447.96,459.71,447.5,455.32,1379376000000],[463.18,466.35,460.66,464.68,1379462400000],[470.7,475.83,469.25,472.3,1379548800000],[478,478.55,466,467.41,1379635200000],[496.1,496.91,482.6,490.64,1379894400000],[494.88,495.47,487.82,489.1,1379980800000],[489.2,489.64,481.43,481.53,1380067200000],[486,488.56,483.9,486.22,1380153600000],[483.78,484.67,480.72,482.75,1380240000000],[477.25,481.66,474.41,476.75,1380499200000],[478.45,489.14,478.38,487.96,1380585600000],[485.63,491.8,483.75,489.56,1380672000000],[490.51,492.35,480.74,483.41,1380758400000],[483.86,484.6,478.6,483.03,1380844800000],[486.56,492.65,485.35,487.75,1381104000000],[489.94,490.64,480.54,480.94,1381190400000],[484.64,487.79,478.28,486.59,1381276800000],[491.32,492.38,487.04,489.64,1381363200000],[486.99,493.84,485.16,492.81,1381449600000],[489.83,497.58,489.35,496.04,1381708800000],[497.5,502,495.52,498.68,1381795200000],[500.79,502.53,499.23,501.11,1381881600000],[499.98,504.78,499.68,504.5,1381968000000],[505.99,509.26,505.71,508.89,1382054400000],[511.77,524.3,511.52,521.36,1382313600000],[526.4,528.45,508.03,519.87,1382400000000],[519,525.67,519,524.96,1382486400000],[525,532.47,522.45,531.91,1382572800000],[531.32,533.23,525.11,525.96,1382659200000],[529.04,531,523.21,529.88,1382918400000],[536.27,539.25,514.54,516.68,1383004800000],[519.61,527.52,517.02,524.9,1383091200000],[525,527.49,521.27,522.7,1383177600000],[524.02,524.8,515.84,520.03,1383264000000],[521.1,526.82,518.81,526.75,1383523200000],[524.58,528.88,523,525.45,1383609600000],[524.15,524.86,518.2,520.92,1383696000000],[519.58,523.19,512.38,512.49,1383782400000],[514.58,521.13,512.59,520.56,1383868800000],[519.99,521.67,514.41,519.05,1384128000000],[517.67,523.92,517,520.01,1384214400000],[518,522.25,516.96,520.63,1384300800000],[522.81,529.28,521.87,528.16,1384387200000],[526.58,529.09,524.49,524.99,1384473600000],[524.99,527.19,518.2,518.63,1384732800000],[519.03,523.38,517.97,519.55,1384819200000],[519.23,520.42,514.33,515,1384905600000],[517.6,521.21,513.67,521.14,1384992000000],[519.52,522.16,518.53,519.8,1385078400000],[521.02,525.87,521,523.74,1385337600000],[524.12,536.14,524,533.4,1385424000000],[536.31,546,533.4,545.96,1385510400000],[549.48,558.33,547.81,556.07,1385683200000],[558,564.33,550.82,551.23,1385942400000],[558.3,566.38,557.68,566.32,1386028800000],[565.5,569.19,560.82,565,1386115200000],[572.65,575.14,566.41,567.9,1386201600000],[565.79,566.75,559.57,560.02,1386288000000],[560.95,569.58,560.9,566.43,1386547200000],[563.64,567.88,561.2,565.55,1386633600000],[567.04,570.97,559.69,561.36,1386720000000],[562.69,565.34,560.03,560.54,1386806400000],[562.39,562.88,553.67,554.43,1386892800000],[555.61,562.64,555.01,557.5,1387152000000],[555.7,559.44,553.38,554.99,1387238400000],[547.46,551.45,538.8,550.77,1387324800000],[548.65,550,543.73,544.46,1387411200000],[545.34,551.61,544.82,549.02,1387497600000],[568,570.72,562.76,570.09,1387756800000],[569.89,571.88,566.03,567.67,1387843200000],[568.1,569.5,563.38,563.9,1388016000000],[563.82,564.41,559.5,560.09,1388102400000],[557.46,560.09,552.32,554.52,1388361600000],[554.17,561.28,554,561.02,1388448000000],[555.68,557.03,552.02,553.13,1388620800000],[552.86,553.7,540.43,540.98,1388707200000],[537.45,546.8,533.6,543.93,1388966400000],[544.32,545.96,537.92,540.04,1389052800000],[538.81,545.56,538.69,543.46,1389139200000],[546.8,546.86,535.35,536.52,1389225600000],[539.83,540.8,531.11,532.94,1389312000000],[529.91,542.5,529.88,535.73,1389571200000],[538.22,546.73,537.66,546.39,1389657600000],[553.52,560.2,551.66,557.36,1389744000000],[554.9,556.85,551.68,554.25,1389830400000],[551.48,552.07,539.9,540.67,1389916800000],[540.99,550.07,540.42,549.07,1390262400000],[550.91,557.29,547.81,551.51,1390348800000],[549.94,556.5,544.81,556.18,1390435200000],[554,555.62,544.75,546.07,1390521600000],[550.07,554.8,545.75,550.5,1390780800000],[508.76,515,502.07,506.5,1390867200000],[503.95,507.37,498.62,500.75,1390953600000],[502.54,506.5,496.7,499.78,1391040000000],[495.18,501.53,493.55,500.6,1391126400000],[502.61,507.73,499.3,501.53,1391385600000],[505.85,509.46,502.76,508.79,1391472000000],[506.56,515.28,506.25,512.59,1391558400000],[510.06,513.5,507.81,512.51,1391644800000],[521.38,522.93,517.38,519.68,1391731200000],[518.66,531.99,518,528.99,1391990400000],[530.61,537.75,529.5,535.96,1392076800000],[536.95,539.56,533.24,535.92,1392163200000],[534.66,544.85,534.2,544.43,1392249600000],[542.47,545.98,541.21,543.99,1392336000000],[546,551.19,545.61,545.99,1392681600000],[544.75,546.89,534.35,537.37,1392768000000],[532.99,537,529,531.15,1392854400000],[532.79,534.57,524.6,525.25,1392940800000],[523.15,529.92,522.42,527.55,1393200000000],[529.38,529.56,521,522.06,1393286400000],[523.61,525,515.6,517.35,1393372800000],[517.14,528.78,516.05,527.67,1393459200000],[529.08,532.75,522.12,526.24,1393545600000],[523.42,530.65,522.81,527.76,1393804800000],[531,532.64,527.77,531.24,1393891200000],[530.92,534.75,529.13,532.36,1393977600000],[532.79,534.44,528.1,530.75,1394064000000],[531.09,531.98,526.05,530.44,1394150400000],[528.36,533.33,528.34,530.92,1394409600000],[535.45,538.74,532.59,536.09,1394496000000],[534.51,537.35,532,536.61,1394582400000],[537.44,539.66,529.16,530.65,1394668800000],[528.79,530.89,523,524.69,1394755200000],[527.7,529.97,525.85,526.74,1395014400000],[525.9,531.97,525.2,531.4,1395100800000],[532.26,536.24,529,531.26,1395187200000],[529.89,532.67,527.35,528.7,1395273600000],[531.93,533.75,526.33,532.87,1395360000000],[538.42,540.5,535.06,539.19,1395619200000],[541.5,545.75,539.59,544.99,1395705600000],[546.52,549,538.86,539.78,1395792000000],[540.02,541.5,535.12,537.46,1395878400000],[538.32,538.94,534.25,536.86,1395964800000],[539.23,540.81,535.93,536.74,1396224000000],[537.76,541.87,536.77,541.65,1396310400000],[542.38,543.48,540.26,542.55,1396396800000],[541.39,542.5,537.64,538.79,1396483200000],[539.81,540,530.58,531.82,1396569600000],[528.02,530.9,521.89,523.47,1396828800000],[525.19,526.12,518.7,523.44,1396915200000],[522.64,530.49,522.02,530.32,1397001600000],[530.68,532.24,523.17,523.48,1397088000000],[519,522.83,517.14,519.61,1397174400000],[521.9,522.16,517.21,521.68,1397433600000],[520.27,521.64,511.33,517.96,1397520000000],[518.05,521.09,514.14,519.01,1397606400000],[520,527.76,519.2,524.94,1397692800000],[525.34,532.14,523.96,531.17,1398038400000],[528.31,531.83,526.5,531.7,1398124800000],[529.06,531.13,524.45,524.75,1398211200000],[568.21,570,560.73,567.77,1398297600000],[564.53,571.99,563.96,571.94,1398384000000],[572.8,595.75,572.55,594.09,1398643200000],[593.74,595.98,589.51,592.33,1398729600000],[592.64,599.43,589.8,590.09,1398816000000]
];
var new_data = [[100.73,101.45,100.01,100.4,1178150400000],[100.8,101.6,100.5,100.81,1178236800000],[101.08,104.35,101.01,103.92,1178496000000],[103.47,105.15,103.42,105.06,1178582400000],[104.91,106.96,104.89,106.88,1178668800000],[106.63,108.84,105.92,107.34,1178755200000],[107.74,109.13,106.78,108.74,1178841600000],[109.62,110,108.25,109.36,1179100800000],[109.57,110.2,106.48,107.52,1179187200000],[108.53,108.83,103.42,107.34,1179273600000],[107.15,109.87,107.15,109.44,1179360000000],[110.23,110.64,109.77,110.02,1179446400000],[110.31,112.45,110.05,111.98,1179705600000],[112.49,113.75,112.01,113.54,1179792000000],[114.02,115,112.59,112.89,1179878400000],[112.81,114.46,110.37,110.69,1179964800000],[112,113.78,111.5,113.62,1180051200000],[114.45,114.86,112.69,114.35,1180396800000],[114.3,118.88,113.53,118.77,1180483200000],[120.07,122.17,119.54,121.19,1180569600000],[121.1,121.19,118.29,118.4,1180656000000],[118.63,121.73,117.9,121.33,1180915200000],[121.41,122.69,120.5,122.67,1181001600000],[122.3,124.05,121.95,123.64,1181088000000],[124.99,127.61,123.19,124.07,1181174400000],[125.82,125.83,122.29,124.49,1181260800000],[126,126.15,119.54,120.19,1181520000000],[119.35,121.71,118.31,120.38,1181606400000],[121.15,121.19,115.4,117.5,1181692800000],[117.2,119.45,116.42,118.75,1181779200000],[120.62,120.67,119.86,120.5,1181865600000],[123.28,125.18,122.54,125.09,1182124800000],[124.69,125.01,122.91,123.66,1182211200000],[123.87,124.66,121.5,121.55,1182297600000],[121.7,124.29,120.72,123.9,1182384000000],[123.85,124.45,122.38,123,1182470400000],[124.19,125.09,121.06,122.34,1182729600000],[123.98,124,118.72,119.65,1182816000000],[120.61,122.04,119.26,121.89,1182902400000],[122.36,122.49,120,120.56,1182988800000],[121.97,124,121.09,122.04,1183075200000],[121.05,122.09,119.3,121.26,1183334400000],[122,127.4,121.5,127.17,1183420800000],[128.8,132.97,128.69,132.75,1183593600000],[133.13,133.34,130.4,132.3,1183680000000],[132.38,132.9,129.18,130.33,1183939200000],[128.88,134.5,128.81,132.35,1184025600000],[132.07,133.7,131.31,132.39,1184112000000],[133.85,134.24,132.39,134.07,1184198400000],[135.03,137.85,134.52,137.73,1184284800000],[138.39,139.98,137.5,138.1,1184544000000],[138.3,139.6,137.5,138.91,1184630400000],[138.19,138.44,136.04,138.12,1184716800000],[140.3,140.81,139.65,140,1184803200000],[141.65,144.18,140,143.75,1184889600000],[143.31,145.22,140.93,143.7,1185148800000],[138.88,141,134.15,134.89,1185235200000],[137.35,138.36,135,137.26,1185321600000],[145.91,148.5,136.96,146,1185408000000],[146.19,148.92,143.78,143.85,1185494400000],[144.33,145.45,139.57,141.43,1185753600000],[142.97,143.48,131.52,131.76,1185840000000],[133.64,135.38,127.77,135,1185926400000],[136.65,136.96,134.15,136.49,1186012800000],[135.26,135.95,131.5,131.85,1186099200000],[132.9,135.27,128.3,135.25,1186358400000],[134.94,137.24,132.63,135.03,1186444800000],[136.76,136.86,132,134.01,1186531200000],[131.11,133,125.09,126.39,1186617600000],[123.12,127.75,120.3,125,1186704000000],[128.32,129.35,126.5,127.79,1186963200000],[128.29,128.3,123.71,124.03,1187049600000],[122.74,124.86,119.65,119.9,1187136000000],[117.01,118.5,111.62,117.05,1187222400000],[122.01,123.5,119.82,122.06,1187308800000],[123.96,124.5,120.5,122.22,1187568000000],[122.21,128.96,121,127.57,1187654400000],[131.22,132.75,130.33,132.51,1187740800000],[133.09,133.34,129.76,131.07,1187827200000],[130.53,135.37,129.81,135.3,1187913600000],[133.39,134.66,132.1,132.25,1188172800000],[130.99,132.41,126.63,126.82,1188259200000],[129.88,134.18,129.54,134.08,1188345600000],[132.67,138.25,132.3,136.25,1188432000000],[139.49,139.65,137.41,138.48,1188518400000],[139.94,145.73,139.84,144.16,1188864000000],[144.97,145.84,136.1,136.76,1188950400000],[135.56,137.57,132.71,135.01,1189036800000],[132.01,132.3,130,131.77,1189123200000],[137,138.04,133.95,136.71,1189382400000],[137.9,138.3,133.75,135.49,1189468800000],[135.99,139.4,135.75,136.85,1189555200000],[138.83,139,136.65,137.2,1189641600000],[136.57,138.98,136.2,138.81,1189728000000],[138.99,140.59,137.6,138.41,1189987200000],[139.06,142.85,137.83,140.92,1190073600000],[143.02,143.16,139.4,140.77,1190160000000],[140.15,141.79,139.32,140.31,1190246400000],[141.14,144.65,140.31,144.15,1190332800000],[146.73,149.85,146.65,148.28,1190592000000],[146.84,153.22,146.82,153.18,1190678400000],[154.47,155,151.25,152.77,1190764800000],[153.77,154.52,152.32,154.5,1190851200000],[153.44,154.6,152.75,153.47,1190937600000],[154.63,157.41,152.93,156.34,1191196800000],[156.55,158.59,155.89,158.45,1191283200000],[157.78,159.18,157.01,157.92,1191369600000],[158,158.08,153.5,156.24,1191456000000],[158.37,161.58,157.7,161.45,1191542400000],[163.49,167.91,162.97,167.91,1191801600000],[170.2,171.11,166.68,167.86,1191888000000],[167.55,167.88,165.6,166.79,1191974400000],[169.49,171.88,153.21,162.23,1192060800000],[163.01,167.28,161.8,167.25,1192147200000],[167.98,169.57,163.5,166.98,1192406400000],[165.54,170.18,165.15,169.58,1192492800000],[172.69,173.04,169.18,172.75,1192579200000],[171.5,174.19,171.05,173.5,1192665600000],[174.24,174.63,170,170.42,1192752000000],[170.35,174.9,169.96,174.36,1193011200000],[188.56,188.6,182.76,186.16,1193097600000],[185.81,187.21,179.24,185.93,1193184000000],[184.87,185.9,181.66,182.78,1193270400000],[185.29,185.37,182.88,184.7,1193356800000],[185.45,186.59,184.7,185.09,1193616000000],[186.18,189.37,184.73,187,1193702400000],[187.63,190.12,184.95,189.95,1193788800000],[188.6,190.1,180,187.44,1193875200000],[189.21,189.44,183.49,187.87,1193961600000],[185.29,188.96,184.24,186.18,1194220800000],[187.05,192,185.27,191.79,1194307200000],[190.61,192.68,186.13,186.3,1194393600000],[186.67,186.9,167.77,175.47,1194480000000],[171.15,175.12,165.21,165.37,1194566400000],[165.28,167.7,150.63,153.76,1194825600000],[160.85,170.98,153.76,169.96,1194912000000],[177.16,177.57,163.74,166.11,1194998400000],[166.39,169.59,160.3,164.3,1195084800000],[165.3,167.02,159.33,166.39,1195171200000],[166.1,168.2,162.1,163.95,1195430400000],[165.67,171.79,163.53,168.85,1195516800000],[165.84,172.35,164.67,168.46,1195603200000],[172,172.05,169.75,171.54,1195776000000],[173.59,177.27,172.35,172.54,1196035200000],[175.22,175.79,170.01,174.81,1196121600000]];
var candles = 50;
function calculateMA(period, data) {
var array = [];
for(i=period-1,length=data.length-1;i<=length;++i) {
var sum = 0;
for( j=0; j<period; ++j ) {
sum += data[i-j][3];
}
array.push([parseFloat(sum/period), data[i][4]]);
}
return array;
}
function calculateEMA(period, data) {
var alpha = 2 / (period + 1);
var array = [];
for(i=period-1,length=data.length-1;i<=length;++i) {
var numerator = 0;
var denominator = 0;
for( j=0; j<period; ++j ) {
numerator += data[i-j][3] * Math.pow( (1-alpha), j);
denominator += Math.pow( (1-alpha), j);
}
array.push([parseFloat(numerator/denominator), data[i][4]]);
}
return array;
}
var margin = {top: 10, right: 40, bottom: 30, left: 10},
width = 1200 - margin.left - margin.right,
height = 400 - margin.top - margin.bottom;
var translate = 0;
var scale = 1;
var visible_candles = [];
var indicators = [];
var ids = 0;
var x = d3.time.scale()
.domain([
new Date( data[data.length-candles][4]),
new Date( data[data.length-1][4]*2 - data[data.length-2][4])
])
.range([0, width]);
var y = d3.scale.linear()
.domain([
d3.min(data, function(d) { return d[2]; }),
d3.max(data, function(d) { return d[1]; })
])
.nice()
.range([height, 0]);
var xAxis = d3.svg.axis()
.scale(x)
.orient("bottom")
.tickSize(-height, 0)
.tickPadding(10)
.tickSubdivide(true)
.ticks(6);
var yAxis = d3.svg.axis()
.scale(y)
.orient("right")
.tickSize(-width)
.tickPadding(10)
.ticks(10);
var zoom = d3.behavior.zoom()
.on("zoom", draw);
var svg = d3.select("#main_chart").append("svg")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
.attr("cursor", "none")
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
var clip = svg.append("defs").append("svg:clipPath")
.attr("id", "clip")
.append("svg:rect")
.attr("id", "clip-rect")
.attr("x", "0")
.attr("y", "0")
.attr("width", width)
.attr("height", height);
svg.append("g")
.attr("class", "y axis")
.attr("transform", "translate(" + width + ",0)");
svg.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + height + ")");
svg.append("rect")
.attr("class", "pane")
.attr("width", width - margin.left)
.attr("height", height)
.call(zoom);
var body = svg.append("svg:g")
.attr("class", "body")
.attr("clip-path", "url(#clip)")
.append("svg:g")
.attr("class", "candles");
var lines = d3.select("g.body");
var cw = ((width/candles)-10);
var cw2 = ((width/candles)-10)/2
body.selectAll("rect")
.data(data)
.enter()
.append("rect")
.attr("x", function(d) { return x( new Date(d[4]) ) - cw2 })
.attr("y", function(d) { return y( (d[0] > d[3]) ? d[0] : d[3] ) })
.attr("height", function(d) { return (d[0]-d[3] == 0) ? 1 : Math.abs(d[0]-d[3]) })
.attr('width', cw)
.style("fill", function(d) { return (d[0] > d[3]) ? "rgb(215, 84, 66)" : "rgb(107, 165, 131)"; });
body.selectAll("line.stem")
.data(data)
.enter().append("svg:line")
.attr("class", "stem")
.attr("x1", function(d) { return x( new Date(d[4]) );})
.attr("x2", function(d) { return x( new Date(d[4]) );})
.attr("y1", function(d) { return y(d[1]);})
.attr("y2", function(d) { return y(d[2]); })
.attr("stroke", function(d){ return d[0] > d[3] ? "rgb(215, 84, 66)" : "rgb(107, 165, 131)"; });
var line = d3.svg.line()
.x(function(d) { return x( new Date(d[1]) ); })
.y(function(d) { return y(d[0]); });
var mouse = svg.append("g")
.attr("transform", "translate(0.5, 0.5)");
var vertical = mouse.append("svg:line")
.attr("class", "mouse")
.attr("x1", 0)
.attr("x2", 0)
.attr("y1", 0)
.attr("y2", height)
.attr("visibility", "hidden");
var horizontal = mouse.append("svg:line")
.attr("class", "mouse")
.attr("x1", 0)
.attr("x2", width)
.attr("y1", 0)
.attr("y2", 0)
.attr("visibility", "hidden");
svg.select('.axis.y')
.append("rect")
.attr("class", "last-close")
.attr("height", 20)
.attr("width", margin.right)
.attr("x", 0)
.attr("rx", 3)
.attr("ry", 3);
svg.node().addEventListener("mousemove", function(e) {
var mousex = e.offsetX - margin.left;
var mousey = e.offsetY - margin.top;
var diff = 99999999, el;
for(i in visible_candles) {
var candle = visible_candles[i];
var new_diff = Math.abs(((candle[0].getAttribute("x")+cw)*scale + translate) - mousex);
if(new_diff < diff) {
diff = new_diff;
el = candle;
}
}
vertical
.attr("x1", (el[0].getAttribute("x")+cw)*scale + translate + (cw2*scale))
.attr("x2", (el[0].getAttribute("x")+cw)*scale + translate + (cw2*scale))
.attr("visibility", "visible");
horizontal
.attr("y1", mousey)
.attr("y2", mousey)
.attr("visibility", "visible");
var color = (el[1][0] > el[1][3]) ? "red" : "green";
var tooltip = document.getElementById("tooltip");
tooltip.innerHTML =
"O: <span class=" + color + ">" + parseFloat(el[1][0]).toFixed(2) +
"</span>, H: <span class=" + color + ">" + parseFloat(el[1][1]).toFixed(2) +
"</span>, L: <span class=" + color + ">" + parseFloat(el[1][2]).toFixed(2) +
"</span>, C: <span class=" + color + ">" + parseFloat(el[1][3]).toFixed(2) +
"</span>";
for(i in indicators) {
var indicator = indicators[i];
var diff = 99999999, ind;
indicator.data.map(function(d) {
var new_diff = Math.abs(x(new Date(d[1])) - mousex);
if(new_diff < diff) {
diff = new_diff;
ind = d;
}
});
tooltip.innerHTML += "<br>"
+ indicator.type.toUpperCase() + ' (' + indicator.period + '): <span style="color: ' + indicator.color + '">' + ind[0].toFixed(2) + '</span>';
}
var format = d3.time.format("%d %B %Y");
tooltip.innerHTML += "<br>" + format(new Date(el[1][4]));
});
document.getElementsByTagName("svg")[0].addEventListener("mouseout", function(e) {
vertical
.attr("visibility", "hidden");
horizontal
.attr("visibility", "hidden");
});
zoom.x(x);
draw();
function draw() {
if(d3.event != null) {
translate = d3.event.translate[0];
scale = d3.event.scale;
svg.select("g.candles").attr("transform",
"translate(" + d3.event.translate[0] + ", 0)"
+ " scale(" + d3.event.scale + ", 1)");
}
var visible_elements = [];
visible_candles = [];
var candles = d3.selectAll(".candles rect").each(function(d, i) {
if((this.getAttribute("x")*scale) + translate >= 0 && (this.getAttribute("x")*scale) + translate <= width) {
visible_elements.push(d);
visible_candles.push([this, d]);
}
});
y.domain([
d3.min(visible_elements, function(d) { return d[2]; }),
d3.max(visible_elements, function(d) { return d[1]; })
]);
body.selectAll(".candles rect")
.attr("y", function(d) { return y( (d[0] > d[3]) ? d[0] : d[3] ) })
.attr("height", function(d) { return (d[0]-d[3] == 0) ? 1 : Math.abs(y(d[0])-y(d[3])) });
body.selectAll(".candles line.stem")
.attr("y1", function(d) { return y(d[1]);})
.attr("y2", function(d) { return y(d[2]); });
svg.select(".y.axis .last-close")
.attr("y", y(visible_elements[visible_elements.length-1][3]) - 10)
.style("fill", (visible_elements[visible_elements.length-1][0] > visible_elements[visible_elements.length-1][3]) ? "rgb(215, 84, 66)" : "rgb(107, 165, 131)");
svg.selectAll('path.line').attr('d', line);
svg.select("g.x.axis").call(xAxis);
svg.select("g.y.axis").call(yAxis);
}
document.querySelector(".add_indicator").onclick = function() {
var type = document.querySelector("select[name=type]").value;
var period = document.querySelector("input[name=period]").value;
var color = document.querySelector("input[name=color]").value;
var width = document.querySelector("select[name=width]").value;
if(type == "ma") {
var i_data = calculateMA(period, data);
var path = lines.append("path")
.datum(i_data)
.attr("id", "in" + ids)
.attr("class", "line")
.style("stroke", color)
.style("stroke-width", width + "px")
.attr("d", line);
} else if (type == "ema") {
var i_data = calculateEMA(period, data)
var path = lines.append("path")
.datum(i_data)
.attr("id", "in" + ids)
.attr("class", "line")
.style("stroke", color)
.style("stroke-width", width + "px")
.attr("d", line);
}
var indicator = {
indicator: path,
data: i_data,
type: type,
period: period,
color: color,
width: width
}
indicators.push(indicator);
++ids;
};
document.querySelector(".new_data").onclick = function() {
alert(data.length);
for(i in new_data) {
data.push(new_data[i]);
}
alert(data.length);
body.selectAll("rect")
.data(data)
.enter()
.append("rect")
.attr("x", function(d) { return x( new Date(d[4]) ) - cw2 })
.attr("y", function(d) { return y( (d[0] > d[3]) ? d[0] : d[3] ) })
.attr("height", function(d) { return (d[0]-d[3] == 0) ? 1 : Math.abs(d[0]-d[3]) })
.attr('width', cw)
.style("fill", function(d) { return (d[0] > d[3]) ? "rgb(215, 84, 66)" : "rgb(107, 165, 131)"; });
body.selectAll("line.stem")
.data(data)
.enter().append("svg:line")
.attr("class", "stem")
.attr("x1", function(d) { return x( new Date(d[4]) );})
.attr("x2", function(d) { return x( new Date(d[4]) );})
.attr("y1", function(d) { return y(d[1]);})
.attr("y2", function(d) { return y(d[2]); })
.attr("stroke", function(d){ return d[0] > d[3] ? "rgb(215, 84, 66)" : "rgb(107, 165, 131)"; });
zoom(x);
draw();
};
});