Try This:

myADX = ADX();
trend1 = MyADX[0] > myADX[1];


On Sat, Oct 11, 2008 at 8:27 AM, noemeenswat <[EMAIL PROTECTED]> wrote:

>   I want to determine or ADX is uptrending or downtrending. Therfore I
> coded:
>
> trend1=ADX()[0]>ADX()[1];
>
> This should result in a true or false for trend1 depending on
> trenddirection of ADX. It gives however a consistent error 30 syntax
> error.
>
> If I replace ADX() by H, C etc it works fine. Can someone explain what
> I'm doing wrong?
>
> Thanks
> Wilco
>
>  
>

Reply via email to