
05-28-2006, 03:29 AM
|
|
Member
|
|
Join Date: Dec 2005
Posts: 69
|
|
Quote:
|
Originally Posted by sukhen
Hi Kalenzo,
The VT Code is like this:
VT Formula:
e1:= Mov( Pr,tPr,mt);
e2:= Mov(e1,tPr,mt);
e3:= Mov(e2,tPr,mt);
e4:= Mov(e3,tPr,mt);
e5:= Mov(e4,tPr,mt);
e6:= Mov(e5,tPr,mt);
c1:= -b*b*b;
c2:= 3*b*b+3*b*b*b;
c3:= -6*b*b-3*b-3*b*b*b;
c4:= 1+3*b+b*b*b+3*b*b;
T3MA:= c1*e6+c2*e5+c3*e4+c4*e3;
where
Pr = Closing Price
tPr = Periods (int) Default=8
mt = MA Type def: Exponential
b is Volume Factor, float between 0 and 5 default 0.7
Hi Ben,
Many thanks but it has a volume factor also.
Thank you guys in advance
- Sukhen
P.S. I want to use it at 10 min TF but MT doesn't support that. Can you please advise if it's possible any way to see it at other TFs like 5 mins.
|
Hi Sukhen,
Why did not you say so? I am not a programmer but I think I can do that. Let Kalenzo do more complicated tasks. (Thanks to Kale for all his contribution all this time).
Default Period 10 and VolumeFactor 0.7.
Rgds - ben
|