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

Re: [amibroker] adaptative indicator



PureBytes Links

Trading Reference Links

To use an array where a constant is required, put it inside LastValue()

CCI( LastValue( Length ) )

If this doesn't give the results you want, please give more details of what 
you are trying to do.

Steve

----- Original Message ----- 
From: "jerome_maeder" <jerome_maeder@xxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, August 09, 2005 9:37 AM
Subject: [amibroker] adaptative indicator


> Hi!
>
> I would like to change the parameter of my indicator ( CCI for
> exemple ) after each bar. For example:
>
> Length = 0;
> Length = Length + 1;
>
> NewCCI = CCI(Length);
>
> Buy = CCI(Length) > 150;
>
> It's just a simple example, do you understand what is my problem?
> Length is an array and it's not possible to use it as a parameter!
>
> Thanks in advance!
>
> Jerome
>
>
>
>
>
>
>
> 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 other support material please check also:
> http://www.amibroker.com/support.html
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hr3habb/M=362343.6886682.7839641.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1123605504/A=2894354/R=0/SIG=11qvf79s7/*http://http://www.globalgiving.com/cb/cidi/c_darfur.html";>Help Sudanese refugees rebuild their lives through GlobalGiving</a>.</font>
--------------------------------------------------------------------~-> 

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

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