PureBytes Links
Trading Reference Links
|
Yes,
which is what you asked for -- to remove the current bar's data from the
calculation.
<FONT face=Arial color=#0000ff
size=2>
<FONT
face=Arial color=#0000ff size=2>Good Trading,
<FONT face=Arial color=#0000ff
size=2>
Joe
J.
<FONT face=Tahoma
size=2>-----Original Message-----From: uhehs@xxxxxxxx
[mailto:uhehs@xxxxxxxx]Sent: Tuesday, June 17, 2003 9:39
AMTo: Metastockusers@xxxxxxxxxxxxxxxSubject: RE:
[Metastockusers] Pivots
<FONT face=Arial color=navy
size=2><SPAN
>Ok, I
just changed it.
<FONT face=Arial color=navy
size=2><SPAN
>
<FONT face=Arial color=navy
size=2><SPAN
>So
that’s plotting what were the last bars’ levels on the current
bar?
<FONT face=Arial color=navy
size=2><SPAN
>
<FONT face=Arial color=navy
size=2><SPAN
>
<SPAN
>-----Original
Message-----From: Joe J.
[mailto:jojab@xxxxxxxxx]<SPAN
>Sent: Tuesday, June 17, 2003 12:34
PMTo:
Metastockusers@xxxxxxxxxxxxxxx<SPAN
>Subject: RE: [Metastockusers]
Pivots
<SPAN
>
<SPAN
>When you go to plot
the support and resistance points, replace what you have with
the following:<SPAN
>
<SPAN
> <FONT
color=black><SPAN
>
<SPAN
>ref(R#1,-1);<FONT
color=black><SPAN
>
<SPAN
>ref(S#1,-1);<FONT
color=black><SPAN
>
<SPAN
> <FONT
color=black><SPAN
>
<SPAN
>Good
Trading,<SPAN
>
<SPAN
> <FONT
color=black><SPAN
>
<SPAN
>Joe
J.<SPAN
>
<P class=MsoNormal
><FONT
face=Tahoma color=black size=2><SPAN
>-----Original
Message-----From:
uhehs@xxxxxxxx [mailto:uhehs@xxxxxxxx]<SPAN
>Sent: Tuesday, June 17, 2003 8:20
AMTo:
Metastockusers@xxxxxxxxxxxx com<SPAN
>Subject: [Metastockusers]
Pivots<SPAN
>
<P class=MsoNormal
><FONT
face="Courier New" color=black size=2><SPAN
>Below I have
pasted the code I'm using for generating two pivot
points.<SPAN
>You
will notice that it plots the values on the current bar, so when
tradingin real time, the pivots are always moving based on the
last price andtherefore they act as a moving
support/resistance.How do I NOT INCLUDE the current bar in
the calculation? That way I can usethe closed bars' plots
as my levels for the current bar?periods:=Input("ATR
Periods?",1,100,10);TH:=If(Ref(C,-1) >
H,Ref(C,-1),H);TL:=If(Ref(C,-1) <
L,Ref(C,-1),L);TR:=TH-TL;R#1:=C+Mov(TR,periods,S);S#1:=C-Mov(TR,periods,S);R#1;S#1;<FONT
color=black><FONT
face="Courier New" color=black size=2><SPAN
>To
unsubscribe from this group, send an email to:<FONT
face="Courier New" color=black size=2><SPAN
>Metastockusers-unsubscribe@xxxxxxxxxxx<FONT
color=black><FONT
face="Courier New" color=black size=2><SPAN
>Your use of
Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of
Service.
<SPAN
>
<SPAN
><BR
><BR
><FONT
color=black><SPAN
><FONT
face="Courier New" color=black size=2><SPAN
>To
unsubscribe from this group, send an email to:<FONT
face="Courier New" color=black size=2><SPAN
>Metastockusers-unsubscribe@xxxxxxxxxxx<FONT
color=black><FONT
face="Courier New" color=black size=2><SPAN
>Your use of
Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of
Service.
<SPAN
>
To
unsubscribe from this group, send an email
to:Metastockusers-unsubscribe@xxxxxxxxxxxYour use
of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|