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

Re: [Metastockusers] PLotting 3 day sma of highs and lows on hourly charts



PureBytes Links

Trading Reference Links




Hey Vinit,
Not sure exactly what you're doing but this was 
posted a while back for Daily PPs on the 5 min chart.
 
<FONT face=Arial 
size=2>                                         
Scott
 
     
See if you can 
use this.
 
This is not mine, but something I picked 
up.
 
TF:=Input("1=hour 2=day 3=week 4=month 5=year 
",1,5,2);NW:=If(TF=1,ROC(Minute(),1,$)<0,If(TF=2,ROC(Hour(),1,$)<0, 
If(TF=3,ROC(DayOfWeek(),1,$)<0,If(TF=4,ROC(DayOfMonth(),1,$)<0,ROC(Month(),1,$)<0))));A1:=Cum(1);A2:=LastValue(A1-BarsSince(NW>0));WH:=ValueWhen(1,Nw,Ref(HighestSince(1,Nw,H),-1));WL:=ValueWhen(1,Nw,Ref(LowestSince(1,Nw,L),-1));WCL:=ValueWhen(1,Nw,Ref(C,-1));BP:=LastValue((WH+WL+WCL)/3);R#2:= 
If(A1<A2,BarsSince(A1>=A2),LastValue(((WH+WL+WCL)/3) - 
(2*((WH+WL+WCL)/3)-WH) +(2*((WH+WL+WCL)/3)-WL)));R#1:= 
If(A1<A2,BarsSince(A1>=A2),LastValue(2*((WH+WL+WCL)/3)-WL));R#3:= 
If(A1<A2,BarsSince(A1>=A2),LastValue(R#2+(WH-Wl)));PP:=If(A1<A2,BarsSince(A1>=A2),LastValue((WH+WL+WCL)/3));S#1:= 
If(A1<A2,BarsSince(A1>=A2),LastValue(2*((WH+WL+WCL)/3)-WH));S#2:= 
If(A1<A2,BarsSince(A1>=A2),LastValue(((WH+WL+WCL)/3)-(((2*((WH+WL+WCL)/3) 
- 
WL)-(2*((WH+WL+WCL)/3)-WH)))));S#3:=If(A1<A2,BarsSince(A1>=A2),LastValue(S#2-(WH-WL)));R#3;R#2;R#1;PP;S#1;S#2;S#3;
DusantChief Architect<A 
href="">http://www.candlestrength.com/
----- Original Message ----- 
From: "Kevin" <<A 
href=""><FONT face=Verdana 
size=2>kevin_barry@xxxxxxxxxxxxxx<FONT face=Verdana 
size=2>>
To: <<A 
href=""><FONT face=Verdana 
size=2>metastockusers@xxxxxxxxxxxxxxx<FONT face=Verdana 
size=2>>
Sent: Friday, March 19, 2004 01:30 
AM
Subject: [Metastockusers] Daily Pivot Points On 
Five Minute Chart
<FONT face=Verdana 
size=2>> Hello,> > I want to incorporate a condition in a 
system test on a five-minute chart. > I do not want to buy if the price 
is within a certain percentage of one of > the daily pivot points. Does 
anybody know how to plot daily pivots on > intraday charts for testing 
purposes? Unfortunately, Henry's excellent > pivot points indicator only 
plots the value for the current period.> > Thanks in 
advance,> Kevin> > > >  > Yahoo! 
Groups Links> > <*> To visit your group on the web, go 
to:>      <A 
href=""><FONT face=Verdana 
size=2>http://groups.yahoo.com/group/Metastockusers/<FONT 
face=Verdana size=2>> > <*> To unsubscribe from this group, send 
an email to:>      <A 
href=""><FONT face=Verdana 
size=2>Metastockusers-unsubscribe@xxxxxxxxxxxxxxx<FONT 
face=Verdana size=2>> > <*> Your use of Yahoo! Groups is subject 
to:>      <A 
href=""><FONT face=Verdana 
size=2>http://docs.yahoo.com/info/terms/<FONT face=Verdana 
size=2>>  > >                                     

 
 
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=v_bolinjkar@xxxxxxxxxxx 
  href="">v_bolinjkar 
  To: <A 
  title=Metastockusers@xxxxxxxxxxxxxxx 
  href="">Metastockusers@xxxxxxxxxxxxxxx 
  
  Sent: Wednesday, April 07, 2004 9:40 
  AM
  Subject: [Metastockusers] PLotting 3 day 
  sma of highs and lows on hourly charts
  HICAn anyone tell me how i culd plot a particular 
  indicator of the daily time frame on 60 min 
  charts.regardsVinit







Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/Metastockusers/ 
To unsubscribe from this group, send an email to:Metastockusers-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.