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

RE: [amibroker] hhv( ARRAY, periods ) Question



PureBytes Links

Trading Reference Links

Sorry, X to C (not E)
--
Terry

| -----Original Message-----
| From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
| Behalf Of Terry
| Sent: Sunday, August 14, 2005 17:14
| To: amibroker@xxxxxxxxxxxxxxx
| Subject: RE: [amibroker] hhv( ARRAY, periods ) Question
| 
| E=IIf(C==X,1,0);
| 
| You were ASSIGNING the value of X to E. Note the double ==
| --
| Terry
| | -----Original Message-----
| | From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]
| On
| | Behalf Of conchoriverwater
| | Sent: Sunday, August 14, 2005 16:56
| | To: amibroker@xxxxxxxxxxxxxxx
| | Subject: [amibroker] hhv( ARRAY, periods ) Question
| |
| | Why is this routine not working?
| |
| | X=HHV(C,10);
| |
| | E=IIf(C=X,1,0);
| | Buy=E;
| |
| | It returns every day for every symbol.
| | I want buy to equal E if the last close is the highest for the last
| 10
| | days
| |
| | Thanks
| |
| | Concho
| |
| |
| |
| |
| |
| | ------------------------ Yahoo! Groups Sponsor --------------------
| ~--
| | >
| | <font face=arial size=-1><a
| |
| href="http://us.ard.yahoo.com/SIG=12h1i6rb5/M=362343.6886682.7839641.1
| |
| 493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1124067382/A=2894352/R=0/S
| | IG=11fdoufgv/*http://www.globalgiving.com/cb/cidi/tsun.html";>Help
| | tsunami villages rebuild at GlobalGiving. The real work starts
| | now</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
| |
| |
| |
| |
| 
| 
| 
| 
| ------------------------ Yahoo! Groups Sponsor --------------------~--
| >
| <font face=arial size=-1><a
| href="http://us.ard.yahoo.com/SIG=12hrnl2ar/M=362131.6882500.7825259.1
| 493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1124068486/A=2889190/R=0/S
| IG=10r90krvo/*http://www.thebeehive.org
| ">Put more honey in your pocket. (money matters made easy) Welcome to
| the Sweet Life - brought to you by One Economy</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
| 
| 
| 
| 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hi77tu5/M=362131.6882500.7825259.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1124068817/A=2889190/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Put more honey in your pocket. (money matters made easy) Welcome to the Sweet Life - brought to you by One Economy</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/