<markup type="event">
Attributes
type |
Character |
event |
The type of markup. Only event markup is supported at the moment.
|
This tag contains the chart markup for an event. Markup consists of lines
and ranges.
<list count="" type="line">
Attributes
count |
Integer |
|
The number of child tags in the list.
|
type |
Character |
line |
The name of the sub tag. This list contains <line> tags.
|
A collection of line tags
<line chart="price|volume|macd|rsi|momentum" type="pattern|trend|boundary">
Attributes
chart |
string |
price|volume|macd|rsi|momentum |
Which chart to mark up |
type |
string |
pattern|trend|boundary |
The type of markup line |
The line tag contains the data for a line to draw on the chart. The chart
attribute indicates which chart should be marked up. Current values are:
price, volume, rsi, momentum, and macd. The type attribute indicates the type of
line. The markup supports three different line types: pattern lines, trend lines,
and pattern boundary lines. Pattern lines are those lines that appear inside the
pattern and outline the price moves that formed the pattern. Trend lines are the
lines that define trend leading into the event. Boundary lines are the outside
lines that define the limits of the event. Not all events have all of these line
types and most events will have more than one of each type of line.
A <line> tag has two child nodes, <start> and <end>
The start and end points of a line are not necessarily in chronological order.
E.g. the date in the <start> tag may not be earlier than the date in the
<end> tag.
<start>
The starting point for a line. A starting point is defined by a date and
either a price, volume, or numeric value depending on the chart the line
is to be displayed. As such, a <start> tag contains a <date>
child tag and either a <price>, <volume>, or <number>
child tag.
<date>
This tag contains a date value. Dates are in YYYY-MM-DD format. |
<price>
This tag contains a price value. The price is a real number and includes no formatting information. |
|
<end>
The ending point for a line. A point is defined by a date and either a price,
volume, or numeric value depending on the chart the line is to be displayed. As
such, a <end> tag contains a <date> child tag and either a
<price>, <volume>, or <number> child tag.
<date>
This tag contains a date value. Dates are in YYYY-MM-DD format. |
<price>
This tag contains a price value. The price is a real number and includes no formatting information. |
|
|
|
<list count="" type="range">
Attributes
count |
Integer |
|
The number of child tags in the list.
|
type |
Character |
range |
The name of the sub tag. This list contains <range> tags.
|
A collection of range tags
<range type="date|price">
Attributes
type |
string |
date|price |
The type of Range. |
A Range indicates an area on a chart that could be marked up. Recognia
currently supports two range types: event and trend. You could use an event
Range to mark price bars in different colour or to highlight that section
of the graph in a different colour.
A <range> tag has three child nodes: <name>, <start>, and <end>.
<name>
Text name for the parent tag. This text is returned in english and is not
localized. It is intended to help differentiate different tags of the same
type.
|
<start>
The starting point for a line. A starting point is defined by a date and
either a price, volume, or numeric value depending on the chart the line
is to be displayed. As such, a <start> tag contains a <date>
child tag and either a <price>, <volume>, or <number>
child tag.
<date>
This tag contains a date value. Dates are in YYYY-MM-DD format. |
<price>
This tag contains a price value. The price is a real number and includes no formatting information. |
|
<end>
The ending point for a line. A point is defined by a date and either a price,
volume, or numeric value depending on the chart the line is to be displayed. As
such, a <end> tag contains a <date> child tag and either a
<price>, <volume>, or <number> child tag.
<date>
This tag contains a date value. Dates are in YYYY-MM-DD format. |
<price>
This tag contains a price value. The price is a real number and includes no formatting information. |
|
|
|
|
<markup type="event">
<list count="9" type="line">
<line chart="price" type="pattern">
<start>
<date>2002-05-14</date>
<price>39.24</price>
</start>
<end>
<date>2002-05-10</date>
<price>36.83</price>
</end>
</line>
<line chart="price" type="pattern">
<start>
<date>2002-05-10</date>
<price>36.83</price>
</start>
<end>
<date>2002-05-09</date>
<price>39.08</price>
</end>
</line>
<line chart="price" type="pattern">
<start>
<date>2002-05-09</date>
<price>39.08</price>
</start>
<end>
<date>2002-04-30</date>
<price>36.98</price>
</end>
</line>
<line chart="price" type="pattern">
<start>
<date>2002-04-30</date>
<price>36.98</price>
</start>
<end>
<date>2002-04-19</date>
<price>42.07</price>
</end>
</line>
<line chart="price" type="trend">
<start>
<date>2002-03-15</date>
<price>37.419130</price>
</start>
<end>
<date>2002-05-14</date>
<price>55.0956517391304</price>
</end>
</line>
<line chart="price" type="trend">
<start>
<date>2002-03-15</date>
<price>29.840000</price>
</start>
<end>
<date>2002-05-14</date>
<price>47.5165217391304</price>
</end>
</line>
<line chart="price" type="trend">
<start>
<date>2002-03-15</date>
<price>29.840000</price>
</start>
<end>
<date>2002-04-18</date>
<price>41.5808</price>
</end>
</line>
<line chart="price" type="boundary">
<start>
<date>2002-05-24</date>
<price>36.7307142857143</price>
</start>
<end>
<date>2002-04-19</date>
<price>42.07</price>
</end>
</line>
<line chart="price" type="boundary">
<start>
<date>2002-05-24</date>
<price>36.6425</price>
</start>
<end>
<date>2002-04-19</date>
<price>37.11125</price>
</end>
</line>
</list>
<list count="2" type="range">
<range type="date">
<name>Event</name>
<start>2002-04-19</start>
<end>2002-05-14</end>
</range>
<range type="date">
<name>Trend</name>
<start>2002-03-15</start>
<end>2002-04-18</end>
</range>
</list>
</markup>
|