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: > > ApplyStop(stopTypeNBar, stopModeBars, IIF( Buy, LongExitDays, ShortExitDays ), True, False ); > > > Best regards, > Tomasz Janeczko > amibroker.com > ----- Original Message ----- > From: "jacklweinberg" <[EMAIL PROTECTED]> > To: <[email protected]> > 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 > > > > > > > > > > > > > > > > >
