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

Re: [EquisMetaStock Group] count from a specific bar not the beginning



PureBytes Links

Trading Reference Links

Hi Chris

Check out the September "Tip of the month" on my website. It's an event counter that should do the 
job nicely. Talk to me if you have any questions.

Rind regards

Roy Larsen
www.metastocktips.co.nz
Free formulas and MS links





----- Original Message ----- 
From: <chrismontgomery1966@xxxxxxxxx>
To: <equismetastock@xxxxxxxxxxxxxxx>
Sent: Friday, September 17, 2004 7:18 AM
Subject: [EquisMetaStock Group] count from a specific bar not the beginning


>
> How do you count the number of times an event has
> occured since the opposite event has occurred.
>
> BuySignal:=Fml("systembuy");
> SellSignal:=Fml("systemsell");
> trade:=If(BarsSince(BuySignal)<=BarsSince(SellSignal),1,0);
> { "trade" variable tells you the last signal was buy}
>
> How can I determine how many buy signals have occured since
> the last sell signal?
>
> I realize it should be Cum() function, but somehow
> the cum function needs to be reset when the signals reverse.
>
> Thanks
> Chris
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> 




------------------------ 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/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

<*> 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/