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

[amibroker] Re: Chandelier exit and rotational strategies



PureBytes Links

Trading Reference Links

You could use SetForeign (see examples in AB "Help").  That way, all 
the calculations in your formula will be based on whatever foreign 
ticker you choose (like ^GSPC or ^IXIC indices, for example).


Sebastian

--- In amibroker@xxxxxxxxxxxxxxx, "droskill" <droskill@xxx> wrote:
>
> Hey all,
> 
> I'm trying to use Geoff Mulhall's ChandelierCL exit code - but I 
don't
> think it can do what I want.  I'm trying to reference the Chandelier
> exit of a foreign stock.
> 
> Ideally, I'd want to do something like this:
> 
> FStop = foreign("ABC","C") < Ref(ChandelierCL for ABC, -1);
> 
> Anyone know how to accomplish this?  The Chandelier code he provides
> does not have a parameter for the equity - in other words, it is
> called as:
> 
> Buy  = Close > Ref( ChandelierCl(ATR(15),3), -1);
> 
> So it seems like it can only reference the current investment 
vehicle
> - anyone know any way around this?  Is there any rewrite of the
> Chandelier exit that I don't know about?
> 
> Thanks!
>



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

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/