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

[Metastockusers] Formula help



PureBytes Links

Trading Reference Links

I need to make a formula tath add a signal of buy only once a 
day if  yesterday high is broken and a sell if today low is 
lower than yesterday low. The equis staff gave me the 
following formula  for yesterday high/low on intraday charts.

{ yesterday's high }
newday:=ROC(DayOfWeek(),1,$)<>0;
ValueWhen(1,newday, Ref(HighestSince(1,newday,H),-1));

{ yesterday's low }
newday:=ROC(DayOfWeek(),1,$)<>0;
ValueWhen(1,newday, Ref(LowestSince(1,newday,L),-1));

Can someone help me?

Thanks
Gabriel
 
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/zMEolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

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

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