Metamaster

#22
Hello BASUDEO,

Thank You for giving such nice formulas..

But can you post Final Version of formulas as Attatchment.. or for updated version .. you can keep VERSION tracking..

This is suggestion.

Please update final versions.

kan....
 
#25
Dear members,

I joined this beautiful forum just 4 months ago and learned a lot about system based trading. Certainly, a system based trading is more scientific and accurate than the trading based upon intutions.

I am starting this new thread for the newbies like me to share their experiences about the new indicators and systems specially for "METASTOCK". Metastock is the best software for this purpose because of its simplicity and excel like formulas.

I am sharing my first indicator. Indicator is simple and may not be as perfect as developed by experts. But it seems good for nifty and future stocks. Still there is great scope for the improvement of the same. I am posting the same to get some valuable tips to improve this from the learned members of this group.

{BASU'S POINT THEORY: I use this formula for comparisons etc. in place of percentages.}

bpt:=If(O>3900,O*.003,
If(O>3100,O*.0035,
If(O>2300,O*.004,
If(O>1800,O*.0045,
If(O>1300,O*.005,
If(O>1000,O*.0055,
If(O>700,O*.006,
If(O>500,O*.0065,
If(O>300,O*.007,
If(O>200,O*.008,
If(O>100,O*.009,
If(O>65,O*.01,
If(O>30,O*.011,O*.0125)))))))))))));

a:=If(C>O+5*bpt,H+C-O-L,
If(C>O+2*bpt,H-L,
If(C>O,C-L,
If(C>O-2*bpt,L-O,
If(C>O-5*bpt,L-H,L+C-O-H)))));

a1:=Mov(Ref(a,-2),3,S);
a2:=Mov(a,2,S);

aa:=(a2+a1);

bb:=If(aa<-10*bpt,a2-a1,
If(aa<-5*bpt,a1-a2,
If(aa<5*bpt,Ref(a,-1),
If(aa<10*bpt,a1-a2,a2-a1))));

a3:=If(a<-13*bpt,H+a*.7,
If(a<-8*bpt,H+a*.8,
If(a<-5*bpt,C-a*.6,
If(a<-2*bpt,O-a*.8,
If(a<0,a+(L+H)/2,
If(a<2*bpt,a+(L+H)/2,
If(a<5*bpt,C-a*.8,
If(a<8*bpt,O-a*.6,
If(a<13*bpt,L+a*.8,L+a*.7)))))))));

a4:=If(aa<-13*bpt,a3-bb*.3,
If(aa<-8*bpt,a3-bb*.5,
If(aa<-5*bpt,a3-bb*.8,
If(aa<-2*bpt,a3-bb*.5,
If(aa<2*bpt,a3-bb*.3,
If(aa<5*bpt,a3-bb*.5,
If(aa<8*bpt,a3-bb*.8,
If(aa<13*bpt,a3-bb*.5,a3-bb*.3))))))));


a5:=If(bb<-13*bpt,a4-aa*.2,
If(bb<-8*bpt,a4+aa*.2,
If(bb<-5*bpt,a4-aa*.3,
If(bb<-2*bpt,a4+aa*.3,
If(bb<2*bpt,a4-aa*.5,
If(bb<5*bpt,a4+aa*.3,
If(bb<8*bpt,a4-aa*.3,
If(bb<13*bpt,a4+aa*.2,a4-aa*.2))))))));

a5{a4 is also good indicator. if a5<l = buy signal at next bar's suitable prices. if a5>h = sell signal at next bar'suitable prices.}

BASUDEO

it say Too many numeric constants defined in formula.
 
#30
Dear members,

I already posted upto TRENDS4 in this thread. Here is another METASTOCK indicator. It is trends5.



{NAME:BASU'S TRENDS5}

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

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

a1:=If(a>11*pt,ac+a*.5,
If(a>7*pt,al+a*.6,
If(a>4*pt,al+a*.7,
If(a>2*pt,ah-a,
If(a>pt,al-a*2,
If(a>O,ah-a*3,
If(a>-pt,al-a*3,
If(a>-2*pt,ah-a*2,
If(a>-4.5*pt,al-a,
If(a>-7*pt,ah+a*.7,
If(a>-11*pt,ah+a*.6,ac+a*.5)))))))))));

b:=(ao-al)*.6+(ah-ao)*.4;

Mov(ROC(Ref(b,-3),5,$)+a1,4,E)


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

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

BASUDEO