<html xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<title>Line</title>
<style>
v\:* { Behavior:url(#default#VML) }
</style>
</head>
<body>
<v:line style="position:relative" from="0,0" to="100,0" >
<v:stroke dashstyle="Dot"/>
</v:line>
</body>
</html>
<head>
<title>Line</title>
<style>
v\:* { Behavior:url(#default#VML) }
</style>
</head>
<body>
<v:line style="position:relative" from="0,0" to="100,0" >
<v:stroke dashstyle="Dot"/>
</v:line>
</body>
</html>
MacdLine.from=x1+","+y1;
MacdLine.to=x2+","+y2;
MacdLine.style.position="absolute";
MacdLine.style.zindex="5";
MacdLine.strokecolor="red";
var MacdStroke = document.createElement("<v:stroke dashstyle='ShortDash' color='green'>");
MacdLine.insertBefore(MacdStroke);
group1.appendChild(MacdLine);