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

[amibroker] Re: ApplyStop - Trailing



PureBytes Links

Trading Reference Links

I don't really understand what you're trying to do, but can't you just
use ApplyStop with a trailing stop, the amount in points, and the
formula "Close - <your line array>"?

I'm also not sure what you mean about needing the buy price for ApplyStop.

GP


--- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@xxx> wrote:
>
> I am trying to code a trailing stop level of a support line that
changes over time and need to use the "volatile" perameter in
ApplyStop function.
> 
> The problem I have, my Support line formula computes an absolute
value, therefore I must subtract the support value from the highest high.
> 
> The catch is that ApplyStop provides the information I need to the
Sell array ... so I am in a catch22. I need the sell bar number to
compute the proper value of buy price for ApplyStop and I need
ApplyStop to run first to give me the Sell array.
> 
> So what I need, is to be able to compute the buy price before
running ApplyStop OR somehow be able to use absulute values with
ApplyStop.
> 
> Any suggestions?  Do I need to gog to Custom Backtester?
> 
> 
> Tx
> Ara
>



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

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/