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

Re: [amibroker] Exit help needed



PureBytes Links

Trading Reference Links

Hi Owen,

> Thomasz, is there any hope of adding an option to ApplyStop() such
> that the exit occurs at Point A until some criterion is met and then
> switches to Point B?

I shouldn't really reply for TJ, but it's already there. From the help:

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

volatile - 
decides if amount (or distance) (3rd parameter) is sampled at the
trade entry and remains fixed during the trade (Volatile = FALSE - old
behaviour) or if can vary during the trade (Volatile = TRUE)

So you just have to set Volatile = TRUE and use an array (formula) for
the "amount  parameter

hope this helps,
neuro

-- 
Janeczko for President!


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Put more honey in your pocket. (money matters made easy).
http://us.click.yahoo.com/r7D80C/dlQLAA/cosFAA/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/