PureBytes Links
Trading Reference Links
|
That's it.
Put the FT-FBP before the other formula as you have it here.
If you have any problems let me know.
I am a professional programmer with 15 years experience.
-----Original Message-----
From: "Roy Larsen" <rlarsen@xxxxxxxxxxxxxx>
Date: Fri, 6 Feb 2004 07:32:43
To:<Metastockusers@xxxxxxxxxxxxxxx>
Subject: Re: [Metastockusers] Re: [spam] Help needed with formula
Possibly two seperate indicators as below ???
{FT-FBP}
Mc1:=BarsSince(DayOfWeek()=1);
Fc1:=BarsSince(DayOfWeek()=5);
Fc2:=Ref(BarsSince(DayOfWeek()=5),-1)-1;
{Fixed Balance Point Calculation}
FBC:=If(Mc1=0 AND Fc1>2,
{then}(Ref(HHV(H,LastValue(mc1)),-1)+
Ref(LLV(L,LastValue(Mc1)),-1)+
Ref(C,-1))/3,
{else}If(Fc1=0 AND Mc1>5,
{then}(HHV(H,LastValue(Fc2))+
LLV(L,LastValue(Fc2))+C)/3,
{else}If(Fc1=0,
{then}(HHV(H,LastValue(Mc1))+
LLV(L,LastValue(Mc1))+C)/3,
{else}0)));
{Fixed Balance Point Plot}
FBP:=ValueWhen(1,FBC>0,FBC);
FBP;
{FT Weekly Price Range}
Mc1:=BarsSince(DayOfWeek()=1);
Fc1:=BarsSince(DayOfWeek()=5);
Fc2:=Ref(BarsSince(DayOfWeek()=5),-1)-1;
WRC:=If(Mc1=0 AND Fc1>2,
{then}Ref(HHV(H,LastValue(mc1)),-1)-
Ref(LLV(L,LastValue(Mc1)),-1),
{else}If(Fc1=0 AND Mc1>5,
{then}HHV(H,LastValue(Fc2))-
LLV(L,LastValue(Fc2)),
{else}If(Fc1=0,
{then}HHV(H,LastValue(Mc1))-
LLV(L,LastValue(Mc1)),
{else}0)));
WRP:=ValueWhen(1,WRC>0,WRC);
{Resistance Range}
RR1:= FmlVar("FT-FBP","FBP")+(WRP*.5);
RR2:= FmlVar("FT-FBP","FBP")+(WRP*.618);
{Support Range}
SR1:= FmlVar("FT-FBP","FBP")-(WRP*.5);
SR2:= FmlVar("FT-FBP","FBP")-(WRP*.618);
{Plot Ranges}
RR1;
RR2;
SR1;
SR2;
----- Original Message -----
From: "on mobile" <adet@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: <Metastockusers@xxxxxxxxxxxxxxx>
Sent: Friday, February 06, 2004 7:17 AM
Subject: [Metastockusers] Re: [spam] Help needed with formula
> You need to find where FT was declared and copy it before where it was used.
>
>
> -----Original Message-----
> From: "mc_gregor25" <gregory_p25@xxxxxxxxxxx>
> Date: Thu, 05 Feb 2004 16:20:00
> To:Metastockusers@xxxxxxxxxxxxxxx
> Subject: [spam] Help needed with formula
>
> ------------------------------------------------------------------------
> Yahoo! Groups SpamGuard has detected that the attached message to the
> group Metastockusers is likely to be spam. For more information
> about SpamGuard, please visit our help pages:
> http://groups.yahoo.com/local/spamguard.html
> ------------------------------------------------------------------------
>
>
>
> ------------------
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
Yahoo! Groups Links
------------------
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/
|