try this Short = 1; // add this so it will have some entries Cover = 0;
ApplyStop( stopTypeNBar, stopModeBars, 1 ); Equity(1,0); CoverPrice=O; PlotShapes( (Cover>0)* shapeDownArrow, colorRed, 0, H ); Equity(1); will only give results after a backtest, Equity(1,0); will show it on the chart without backtest. It assigns a number to the exit signal, in this case it would be Cover==5. See help for equity or applystop for the list of numbers. -- Cheers Graham Kav AFL Writing Service http://www.aflwriting.com 2009/8/3 Rick Osborn <ri...@rogers.com>: > > > Tried it - didn't work. > Seems to me that with Cover = 0, nothing will plot > > Best Regards > Rick Osborn > > ________________________________ > From: Thomas Z. <t...@patternexplorer.com> > To: amibroker@yahoogroups.com > Sent: Sunday, August 2, 2009 6:08:57 AM > Subject: RE: [amibroker] PlotShape > > > > Hello, > > > > You need to plot the price and to call Equity(1). > > > > Short = Cross(C, MA(C, 50)); > > Cover = 0; > > ApplyStop( stopTypeNBar, stopModeBars, 1 ); > > Equity(1); > > > > Plot(C, "Price", 1, 128); > > PlotShapes( Cover* shapeDownArrow, colorRed, 0, H ); > > > > Thomas > > www.PatternExplorer .com > > > > > > > > > > -----Original Message----- > From: amibro...@yahoogrou ps.com [mailto:amibroker@ yahoogroups. com] On > Behalf Of haiguise > Sent: Sunday, August 02, 2009 8:53 AM > To: amibro...@yahoogrou ps.com > Subject: [amibroker] PlotShape > > > > How can I use PlotShape to plot something like this > > > > Cover = 0; > > ApplyStop( stopTypeNBar, stopModeBars, 1 ); > > CoverPrice=O; > > > > I want to do > > PlotShapes( Cover* shapeDownArrow, colorRed, 0, H ); > > > > > > I can't seem to get the shape for the cover on the chart but I can get the > one for the short. Thanks > > >