Do you mean it like this?
<img src=http://www.elitetrader.com/vb/attachment.php?s=&postid=2284919>
you need to include the SMI function from the above post.
// SMI in line format
Input:
Length1(13),
Length2(25),
Length3(2),
UpColor(green),
DnColor(magenta);
Value1 =...