Modified Moving Average
For interpretation refer to the January 2000 issue of Technical Analysis of STOCKS & COMMODITIES magazine.
var
{Number of periods}
N:=3;
TN:=Mov(C, N, S);
s1:=((N - 1) / 2) * C;
MMA:=0;
i:=0;
end_var
for i:=2 to N do
begin
s1:=s1 + ((N - (i*2-1)) / 2) * C\i-1\;
end;
MMA:=TN + (6 * s1) / ((N + 1) * N);
return MMA;
|
Download to import into Tradecision. 
How to use this indicator in Tradecision:
- Click Download.
- Save this indicator in a safe location on your hard drive.
- Open Tradecision and in the Tools menu click Indicator Builder.
- In the Indicator Builder dialog, click Import, locate the saved file and then click OK.
The indicator will be added to the Custom Indicators list.
|