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="EMA" data_provider="dp1">
51             <ema_indicator period="50">
52               <series type="Spline" color="#0066DD">
53                 <name><![CDATA[EMA(50)]]></name>
54               </series>
55             </ema_indicator>
56           </technical_indicator>
57           <technical_indicator type="PSAR" data_provider="dp1">
58             <psar_indicator step_period="0.02" max_step_period="0.2">
59               <series>
60                 <name><![CDATA[Parabolic SAR(0.02,0.2)]]></name>
61               </series>
62             </psar_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           <date_time enabled="false" />
90           <title enabled="false" />
91           <background>
92             <fill type="Solid" color="White" />
93           </background>
94         </legend>
95         <technical_indicators>
96           <technical_indicator type="MACD" data_provider="dp1">
97             <macd_indicator slow_period="26" fast_period="12" signal_period="9">
98               <macd_series>
99                 <name><![CDATA[MACD(26,12)]]></name>
100               </macd_series>
101               <signal_series>
102                 <name><![CDATA[EMA(9)]]></name>
103               </signal_series>
104             </macd_indicator>
105           </technical_indicator>
106         </technical_indicators>
107         <value_axes>
108           <primary position="Right">
109             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
110               <font family="Verdana" color="#444444" bold="true" size="9" />
111               <format><![CDATA[{%Value}{numDecimals:3,trailingZeros:false}]]></format>
112             </labels>
113             <grid>
114               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
115             </grid>
116             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
117           </primary>
118         </value_axes>
119         <x_axis>
120           <labels enabled="false" />
121           <major_grid>
122             <line opacity="1" color="#D9D9D9" />
123           </major_grid>
124           <minor_grid>
125             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
126           </minor_grid>
127         </x_axis>
128       </chart>
129       <chart height="50">
130         <legend>
131           <title enabled="false" />
132           <date_time enabled="false" />
133           <background>
134             <fill type="Solid" color="White" />
135           </background>
136         </legend>
137         <x_axis>
138           <major_grid>
139             <line opacity="1" color="#D9D9D9" />
140           </major_grid>
141           <minor_grid>
142             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
143           </minor_grid>
144           <labels enabled="false" />
145         </x_axis>
146         <value_axes>
147           <primary position="Right">
148             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
149               <font family="Verdana" color="#444444" bold="true" size="9" />
150               <format><![CDATA[{%Value}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2,trailingZeros:false}]]></format>
151             </labels>
152             <grid>
153               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
154             </grid>
155             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
156             <scale minimum_mode="CustomValue" minimum="0" />
157           </primary>
158         </value_axes>
159         <technical_indicators>
160           <technical_indicator type="Volume" data_provider="dp1">
161             <volume_indicator>
162               <series>
163                 <legend_item>
164                   <labels>
165                     <focus_settings>
166                       <mouse_over>
167                         <format><![CDATA[{%SeriesIcon} <b><font color="%Color">Volume: {%Value.Current}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b> ]]></format>
168                       </mouse_over>
169                       <mouse_out>
170                         <format><![CDATA[{%SeriesIcon} <b><font color="%Color">Volume: {%Value.LastVisible}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b> ]]></format>
171                       </mouse_out>
172                     </focus_settings>
173                   </labels>
174                 </legend_item>
175               </series>
176             </volume_indicator>
177           </technical_indicator>
178         </technical_indicators>
179       </chart>
180     </charts>
181     <time_scale>
182       <selected_range type="Unit" unit="Year" count="1" />
183     </time_scale>
184   </settings>
185 </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: "EMA",
100            dataProvider: "dp1",
101            emaIndicator: {
102              period: 50,
103              series: {
104                type: "Spline",
105                color: "#0066DD",
106                name: "EMA(50)"
107              }
108            }
109          },
110          {
111            type: "PSAR",
112            dataProvider: "dp1",
113            psarIndicator: {
114              stepPeriod: 0.02,
115              maxStepPeriod: 0.2,
116              series: {
117                name: "Parabolic SAR(0.02,0.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          dateTime: {
182            enabled: false
183          },
184          title: {
185            enabled: false
186          },
187          background: {
188            fill: {
189              type: "Solid",
190              color: "White"
191            }
192          }
193        },
194        technicalIndicators: [
195          {
196            type: "MACD",
197            dataProvider: "dp1",
198            macdIndicator: {
199              slowPeriod: 26,
200              fastPeriod: 12,
201              signalPeriod: 9,
202              macdSeries: {
203                name: "MACD(26,12)"
204              },
205              signalSeries: {
206                name: "EMA(9)"
207              }
208            }
209          }
210        ],
211        valueAxes: {
212          primary: {
213            position: "Right",
214            labels: {
215              position: "Outside",
216              padding: 3,
217              valign: "Center",
218              showFirst: true,
219              showLast: true,
220              font: {
221                family: "Verdana",
222                color: "#444444",
223                bold: true,
224                size: 9
225              },
226              format: "{%Value}{numDecimals:3,trailingZeros:false}"
227            },
228            grid: {
229              line: {
230                dashed: true,
231                dashLength: 3,
232                dashSpace: 3,
233                pixelHinting: true
234              }
235            },
236            tickmarks: {
237              enabled: true,
238              showFirst: true,
239              showLast: true,
240              thickness: 1,
241              size: 3,
242              pixelHinting: true,
243              color: "#333333"
244            }
245          }
246        },
247        xAxis: {
248          labels: {
249            enabled: false
250          },
251          majorGrid: {
252            line: {
253              opacity: 1,
254              color: "#D9D9D9"
255            }
256          },
257          minorGrid: {
258            line: {
259              dashed: true,
260              dashLength: 3,
261              dashSpace: 3,
262              pixelHinting: true
263            }
264          }
265        }
266      },
267      {
268        height: 50,
269        legend: {
270          title: {
271            enabled: false
272          },
273          dateTime: {
274            enabled: false
275          },
276          background: {
277            fill: {
278              type: "Solid",
279              color: "White"
280            }
281          }
282        },
283        xAxis: {
284          majorGrid: {
285            line: {
286              opacity: 1,
287              color: "#D9D9D9"
288            }
289          },
290          minorGrid: {
291            line: {
292              dashed: true,
293              dashLength: 3,
294              dashSpace: 3,
295              pixelHinting: true
296            }
297          },
298          labels: {
299            enabled: false
300          }
301        },
302        valueAxes: {
303          primary: {
304            position: "Right",
305            labels: {
306              position: "Outside",
307              padding: 3,
308              valign: "Center",
309              showFirst: true,
310              showLast: true,
311              font: {
312                family: "Verdana",
313                color: "#444444",
314                bold: true,
315                size: 9
316              },
317              format: "{%Value}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2,trailingZeros:false}"
318            },
319            grid: {
320              line: {
321                dashed: true,
322                dashLength: 3,
323                dashSpace: 3,
324                pixelHinting: true
325              }
326            },
327            tickmarks: {
328              enabled: true,
329              showFirst: true,
330              showLast: true,
331              thickness: 1,
332              size: 3,
333              pixelHinting: true,
334              color: "#333333"
335            },
336            scale: {
337              minimumMode: "CustomValue",
338              minimum: 0
339            }
340          }
341        },
342        technicalIndicators: [
343          {
344            type: "Volume",
345            dataProvider: "dp1",
346            volumeIndicator: {
347              series: {
348                legendItem: {
349                  labels: {
350                    focusSettings: {
351                      mouseOver: {
352                        format: "{%SeriesIcon} <b><font color=\"%Color\">Volume: {%Value.Current}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b> "
353                      },
354                      mouseOut: {
355                        format: "{%SeriesIcon} <b><font color=\"%Color\">Volume: {%Value.LastVisible}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b> "
356                      }
357                    }
358                  }
359                }
360              }
361            }
362          }
363        ]
364      }
365    ],
366    timeScale: {
367      selectedRange: {
368        type: "Unit",
369        unit: "Year",
370        count: 1
371      }
372    }
373  }
374}

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.