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

Re: [EquisMetaStock Group] Re: Numbering Problem



PureBytes Links

Trading Reference Links

Hi Preston, 

Yes, this is what I am trying to write. Do I post this coding under Expert Advisor or Indicators? Do you have any similar coding?

Thank you for helping out. 

Cheers,
Hank 





--- 2009年3月19日 星期四,pumrysh <no_reply@xxxxxxxxxxxxxxx> 寫道﹕

> 寄件人: pumrysh <no_reply@xxxxxxxxxxxxxxx>
> 主題: [EquisMetaStock Group] Re: Numbering Problem
> 收件人: equismetastock@xxxxxxxxxxxxxxx
> 日期: 2009 3 19 星期四 上午 4:07
> Hank,
> 
> The idea is very similar to that of the Demark indicators.
> 
> Try this:
> 
> Condition:=If(C > Ref(C,-2),1,0);
> Count:= Cum(Condition);
> If(count > Ref(count,-1),count,0);
> 
> Preston
> 
>  
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, Henry Pang
> <hankpang@xxx> wrote:
> >
> > Dear All, 
> > 
> > I am trying to number the bar using Expert Advisor.
> The rule is very simple "Close must be higher than the
> Previous 2 days close" (C >Ref (C,-2)) and I wish to
> number them 1 by 1.... Unfortunately, I only get 1 for all
> the bar. Please help.. The attached file is S&P 500 for
> your reference. 
> > 
> > Thank you
> > 
> > Cheers,
> > Hank 
> > 
> > 
> >      
> Yahoo!香港提供網上安全攻略,教你如何防範黑客!
> 請前往 http://hk.promo.yahoo.com/security/ 了解更多!
> >


      Yahoo!香港提供網上安全攻略,教你如何防範黑客! 請前往 http://hk.promo.yahoo.com/security/ 了解更多!


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

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/