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 [email protected], "droskill" <[EMAIL PROTECTED]> 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!
>


Reply via email to