[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Applystop



PureBytes Links

Trading Reference Links

Hi Graham 
Thanks for the quick reply 

I've tried it using 
ApplyStop(stopTypeTrailing,stopModePoint,Ref(L,-
1),exitatstop=1,Volatile=True);
and it never exits. 

My understanding from using the ATR example in the manual is that 
the points in the Applystop formula are the number of points from 
the highestsince(H,Buy) to where the formula forces an exit. 

I tried to substitute highestsince(H,Buy)-Ref(L,-1) into the above 
formula but ran into problems because I was getting subsquent BUY 
signals which keep resetting the HHV and EXREM(Buy,Sell) didn't seem 
to help. 

I'm sure the answer is right under my nose, but i can't see for 
looking

Thanks for the help

Mark 

--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxx> wrote:
>
> yes just use points value instead of percent value settings
> 
> --
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://e-wire.net.au/~eb_kavan/ab_write.htm
> 
> 
> On 3/13/06, Mark <mc1@xxx> wrote:
> > Is it possible to use applystop() to create a trailing stop with 
a
> > dollar value.
> >
> > I wish to set up a trailing stop that will exit at yesterdays low
> >
> > I've had no luck trying, if it possible can some one let me know 
how
> > to do it
> >
> > If it is not possible can I add this variation to the wish list.
> >
> > Thanks
> >
> > Mark
> >
> >
> >
> >
> >
> >
> > Please note that this group is for discussion between users only.
> >
> > To get support from AmiBroker please send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/