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

Re: [amibroker] Greetings and a question.



PureBytes Links

Trading Reference Links

Hello,

Simply don't write + sign. Write Ref( L, 3 ), instead of Ref( L, +3)
Hope this helps.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Conrad Smith" <conradfsmith3@xxxxxxxxx>
To: "Amibroker" <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, November 11, 2003 4:42 AM
Subject: [amibroker] Greetings and a question.


> I'm new to both your group and Amibroker, so greetings.
> 
> I have a bit of a problem writing a guru commentary.
> 
> The code:
> 
> if (Ref(L, +3) > L) 
>   if (Ref(L, +2) > L)
>     if (Ref(L, +1) > L)
>       if (Ref(L, -1) > L)
>         if (Ref(L, -2) > L)
>           if (Ref(L, -3) > L)
>           PlotShapes(shapeHollowCircle, colorBlue, 0, Graph0, -12 ); 
> 
> 
> The error:
> 
> Error in AFL formula:
> Line 1, Column 12:
> if (Ref(L, +
> ----------^
> 
> Error 23.
> Syntax error
> 
> 
> I'm sure the it a true n00b question, but I can't seem to find the answer.  I'm almost of a mind
> to believe that I can't use logic where a parameter is expected.
> 
> I truly hope not, I rather like Amibroker.
> 
> 
> Cheers,
> Conrad
> 
> ________________________________________________________________________
> Want to chat instantly with your online friends?  Get the FREE Yahoo!
> Messenger http://mail.messenger.yahoo.co.uk
> 
> 
> 
> 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/ 
> 
> 
> 

------------------------ 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/