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 [email protected], "Tomasz Janeczko" <[EMAIL PROTECTED]> 
wrote:
>
> Hello,
> 
> Described in comments section for Equity in the guide:
> http://www.amibroker.com/f?equity
> 
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "tipequity" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Monday, May 05, 2008 6:18 AM
> Subject: [amibroker] ApplyStop
> 
> 
> > TJ, what does internally happen when applystop condition is met? 
does 
> > AB internally sets Sell = 1? is there a way of knowing if 
applystop is 
> > met? TIA
> > 
> > 
> > ------------------------------------
> > 
> > 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
> > 
> > 
> >
>


Reply via email to