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

Re: [amibroker] Problem with include Error 42



PureBytes Links

Trading Reference Links

Shane:
 
It sounds like you might not have the right path specified for the Include folder.  Suggest double-checking to be sure this is OK at Preferences|AFL|Standard include path.  Probably something like C:\Program Files\AmiBroker\Formulas\Include
 
Bill
 
----- Original Message -----
From: "bakermrms" <plusnq@xxxxxxxxx>
Sent: Monday, April 23, 2007 8:10 AM
Subject: [amibroker] Problem with include Error 42

> Hi
>
> I am a serious newbie to AFL and ami and I am having a problem using
> #include. I keep getting an
>
> Error42
> #include failed because the file does not exist.
> Formulas\Include\MovingAverage.afl
> (current working directory is 'C:\Program Files\Amibroker)
>
> Use "Edit Formula" to correct error.
>
>
> I can see the MovingAverage file in the include directory. The
> formulas are as follows; This one is in the Include directory under
> MovingAverage,
>
> // Moving average Function
> function MovingAverage(Periods)
> {
> return MA(C, periods);
> }
> // Name this "MovingAverage.afl" and put into your Include directory
>
> This one is in the Custom directory saved as ma_test
>
>
> #include<Moving Average.afl>
>
> Plot(MovingAverage(5),"MA",2,1);
>
> Can anyone shed any light as to why they may not be working please?
>
> Many thanks for any assistance offered.
>
> Shane
>
>
>
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>
http://www.amibroker.com/devlog/
>
> For other support material please check also:
>
http://www.amibroker.com/support.html

> Yahoo! Groups Links
>
> <*> To visit your group on the web, go to:
>   
http://groups.yahoo.com/group/amibroker/
>
> <*> Your email settings:
>    Individual Email | Traditional
>
> <*> To change settings online go to:
>   
http://groups.yahoo.com/group/amibroker/join
>    (Yahoo! ID required)
>
> <*> To change settings via email:
>   
mailto:amibroker-digest@xxxxxxxxxxxxxxx
>   
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
>
> <*> To unsubscribe from this group, send an email to:
>   
amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> <*> Your use of Yahoo! Groups is subject to:
>   
http://docs.yahoo.com/info/terms/

>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM
>
>
__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___