<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1">
</HEAD>
<BODY>
<FONT COLOR="#000000">Hi,</FONT><BR>
<BR>
<FONT COLOR="#000000">I want to use newTA to create a function that adds recession bars to any chart that I plot. When I call the function, my underlying function is passed an n x 1 matrix as the argument. This makes sense for a technical indicator, but for what I'm trying to accomplish, I need to have the dates preserved so I can line up the bars properly to the time series.</FONT><BR>
<BR>
<FONT COLOR="#000000">Is there a way to tell newTA to preserve zoo/xts type in the argument or am I limited to passing through the index of the original time series into my function explicitly?</FONT><BR>
<BR>
<FONT COLOR="#000000">Thanks,</FONT><BR>
<FONT COLOR="#000000">Brian</FONT><BR>
<BR>
</BODY>
</HTML>