[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EquisMetaStock Group] Re: Translating a TC2000 formula into Metastock



PureBytes Links

Trading Reference Links


Leon,

Try this:

Place the following formula in the "Up Condition" window: 
{Up Condition}
X:= C - mov(C, 10, S);
Y:= Mov(C,20,S);
UP:=X > 0 AND Y > (Y+REF(Y,-1)+REF(Y-2))/3;
UP;{end}
 
Place this formula in the "Down Condition" window: 
{Down Condition}
X:= C - mov(C, 10, S);
Y:= Mov(C,20,S);
DOWN:=(X < 0 AND Y < (Y+REF(Y,-1)+REF(Y-2))/3)*-1;
DOWN;{end}

Place it in a middle window pane. 
{UP DOWN}
X:= C - mov(C, 10, S);
Y:= Mov(C,20,S);
UP:=X > 0 AND Y > (Y+REF(Y,-1)+REF(Y-2))/3;
DOWN:=(X < 0 AND Y < (Y+REF(Y,-1)+REF(Y-2))/3)*-1;
UP + DOWN; {end}


Just change the numbers for the faster condition. These are binary, 
meaning they will step by one.

Preston



--- In equismetastock@xxxxxxxxxxxxxxx, "Leon Miller" 
<leon.miller@xxxx> wrote:
> I'm a new Metastock 9.0 EOD user and would appreciate any 
assistance in translating these TC2000 formulas into Metastock:
> 
> The following is a TC2000 cumulative indicator which is designed to 
reduce the number of whipsaws common with the use of MAs.
> 
> Place the following formula in the "Up Condition" window:
> 
> c-avgc10>0 and avgc20>(avgc20+avgc20.1+avgc20.2)/3
> 
> Place this formula in the "Down Condition" window:
> 
> c-avgc10<0 and avgc20<(avgc20+avgc20.1+avgc20.2)/3
> 
> Place it in a middle window pane.
> 
> You will now have an indicator that moves up if both the close is 
greater than the 10 bar moving average and the 20 bar moving average 
is greater than the 3 bar average of the 20 bar average (has a 
positive slope--it's moving up) and moves down if the reverse is 
true...and if neither is true will move sideways.
> 
> Place a 3 bar MA and a 5 bar MA on this indicator.
> 
> Below is the formula for a "faster" indicator.  Being faster it 
will produce more whipsaws, so it is best as a supplement unless your 
trading is short.  Place it in a bottom window pane and add the same 
MAs (3 bar MA and a 5 bar MA).
> 
> up condition = c-avgc3>0 and avgc5>(avgc5+avgc5.1+avgc5.2)/3
> 
> down condition = c-avgc3<0 and avgc5<(avgc5+avgc5.1+avgc5.2)/3
> 
> Again, any assistance in translating these formulas into Metastock 
would be appreciated.
> 
> Thanks in advance.
> 
> Leon Miller
> (Montreal, Canada)
> E-Mail: leon.miller@xxxx





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/