Metamaster

#11
Dear members,

Here I post some of my METASTOCK EOD formulas. Below is one of them.



{NAME:BASU'S TRENDS}
pt:= FmlVar("BASU'S POINT THEORY","bPT");{already there in my previous posts}
ah:=ROC(H,4,$)-ROC(H,1,$)+Mov(H,6,E);
al:=ROC(L,4,$)-ROC(L,1,$)+Mov(L,6,E);
ac:=ROC(C,4,$)-ROC(C,1,$)+Mov(C,6,E);
ao:=ROC(O,4,$)-ROC(O,1,$)+Mov(O,6,E);

a:=If(ac>aO+7*pt,(aH+aC-ao-aL)*.8,
If(ac>aO+4*pt,(ac-al)*1.5,
If(ac>aO+2*pt,(ah-ao)*.5,
If(ac>aO-2*pt,(ao-ah)*.6,
If(ac>aO-4*pt,(al-ao)*.5,
If(ac>aO-7*pt,(ac-ah)*1.5,(ac-ao+al-ah)*.8))))));

a1:=If(a>8*pt,ah-a*.8,
If(a>5*pt,ah-a,
If(a>3*pt,aH-a,
If(a>2*pt,(aC+ao)/2-a*2,
If(a>pt,aC-a*2,
If(a>O,aO-a*3,
If(a>-pt,aO-a*3,
If(a>-2*pt,aC-a*2,
If(a>-3.5*pt,(aC+ao)/2-a*2,
If(a>-5*pt,aL-a,
If(a>-8*pt,al-a,al-a*.8)))))))))));
Mov((O-a+a1)/2,2,E)

{(TREND: BUY: BLUE)
fml("BASU'S TRENDS ")<c

(TREND: SELL: RED)
fml("BASU'S TRENDS")>c}

BASUDEO
 
#12
Dear members,

Here I post some of my METASTOCK EOD formulas. Below is one of them.



{NAME:BASU'S TRENDS2}

pt:= FmlVar("BASU'S POINT THEORY","bPT");{already there in my previous posts}
ah:=ROC(H,5,$)-ROC(H,2,$)+Mov(Ref(H,-1),3,S);
al:=ROC(L,5,$)-ROC(L,2,$)+Mov(Ref(L,-1),3,S);
ac:=ROC(C,5,$)-ROC(C,3,$)+Mov(Ref(C,-1),3,E);
ao:=ROC(O,5,$)-ROC(O,3,$)+Mov(Ref(O,-1),3,E);

a:=If(C>O+7*pt,aH+aC-aO-aL,
If(C>O+4*pt,ah-al,
If(C>O+2*pt,ac-al,
If(C>O-2*pt,aC-aO,
If(C>O-4*pt,ac-ah,
If(C>O-7*pt,al-ah,aL+ac-ao-aH))))));

a1:=If(a>15*pt,aL+(ah-al)*.6,
If(a>10*pt,al+(ah-ao)*.9,
If(a>6*pt,al-(ac-al)*.2,
If(a>3*pt,ao-(ac-ao)*.3,
If(a>pt,ao-(ah-ao)*.5,
If(a>O,ao-(ah-al)*.8,
If(a>-pt,ao-(al-ah)*.8,
If(a>-3*pt,ao-(al-ao)*.5,
If(a>-6*pt,ao-(ac-ao)*.3,
If(a>-10*pt,ah-(ac-ah)*.2,
If(a>-15*pt,ah+(al-ao)*.9,aH+(al-ah)*.6)))))))))));


Mov(ROC(Mov(((ao-ac+ah-al)),1,S)+((ao+ac+ah+al)/4),1,$)+a1,3,E)

{(TREND: BUY: BLUE)
fml("BASU'S TRENDS2 ")<c

(TREND: SELL: RED)
fml("BASU'S TRENDS2")>c}

BASUDEO
 
Last edited:

renu daga

Well-Known Member
#13
basu ,,excellent ,,,though no one shares ones coding ,,because its hard effort and stil u ahve shared.. take help from asish da,, he is master of masters of metamaster,,,,as it is aish da is free now ,,for today.. did his quota of trading,,, and also his system is alos well set up.

asish da help him,,so that this thread becomes useful for evry new bies and tehy dont rely upon nay call giver and can themselves figure out agood buy/sell

renu
 
#14
Dear members,

Here I post some of my METASTOCK EOD formulas. Below is one of them.



{NAME:BASU'S TRENDS3}

pt:= FmlVar("BASU'S POINT THEORY","bPT");{already there in my previous posts}
ah:=ROC(H,5,$)-ROC(H,2,$)+Mov(Ref(H,-1),3,E);
al:=ROC(L,5,$)-ROC(L,2,$)+Mov(Ref(L,-1),3,E);
ac:=ROC(C,5,%)-ROC(C,3,%)+Mov(Ref(C,-1),3,E);
ao:=ROC(O,5,%)-ROC(O,3,%)+Mov(Ref(O,-1),3,E);

a:=If(aC>ao+7*pt,aH+aC-aO-aL,
If(aC>ao+4*pt,ah-al,
If(aC>ao+1.5*pt,ac-ao,
If(aC>ao-1.5*pt,(C-O)*2,
If(aC>ao-4*pt,ac-ao,
If(aC>ao-7*pt,al-ah,aL+ac-ao-aH))))));

a1:=If(a>8*pt,ao+a*.8,
If(a>5*pt,al+a*1.2,
If(a>2*pt,ac-a*.8,
If(a>O,ah-a*2,
If(a>-2*pt,al-a*1.5,
If(a>-5*pt,ao-a*.6,
If(a>-8*pt,ah+a*.9,ao+a*.6)))))));

Mov(Mov(ROC((ao+ac+ah+al)/4,1,$),2,S)+a1,2,E)

{(TREND: BUY: BLUE)
fml("BASU'S TRENDS3 ")<c

(TREND: SELL: RED)
fml("BASU'S TRENDS3")>c}

BASUDEO
 
#15
Dear members,

Here I post some of my METASTOCK EOD formulas. Below is one of them.



{NAME:BASU'S TRENDS4}

pt:= FmlVar("BASU'S POINT THEORY","bPT");{already there in my previous posts}
ah:=ROC(H,5,$)-ROC(H,2,$)+Mov(Ref(H,-2),2,S);
al:=ROC(L,5,$)-ROC(L,2,$)+Mov(Ref(L,-2),2,S);
ac:=ROC(C,5,$)-ROC(C,3,$)+Mov(Ref(C,-1),3,S);
ao:=ROC(O,5,$)-ROC(O,3,$)+Mov(Ref(O,-1),3,S);

a:=If(aC>ao+7*pt,aH+aC-aO-aL,
If(aC>ao+4*pt,ah-al,
If(aC>ao+1.5*pt,ac-ao,
If(aC>ao-1.5*pt,ac-al,
If(aC>ao-4*pt,ac-ao,
If(aC>ao-7*pt,al-ah,aL+ac-ao-aH))))));

a1:=If(a>15*pt,aL+(ah-al)*.4,
If(a>10*pt,al+(ah-ao)*.5,
If(a>6*pt,al+(ac-al)*.6,
If(a>3*pt,ao-(ah-al)*.7,
If(a>pt,ao-(ac-al)*.8,
If(a>O,ao-(ah-ac)*.9,
If(a>-pt,ao-(al-ac)*.9,
If(a>-3*pt,ao-(ac-ah)*.8,
If(a>-6*pt,ao-(al-ah)*.7,
If(a>-10*pt,ah+(ac-ah)*.6,
If(a>-15*pt,ah+(al-ao)*.5,aH+(al-ah)*.4)))))))))));

Mov(Mov(ROC((ao+ac+ah+al)/4,1,$),2,S)+a1,5,E)

{(TREND: BUY: BLUE)
fml("BASU'S TRENDS4 ")<c

(TREND: SELL: RED)
fml("BASU'S TRENDS4")>c}

BASUDEO
 
#16
Dear members,

Here I post some of my METASTOCK EOD formulas. Below is one of them.



{NAME:BASU'S TEST}

pt:= FmlVar("BASU'S POINT THEORY","bPT");{already there in my previous posts}
a:=If(C>O,H+C-O-L,L+C-O-H);
aa:=(ROC(a,1,$)+ROC(a,2,$))-(ROC(a,4,$)+ROC(a,3,$));
aaa:=If(aa>7*pt,O+.67*a,
If(aa>4*pt,O+.5*a,
If(aa>pt,O+.33*a,
If(aa>-pt,O+.25*a,
If(aa>-4*pt,O+.33*a,
If(aa>-7*pt,O+.5*a,O+.67*a))))));

bb:=(Mov(aaa,6,S)*6-6*C-(C-aaa)*6)/pt;
b:=Ref(bb,-1)-bb;

If(b<-29,L-5*pt,
If(b<-7,L,
If(b<7,(L+H)/2,
If(b<29,H,H+5*pt))));

{This formula is just the part of another formula so save it as it is.}

BASUDEO
 
#17
Dear members,

Here is the final version of my series formulas already posted in trhis group.

{NAME:BASU'S SYMBOLS}

Mov(ROC(Fml( "BASU'S TEST"),2,%)*.25+
Mov(Fml( "BASU'S TRENDS4"),2,S),2,E)


{(SYMBOL:BUY)
Fml( "BASU'S SYMBOLS")<L-1.5*FmlVar("BASU'S POINT THEORY","bPT")}

{(SYMBOL:SELL)
Fml( "BASU'S SYMBOLS")>h+1.5*FmlVar("BASU'S POINT THEORY","bPT")}

BASUDEO
 
Last edited:
#18
Re: Metastock Formula

Hello ,
Can anybody tell me how to edit a password protected formula file or how to open a password protect formula file?????
 
#19
Basu's Breakouts

Dear members,

Here I post my breakout formula for METASTOCK EOD version.

{NAME: BASU'S VOLUME}

a:=Mov(V,4,S)-Mov(V,7,S);
b:=Mov(V,11,S)-Mov(V,18,S);
aa:=a-2*b;
If(aa>V/1000,H+3*FmlVar("BASU'S POINT THEORY","bPT"),
If(aa>-V/1000,(L+H)/2,L-3*FmlVar("BASU'S POINT THEORY","bPT")))

{Store separately}
=============================================
{NAME: BASU'S BREAKOUTS}

a:=((Mov(C,2,S)+((Mov(C,64,E)+((Mov(C,4,S)+((Mov(C,32,E)+((Mov(C,8,S)+Mov(C,16,E))/2))/2))/2))/2))/2);

b:=((Mov(C,64,S)+((Mov(C,2,E)+((Mov(C,32,S)+((Mov(C,4,E)+((Mov(C,16,S)+Mov(C,8,E))/2))/2))/2))/2))/2);


aa:= Fml("BASU'S TRENDS4") ;
bb:= Fml( "BASU'S VOLUME") ;

Mov(a*.8+aa*.2,3,VOL);
Mov(b*.8+bb*.2,5,S);

=================================================

BASUDEO
 
#20
Basu'S lemsem

Dear members,

I started this thread to share indicators, experts for METASTOCK. Today I am posting here two of my formulas.

SEM:- First formula is "SEM" = Shorter Early Medians. In this formula I used medians of six moving averages. I used six averages of fibonacci numbers-2,3,5,8,13,21. You can use any periodicity in this formula. But start from shorter average first. Running order is - S L S L S L.

LEM:- Second formula is "LEM" = Longer Early Medians. In this formula the running order is - L S L S L S.

You can use any kind of sequences such as Power 2 = 2,4,8,16,32,64; Fibonacci = 2,3,5,8,13,21,34,55 etc; Lucas = 3,4,7,11,18,29,47,76 etc.
You plot both the formulas in your chart and judge yourself.

cross(lem,sem) = buy
cross(sem,lem) = sell

'sem' is neutral line while 'lem' is volatile line. Please post your comments and your new findings based upon these formulas.


{NAME = BASU'S SEM}
m1:=Input("put periods1",2,200,5);
m2:=Input("put periods2",2,200,8);
m3:=Input("put periods3",2,200,3);
m4:=Input("put periods4",2,200,13);
m5:=Input("put periods5",2,200,2);
m6:=Input("put periods6",2,200,21);
{Data Array}d:=C;

((Mov(d,m6,S)+((Mov(d,m5,S)+((Mov(d,m4,S)+((Mov(d,m3,S)+((Mov(d,m2,S)+Mov(d,m1,S))/2))/2))/2))/2))/2);

{NAME = BASU'S LEM}
m1:=Input("put periods1",2,200,8);
m2:=Input("put periods2",2,200,5);
m3:=Input("put periods3",2,200,13);
m4:=Input("put periods4",2,200,3);
m5:=Input("put periods5",2,200,21);
m6:=Input("put periods6",2,200,2);
{Data Array}d:= C;

((Mov(d,m6,E)+((Mov(d,m5,E)+((Mov(d,m4,E)+((Mov(d,m3,E)+((Mov(d,m2,E)+Mov(d,m1,E))/2))/2))/2))/2))/2);



BASUDEO