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

Re: [EquisMetaStock Group] Displaying Support/ Resistance in Metastock



PureBytes Links

Trading Reference Links

Sorry Man actually i've used it, and coz of that it was in my indicator list which is i've just copied and past. Sorry man and thanks also for that formula
   
  Regards

Jose Silva <josesilva22@xxxxxxxxx> wrote:
  Vishvesh, please *do not remove Copyright/source header information* 
from any posted formula.  This practice is not only unrespectful to 
the original author, but also unethical and illegal.

Missing from your post:


1) Formula source:

http://www.metastocktools.com/MACDH/Forex.htm


2) Part of formula header selectively removed:

---8<--------------------------
©Copyright 2004~2005 Jose Silva
The grant of this license is for personal use
only - no resale or repackaging allowed.
All code remains the property of Jose Silva.
http://metastocktools.com }
---8<--------------------------


jose '-)
http://metastocktools.com



--- In equismetastock@xxxxxxxxxxxxxxx, Vishvesh <vishveshchauhan@xxxx> 
wrote:
>
> { Plots daily pivot values on intraday charts.
> 
> MetaStock -> Tools -> Options -> Chart Options
> -> untick "Ignore weekend data".
> {===============================}
> { User input }
> pds:=Input("Use Highest/Lowest of past x days",1,260,1);
> 
> { Message }
> message:=Input("(Plot on intraday charts)",0,0,0);
> 
> { Day's start }
> dStart:=dStart:=DayOfMonth()<>Ref(DayOfMonth(),-1) OR Cum(1)=2;
> 
> { Previous x Days' High }
> Hd:=HighestSince(pds,dStart,H);
> Hd:=ValueWhen(1,dStart,ValueWhen(2,1,Hd));
> Hd:=ValueWhen(1,Hd>0,Hd);
> 
> { Previous x Days' Low }
> Ld:=LowestSince(pds,dStart,L);
> Ld:=ValueWhen(1,dStart,ValueWhen(2,1,Ld));
> Ld:=ValueWhen(1,Ld>0,Ld);
> 
> { Previous Day's Close }
> Cd:=ValueWhen(1,dStart,ValueWhen(2,1,C));
> Cd:=ValueWhen(1,Cd>0,Cd);
> 
> { Pivot }
> Pivot:=(Hd+Ld+Cd)/3; {Plot in Green bold}
> 
> { Support }
> S1:=2*Pivot-Hd; {Blue}
> S2:=Pivot-(Hd-Ld); {Red}
> S3:=2*Pivot-(2*Hd-Ld); {dark Green}
> 
> { Resistance }
> R1:=2*Pivot-Ld; {Blue}
> R2:=Pivot+(Hd-Ld); {Red}
> R3:=2*Pivot+(Hd-2*Ld); {dark Green}
> 
> {All mid-pivot levels light Grey}
> M0:=(S2+S3)/2;
> M1:=(S1+S2)/2;
> M2:=(Pivot+S1)/2;
> M3:=(R1+Pivot)/2;
> M4:=(R2+R1)/2;
> M5:=(R3+R2)/2;
> 
> { Plot on intraday price charts }
> R3;M5;R2;M4;R1;M3;
> Pivot;
> M2;S1;M1;S2;M0;S3
> {===============================}
>   Regards
>   Vishvesh






  SPONSORED LINKS 
        Business finance course   Business to business finance   Small business finance     Business finance consultant   Business finance magazine   Business finance schools 
    
---------------------------------
  YAHOO! GROUPS LINKS 

    
    Visit your group "equismetastock" on the web.
    
    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. 

    
---------------------------------
  

  


Send instant messages to your online friends http://in.messenger.yahoo.com 

[Non-text portions of this message have been removed]





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/