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

RE: [Metastockusers] Pivots



PureBytes Links

Trading Reference Links










<span
>Ok, I just
changed it.

<span
> 

<span
>So that&#8217;s
plotting what were the last bars&#8217; levels on the current bar?

<span
> 

<span
> 

-----Original Message-----
From: Joe J.
[mailto:jojab@xxxxxxxxx]
Sent: Tuesday, June 17, 2003 12:34
PM
To: Metastockusers@xxxxxxxxxxxxxxx
Subject: RE: [Metastockusers]
Pivots

 

When you go to plot the support and
resistance points, replace what you have with the following:<font
color=black>

<span
> <span
>

ref(R#1,-1);<font
color=black>

ref(S#1,-1);<font
color=black>

<span
> <span
>

Good Trading,<font
color=black>

<span
> <span
>

Joe J.<span
>

<span
>-----Original
Message-----
From: uhehs@xxxxxxxx
[mailto:uhehs@xxxxxxxx]
Sent: Tuesday, June 17, 2003 8:20
AM
To: Metastockusers@xxxxxxxxxxxx
com
Subject: [Metastockusers] Pivots<font
color=black>

<span
>Below I have
pasted the code I'm using for generating two pivot points.<font
size=2 color=black face="Courier New">

You will notice that it plots the values on the current bar, so when
trading
in real time, the pivots are always moving based on the last price and
therefore they act as a moving support/resistance.

How do I NOT INCLUDE the current bar in the calculation?  That way I
can use
the 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;



<span
>To unsubscribe
from this group, send an email to:<font size=2 color=black
face="Courier New">
Metastockusers-unsubscribe@xxxxxxxxxxx



<span
>Your use of
Yahoo! Groups is subject to the Yahoo!
Terms of Service.<span
> 

<span
>



<font size=2 color=black
face="Courier New">To unsubscribe from this group, send an email to:<font
size=2 color=black face="Courier New">
Metastockusers-unsubscribe@xxxxxxxxxxx



<span
>Your use of
Yahoo! Groups is subject to the Yahoo!
Terms of Service.<span
> 










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.