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

RE: [amibroker] #include



PureBytes Links

Trading Reference Links

Check the drive and directory path is correct.

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia


-----Original Message-----
From: Glenn [mailto:glennokb@xxxxxxxxxxxx] 
Sent: Friday, 19 September 2003 3:52 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] #include


Hi,

I'm interested in using the #include function but I'm having some trouble 
with it.

I have for example in the indicator MySystem.afl, the last line of code is:

Buy=entrysignal;

In my indicator called MySystemPlot.afl I have

#include "E:\Program Files\AmiBroker\AFL\MySystem.afl"
plot(Buy,"Buy",colorGreen,1);

This gives an error:

Unknown identifier at line 1, column 11:

Plot(Buy,
--------^

If I add plot(Buy,"Buy",colorGreen,1); at the bottom of the MySystem.afl, 
the indicator plot works fine. Any ideas why it doesn't work with 
#include. TIA

Cheers Glenn



------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy
Remanufactured Ink Cartridges & Refill Kits at MyInks.com for: HP $8-20.
Epson $3-9, Canon $5-15, Lexmark $4-17. Free s/h over $50 (US & Canada).
http://www.c1tracking.com/l.asp?cid=6351
http://us.click.yahoo.com/0zJuRD/6CvGAA/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/ 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Remanufactured Ink Cartridges & Refill Kits at MyInks.com for: HP $8-20. Epson $3-9, Canon $5-15, Lexmark $4-17. Free s/h over $50 (US & Canada).
http://www.c1tracking.com/l.asp?cid=6351
http://us.click.yahoo.com/0zJuRD/6CvGAA/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/