[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:
>
> 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" <l3456@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> 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
> > 
> > 
> >
>



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

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/