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

Re: [EquisMetaStock Group] Problems with this code



PureBytes Links

Trading Reference Links

Thanxs Roy
Changed to Rocd, and no problems.
PAUL

--- In equismetastock@xxxxxxxxxxxxxxx, "Roy Larsen" <rlarsen@xxx> wrote:
>
> Hi Paul
> 
> 
> Roc cannot be used as a variable name because it is a reserved
function name - ROC().
> 
> 
> Regards
> 
> Roy
> www.metastocktips.co.nz
> 
> 
>   ----- Original Message ----- 
>   From: Paul Harris 
>   To: equismetastock@xxxxxxxxxxxxxxx 
>   Sent: Friday, July 06, 2007 8:13 PM
>   Subject: [EquisMetaStock Group] Problems with this code
> 
> 
>   Preston et al
>   I have problems with this code as it is rejected by MS. And I can´t
>   see why.
> 
>   DemandInd:= If(Dema(DI(),8) > 5,+1,If(Dema(DI(),8) < -13,-1,0));
>   LinReg:= If(Dema(10000*LinRegSlope(C,13)/C,13) > 5,+1,
>   If(Dema(10000*LinRegSlope(C,13)/C,13) < -13,-1,0));
>   Roc:= If(Dema(ROC(C,8,%),8) > 2,+1,If(Dema(ROC(C,8,%),8) < -2,-1,0));
>   Mon:= If(Dema(MFI(8),8)-50 > 5,+1,If(Dema(MFI(8),8)-50 < -5,-1,0));
>   DemandInd+LinReg+Roc+Mon
> 
>   Anyone see what the problem is.
>   Thanxs
>   PAUL
> 
> 
> 
>    
> 
>   __________ NOD32 2381 (20070706) Information __________
> 
>   This message was checked by NOD32 antivirus system.
>   http://www.eset.com
> 
> 
> [Non-text portions of this message have been removed]
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/