01 <?xml version="1.0" encoding="UTF-8"?>
02 <stock xmlns="http://anychart.com/products/stock/schemas/1.9.0/schema.xsd">
03   <data>
04     <data_sets>
05       <data_set id="dataSet1" source_url="./../../csv-data/csco_daily.csv">
06         <csv_settings ignore_first_row="true" rows_separator="\n" columns_separator="," />
07         <locale>
08           <date_time>
09             <format><![CDATA[%yyyy%MM%dd]]></format>
10           </date_time>
11         </locale>
12       </data_set>
13     </data_sets>
14     <data_providers>
15       <general_data_providers>
16         <data_provider data_set="dataSet1" id="dp1">
17           <fields>
18             <field type="Open" column="1" approximation_type="Open" />
19             <field type="High" column="2" approximation_type="High" />
20             <field type="Low" column="3" approximation_type="Low" />
21             <field type="Close" column="4" approximation_type="Close" />
22             <field type="Volume" column="5" approximation_type="Average" />
23           </fields>
24         </data_provider>
25       </general_data_providers>
26       <scroller_data_providers>
27         <data_provider data_set="dataSet1" column="4" />
28       </scroller_data_providers>
29     </data_providers>
30   </data>
31   <settings>
32     <data_grouping enabled="true" max_visible_points="450" />
33     <inside_margin right="40" />
34     <range_selector enabled="true" />
35     <charts>
36       <chart height="100">
37         <legend>
38           <date_time enabled="false" />
39           <background>
40             <fill type="Solid" color="White" />
41           </background>
42         </legend>
43         <series_list>
44           <series type="Line" data_provider="dp1" color="#328166">
45             <name><![CDATA[CSCO]]></name>
46             <line_series thickness="2" />
47           </series>
48         </series_list>
49         <technical_indicators>
50           <technical_indicator type="SMA" data_provider="dp1">
51             <sma_indicator period="20">
52               <series type="Spline" color="#404040">
53                 <name><![CDATA[SMA(20)]]></name>
54               </series>
55             </sma_indicator>
56           </technical_indicator>
57           <technical_indicator type="BBands" data_provider="dp1">
58             <bbands_indicator period="20" deviation="2">
59               <upper_series>
60                 <name><![CDATA[BBands(20,2)]]></name>
61               </upper_series>
62             </bbands_indicator>
63           </technical_indicator>
64         </technical_indicators>
65         <value_axes>
66           <primary position="Right">
67             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
68               <font family="Verdana" color="#444444" bold="true" size="9" />
69               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
70             </labels>
71             <scale minimum_offset="0" />
72             <grid>
73               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
74             </grid>
75             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
76           </primary>
77         </value_axes>
78         <x_axis>
79           <major_grid>
80             <line opacity="1" color="#D9D9D9" />
81           </major_grid>
82           <minor_grid>
83             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
84           </minor_grid>
85         </x_axis>
86       </chart>
87       <chart height="50">
88         <legend>
89           <title enabled="false" />
90           <date_time enabled="false" />
91           <background>
92             <fill type="Solid" color="White" />
93           </background>
94         </legend>
95         <value_axes>
96           <primary position="Right">
97             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
98               <font family="Verdana" color="#444444" bold="true" size="9" />
99               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
100             </labels>
101             <scale minimum_mode="CustomValue" minimum="0" maximum_mode="CustomValue" maximum="100" interval_mode="CustomValue" interval="50" />
102             <grid>
103               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
104             </grid>
105             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
106             <axis_markers>
107               <line_markers>
108                 <line_marker value="30">
109                   <line dashed="true" color="#009933" />
110                   <labels>
111                     <label anchor="Right" halign="Right" x_padding="3">
112                       <format><![CDATA[30]]></format>
113                       <font family="Verdana" color="#FFFFFF" bold="true" size="8" />
114                       <background enabled="true">
115                         <fill enabled="true" color="#009933" />
116                         <border enabled="false" />
117                         <corners type="Rounded" all="3" />
118                         <inside_margin left="2" right="2" top="-2" bottom="-2" />
119                       </background>
120                     </label>
121                   </labels>
122                 </line_marker>
123                 <line_marker value="70">
124                   <line dashed="true" color="#BD240C" />
125                   <labels>
126                     <label anchor="Right" halign="Right" x_padding="3">
127                       <format><![CDATA[70]]></format>
128                       <font family="Verdana" color="#FFFFFF" bold="true" size="8" />
129                       <background enabled="true">
130                         <fill enabled="true" color="#BD240C" />
131                         <border enabled="false" />
132                         <corners type="Rounded" all="3" />
133                         <inside_margin left="2" right="2" top="-2" bottom="-2" />
134                       </background>
135                     </label>
136                   </labels>
137                 </line_marker>
138               </line_markers>
139             </axis_markers>
140           </primary>
141         </value_axes>
142         <x_axis>
143           <major_grid>
144             <line opacity="1" color="#D9D9D9" />
145           </major_grid>
146           <minor_grid>
147             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
148           </minor_grid>
149           <labels enabled="false" />
150         </x_axis>
151         <technical_indicators>
152           <technical_indicator type="RSI" data_provider="dp1">
153             <rsi_indicator period="14">
154               <series color="#253992">
155                 <name><![CDATA[RSI(14)]]></name>
156               </series>
157             </rsi_indicator>
158           </technical_indicator>
159         </technical_indicators>
160       </chart>
161       <chart height="50">
162         <legend>
163           <title enabled="false" />
164           <date_time enabled="false" />
165           <background>
166             <fill type="Solid" color="White" />
167           </background>
168         </legend>
169         <value_axes>
170           <primary position="Right">
171             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
172               <font family="Verdana" color="#444444" bold="true" size="9" />
173               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
174             </labels>
175             <scale minimum_mode="CustomValue" minimum="-100" maximum_mode="CustomValue" maximum="0" interval_mode="CustomValue" interval="20" />
176             <grid>
177               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
178             </grid>
179             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
180           </primary>
181         </value_axes>
182         <x_axis>
183           <major_grid>
184             <line opacity="1" color="#D9D9D9" />
185           </major_grid>
186           <minor_grid>
187             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
188           </minor_grid>
189           <labels enabled="false" />
190         </x_axis>
191         <technical_indicators>
192           <technical_indicator type="WilliamsR" data_provider="dp1">
193             <williams_r_indicator period="14">
194               <series type="Line" color="#253992">
195                 <name><![CDATA[Williams %R(14)]]></name>
196                 <legend_item enabled="true">
197                   <labels>
198                     <icon size="8" type="Square">
199                       <fill color="%Color" />
200                       <border enabled="true" thickness="1" color="DarkColor(%Color)" opacity="0.4" />
201                     </icon>
202                     <focus_settings>
203                       <mouse_over>
204                         <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName} {%Value.Current}{numDecimals:2,negativeSignStyle:None}</font></b> ]]></format>
205                       </mouse_over>
206                       <mouse_out>
207                         <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName} {%Value.LastVisible}{numDecimals:2,negativeSignStyle:None}</font></b> ]]></format>
208                       </mouse_out>
209                     </focus_settings>
210                   </labels>
211                 </legend_item>
212               </series>
213             </williams_r_indicator>
214           </technical_indicator>
215         </technical_indicators>
216       </chart>
217     </charts>
218     <time_scale>
219       <selected_range type="Unit" unit="Year" count="1" />
220     </time_scale>
221   </settings>
222 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/csco_daily.csv",
07        csvSettings: {
08          ignoreFirstRow: true,
09          rowsSeparator: "\n",
10          columnsSeparator: ","
11        },
12        locale: {
13          dateTime: {
14            format: "%yyyy%MM%dd"
15          }
16        }
17      }
18    ],
19    dataProviders: {
20      generalDataProviders: [
21        {
22          dataSet: "dataSet1",
23          id: "dp1",
24          fields: [
25            {
26              type: "Open",
27              column: 1,
28              approximationType: "Open"
29            },
30            {
31              type: "High",
32              column: 2,
33              approximationType: "High"
34            },
35            {
36              type: "Low",
37              column: 3,
38              approximationType: "Low"
39            },
40            {
41              type: "Close",
42              column: 4,
43              approximationType: "Close"
44            },
45            {
46              type: "Volume",
47              column: 5,
48              approximationType: "Average"
49            }
50          ]
51        }
52      ],
53      scrollerDataProviders: [
54        {
55          dataSet: "dataSet1",
56          column: 4
57        }
58      ]
59    }
60  },
61  settings: {
62    dataGrouping: {
63      enabled: true,
64      maxVisiblePoints: 450
65    },
66    insideMargin: {
67      right: 40
68    },
69    rangeSelector: {
70      enabled: true
71    },
72    charts: [
73      {
74        height: 100,
75        legend: {
76          dateTime: {
77            enabled: false
78          },
79          background: {
80            fill: {
81              type: "Solid",
82              color: "White"
83            }
84          }
85        },
86        seriesList: [
87          {
88            type: "Line",
89            dataProvider: "dp1",
90            color: "#328166",
91            name: "CSCO",
92            lineSeries: {
93              thickness: 2
94            }
95          }
96        ],
97        technicalIndicators: [
98          {
99            type: "SMA",
100            dataProvider: "dp1",
101            smaIndicator: {
102              period: 20,
103              series: {
104                type: "Spline",
105                color: "#404040",
106                name: "SMA(20)"
107              }
108            }
109          },
110          {
111            type: "BBands",
112            dataProvider: "dp1",
113            bbandsIndicator: {
114              period: 20,
115              deviation: 2,
116              upperSeries: {
117                name: "BBands(20,2)"
118              }
119            }
120          }
121        ],
122        valueAxes: {
123          primary: {
124            position: "Right",
125            labels: {
126              position: "Outside",
127              padding: 3,
128              valign: "Center",
129              showFirst: true,
130              showLast: true,
131              font: {
132                family: "Verdana",
133                color: "#444444",
134                bold: true,
135                size: 9
136              },
137              format: "{%Value}{numDecimals:2,trailingZeros:false}"
138            },
139            scale: {
140              minimumOffset: 0
141            },
142            grid: {
143              line: {
144                dashed: true,
145                dashLength: 3,
146                dashSpace: 3,
147                pixelHinting: true
148              }
149            },
150            tickmarks: {
151              enabled: true,
152              showFirst: true,
153              showLast: true,
154              thickness: 1,
155              size: 3,
156              pixelHinting: true,
157              color: "#333333"
158            }
159          }
160        },
161        xAxis: {
162          majorGrid: {
163            line: {
164              opacity: 1,
165              color: "#D9D9D9"
166            }
167          },
168          minorGrid: {
169            line: {
170              dashed: true,
171              dashLength: 3,
172              dashSpace: 3,
173              pixelHinting: true
174            }
175          }
176        }
177      },
178      {
179        height: 50,
180        legend: {
181          title: {
182            enabled: false
183          },
184          dateTime: {
185            enabled: false
186          },
187          background: {
188            fill: {
189              type: "Solid",
190              color: "White"
191            }
192          }
193        },
194        valueAxes: {
195          primary: {
196            position: "Right",
197            labels: {
198              position: "Outside",
199              padding: 3,
200              valign: "Center",
201              showFirst: true,
202              showLast: true,
203              font: {
204                family: "Verdana",
205                color: "#444444",
206                bold: true,
207                size: 9
208              },
209              format: "{%Value}{numDecimals:2,trailingZeros:false}"
210            },
211            scale: {
212              minimumMode: "CustomValue",
213              minimum: 0,
214              maximumMode: "CustomValue",
215              maximum: 100,
216              intervalMode: "CustomValue",
217              interval: 50
218            },
219            grid: {
220              line: {
221                dashed: true,
222                dashLength: 3,
223                dashSpace: 3,
224                pixelHinting: true
225              }
226            },
227            tickmarks: {
228              enabled: true,
229              showFirst: true,
230              showLast: true,
231              thickness: 1,
232              size: 3,
233              pixelHinting: true,
234              color: "#333333"
235            },
236            axisMarkers: {
237              lineMarkers: [
238                {
239                  value: 30,
240                  line: {
241                    dashed: true,
242                    color: "#009933"
243                  },
244                  labels: [
245                    {
246                      anchor: "Right",
247                      halign: "Right",
248                      xPadding: 3,
249                      format: "30",
250                      font: {
251                        family: "Verdana",
252                        color: "#FFFFFF",
253                        bold: true,
254                        size: 8
255                      },
256                      background: {
257                        enabled: true,
258                        fill: {
259                          enabled: true,
260                          color: "#009933"
261                        },
262                        border: {
263                          enabled: false
264                        },
265                        corners: {
266                          type: "Rounded",
267                          all: 3
268                        },
269                        insideMargin: {
270                          left: 2,
271                          right: 2,
272                          top: -2,
273                          bottom: -2
274                        }
275                      }
276                    }
277                  ]
278                },
279                {
280                  value: 70,
281                  line: {
282                    dashed: true,
283                    color: "#BD240C"
284                  },
285                  labels: [
286                    {
287                      anchor: "Right",
288                      halign: "Right",
289                      xPadding: 3,
290                      format: "70",
291                      font: {
292                        family: "Verdana",
293                        color: "#FFFFFF",
294                        bold: true,
295                        size: 8
296                      },
297                      background: {
298                        enabled: true,
299                        fill: {
300                          enabled: true,
301                          color: "#BD240C"
302                        },
303                        border: {
304                          enabled: false
305                        },
306                        corners: {
307                          type: "Rounded",
308                          all: 3
309                        },
310                        insideMargin: {
311                          left: 2,
312                          right: 2,
313                          top: -2,
314                          bottom: -2
315                        }
316                      }
317                    }
318                  ]
319                }
320              ]
321            }
322          }
323        },
324        xAxis: {
325          majorGrid: {
326            line: {
327              opacity: 1,
328              color: "#D9D9D9"
329            }
330          },
331          minorGrid: {
332            line: {
333              dashed: true,
334              dashLength: 3,
335              dashSpace: 3,
336              pixelHinting: true
337            }
338          },
339          labels: {
340            enabled: false
341          }
342        },
343        technicalIndicators: [
344          {
345            type: "RSI",
346            dataProvider: "dp1",
347            rsiIndicator: {
348              period: 14,
349              series: {
350                color: "#253992",
351                name: "RSI(14)"
352              }
353            }
354          }
355        ]
356      },
357      {
358        height: 50,
359        legend: {
360          title: {
361            enabled: false
362          },
363          dateTime: {
364            enabled: false
365          },
366          background: {
367            fill: {
368              type: "Solid",
369              color: "White"
370            }
371          }
372        },
373        valueAxes: {
374          primary: {
375            position: "Right",
376            labels: {
377              position: "Outside",
378              padding: 3,
379              valign: "Center",
380              showFirst: true,
381              showLast: true,
382              font: {
383                family: "Verdana",
384                color: "#444444",
385                bold: true,
386                size: 9
387              },
388              format: "{%Value}{numDecimals:2,trailingZeros:false}"
389            },
390            scale: {
391              minimumMode: "CustomValue",
392              minimum: -100,
393              maximumMode: "CustomValue",
394              maximum: 0,
395              intervalMode: "CustomValue",
396              interval: 20
397            },
398            grid: {
399              line: {
400                dashed: true,
401                dashLength: 3,
402                dashSpace: 3,
403                pixelHinting: true
404              }
405            },
406            tickmarks: {
407              enabled: true,
408              showFirst: true,
409              showLast: true,
410              thickness: 1,
411              size: 3,
412              pixelHinting: true,
413              color: "#333333"
414            }
415          }
416        },
417        xAxis: {
418          majorGrid: {
419            line: {
420              opacity: 1,
421              color: "#D9D9D9"
422            }
423          },
424          minorGrid: {
425            line: {
426              dashed: true,
427              dashLength: 3,
428              dashSpace: 3,
429              pixelHinting: true
430            }
431          },
432          labels: {
433            enabled: false
434          }
435        },
436        technicalIndicators: [
437          {
438            type: "WilliamsR",
439            dataProvider: "dp1",
440            williamsRIndicator: {
441              period: 14,
442              series: {
443                type: "Line",
444                color: "#253992",
445                name: "Williams %R(14)",
446                legendItem: {
447                  enabled: true,
448                  labels: {
449                    icon: {
450                      size: 8,
451                      type: "Square",
452                      fill: {
453                        color: "%Color"
454                      },
455                      border: {
456                        enabled: true,
457                        thickness: 1,
458                        color: "DarkColor(%Color)",
459                        opacity: 0.4
460                      }
461                    },
462                    focusSettings: {
463                      mouseOver: {
464                        format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName} {%Value.Current}{numDecimals:2,negativeSignStyle:None}</font></b> "
465                      },
466                      mouseOut: {
467                        format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName} {%Value.LastVisible}{numDecimals:2,negativeSignStyle:None}</font></b> "
468                      }
469                    }
470                  }
471                }
472              }
473            }
474          }
475        ]
476      }
477    ],
478    timeScale: {
479      selectedRange: {
480        type: "Unit",
481        unit: "Year",
482        count: 1
483      }
484    }
485  }
486}

The information contained in this website is for general information purposes only. All sample data provided on this site is for demonstration purposes only.


The logos and names of other companies and products mentioned on this site are copyright and/or trademarks of their respective owners.


The content on this site, including news, quotes, data and other information, is provided for your personal information only, and is intended for demonstration purposes only. Content on this site is not appropriate for the purposes of making a decision to carry out a transaction or trade. Nor does it provide any form of advice (investment, tax, legal) amounting to investment advice, or make any recommendations regarding particular financial instruments, investments or products.


In no event AnyChart will be liable for any loss or damage including without limitation, indirect or consequential loss or damage, or any loss or damage whatsoever arising from loss of data or profits arising out of, or in connection with, the use of this website.


This site may point to other Internet sites that may be of interest to you, however AnyChart does not endorse or take responsibility for the content on such other sites.


Market data and News provided by and copyright RediNews, Incorporated.