PureBytes Links
Trading Reference Links
|
> Will you please provide the additional Hour and Minutes code so the
> TPD can be used on Intraday charts.
Sure, but the intraday one is much more fiddly and given the extra
inputs and variables required only works with the TCR projections.
Following is the version I use on my 5 minute charts. You have to
get used to the way the time input works in 5 minute increments after
the decimal point, where 0.12 equals an hour, 0.11= 55 mins and
0.01=5 mins.
So say want the time stamp of 14:35 as a part of a swing you would
enter 14.07. (35/5m @ 0.01=0.07). Not very intuitive but worth the
trouble IMO.
> Is it possible to have the TCR target lines go as high as the Base
> Swing date lines.
Yep, just change each 0.6 to 1 in the last sections of both
indicators with all the if statements.
//..TCR - Intraday
S1:=Input("Base swing start date
(mmddyyyy)",01011800,12312100,08102004);
ST1:=Input("Base swing start time H.5M Increment (X.0-
>X.0.12)",0,24,12);
E1:=Input("Base swing end date
(mmddyyyy)",01011800,12312100,09012004);
ET1:=Input("Base swing end time H.5M Increment (X.0-
>X.0.12)",0,24,12);
P1:=Input("Project from (mmddyyyy)",01011800,12312100,09032004);
PT1:=Input("Project from time H.5M Increment",0,24,12);
SM:=Int(S1/1000000);
SD:=Int(Frac(S1/1000000)*100);
SY:=Round(Frac(PREC(S1/10000,5))*10000);
EM:=Int(E1/1000000);
ED:=Int(Frac(E1/1000000)*100);
EY:=Round(Frac(PREC(E1/10000,5))*10000);
PM:=Int(P1/1000000);
PD:=Int(Frac(P1/1000000)*100);
PY:=Round(Frac(PREC(P1/10000,5))*10000);
Sig:=If(Hour()=Ref(Hour(),-1), Minute()-Ref(Minute(),-1),If(DayOfMonth
()=Ref(DayOfMonth(),-1),Minute()-Ref(Minute(),-1)+60,If(Ref(Minute(),-
1)>Ref(Minute(),-2),Ref(Minute(),-1)-Ref(Minute(),-2),Ref(Minute(),-
2)-Ref(Minute(),-3))));
Count:=Cum(Sig);
RP:=LastValue(ValueWhen(1, PM=Month() AND PD=DayOfMonth()AND PY=Year
() AND Int(PT1)=Hour() AND Round(Frac(PT1)*100*5)=Minute(),Count));
TDR:=LastValue(ValueWhen(1, EM=Month() AND ED=DayOfMonth()AND EY=Year
() AND Int(ET1)=Hour() AND Round(Frac(ET1)*100*5)=Minute(),Count))-
LastValue(ValueWhen(1, SM=Month() AND SD=DayOfMonth()AND SY=Year()
AND Int(ST1)=Hour() AND Round(Frac(ST1)*100*5)=Minute(),Count));
If(EM=Month() AND ED=DayOfMonth()AND EY=Year() AND Int(ET1)=Hour()
AND Round(Frac(ET1)*100*5)=Minute(),0.75,0);
If(SM=Month() AND SD=DayOfMonth()AND SY=Year() AND Int(ST1)=Hour()
AND Round(Frac(ST1)*100*5)=Minute(),0.75,0);
If(Count=RP,1,0);
If(Count<=Round(RP+(TDR*0.382)) AND Ref(Count,+1)>Round(RP+
(TDR*0.382)), 0.6,0);
If(Count<=Round(RP+(TDR*0.5)) AND Ref(Count,+1)>Round(RP+(TDR*0.5)),
0.6,0);
If(Count<=Round(RP+(TDR*0.618)) AND Ref(Count,+1)>Round(RP+
(TDR*0.618)), 0.6,0);
If(Count<=Round(RP+(TDR*1)) AND Ref(Count,+1)>Round(RP+(TDR*1)),
0.6,0);
If(Count<=Round(RP+(TDR*1.618)) AND Ref(Count,+1)>Round(RP+
(TDR*1.618)), 0.6,0);
If(Count<=Round(RP+(TDR*2)) AND Ref(Count,+1)>Round(RP+(TDR*2)),
0.6,0);
If(Count<=Round(RP+(TDR*2.618)) AND Ref(Count,+1)>Round(RP+
(TDR*2.618)), 0.6,0)
{end}
--- In equismetastock@xxxxxxxxxxxxxxx, murusprimus <no_reply@xxxx>
wrote:
>
> MS, thanks and 5 gold stars for posting the 'Time Projections and
> Divisions' Indicator, no idea it existed for MetaStock.
>
> Will you please provide the additional Hour and Minutes code so the
> TPD can be used on Intraday charts.
>
> Is it possible to have the TCR target lines go as high as the Base
> Swing date lines.
>
> Thanks. Wallace.
------------------------ 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/
|