Metastock Formula
Metastock Formula
me
Metastock Indicators Formula
Click here to go back to Metastock Formula Index
Me
taStock
Secrets
Fre Before you begin, if you haven't read the "The Search for the Holy
e MS Grail
Newslette & the Perfect Indicator" click here and scroll halfway down the page to
r
view it now.
Fre
e MS Also, click here to discover the amazingly simple secret to master
Formula Metastock step-by-step.
Bu
y MS
Formulas
FR ADX Raw
EE Videos Bang For The Buck
MS Coppock Indicator
Back Darvis Box - Based on "How I made 2 million on the
Testing stockmarket"
Dr Elder's Force Index
Tra
ding Elliot Wave Identification
Systems Fibonacci Trader- Fixed Balance Point- REVISED
Fibonacci Trader- Dynamic Balance Point
Ni
Gann High Low
colas
Gann-Swing
Darvas
Gann-Trend
Me Guppy MMA Oscillator
taStock Highest High
Links
MACD Histogram
Ra MA oscillator, Sine-weighted
ve Metastock Automatic Trendline Formula
Reviews Modified Williams %R Metastock Indicator
Ab Psychology Index
out Us Slope of a Linear Regression Line
Co Stochastic Momentum Indicator
ntact Us Resistence & Support
Sit Trailing Stoploss ATR Long
eMap True Strength Index
Zero Lag EMA
Zero Lag MACD
ADXRaw
Back to top
This indicator shows the possible dollar return (on a $10,000 account)
for a security on any given period. This is calculated by dividing a
$10,000 account by the closing price. This number is then multiplied
by
the average range of the security for the last 200 periods. The
interpretation is such that the higher the value, the higher the profit
potential.
((10000/C)* (Mov(ATR(1),200,S))/100)
Back to top
Mov(ROC(C,14,%)+ROC(C,11,%),10,W);0
Back to top
Periods:=Input("periods",1,260,260);
Topbox;
Botbox;
Back to top
FI:=(C-Ref(C,-1))*V;Mov(FI,13,E)
{Smoothed by 13 period exponential moving average}
(The following explanatory notes are taken from Trading for a Living
by Dr. Alexander Elder, Published by John Wiley & Sons, Inc, 1993)
Force Index can be used raw, but it works better if you smooth it
with a moving average. Force Index smoothed with a short MA
helps pinpoint entry and exit points. Force Index smoothed with
a long MA reveals major changes in the force of bulls and bears.
A 13-day EMA of Force Index tracks longer term changes in the force
of bulls and bears. When it crosses above its centerline, it shows the
bulls are in control. When it turns negative, it shows that bears are in
control. Divergences between 13-day EMA of Force Index and prices
identify important turning points.
Back to top
Mov(OscP(5,34,E,$),5,S)
The peaks of the histogram help identify waves 1, 3 and 5 and troughs
for waves 2 and 4. Use MetaStock line studies (both trendlines,
channels and fib retracements) for additional wave
identification/analysis. Of course, you can label the waves with the
text box.
Back to top
Mc1:=BarsSince(DayOfWeek()=1);
Fc1:=BarsSince(DayOfWeek()=5);
Fc2:=Ref(BarsSince(DayOfWeek()=5),-1)-1;
{Fixed Balance Point Calculation}
FBC:=If(Mc1=0 AND Fc1>2,
{then}(Ref(HHV(H,LastValue(mc1)),-1)+
Ref(LLV(L,LastValue(Mc1)),-1)+
Ref(C,-1))/3,
{else}If(Fc1=0 AND Mc1>5,
{then}(HHV(H,LastValue(Fc2))+
LLV(L,LastValue(Fc2))+C)/3,
{else}If(Fc1=0,
{then}(HHV(H,LastValue(Mc1))+
LLV(L,LastValue(Mc1))+C)/3,
{else}0)));
{Fixed Balance Point Plot}
FBP:=ValueWhen(1,FBC>0,FBC);
FBP;
Back to top
dt:=DayOfWeek();
DBC:=(HighestSince(5,DayOfWeek()=dt,H)+
LowestSince(5,DayOfWeek()=dt,L)+CLOSE)/3;
DBC
Back to top
{name: GANN-HiLo}
HLd:=If(CLOSE>Ref(Mov(H,3,S),-1),
{then}1,
{else}If(CLOSE<Ref(Mov(L,3,S),-1),
{then}-1,
{else}0));
HLv:=ValueWhen(1,HLd<>0,HLd);
HiLo:=If(HLv=-1,
{then}Mov(H,3,S),
{else}Mov(L,3,S));
HiLo;
Back to top
Back to top
Back to top
Trigger:=Input("Trigger Line",1,55,21);
SHORT:=(Mov(CLOSE,3,E)+Mov(CLOSE,5,E)+
Mov(CLOSE,8,E)+Mov(CLOSE,10,E)+
Mov(CLOSE,12,E)+Mov(CLOSE,15,E));
LONG:=(Mov(CLOSE,30,E)+Mov(CLOSE,35,E)+
Mov(CLOSE,40,E)+Mov(CLOSE,45,E)+
Mov(CLOSE,50,E)+Mov(CLOSE,60,E));
Short-Long;
Mov(Short-Long,Trigger,E);
0;
Indicator Name:- GMMACD %
Trigger:=Input("Trigger Line",1,55,21);
SHORT:=(Mov(CLOSE,3,E)+Mov(CLOSE,5,E)+
Mov(CLOSE,8,E)+Mov(CLOSE,10,E)+
Mov(CLOSE,12,E)+Mov(CLOSE,15,E));
LONG:=(Mov(CLOSE,30,E)+Mov(CLOSE,35,E)+
Mov(CLOSE,40,E)+Mov(CLOSE,45,E)+
Mov(CLOSE,50,E)+Mov(CLOSE,60,E));
((Short-Long)/Long)*100;
Mov(((Short-Long)/Long)*100,Trigger,E);
0;
Back to top
Back to top
MACD()-Mov(MACD(),9,E);0
Back to top
MA oscillator, Sine-weighted
By Jose Silva
SD:=30 {180/12};
S1:=Sin(1*SD)*C;
S2:=Sin(2*SD)*Ref(C,-1);
S3:=Sin(3*SD)*Ref(C,-2);
S4:=Sin(4*SD)*Ref(C,-3);
S5:=Sin(5*SD)*Ref(C,-4);
S6:=Sin(6*SD)*Ref(C,-5);
S7:=Sin(7*SD)*Ref(C,-6);
S8:=Sin(8*SD)*Ref(C,-7);
S9:=Sin(9*SD)*Ref(C,-8);
S10:=Sin(10*SD)*Ref(C,-9);
S11:=Sin(11*SD)*Ref(C,-10);
den:=
Sin(SD)+Sin(2*SD)+Sin(3*SD)+Sin(4*SD)+Sin(5*SD);
SWMA:=(S1+S2+S3+S4+S5)/den;
den:=Sin(SD)+Sin(2*SD)+Sin(3*SD)+Sin(4*SD)
+Sin(5*SD)+Sin(6*SD)+Sin(7*SD)+Sin(8*SD)
+Sin(9*SD)+Sin(10*SD)+Sin(11*SD);
SWosc:=(S1+S2+S3+S4+S5+S6+S7+S8+S9+S10+S11)/den;
SWoscNorm:=(SWosc-LLV(SWosc,pds))
/(HHV(SWosc,pds)-LLV(SWosc,pds)+.000001)*100;
SWoscNorm:=If(pds<2,SWosc,SWoscNorm);
up:=SWoscNorm>Ref(SWoscNorm,-1)
AND SWMA<Ref(SWMA,-1);
dw:=SWoscNorm<Ref(SWoscNorm,-1)
AND SWMA>Ref(SWMA,-1);
If(plot=1,SWoscNorm,If(plot=2,SWMA,up+-dw))
Back to top
This formula will draw a trendline from the most recent bottom.
The L (low) can be changed to C (close) and the 10 can be
changed to a different percent value. You will also need to change
the line style to the last one in the drop down list.
Back to top
{All I have done here is to substitute High and Low of any bar with
that of Bollinger Band Top and Bollinger Band Bottom. I have tested
it on various time periods (for Bollinger Bands) using 2 standard
deviations. It sometimes gives an early indication of reversals than
the Williams %R of the same period. Divergences have also been
somewhat better. However, the structure shows that most of its
properties are similar to those of the Williams %R or, for that matter
, of any other overbought-oversold indicator.}
Back to top
Psychology Index -
Metastock Indicator Formula
by Glenn Wallace
- Futures Magazine, Vol.29 No.6, June 2000, P.48
Back to top
Resistance and Support - Metastock Indicator Formula
Back to top
tp:=Input("Time Periods",1,200,21);
((tp*(Sum(Cum(1)*C,tp)))-(Sum(Cum(1),tp)*(Sum(C,tp))))/
((tp*Sum(Pwr(Cum(1),2),tp))- Pwr(Sum(Cum(1),tp),2))
Back to top
Back to top
This ATR based indicator is ideal for existing long trades. When
plotted on a chart we will be prompted for the trade entry date
and the multiple of ATR we wish to use as the trailing exit.
Back to top
Back to top
Back to top
EMA1:= Mov(CLOSE,13,E);
EMA2:= Mov(EMA1,13,E);
Difference:= EMA1 - EMA2;
ZeroLagEMA13:= EMA1 + Difference;
EMA1:= Mov(CLOSE,21,E);
EMA2:= Mov(EMA1,21,E);
Difference:= EMA1 - EMA2;
ZeroLagEMA21:= EMA1 + Difference;
ZeroLagMACD:=ZeroLagEMA13 - ZeroLagEMA21;
ZeroLagMACD
Back to top
To learn more about how to use Metastock and its formula click here.