Metastock Formulas I


Metastock Formulas - I Strona 1
Metastock Formulas - I
Click here to go back to Metastock Formula Inex
Home
These formulas aren't my complete
IMPORTANT:
MetaStock Secrets
collectlon. For my complete collectlon of lnstantly usable,
Free MS Newsletter
profltable and powerful MetaStock formulas Cllck Here
Free MS Formula
Buy MetaStock
Buy MS Formulas
Would You Llke To Use MetaStock To Its Full Potentlal? Dlscover the
Amazlngly Slmple Secret to Master Metastock Step-By-Step - click here
FREE Vldeos
MS Back Testlng
A | A 1 | B | B 1 | C | C 1 | D | D 1 | E | F | G | H | I | J | K | L | M | M 1 | N
Tradlng Systems
| O | P | R | S | S 1 | T | U | V | W | Z |
Nlcolas Darvas
Improved Chandeleir Exit
MetaStock Llnks
Instantaneous Trendline & Sinewave Indicator as described by John Ehlers
Instantaneous Trendline and Sinewave Indicator
Rave Revlews
INSYNC Index
Investor Preference Index
About Us
Improved Chandeleir Exit
Contact Us
A few weeks ago when the ChandeIIer ExIt was posted to on our board board, I
SlteMap
asked If there was a faster versIon of It. On my (sIowpoke) 200 Mhz PC at
home, It took about 1 to 2 mInutes to caIcuIate the formuIa on a sIngIe
stock.
Anyway, I dId not hear of any feasIbIe soIutIons. Last nIght, upon readIng
about the 25X25 system on thIs sIte , It struck me that the orIgInaI
ChandeIIer ExIt (see beIow) had a whoIe bunch of PREV statements In It. I'm
sure everyone knows where I'm goIng wIth thIs by now.
Anyway, here Is how the code (at Ieast thIs IteratIon) shouId be modIfIed to
speed up the caIcuIatIon by a factor of 5. BasIcaIIy, we move PREV Into a
varIabIe vPREV prIor to usIng It (so that It Is onIy caIcuIate once) In the
Iong and short exIts. Here Is the code for the Iong exIt. I tested It wIth
the sampIe Entry RuIe and receIve the same resuIts In 1/5th the tIme. Just
modIfy the SHORT exIt In the same way. Hope thIs heIps everyone usIng It.
{DEFINE ENTRY PRICE, WITH EXIT BEING -- ENTRY PRICE AND NO TRADE BEING 0}
{Move PREV Into a varIabIe to speed thIngs up - DB 2/17/00}
vPREV:=PREV;
EntryPrIce:= If(vPREV <= 0,
{Trade entered today?}
If(LongEntry, CLOSE, 0),
{Trade entered before today. Stopped today?}
If(LOW <= vPREV - MoneyMgmtStop, -vPREV,
If(LOW <= HIghestSInce(1,vPREV=0, HIGH) - 3 * ATR(10), -vPREV,
If(LOW <= HIghestSInce(1,vPREV=0, CLOSE) - 2.5 * ATR(10), -vPREV,
vPREV))));
(Go Top)
Instantaneous Trendline & Sinewave Indicator as described by John Ehlers
Here are a few formula's that I picked up from a
mailing from George Angell
LSS 5 day Osc
X:=HHV(H,5)-Ref(O,-5);
Y:=C-LLV(L,5);
LSS:=100*(X+Y)/(HHV(H,5)-LLV(L,5))*2;
LSS;
LLS 5 DAY Osc DIff from 3 day osc
X:=HHV(H,5)-Ref(O,-5);
http://www.meta-formula.com/Metastock-Formulas-I.html 2014-10-14 14:03:44
Metastock Formulas - I Strona 2
Y:=C-LLV(L,5);
LSS:=100*(X+Y)/(HHV(H,5)-LLV(L,5))*2;
DIff:=LSS-Ref(LSS,-3);
DIff;
LLS Strength Index(1 day)
100*(Ref(C,-1)-Ref(L,-1))/(Ref(H,-1)-Ref(L,-1))
LLS PIvot Breakout Buy Number
X:=(H+L+C)/3;
BBN:=2*X-L;
BSN:=2*X-H;
BBN;
BSN;
(Go Top)
Instantaneous Trendline and Sinewave Indicator
by John Ehlers
Here Is the MetaStock 6.52 or hIgher formuIa code for the Instantaneous TrendIIne and
SInewave IndIcator as descrIbed by John EhIers In hIs artIcIe  At Last! A Trend-FrIendIy
OscIIIator . To ImpIement them the foIIowIng formuIas must be created In MetaStock s
IndIcator BuIIder. Each formuIa must be created separateIy and must be named exactIy as It
appears beIow. OnIy the Iast two formuIas are pIotted, so you may wIsh to prevent the
others from beIng dIspIayed In the IndIcator QuIckLIst by uncheckIng the  DIspIay In
QuIckLIst optIon when creatIng the formuIa.
To downIoad and InstaII the formuIas use the foIIowIng steps
DownIoad the MS65FORM.DTA fIIe Into a temp foIder
To DownIoad the fIIe for thIs formuIa cIIck MS65FORM.DTA
Use the foIIowIng InstructIons to Import the MS65FORM.DTA fIIe from the temp fIIe It was
downIoaded to.
1. Run MetaStock.
2. Choose IndIcator BuIIder from the TooIs menu.
3. CIIck the OrganIze button to Iaunch the FormuIa OrganIzer WIzard.
4. FoIIow the on-screen InstructIons.
Name: H cycIe count 1a
vaIue:= FmI("HIIbert cycIe perIod - 1a");
If(Sum(vaIue,6)>=360 AND Sum(vaIue,5)<360 ,6,0) +
If(Sum(vaIue,7)>=360 AND Sum(vaIue,6)<360 ,7,0) +
If(Sum(vaIue,8)>=360 AND Sum(vaIue,7)<360 ,8,0) +
If(Sum(vaIue,9)>=360 AND Sum(vaIue,8)<360 ,9,0) +
If(Sum(vaIue,10)>=360 AND Sum(vaIue,9)<360 ,10,0) +
If(Sum(vaIue,11)>=360 AND Sum(vaIue,10)<360 ,11,0) +
If(Sum(vaIue,12)>=360 AND Sum(vaIue,11)<360 ,12,0) +
If(Sum(vaIue,13)>=360 AND Sum(vaIue,12)<360 ,13,0) +
If(Sum(vaIue,14)>=360 AND Sum(vaIue,13)<360 ,14,0) +
If(Sum(vaIue,15)>=360 AND Sum(vaIue,14)<360 ,15,0)
Name: H cycIe count 2a
vaIue:= FmI("HIIbert cycIe perIod - 1a");
If(Sum(vaIue,16)>=360 AND Sum(vaIue,15)<360 ,16,0) +
If(Sum(vaIue,17)>=360 AND Sum(vaIue,16)<360 ,17,0) +
If(Sum(vaIue,18)>=360 AND Sum(vaIue,17)<360 ,18,0) +
If(Sum(vaIue,19)>=360 AND Sum(vaIue,18)<360 ,19,0) +
If(Sum(vaIue,20)>=360 AND Sum(vaIue,19)<360 ,20,0) +
If(Sum(vaIue,21)>=360 AND Sum(vaIue,20)<360 ,21,0) +
http://www.meta-formula.com/Metastock-Formulas-I.html 2014-10-14 14:03:44
Metastock Formulas - I Strona 3
If(Sum(vaIue,22)>=360 AND Sum(vaIue,21)<360 ,22,0) +
If(Sum(vaIue,23)>=360 AND Sum(vaIue,22)<360 ,23,0) +
If(Sum(vaIue,24)>=360 AND Sum(vaIue,23)<360 ,24,0) +
If(Sum(vaIue,25)>=360 AND Sum(vaIue,24)<360 ,25,0)
Name: H cycIe count 3a
vaIue:= FmI("HIIbert cycIe perIod - 1a");
If(Sum(vaIue,26)>=360 AND Sum(vaIue,25)<360 ,26,0) +
If(Sum(vaIue,27)>=360 AND Sum(vaIue,26)<360 ,27,0) +
If(Sum(vaIue,28)>=360 AND Sum(vaIue,27)<360 ,28,0) +
If(Sum(vaIue,29)>=360 AND Sum(vaIue,28)<360 ,29,0) +
If(Sum(vaIue,30)>=360 AND Sum(vaIue,29)<360 ,30,0) +
If(Sum(vaIue,31)>=360 AND Sum(vaIue,30)<360 ,31,0) +
If(Sum(vaIue,32)>=360 AND Sum(vaIue,31)<360 ,32,0) +
If(Sum(vaIue,33)>=360 AND Sum(vaIue,32)<360 ,33,0) +
If(Sum(vaIue,34)>=360 AND Sum(vaIue,33)<360 ,34,0) +
If(Sum(vaIue,35)>=360 AND Sum(vaIue,34)<360 ,35,0)
Name: H Ip sum 1
pd:=Int(FmI("HIIbert cycIe perIod - fInaI-a"));
pr:=(H+L)/2;
(Cos(0)*pr)+
(Cos(360*(1/pd))*Ref(pr,-1))+
(Cos(360*(2/pd))*Ref(pr,-2))+
(Cos(360*(3/pd))*Ref(pr,-3))+
(Cos(360*(4/pd))*Ref(pr,-4))+
(Cos(360*(5/pd))*Ref(pr,-5))+
If(pd>6, Cos(360*(6/pd))*Ref(pr,-6), 0)+
If(pd>7, Cos(360*(7/pd))*Ref(pr,-7), 0)+
If(pd>8, Cos(360*(8/pd))*Ref(pr,-8), 0)+
If(pd>9, Cos(360*(9/pd))*Ref(pr,-9), 0)+
If(pd>10, Cos(360*(10/pd))*Ref(pr,-10), 0)+
If(pd>11, Cos(360*(11/pd))*Ref(pr,-11), 0)+
If(pd>12, Cos(360*(12/pd))*Ref(pr,-12), 0)+
If(pd>13, Cos(360*(13/pd))*Ref(pr,-13), 0)+
If(pd>14, Cos(360*(14/pd))*Ref(pr,-14), 0)
Name: H Ip sum 2
pd:=Int(FmI("HIIbert cycIe perIod - fInaI-a"));
pr:=(H+L)/2;
If(pd>15, Cos(360*(15/pd))*Ref(pr,-15), 0)+
If(pd>16, Cos(360*(16/pd))*Ref(pr,-16), 0)+
If(pd>17, Cos(360*(17/pd))*Ref(pr,-17), 0)+
http://www.meta-formula.com/Metastock-Formulas-I.html 2014-10-14 14:03:44
Metastock Formulas - I Strona 4
If(pd>18, Cos(360*(18/pd))*Ref(pr,-18), 0)+
If(pd>19, Cos(360*(19/pd))*Ref(pr,-19), 0)+
If(pd>20, Cos(360*(20/pd))*Ref(pr,-20), 0)+
If(pd>21, Cos(360*(21/pd))*Ref(pr,-21), 0)+
If(pd>22, Cos(360*(22/pd))*Ref(pr,-22), 0)+
If(pd>23, Cos(360*(23/pd))*Ref(pr,-23), 0)+
If(pd>24, Cos(360*(24/pd))*Ref(pr,-24), 0)
Name: H Ip sum 3
pd:=Int(FmI("HIIbert cycIe perIod - fInaI-a"));
pr:=(H+L)/2;
If(pd>25, Cos(360*(25/pd))*Ref(pr,-25), 0)+
If(pd>26, Cos(360*(26/pd))*Ref(pr,-26), 0)+
If(pd>27, Cos(360*(27/pd))*Ref(pr,-27), 0)+
If(pd>28, Cos(360*(28/pd))*Ref(pr,-28), 0)+
If(pd>29, Cos(360*(29/pd))*Ref(pr,-29), 0)+
If(pd>30, Cos(360*(30/pd))*Ref(pr,-30), 0)+
If(pd>31, Cos(360*(31/pd))*Ref(pr,-31), 0)+
If(pd>32, Cos(360*(32/pd))*Ref(pr,-32), 0)+
If(pd>33, Cos(360*(33/pd))*Ref(pr,-33), 0)+
If(pd>34, Cos(360*(34/pd))*Ref(pr,-34), 0)
Name: H rp sum 1
pd:=Int(FmI("HIIbert cycIe perIod - fInaI-a"));
pr:=(H+L)/2;
(SIn(0)*pr)+
(SIn(360*(1/pd))*Ref(pr,-1))+
(SIn(360*(2/pd))*Ref(pr,-2))+
(SIn(360*(3/pd))*Ref(pr,-3))+
(SIn(360*(4/pd))*Ref(pr,-4))+
(SIn(360*(5/pd))*Ref(pr,-5))+
If(pd>6, SIn(360*(6/pd))*Ref(pr,-6), 0)+
If(pd>7, SIn(360*(7/pd))*Ref(pr,-7), 0)+
If(pd>8, SIn(360*(8/pd))*Ref(pr,-8), 0)+
If(pd>9, SIn(360*(9/pd))*Ref(pr,-9), 0)+
If(pd>10, SIn(360*(10/pd))*Ref(pr,-10), 0)+
If(pd>11, SIn(360*(11/pd))*Ref(pr,-11), 0)+
If(pd>12, SIn(360*(12/pd))*Ref(pr,-12), 0)+
If(pd>13, SIn(360*(13/pd))*Ref(pr,-13), 0)+
If(pd>14, SIn(360*(14/pd))*Ref(pr,-14), 0)
Name: H rp sum 2
pd:=Int(FmI("HIIbert cycIe perIod - fInaI-a"));
pr:=(H+L)/2;
http://www.meta-formula.com/Metastock-Formulas-I.html 2014-10-14 14:03:44
Metastock Formulas - I Strona 5
If(pd>15, SIn(360*(15/pd))*Ref(pr,-15), 0)+
If(pd>16, SIn(360*(16/pd))*Ref(pr,-16), 0)+
If(pd>17, SIn(360*(17/pd))*Ref(pr,-17), 0)+
If(pd>18, SIn(360*(18/pd))*Ref(pr,-18), 0)+
If(pd>19, SIn(360*(19/pd))*Ref(pr,-19), 0)+
If(pd>20, SIn(360*(20/pd))*Ref(pr,-20), 0)+
If(pd>21, SIn(360*(21/pd))*Ref(pr,-21), 0)+
If(pd>22, SIn(360*(22/pd))*Ref(pr,-22), 0)+
If(pd>23, SIn(360*(23/pd))*Ref(pr,-23), 0)+
If(pd>24, SIn(360*(24/pd))*Ref(pr,-24), 0)
Name: H rp sum 3
pd:=Int(FmI("HIIbert cycIe perIod - fInaI-a"));
pr:=(H+L)/2;
If(pd>25, SIn(360*(25/pd))*Ref(pr,-25), 0)+
If(pd>26, SIn(360*(26/pd))*Ref(pr,-26), 0)+
If(pd>27, SIn(360*(27/pd))*Ref(pr,-27), 0)+
If(pd>28, SIn(360*(28/pd))*Ref(pr,-28), 0)+
If(pd>29, SIn(360*(29/pd))*Ref(pr,-29), 0)+
If(pd>30, SIn(360*(30/pd))*Ref(pr,-30), 0)+
If(pd>31, SIn(360*(31/pd))*Ref(pr,-31), 0)+
If(pd>32, SIn(360*(32/pd))*Ref(pr,-32), 0)+
If(pd>33, SIn(360*(33/pd))*Ref(pr,-33), 0)+
If(pd>34, SIn(360*(34/pd))*Ref(pr,-34), 0)
Name: H TL sum 1
vaIue:=Int(FmI("HIIbert cycIe perIod - fInaI-a"));
If(vaIue=6, Mov((H+L)/2,8,S),0) +
If(vaIue=7, Mov((H+L)/2,9,S),0) +
If(vaIue=8, Mov((H+L)/2,10,S),0) +
If(vaIue=9, Mov((H+L)/2,11,S),0) +
If(vaIue=10, Mov((H+L)/2,12,S),0) +
If(vaIue=11, Mov((H+L)/2,13,S),0) +
If(vaIue=12, Mov((H+L)/2,14,S),0) +
If(vaIue=13, Mov((H+L)/2,15,S),0) +
If(vaIue=14, Mov((H+L)/2,16,S),0) +
If(vaIue=15, Mov((H+L)/2,17,S),0)
Name: H TL sum 2
vaIue:=Int(FmI("HIIbert cycIe perIod - fInaI-a"));
If(vaIue=16, Mov((H+L)/2,18,S),0) +
If(vaIue=17, Mov((H+L)/2,19,S),0) +
If(vaIue=18, Mov((H+L)/2,20,S),0) +
http://www.meta-formula.com/Metastock-Formulas-I.html 2014-10-14 14:03:44
Metastock Formulas - I Strona 6
If(vaIue=19, Mov((H+L)/2,21,S),0) +
If(vaIue=20, Mov((H+L)/2,22,S),0) +
If(vaIue=21, Mov((H+L)/2,23,S),0) +
If(vaIue=22, Mov((H+L)/2,24,S),0) +
If(vaIue=23, Mov((H+L)/2,25,S),0) +
If(vaIue=24, Mov((H+L)/2,26,S),0) +
If(vaIue=25, Mov((H+L)/2,27,S),0)
Name: H TL sum 3
vaIue:=Int(FmI("HIIbert cycIe perIod - fInaI-a"));
If(vaIue=26, Mov((H+L)/2,28,S),0) +
If(vaIue=27, Mov((H+L)/2,29,S),0) +
If(vaIue=28, Mov((H+L)/2,30,S),0) +
If(vaIue=29, Mov((H+L)/2,31,S),0) +
If(vaIue=30, Mov((H+L)/2,32,S),0) +
If(vaIue=31, Mov((H+L)/2,33,S),0) +
If(vaIue=32, Mov((H+L)/2,34,S),0) +
If(vaIue=33, Mov((H+L)/2,35,S),0) +
If(vaIue=34, Mov((H+L)/2,36,S),0) +
If(vaIue=35, Mov((H+L)/2,37,S),0)
Name: HIIbert cycIe perIod - 1a
vaIue1:=((H+L)/2) - Ref(((H+L)/2),-6);
vaIue2:= Ref(vaIue1,-3);
vaIue3:=0.75*(vaIue1-Ref(vaIue1,-6)) + 0.25*(Ref(vaIue1,-2)-Ref(vaIue1,-4));
Inphase:= 0.33 * vaIue2 + (0.67 * PREV);
quad:= 0.2 * vaIue3 + ( 0.8 * PREV);
p1:=Atan(Abs(quad+Ref(quad,-1)),Abs(Inphase+Ref(Inphase,-1)));
phase:=If(Inphase<0 AND quad>0, 180-p1,
If(Inphase<0 AND quad<0, 180+p1,
If(Inphase>0 AND quad<0, 360-p1,p1)));
dp:=If(Ref(phase,-1)<90 AND phase>270, 360+Ref(phase,-1)-phase,Ref(phase,-1)-phase)
;
dp2:=If(dp < 1, 1,
If(dp > 60, 60, dp));
dp2
Name: HIIbert cycIe perIod - fInaI-a
c1:= FmI( "H cycIe count 1a") + FmI( "H cycIe count 2a") + FmI( "H cycIe count 3a") ;
c2:=If(c1=0,PREV,c1);
(0.25*c2) + (0.75*PREV)
http://www.meta-formula.com/Metastock-Formulas-I.html 2014-10-14 14:03:44
Metastock Formulas - I Strona 7
Name: Instantaneous Trend LIne
pr:=(H+L)/2;
(FmI("H TL sum 1") + FmI("H TL sum 2") + FmI("H TL sum 3"));
0.33*(pr + (0.5*(pr-Ref(pr,-3)))) + (0.67*PREV)
Name: SInewave IndIcator
pd:=Int(FmI("HIIbert cycIe perIod - fInaI-a"));
cp:=FmI("HIIbert cycIe perIod - fInaI-a");
Ip:=FmI( "H Ip sum 1") + FmI( "H Ip sum 2") +
FmI( "H Ip sum 3");
rp:=FmI( "H rp sum 1") + FmI( "H rp sum 2") +
FmI( "H rp sum 3");
dc1:=If(Abs(Ip)>0.001, Atan(rp/Ip,1), 90*If(rp>=0,1,-1));
dc2:=If(pd<30 AND cp>0,dc1+((6.818/cp - 0.227)*360),dc1);
dc3:=If(Ip<0, dc2+270, dc2+90);
dcp:=If(dc3>315, dc3-360, dc3);
SIn(dcp);
SIn(dcp+45)
(Go Top)
INSYNC Index
The formuIa from EquIs: Insync Index (rev. 01/06/97)
The InterpretatIon for the foIIowIng formuIas came from the artIcIe "The Insync Index", by
Norm North, In TechnIcaI AnaIysIs of Stocks & CommodItIes Jan 1995.
AII of these formuIas are necessary for the Iast one, Insync Index to run properIy. They are
IIsted In the order In whIch they shouId be copIed and pasted Into the MetaStock FormuIa
BuIIder
BOLInSLB
Mov( C ,20 ,S ) - 2 * ( Std( C ,20 ) )
BOLInSUB
Mov( C ,20 ,S ) + 2 * ( Std( C ,20 ) )
BOLInS2
( C - FmI( "BOLInSLB" ) ) / ( FmI( "BOLInSUB" ) - FmI( "BOLInSLB" ) )
BOLInSLL
If( FmI( "BOLInS2" ) ,< , .05 ,-5 ,If( FmI( "BOLInS2" ) ,> ,.95 ,5 ,0 ) )
CCIInS
If( CCI(14 ) ,> ,100 ,5 ,If ( CCI(14 ) ,< ,-100 ,-5 ,0 ) )
EMVInS2
EMV(10 ,S ) - Mov( EMV(10 ,S) ,10 ,S )
EMVInSB
If( FmI( "EMVInS2" ) ,< ,0 ,If( Mov( EMV(10 ,S ) ,10 ,S ) ,< ,0 ,-5 ,0 ) ,0 )
EMVInSS
If( FmI( "EMVInS2" ) ,> ,0 ,If( Mov( EMV(10 ,S ) ,10 ,S ) ,> ,0 ,5 ,0 ) ,0 )
MACDInS2
MACD( ) - Mov( MACD( ) ,10 ,S )
MACDInSB
If( FmI( "MACDInS2" ) ,< ,0 ,If( Mov( MACD( ) ,10 ,S ) ,< ,0 ,-5 ,0 ) ,0 )
MACDInSS
If( FmI( "MACDInS2" ) ,> ,0 ,If( Mov( MACD( ) ,10 ,S) ,> ,0 ,5 ,0 ) ,0 )
http://www.meta-formula.com/Metastock-Formulas-I.html 2014-10-14 14:03:44
Metastock Formulas - I Strona 8
MFIInS
If( MFI( 20 ) ,> ,80 ,5 , If( MFI( 20 ) ,< ,20 ,-5 ,0 ) )
PDOInS2
DPO( 18 ) - Mov( DPO( 18 ) ,10 ,S )
PDOInSB
If( FmI( "PDOInS2" ) ,< ,0 ,If( Mov( DPO( 18 ) ,10 , S) ,< ,0 ,-5 ,0 ) ,0 )
PDOInSS
If( FmI( "PDOInS2" ) ,> ,0 ,If( Mov( DPO ( 18 ) ,10 ,S) ,> ,0 ,5 ,0 ) ,0 )
ROCInS2
ROC( C ,10 ,$ ) - Mov( ROC( C ,10 ,$ ) ,10 ,S )
ROCInSB
If( FmI( "ROCInS2" ) ,< ,0 ,If( Mov( ROC( C ,10 ,$ ) ,10 ,S ) ,< ,0 ,-5 ,0 ) ,0 )
ROCInSS Index
If( FmI( "ROCInS2" ) ,> ,0 ,If( Mov( ROC( C ,10 ,$ ) ,10 ,S ) ,> ,0 ,5 ,0 ) ,0 )
RSIInS
If( RSI(14 ) ,> ,70 ,5 ,If( RSI(14 ), < ,30 ,-5 ,0 ) )
STO%dInS
If( Stoch(14 ,3 ) ,> ,80 ,5 ,If( Stoch(14 ,3 ) ,< ,20 ,-5 ,0 ) )
STO%kInS
If( Stoch(14 ,1) ,> ,80 ,5 ,If( Stoch(14 ,1 ) ,< ,20 ,-5 ,0 ) )
InSync Index
50 + FmI( "CCIInS" ) + FmI( "BOLInSLL" ) + FmI( "RSIInS" ) + FmI( "STO%kInS " ) +
FmI( "STO%dInS" ) + FmI( "MFIInS" ) + FmI( "EMVInSB" ) + FmI( "EMVInSS" ) +
FmI( "ROCInSS" ) + FmI( "ROCInSB" ) + Ref (FmI( "PDOInSS" ) ,-10 ) +
Ref (FmI( "PDOInSB" ) ,-10 ) + FmI( "MACDInS S" ) + FmI( "MACDInSB" )
These formulas were provided by Barry Millman. All questions should be addressed to him at
73374.1364@Compuserve.com.
Mr. MIIIman wrote these formuIas usIng many Custom FormuIa sIots for cIarIty and ease of
understandIng. PIease note that the fInaI formuIa `InSync Index' requIres aII of the prevIous
formuIas to be correct.
(Go Top)
Investor Preference Index
This indicator was discussed in the December 1997 Technical Analysis of Stocks &
Commodities magazine, page 19. The article was written by Cyril V. Smith Jr.
"ThIs IndIcator, a Iong - term stock market Investment tooI, compares the performance of
the S&P 500 to the New York Stock Exchange Index to measure sentIment. The theory Is
that Investors have a preference for certaIn types of Investments, bIue chIps versus mId-
cap, durIng phases of a buII market."
To pIot thIs In MetaStock for WIndows, foIIow these InstructIons. When compIete, If you save
thIs as a chart, you wIII sImpIy need to Ioad the chart and It wIII recaIcuIate usIng the
newest data.
Open a chart of the S&P 500.
Open a chart of the New York Stock Exchange Index.
Drag the S&P 500 prIce pIot Into the NYSE chart.
Drop the IndIcator IIsted beIow on the pIot of the S&P 500. The pIot wIII turn a
dIfferent coIor when you are poIntIng at It.
The resuItant pIot Is the Investor Preference Index.
FormuIa: Investor Preference Index:
(Sum(Mov(ROC(Log(C),24,%)-ROC(Log(P),24,%),15,S)-Mov(ROC(Log(C),24,%)-
ROC(Log(P),24,%),38,S),54)+1)*100
System test:
Enter Long
C=HHV(C,26)
CIose Long
FmI("Investor Preference Index")<97.6 AND ROC(FmI("Investor Preference Index"),2,$)<=(-
.04)
http://www.meta-formula.com/Metastock-Formulas-I.html 2014-10-14 14:03:44
Metastock Formulas - I Strona 9
(Go Top)
If you have Metastock formulas you would llke to share,
Please emall to
We look forwar to hearing from you!
To learn more about how to use Metastock and lts formula cllck here.
copyright 2003 MetaStock Website Home
Metastock® is a registered trademark of Equis International.
http://www.meta-formula.com/Metastock-Formulas-I.html 2014-10-14 14:03:44


Wyszukiwarka

Podobne podstrony:
Metastock Formulas D 1
Metastock Formulas L
Metastock Formulas K
Metastock Formulas O
Metastock Formulas F
Metastock Formulas T
Metastock Formulas S 1
Metastock Formulas D
Metastock Formulas N
Metastock Formulas M 1
Metastock Formulas S
Metastock Formulas G
Metastock Formulas J
Metastock Formulas H
Metastock Formulas H
Metastock Formulas U
Metastock Formulas B 1
Metastock Formulas P

więcej podobnych podstron