ema formula for explorer !!!!!

#1
ema formula for explorer !!!! help

hi all,
i want a metastock explorer formula and i have been searching for it among various sites and m unable to find it....
Can you please give me a formula for metastock exploration exponential moving average of 5 and 13 days(signal) ....on closing basis.... which gives buy signal if moving average 5 days crosses mov avg of 13 days ....and sell signal if mov avg of 13 days crosses moving average 5 days on a particular day? !!!Please Help me!!

Thx
 
Last edited:
#2
Re: ema formula for explorer !!!! help

hi all,
i want a metastock explorer formula and i have been searching for it among various sites and m unable to find it....
Can you please give me a formula for metastock exploration exponential moving average of 5 and 13 days(signal) ....on closing basis.... which gives buy signal if moving average 5 days crosses mov avg of 13 days ....and sell signal if mov avg of 13 days crosses moving average 5 days on a particular day? !!!Please Help me!!

Thx
colA:BUY

x:=Mov(C,5,E);
y:=Mov(C,13,E);
Cross(x,y)

colB:Sell
x:=Mov(C,5,E);
y:=Mov(C,13,E);
Cross(y,x)

Filter:
colA OR colB
******************************************
Try the above formulas and enjoy it....
Have a nice day...!!!
 
#4
hi, whenever i use expolorer in real time data it gets hang and not able to display report
can u help me out sort out this problem
 
#5
Hi friends,
ANYBODY CAN HELP ME TO GET A METASTOCK SOFTWARE WHICH SHOWS BUY AND SELL SIGNALS-MOVING AVERAGES OF EXPONENTIAL MOVING AVERAGE OF 5 DAYS AND 13 DAYS. sOMEBODY TOLD THIS WILL WORK BETTER. PLEASE HELP ME . GOPI
 
#6
you have to plot the two moving averages in metastock and change color and watch for its cross. if you want to plot with buy and sell signals you have to use expertadvisor in metastock
 
#7
Re: ema formula for explorer !!!! help

colA:BUY

x:=Mov(C,5,E);
y:=Mov(C,13,E);
Cross(x,y)

colB:Sell
x:=Mov(C,5,E);
y:=Mov(C,13,E);
Cross(y,x)

Filter:
colA OR colB
******************************************
Try the above formulas and enjoy it....
Have a nice day...!!!
Hi kargocu
Can u please help me to write an expert for MS to give buy signals on cross over of 5 and 6 EMA but only if 13 ema is above 21 ema?
many thanks
S
 

rkkarnani

Well-Known Member
#8
Re: ema formula for explorer !!!! help

Hi kargocu
Can u please help me to write an expert for MS to give buy signals on cross over of 5 and 6 EMA but only if 13 ema is above 21 ema?
many thanks
S
a:= Mov(C,13,E);
b:= Mov(C,21,E);

Cross((Mov(C,5,E)),((Mov(C,6,E))))
AND a>b

There is short coming to this Expert. It is Long Only and also note that when 5, crosses 6 but 13 is below 21 it shall not give a buy signal, however at a later stage the 5 may remain above and 13 also goes above 21 but u wont get a signal becoz at the time of 5 crossing 6, 13 was below 21 only. You probably need to change your strategy a bit.
Would it be fine if we say that we are long when 5>6 and 13>21
and if reverse is true for Sell you may try this simple formula :
Buy (Colour it Blue)
a:= Mov(C,13,E);
b:= Mov(C,21,E);
x:= Mov(C,5,E);
y:= Mov(C,6,E);
x<y AND a<b

Sell (Colour it Red)
a:= Mov(C,13,E);
b:= Mov(C,21,E);
x:= Mov(C,5,E);
y:= Mov(C,6,E);
x>y AND a>b

Whenevr theseconditiona are not met the colour of the bars/candles shallremain black.

Hope I am correct. :p
 
#9
MSChart.png

Hi rkkarnani
As a direct result of your help , i have prduced this sytem, the chart of which i am attaching with this post. I have tried to post the chart here using the method shown in "welcome" but it didnt work.

i hope you manage to open this attachment. the system rules are that you take the buy signals only on the blue bar and when the ribon underneath is in bullish zome. and reverse for the sell signal.

pls let me have your view.
many thanks once again
shah
 
#10
WOW, Insted of link the chart opened here. that's magic.
As this system involves MA, can these be optimised for a particular stock?

My next task is to write the Stops on the Expert and then write the exploration for this. Also, how can i include this system in the list of enhanced system tester" so that i can back test it?

Once again, many thanks
S
 

Similar threads