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

[amibroker] Re: error #5 Argument #1 has incorrect type ..anyway around this?


  • Date: Thu, 28 Jan 2010 20:55:44 -0000
  • From: "j0etr4der" <j0etr4der@xxxxxxxxx>
  • Subject: [amibroker] Re: error #5 Argument #1 has incorrect type ..anyway around this?

PureBytes Links

Trading Reference Links

I cannot help you with a solution, but can tell you there are only a limited number of functions that can accept an array as an argument. You might be able to do this in loop.

Good luck.

>From the User's Guide somewhere:

The following functions support variable periods (where periods parameter can be array and change from bar to bar):

    * AMA
    * AMA2
    * MA
    * DEMA
    * TEMA
    * HHV
    * HHVBars
    * LLV
    * LLVBars
    * LinRegSlope
    * LinearReg
    * LinRegIntercept
    * Ref
    * StdErr
    * Sum
    * TSF
    * WMA


--- In amibroker@xxxxxxxxxxxxxxx, "jilm_jones" <Jilm_Jones@xxx> wrote:
>
> 
> 
> say i want to write this:
> 
> t=hhvbars(h,100);
> x=stochk(t);
> 
> plot(x....
> 
> i cant use lastvalue(t);
>




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

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

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

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

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:
    amibroker-digest@xxxxxxxxxxxxxxx 
    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/