Chris;

Thnaks for the response, but my real problem is that none of the 
stops seem to be hit. The red arrows are all from the close dropping 
to the 150 MA. I've set up this low selel point hoping to see the 
stops activated, but none.

Glenn

--- In [email protected], ChrisB <[EMAIL PROTECTED]> wrote:
>
> g
> 
> I see red sell arrows, green buy signals and lime buy arrows.
> 
> If I understand you correctly you want to plot regular sells and 
> applystops on the charts.
> 
> See Help files on Applystops.
> 
> If you need to use Plotshapes to show your Applystop exits you need 
to 
> include
> Equity(1) after your Applystops and before your Plotshapes lines.
> 
> Also, use the Plotshapes (    ......, offset ); to place your Sell 
arrow 
> above the inbuilt red sell arrow.
> 
> PlotShapes( ShapeS, IIf( Sell, colorPink, Null), 0 , H, -30);
> 
> Also, you can try specifying which Applystop was hit:
> 
> PlotShapes( IIf(Sell ==2, shapeDigit2, shapeNone),colorRed, 0, h, 
40); 
> // etc
> 
> See also some notes I put together in the AB Backtester Basics.doc 
in 
> the file section:
> Checking the signals on the charts.
> 
> Regards
> 
> ChrisB
> gmorlosky wrote:
> >
> > I have a simple visual indicator that shows a red or green arrow 
on
> > the price chart for buy or sell, BUT I'm not getting the multiple
> > stops to activate a sell, therfore producing a red down arrow. 
What
> > am I missing here ?
> >
> > Buy = Cross( Close, EMA(Close, 35) );
> > Sell = Cross( EMA(Close,150) , C );
> >
> > Plot( Close, "C", colorWhite, styleLine);
> > Plot( EMA(Close,35) , "EMA-35", colorRed, styleLine);
> > Plot( EMA(Close,150) , "EMA-150", colorRed, styleLine);
> >
> > ApplyStop( stopTypeLoss, stopModePercent, 5, 0);
> > ApplyStop( stopTypeLoss, stopModeRisk, 10, 0);
> > ApplyStop( stopTypeProfit, stopModePercent, 5, 0);
> > ApplyStop( stopTypeProfit, stopModeRisk, 10, 0);
> > ApplyStop( stopTypeTrailing, stopModePercent, 5, 0);
> > ApplyStop( stopTypeTrailing, stopModeRisk, 10, 0);
> >
> > ShapeB = IIf(Buy,shapeUpArro w,shapeNone) ;
> > ShapeS = IIf(Sell,shapeDownA rrow,shapeNone) ;
> > PlotShapes( ShapeB, IIf( Buy, colorGreen, Null));
> > PlotShapes( ShapeS, IIf( Sell, colorRed, Null));
> >
> >  
> 
> 
> -- 
> Regards
> 
> ChrisB
>


Reply via email to