| 
 PureBytes Links 
Trading Reference Links 
 | 
You cannot reply to this message via email because you have chosen not
to disclose your email address to the group.  Please use this
page to reply.
 
Hello 
all,
<SPAN 
class=343470902-23122002> 
my formula does not 
work correctly.
I need the high, low 
and close of the previous EOD candle, but I don't <FONT 
face=Arial size=2>know how.
<SPAN 
class=343470902-23122002> 
<SPAN 
class=343470902-23122002> 
Here is the 
formula:
<SPAN 
class=343470902-23122002> 
<SPAN 
class=343470902-23122002>CoD        := 
DayOfMonth() > Ref(DayOfMonth(),-1);
 
HighPeriod := 
If(CoD,              
{then} 
H,              
{else} 
If(H>PREV,                     
{then} 
H,                     
{else} PREV));
 
LowPeriod  := 
If(CoD,              
{then} 
L,              
{else} 
If(L<PREV,                     
{then} 
L,                     
{else} PREV));
 
ClosePeriod := 
If(CoD,               
{then} 
C,               
{else} 
If(C<PREV,                      
{then} 
C,                      
{else} PREV));
 
LastHigh   
:= If(CoD, 
              
{then} 
Ref(HighPeriod,-1),              
{else} PREV);
 
<SPAN 
class=343470902-23122002>LastLow    := If(CoD, 
              
{then} 
Ref(LowPeriod,-1),              
{else} PREV);
 
LastClose  := 
If(CoD,              
{then} 
Ref(ClosePeriod,-1),              
{else} PREV);
 
<SPAN 
class=343470902-23122002>Pivot      := (LastHigh + 
LastLow + LastClose) /3;
<FONT face=Arial 
size=2>R1         := ((2*Pivot) - 
LastLow);S1         := ((2*Pivot) - 
LastHigh);R2         := ((3*Pivot) - 
(2*LastLow));S2         := 
((3*Pivot) - 
(2*LastHigh));R3         := 
(LastHigh  + ((2*Pivot) - 
(2*LastLow)));S3         := 
(LastLow   + ((2*Pivot) - (2*lastHigh)));
 
<FONT face=Arial 
size=2>R3;R2;R1;Pivot;S1;S2;S3
 
 
 
Thanks for your 
help,
<FONT face=Arial 
size=2>Spatzi
<SPAN 
class=343470902-23122002> 
Yahoo! Groups Sponsor
ADVERTISEMENT
<img
src="http://us.a1.yimg.com/us.yimg.com/a/am/ameritrade/120402_am_ban_off_x82_x_300x250_6.gif" width=300 height=250 border=0>
To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
 |