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

RE: [Metastockusers] Pivots



PureBytes Links

Trading Reference Links




When 
you go to plot the support and resistance points, replace what you have with 
the following:
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>ref(R#1,-1);
<FONT face=Arial color=#0000ff 
size=2>ref(S#1,-1);
<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 8:20 
  AMTo: Metastockusers@xxxxxxxxxxxx comSubject: 
  [Metastockusers] PivotsBelow I have pasted the code 
  I'm using for generating two pivot points.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;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.