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

[amibroker] Re: Formula



PureBytes Links

Trading Reference Links

Bob,

Try changing the "," that is at the end of each of your IIf 
statements to a ";"

Bill


--- In amibroker@xxxxxxxxxxxxxxx, "bflori" <bflori@xxxx> wrote:
> I'm attempting to write this code for an exploration. When I get to 
the
> end, it says syntax error and puts the black curser on the final
> character, the semi-colon.
> Can anyone tell me what I am doing wrong? Thanks.
>  
> Filter=C>=12 AND MA(V,50)>=100000;
>  
> IIf(Cross(CCI(40),MA(CCI(40,5)) AND
> CCI(40)<=-100,4),
>  
> /*IIf(Cross(CCI(40),MA(CCI(40,5)) AND
> CCI(40)>-100 AND CCI(40)<=0,3),
>  
> IIf(Cross(CCI(40),MA(CCI(40),5)) AND
> CCI(40)>0 AND CCI(40)<=100,2),
>  
> IIf(Cross(CCI(40),MA(CCI(40),5)) AND
> CCI(40)>100,1),
>  
> IIf(Cross(CCI(40),MA(CCI(40,5)) AND
> CCI(40)<=-100,-1),
>  
> IIf(Cross(MA(CCI(40),5),CCI(40)) AND
> CCI(40)>-100 AND CCI(40)<=0,-2),
>  
> IIf(Cross(MA(CCI(40),5),CCI(40)) AND
> CCI(40)>0 AND CCI(40)<=100,-3),
>  
> IIf(Cross(MA(CCI(40),5),CCI(40)) AND
> CCI(40)>100,-4,0;
>  
> Bob Flori
>  
>  <mailto:bflori@x...> bflori@xxxx


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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