以下是同花顺小蜘蛛公式

同花顺小蜘蛛公式

MA1:MA(CLOSE,5);

MA2:MA(CLOSE,10);

MA3:MA(CLOSE,20);

MA4:MA(CLOSE,60);

MA5:MA(CLOSE,120);

MA6:MA(CLOSE,240);

MA7:=MA(CLOSE,40);

月价托:=COUNT(CROSS(MA1,MA2),10) AND

COUNT(CROSS(MA1,MA3),10) AND

COUNT(CROSS(MA2,MA3),1)AND

MA4>REF(MA4,3) AND MA5>REF(MA5,3) AND MA6>REF(MA6,3);

DRAWTEXT(月价托,H+1,’月价托’),coloryellow;

STICKLINE(月价托,H+1,H+0.5,0.5,0) ,colorgreen;

A1:=COUNT(CROSS(MA2,MA3),1)=1;

A2:=COUNT(CROSS(MA1,MA3),1)=1;

A3:=COUNT(CROSS(MA1,MA2),1)=1;

金蜘蛛:=A1 AND A2 AND A3 ;

DRAWTEXT(金蜘蛛,H+1,’金蜘蛛’),coloryellow;

STICKLINE(金蜘蛛,H+1,H+0.5,0.5,0) ,colorgreen;

多方炮:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>REF(OPEN,1) AND CLOSE>OPEN;

DRAWTEXT(多方炮,H+1,’多方炮’),coloryellow;

STICKLINE(多方炮,H+1,H+0.5,0.5,0) ,colorgreen;

PMA1 := MA(CLOSE,5);

PMA2 := MA(CLOSE,10);

VMA1 := MA(VOL,5);

VMA2 := MA(VOL,10);

DIFF := EMA(CLOSE,12) – EMA(CLOSE,26);

DEA := EMA(DIFF,9);

PPDAY := BARSLAST(CROSS(PMA1,PMA2));

VVDAY := BARSLAST(CROSS(VMA1,VMA2));

MACDDAY := BARSLAST(CROSS(DIFF,DEA));

金叉见底:=COUNT(CROSS(PMA1,PMA2),1) AND

COUNT(CROSS(VMA1,VMA2),5)AND

COUNT(CROSS(DIFF,DEA),3);

DRAWTEXT(三金叉见底,H+1,’三金叉见底’),coloryellow;

STICKLINE(三金叉见底,H+1,H+1.5,0.5,0) ,colorgreen;

三死叉见顶:=COUNT(CROSS(PMA2,PMA1),2) AND

COUNT(CROSS(VMA2,VMA1),5)AND

COUNT(CROSS(DEA,DIFF),2);

DRAWTEXT(三死叉见顶,H+2,’三死叉见顶’),coloryellow;

STICKLINE(三死叉见顶,H+2,H+2.5,0.5,0) ,colorgreen;
 

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。