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

[amibroker] Re: AFL/Setting Question



PureBytes Links

Trading Reference Links

Anthony,

I get this error message

Line 4, Column 13:
//Weekly 



TimeFrameSet(
------------^

Error 23.
Syntax error


I tried moving things around thinking yahoo messed up something but I 
cant get it to work. Can you tell me what I am doing wrong.

Thanks,
Brian

--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxxx> 
wrote:
> Brian,
> 
> with the latest beta, you now have TimeframeSet () function...
> 
> //Weekly
> 
> TimeFrameSet( inWeekly );
> 
> wadx=ADX(14);
> 
> TimeFrameRestore();
> 
> //Monthly
> 
> TimeFrameSet( inMonthly);
> 
> MAdx=ADX(14);
> 
> TimeFrameRestore();
> 
> //Daily
> 
> dadx=ADX(14);
> 
> Buy= MADX > 30 AND WADX > 30 AND DADX < 30;
> 
> Filter=1;
> 
> AddColumn(wadx,"weeklyADX");
> 
> AddColumn(MAdx,"MonthlyADX");
> 
> AddColumn(dadx,"dailyADX");
> 
> 
> 
> Anthony
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.518 / Virus Database: 316 - Release Date: 9/11/2003


------------------------ 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/l.m7sD/LIdGAA/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/