in Search

Metastock formulae for macd upswing

Last post 08-05-2009, 1:36 by bull&bear. 2 replies.
Sort Posts: Previous Next
  •  01-03-2009, 23:57 28588

    Metastock formulae for macd upswing

    How could I write these fromulae for explorations:

    1) macd has just touches 0 or about to touch 0 & turn up, & macd>its ma 9 dys.

    2)macd meandering just above 0 (do not go below 0) & then move up

    3) macd for the last 10 dys (including today) >0
  •  01-04-2009, 21:38 28592 in reply to 28588

    Re: Metastock formulae for macd upswing

    Here is a quick one: a1,a2,a3 are your (1),(2),(3) criteria.

     p1 := Mov(C,7,E)-Mov(C,20,E);
    {-------------------------------}
    a1:=Cross(p1,0);
    a2:=(p1>Ref(p1,-2));
    a3:=LLV(p1,10)>0;
    {-------------------------------}
    a1+a2+a3
  •  08-05-2009, 1:36 30343 in reply to 28592

    Re: Metastock formulae for macd upswing

    pls adv what is the formula I need to write on colA ColB ....to Colf for the exploration,& what is the formula for filtering.
View as RSS news feed in XML