Rick,

Don't you need a call to Equity(1) in there somewhere to update the
cover array with the stop information?

For #2, what "this" are you plotting - the ATR function or TrailStop?
TrailStop is delayed by a bar because of the Ref( ,-1).

GP


--- In [email protected], Rick Osborn <[EMAIL PROTECTED]> wrote:
>
> Anybody....
> 
> 
> --- ricko8294_98 <[EMAIL PROTECTED]> wrote:
> 
> > I am using the following Applystop code
> > 
> > ATRSet = Optimize("ATRset",40,10,70,5);
> > ATRMult = Optimize("AtrMult",4,2,8,1);
> > TrailStop = Ref(ATR(ATRSet ) * ATRMult ,-1);
> > ApplyStop(stopTypeTrailing, stopModePoint,
> > TrailStop, True, True); 
> > 
> > and want to print out on my chart when the stop
> > kicked in and what 
> > the stopped out price was using the If(cover ==4)...
> > construct.
> > 
> > 1.- Can anyone tell me what the stop value is
> > called? CoverPrice does 
> > not give the same answer that the Backtester gives.
> > 
> > 2.- Also, plotting this on the chart shows up one
> > day before the date 
> > shown in the backtester too.  Why is that?
> > 
> > Thanks to anyone for some clarification
> > 
> > Rick
> > 
> > 
> > 
> > 
> 
> 
> Rick Osborn
>


Reply via email to