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

[amibroker] Re: ApplyStop



PureBytes Links

Trading Reference Links

Hi, can someone please help me with the following questions?


1)ApplyStop( type, mode, amount, exitatstop, volatile = False,    
ReEntryDelay = 0 ) 

I have the same question as in the previous post, but related with 
the amount field.
  I need a different amount for long and short trades, I assume I  
can also use  the IIF function.
 For example: Applystop(stopTypeTrailing,stopModePoint,IIF(buy,atr
(14),2*atr(20),1). Is this correct?

2) What is the behaviour of AB when we choose trailingstopmode and 
exitatstop=0, with trade price set to close.
 Does AB check High array to trail but only exits at close??
 I'm using the above mentioned settings but I don't understand the 
results in the backtester.
 
3) Is there any way to make the applystop function to give trading 
signals in the Scan mode. I tried to use equity(1), but I still 
don't get any exit signals in the scan mode.

thanks everyone

--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> 
wrote:
>
> ApplyStop(stopTypeNBar, stopModeBars, IIF( Buy, LongExitDays, 
ShortExitDays ), True, False ); 
> 
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "jacklweinberg" <weinberg@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Tuesday, August 15, 2006 9:58 PM
> Subject: [amibroker] ApplyStop
> 
> 
> > Is there an easy way to use the ApplyStop for N Bars:
> > ApplyStop(stopTypeNBar, stopModeBars, ExitDays, True, False ); 
> > with ExitDays = LexitDays when in a long trade, 
> > and ExitDays=SexitDays when in a short trade?
> > Thanks in advance.
> > 
> > 
> > 
> > 
> > 
> > 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
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
>



------------------------------------

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/