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

Re: [amibroker] Not an Array?



PureBytes Links

Trading Reference Links

I assume "SP.LNG SC NH Signal" is a symbol name in your database

ATS_Signal = foreign( "SP.LNG SC NH Signal","C");

-- 
Cheers
Graham Kav
AFL Writing Service
http://www.aflwriting.com




2009/2/9 Richard N Park <rnpark@xxxxxxxxxxxxx>:
> Not very complicated. The signal plots ok.
>
>
>
> PlotForeign("SP.LNG SC NH Signal" ,"ATS Signal",colorRed,1);
> ATS_Signal = "SP.LNG SC NH Signal";
> Buy = Cross(ATS_Signal,0);
> Sell = Cross(0,ATS_Signal);
>
>
>
> Dick
>
>
>
> ________________________________
>
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
> Of Graham
> Sent: Sunday, February 08, 2009 6:12 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] Not an Array?
>
>
>
> Something wrong in your afl, you will need to provide the afl you are
> using to read this file
>
> --
> Cheers
> Graham Kav
> AFL Writing Service
> http://www.aflwriting.com
>
> 2009/2/9 Richard Park <rnpark@xxxxxxxxxxxxx>:
>> I have a .csv signal file that I have imported as an indicator. It is a
>> signal file that has data from 7/1/1997 to the present with dates in
>> the first column and signal values in the second column. The indicator
>> plots in a chart pane and seems to be normal.
>>
>> But when I try to use the signal file to generate buy and sell signals
>> so as to create an equity curve, I get a type mismatch error that says
>> the argument in not the required type (an array).
>>
>> Why is my "array' not an array to AmiBroker?
>>
>> Dick Park


------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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/