PureBytes Links
Trading Reference Links
|
No
a single = assigns a value to a variable
a double == checks equality of two values/variable
On Fri, 04 Mar 2005 03:35:11 -0000, ahuynh7 <ahuynh7@xxxxxxxxx> wrote:
>
>
> Am I right? Please help me with the last two statements, thanks.
>
> //STC crossover signals
> In:=Cross(pkAvg,STC);
> Out:=Cross(STC,trAvg);
> InInit:=Cum(In)=1;
> Init:=Cum(In+Out>-1)=1;
> flag:=BarsSince(Init OR In)
> < BarsSince(Init OR Out)+InInit;
> signals:=(InInit AND Alert(InInit=0,2)
> OR flag AND Alert(flag=0,2))
> -(flag=0 AND Alert(flag,2));
>
> AB
> //STC crossover signals
> In=Cross(pkAvg,STC);
> Out=Cross(STC,trAvg);
> InInit=Cum(In)==1;
> Init=Cum(In+Out>-1)==1;
> flag=BarsSince(Init OR In)
> < BarsSince(Init OR Out)+InInit;
> signals=InInit AND Alert(InInit=0,2) OR flag AND Alert(flag=0,2))-
> (flag=0 AND Alert(flag,2);
>
>
> 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
>
>
>
>
>
--
Cheers
Graham
http://e-wire.net.au/~eb_kavan/
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/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/
|