Metastock Formula

D

darsh_goswami

Guest
#72
Hello all
i am working on trends,
A trend is up if its ema of current period is greater then the ema of the last period and vice versa.

Now suppose i have defined Bull:=(MOV(C,3,E);

now what i want is that it calculates the previous period value of the bull and and if the privious period value is less then the current period value then the trend is up and vice versa.

i cannot find any function to calculate the previous bar value


What i want is to work with loop or if there is any other way pls guide me.
thanks in advance

Dear Vivek ,

Hereby giving u a simple highlight expert of ur requirements.

Go to Expert Adviser > New > Name it < anything u want >

Go to highlight tab

New > Name Bull Trend > Color Blue

Bull:=(Mov(C,3,E));
If(Bull>Ref(Bull,-1),1,0);

Press ok.

New > Name Bear Trend > color Red

Bull:=(Mov(C,3,E));
If(Bull<Ref(Bull,-1),1,0);

Press ok ...

Hope this is what u want ,..

And better study Metastock formulle guide ,.. Its simple.

Regards,..
Darsh
 
D

darsh_goswami

Guest
#74
Thanks Darsh

this is what i wanted, i tried searching ms formula guide but coudn't find it.

thanks again for helping me out
Go to forum.equis.com

Register there , and u will get metastock formulle premier from there.

Its free and open for study.

Best luck ,..

Regards,
Darsh
 
#75
i tried searching ms formula guide but coudn't find it.
Metastock Books:
1) BroadMarket Indicators
2) Dynamic Trading tools
3) Metastock Formulabook
4) Metastock Pro Manual
5) Point and Figure toolbox
6) PowerPivots 80
7) Code snippets for Metastock

http://r.a.p.i.d.share.com/files/5400645/Books_for_Metastock.rar.html
P.S.: ERASE full stop from r.a.p.i.d.share then use link

(moneypick)
 

AW10

Well-Known Member
#76
Hello all
i am working on trends,
A trend is up if its ema of current period is greater then the ema of the last period and vice versa.

Now suppose i have defined Bull:=(MOV(C,3,E);

now what i want is that it calculates the previous period value of the bull and and if the privious period value is less then the current period value then the trend is up and vice versa.

i cannot find any function to calculate the previous bar value


What i want is to work with loop or if there is any other way pls guide me.
thanks in advance
This is how I will implement it..
1) Goto create new explorer - EMA Trend Explorer
2) On Tab-A, Mov(C,10,E) - this will give 10 day exponential moving average on Close in Column A of the report
3) On Tab-B, Mov(ref(C,-1),10,E) - this will create 10 day exponential moving average on Close for PREV Day (ref -1 is used to refer C of -1 day) in Column B of the report
4) Goto Tab-FILTER and write condition ColA>ColB -- this will filter the scrips where ColA i.e. 10dma of today is greater then ColB i.e. 10dma of prev day)

Run this explorer on your selected list of scrips. The output report will have the required outcome.

To extend it further, I will ignore the filter criteria and just get the 2 EMA values in colA and ColB. I will paste the output in Excel and manipulate the data (by write formulas / filter /sorting ) in whatever way I want.

Hope this helps you.
Happy Trading.
 
#78
by the way i am getting to many wipsaws

u can see the below chart

as i am a very inexperianced trader, i would like you guy to review the chart and tell if this is good enuff to trade,

if its green i buy and if its red i short
and if the is any other strategy you guys use against wipsaws or is there any other strategy to book profit in time?
 

Attachments

D

darsh_goswami

Guest
#79
Moving Avg based indicators normally gives whipsaws ...

Depends on what type of trader u r . There r plenty techniques, This site is full of such stuff. So just surf around and have fun.

Cheers

Darsh
 
#80
Hi Darsh,

Need ur help for Metastock indicator formula for NH-NL Index calculated over 52 week periods.

Looking forward for ur reply.

Thanx and Regards
veena
 

Similar threads