Try this: Ticker = ParamStr( "Symbol", Name() ); CutoffDate = ParamDate( "Cutoff", "1/1/2007" ); InitialColor = ParamColor( "Initial Color", colorBlack ); SubsequentColor = ParamColor( "Subsequent Color", colorRed ); Colors = IIF( DateNum() < CutoffDate, InitialColor, SubsequentColor ); PlotForeign( Ticker, Ticker, Colors, ParamStyle( "Style" ) | GetPriceStyle() );
Mike --- In [email protected], Alan Northam <a...@...> wrote: > > I want to create an indicator that will plot a foreign ticker black > before a certain date and red after that certain date. Can someone help > me with this? > > Thanks, > Alan >
