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="#253992">
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="#DB2A0E">
53                 <name><![CDATA[SMA(20)]]></name>
54               </series>
55             </sma_indicator>
56           </technical_indicator>
57           <technical_indicator type="EMA" data_provider="dp1">
58             <ema_indicator period="50">
59               <series type="Spline" color="#0066DD">
60                 <name><![CDATA[EMA(50)]]></name>
61               </series>
62             </ema_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 id="idStochasticChart" height="50">
88         <legend>
89           <date_time enabled="false" />
90           <title enabled="false" />
91           <background>
92             <fill type="Solid" color="White" />
93           </background>
94         </legend>
95         <value_axes>
96           <primary position="Right">
97             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
98             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
99               <font family="Verdana" color="#444444" bold="true" size="9" />
100               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
101             </labels>
102             <grid>
103               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
104             </grid>
105             <scale minimum_mode="CustomValue" minimum="0" maximum_mode="CustomValue" maximum="100" interval_mode="CustomValue" interval="20" />
106             <axis_markers>
107               <range_markers>
108                 <range_marker low_value="0" high_value="20">
109                   <fill enabled="true" type="Solid" color="#666666" opacity="0.05" />
110                   <high_line enabled="false" />
111                   <low_line enabled="false" />
112                   <labels>
113                     <label anchor="LeftBottom" valign="Top" halign="Right" x_padding="3" y_padding="2">
114                       <format><![CDATA[Oversold]]></format>
115                       <font family="Tahoma" size="9" color="#333333" />
116                       <background enabled="true">
117                         <fill type="Solid" color="White" />
118                         <inside_margin left="5" top="0" right="5" bottom="0" />
119                         <border enabled="true" color="#333333" opacity="0.2" />
120                         <corners type="Rounded" all="2" />
121                       </background>
122                     </label>
123                   </labels>
124                 </range_marker>
125                 <range_marker low_value="80" high_value="100">
126                   <fill enabled="true" type="Solid" color="#666666" opacity="0.05" />
127                   <low_line enabled="false" />
128                   <high_line enabled="false" />
129                   <labels>
130                     <label anchor="LeftTop" valign="Bottom" halign="Right" x_padding="3" y_padding="2">
131                       <format><![CDATA[Overbought]]></format>
132                       <font family="Tahoma" size="9" color="#333333" />
133                       <background enabled="true">
134                         <fill type="Solid" color="White" />
135                         <inside_margin left="5" top="0" right="5" bottom="0" />
136                         <border enabled="true" color="#333333" opacity="0.2" />
137                         <corners type="Rounded" all="2" />
138                       </background>
139                     </label>
140                   </labels>
141                 </range_marker>
142               </range_markers>
143             </axis_markers>
144           </primary>
145         </value_axes>
146         <x_axis>
147           <major_grid>
148             <line opacity="1" color="#D9D9D9" />
149           </major_grid>
150           <minor_grid>
151             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
152           </minor_grid>
153           <labels enabled="false" />
154         </x_axis>
155         <technical_indicators>
156           <technical_indicator type="StochasticOscillator" data_provider="dp1">
157             <stochastic_oscillator_indicator k_period="5" d_period="3">
158               <k_series id="idStochasticKSeries">
159                 <name><![CDATA[Fast Stochastic: %K(5)]]></name>
160               </k_series>
161               <d_series>
162                 <name><![CDATA[%D(3)]]></name>
163               </d_series>
164             </stochastic_oscillator_indicator>
165           </technical_indicator>
166         </technical_indicators>
167       </chart>
168       <chart height="50">
169         <legend>
170           <title enabled="false" />
171           <date_time enabled="false" />
172           <background>
173             <fill type="Solid" color="White" />
174           </background>
175         </legend>
176         <x_axis>
177           <major_grid>
178             <line opacity="1" color="#D9D9D9" />
179           </major_grid>
180           <minor_grid>
181             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
182           </minor_grid>
183           <labels enabled="false" />
184         </x_axis>
185         <value_axes>
186           <primary position="Right">
187             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
188               <font family="Verdana" color="#444444" bold="true" size="9" />
189               <format><![CDATA[{%Value}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2,trailingZeros:false}]]></format>
190             </labels>
191             <grid>
192               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
193             </grid>
194             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
195             <scale minimum_mode="CustomValue" minimum="0" />
196           </primary>
197         </value_axes>
198         <technical_indicators>
199           <technical_indicator type="VolumeMA" data_provider="dp1">
200             <volume_ma_indicator ma_period="13" ma_type="SMA">
201               <ma_series>
202                 <name><![CDATA[MA(13)]]></name>
203                 <legend_item>
204                   <labels>
205                     <focus_settings>
206                       <mouse_over>
207                         <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName} {%Value.Current}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b>]]></format>
208                       </mouse_over>
209                       <mouse_out>
210                         <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName} {%Value.LastVisible}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b>]]></format>
211                       </mouse_out>
212                     </focus_settings>
213                   </labels>
214                 </legend_item>
215               </ma_series>
216               <volume_series>
217                 <legend_item>
218                   <labels>
219                     <focus_settings>
220                       <mouse_over>
221                         <format><![CDATA[{%SeriesIcon} <b><font color="%Color">Volume: {%Value.Current}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b> ]]></format>
222                       </mouse_over>
223                       <mouse_out>
224                         <format><![CDATA[{%SeriesIcon} <b><font color="%Color">Volume: {%Value.LastVisible}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b> ]]></format>
225                       </mouse_out>
226                     </focus_settings>
227                   </labels>
228                 </legend_item>
229               </volume_series>
230             </volume_ma_indicator>
231           </technical_indicator>
232         </technical_indicators>
233       </chart>
234     </charts>
235     <time_scale>
236       <selected_range type="Unit" unit="Year" count="1" />
237     </time_scale>
238   </settings>
239 </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: "#253992",
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: "#DB2A0E",
106                name: "SMA(20)"
107              }
108            }
109          },
110          {
111            type: "EMA",
112            dataProvider: "dp1",
113            emaIndicator: {
114              period: 50,
115              series: {
116                type: "Spline",
117                color: "#0066DD",
118                name: "EMA(50)"
119              }
120            }
121          }
122        ],
123        valueAxes: {
124          primary: {
125            position: "Right",
126            labels: {
127              position: "Outside",
128              padding: 3,
129              valign: "Center",
130              showFirst: true,
131              showLast: true,
132              font: {
133                family: "Verdana",
134                color: "#444444",
135                bold: true,
136                size: 9
137              },
138              format: "{%Value}{numDecimals:2,trailingZeros:false}"
139            },
140            scale: {
141              minimumOffset: 0
142            },
143            grid: {
144              line: {
145                dashed: true,
146                dashLength: 3,
147                dashSpace: 3,
148                pixelHinting: true
149              }
150            },
151            tickmarks: {
152              enabled: true,
153              showFirst: true,
154              showLast: true,
155              thickness: 1,
156              size: 3,
157              pixelHinting: true,
158              color: "#333333"
159            }
160          }
161        },
162        xAxis: {
163          majorGrid: {
164            line: {
165              opacity: 1,
166              color: "#D9D9D9"
167            }
168          },
169          minorGrid: {
170            line: {
171              dashed: true,
172              dashLength: 3,
173              dashSpace: 3,
174              pixelHinting: true
175            }
176          }
177        }
178      },
179      {
180        id: "idStochasticChart",
181        height: 50,
182        legend: {
183          dateTime: {
184            enabled: false
185          },
186          title: {
187            enabled: false
188          },
189          background: {
190            fill: {
191              type: "Solid",
192              color: "White"
193            }
194          }
195        },
196        valueAxes: {
197          primary: {
198            position: "Right",
199            tickmarks: {
200              enabled: true,
201              showFirst: true,
202              showLast: true,
203              thickness: 1,
204              size: 3,
205              pixelHinting: true,
206              color: "#333333"
207            },
208            labels: {
209              position: "Outside",
210              padding: 3,
211              valign: "Center",
212              showFirst: true,
213              showLast: true,
214              font: {
215                family: "Verdana",
216                color: "#444444",
217                bold: true,
218                size: 9
219              },
220              format: "{%Value}{numDecimals:2,trailingZeros:false}"
221            },
222            grid: {
223              line: {
224                dashed: true,
225                dashLength: 3,
226                dashSpace: 3,
227                pixelHinting: true
228              }
229            },
230            scale: {
231              minimumMode: "CustomValue",
232              minimum: 0,
233              maximumMode: "CustomValue",
234              maximum: 100,
235              intervalMode: "CustomValue",
236              interval: 20
237            },
238            axisMarkers: {
239              rangeMarkers: [
240                {
241                  lowValue: 0,
242                  highValue: 20,
243                  fill: {
244                    enabled: true,
245                    type: "Solid",
246                    color: "#666666",
247                    opacity: 0.05
248                  },
249                  highLine: {
250                    enabled: false
251                  },
252                  lowLine: {
253                    enabled: false
254                  },
255                  labels: [
256                    {
257                      anchor: "LeftBottom",
258                      valign: "Top",
259                      halign: "Right",
260                      xPadding: 3,
261                      yPadding: 2,
262                      format: "Oversold",
263                      font: {
264                        family: "Tahoma",
265                        size: 9,
266                        color: "#333333"
267                      },
268                      background: {
269                        enabled: true,
270                        fill: {
271                          type: "Solid",
272                          color: "White"
273                        },
274                        insideMargin: {
275                          left: 5,
276                          top: 0,
277                          right: 5,
278                          bottom: 0
279                        },
280                        border: {
281                          enabled: true,
282                          color: "#333333",
283                          opacity: 0.2
284                        },
285                        corners: {
286                          type: "Rounded",
287                          all: 2
288                        }
289                      }
290                    }
291                  ]
292                },
293                {
294                  lowValue: 80,
295                  highValue: 100,
296                  fill: {
297                    enabled: true,
298                    type: "Solid",
299                    color: "#666666",
300                    opacity: 0.05
301                  },
302                  lowLine: {
303                    enabled: false
304                  },
305                  highLine: {
306                    enabled: false
307                  },
308                  labels: [
309                    {
310                      anchor: "LeftTop",
311                      valign: "Bottom",
312                      halign: "Right",
313                      xPadding: 3,
314                      yPadding: 2,
315                      format: "Overbought",
316                      font: {
317                        family: "Tahoma",
318                        size: 9,
319                        color: "#333333"
320                      },
321                      background: {
322                        enabled: true,
323                        fill: {
324                          type: "Solid",
325                          color: "White"
326                        },
327                        insideMargin: {
328                          left: 5,
329                          top: 0,
330                          right: 5,
331                          bottom: 0
332                        },
333                        border: {
334                          enabled: true,
335                          color: "#333333",
336                          opacity: 0.2
337                        },
338                        corners: {
339                          type: "Rounded",
340                          all: 2
341                        }
342                      }
343                    }
344                  ]
345                }
346              ]
347            }
348          }
349        },
350        xAxis: {
351          majorGrid: {
352            line: {
353              opacity: 1,
354              color: "#D9D9D9"
355            }
356          },
357          minorGrid: {
358            line: {
359              dashed: true,
360              dashLength: 3,
361              dashSpace: 3,
362              pixelHinting: true
363            }
364          },
365          labels: {
366            enabled: false
367          }
368        },
369        technicalIndicators: [
370          {
371            type: "StochasticOscillator",
372            dataProvider: "dp1",
373            stochasticOscillatorIndicator: {
374              kPeriod: 5,
375              dPeriod: 3,
376              kSeries: {
377                id: "idStochasticKSeries",
378                name: "Fast Stochastic: %K(5)"
379              },
380              dSeries: {
381                name: "%D(3)"
382              }
383            }
384          }
385        ]
386      },
387      {
388        height: 50,
389        legend: {
390          title: {
391            enabled: false
392          },
393          dateTime: {
394            enabled: false
395          },
396          background: {
397            fill: {
398              type: "Solid",
399              color: "White"
400            }
401          }
402        },
403        xAxis: {
404          majorGrid: {
405            line: {
406              opacity: 1,
407              color: "#D9D9D9"
408            }
409          },
410          minorGrid: {
411            line: {
412              dashed: true,
413              dashLength: 3,
414              dashSpace: 3,
415              pixelHinting: true
416            }
417          },
418          labels: {
419            enabled: false
420          }
421        },
422        valueAxes: {
423          primary: {
424            position: "Right",
425            labels: {
426              position: "Outside",
427              padding: 3,
428              valign: "Center",
429              showFirst: true,
430              showLast: true,
431              font: {
432                family: "Verdana",
433                color: "#444444",
434                bold: true,
435                size: 9
436              },
437              format: "{%Value}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2,trailingZeros:false}"
438            },
439            grid: {
440              line: {
441                dashed: true,
442                dashLength: 3,
443                dashSpace: 3,
444                pixelHinting: true
445              }
446            },
447            tickmarks: {
448              enabled: true,
449              showFirst: true,
450              showLast: true,
451              thickness: 1,
452              size: 3,
453              pixelHinting: true,
454              color: "#333333"
455            },
456            scale: {
457              minimumMode: "CustomValue",
458              minimum: 0
459            }
460          }
461        },
462        technicalIndicators: [
463          {
464            type: "VolumeMA",
465            dataProvider: "dp1",
466            volumeMaIndicator: {
467              maPeriod: 13,
468              maType: "SMA",
469              maSeries: {
470                name: "MA(13)",
471                legendItem: {
472                  labels: {
473                    focusSettings: {
474                      mouseOver: {
475                        format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName} {%Value.Current}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b>"
476                      },
477                      mouseOut: {
478                        format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName} {%Value.LastVisible}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b>"
479                      }
480                    }
481                  }
482                }
483              },
484              volumeSeries: {
485                legendItem: {
486                  labels: {
487                    focusSettings: {
488                      mouseOver: {
489                        format: "{%SeriesIcon} <b><font color=\"%Color\">Volume: {%Value.Current}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b> "
490                      },
491                      mouseOut: {
492                        format: "{%SeriesIcon} <b><font color=\"%Color\">Volume: {%Value.LastVisible}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b> "
493                      }
494                    }
495                  }
496                }
497              }
498            }
499          }
500        ]
501      }
502    ],
503    timeScale: {
504      selectedRange: {
505        type: "Unit",
506        unit: "Year",
507        count: 1
508      }
509    }
510  }
511}

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.