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

Re: [amibroker] HHV



PureBytes Links

Trading Reference Links

Hello,

= is ASSIGNMENT operator,
== is comparision (equality check).

x = H == HHV( H, 10 ) AND C < ( L + ( (H - L) * 0.50 ) );

BTW: it is good practice to add SPACES around operators (as shown above)

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Dominick" <Dom2000@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, January 10, 2005 2:08 PM
Subject: [amibroker] HHV


> 
> I'm trying to write an exploration that would find :
> Today's high is the highest high in 10 days and today's close is less 
> than 50% of today's range
> I wrote this but it's selecting all symbols.
> 
> x=H=HHV(H,10)AND C<(L+((H-L)*.50));
> 
> Where am I going wrong?
> 
> dom
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/