通达信趋势定输赢指标公式
2020/6/18 18:33:28
VARA1:=MA(CLOSE,27);
VARA2:=((CLOSE-VARA1)/(VARA1))*(100);
VARA3:=MA(VARA2,3);
VARA4:=BARSLAST((CROSS((-10),VARA3)=1));
趋势线:VARA3,COLORFF00FF;
观望区:IF((趋势线<(-0.15999999)),趋势线,0),COLORFFCF00,LINETHICK2;
操作区:IF((趋势线>0.15999999),趋势线,0),COLOR0000FF,LINETHICK2;
BB1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
CC1:=REF(CLOSE,1);
CC2:=SMA(MAX(CLOSE-CC1,0),6,1)/SMA(ABS(CLOSE-CC1),6,1)*100;
卖出:=CROSS(80,CC2);
STICKLINE(卖出,20,5,1,1),LINETHICK2,COLORBLUE;
DRAWTEXT(卖出 AND REF(卖出,1)=0,20,'天'),COLORWHITE;
STICKLINE(BB1,0,10,1,1),LINETHICK2,COLORRED;
DRAWTEXT(BB1 AND REF(BB1,1)=0,2,'地'),COLORYELLOW;
A1:=REF(CLOSE,2);
A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;
底部:IF(A2<19,5,0),COLOR00FF00;
买:IF( ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2),30,0), COLORYELLOW;
卖:IF( ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2),30,0),COLORF0F000;
投股票 网 www.tou18.c n
股市公式下载推荐