恳请老师们帮忙编写一通达信选股公式,当天出现大黑马的,非常感谢!
VAR8:=VOL>2*MA(VOL,30);VAR9:="DMI.ADX"(12,6);VARA:="DMI.ADXR"(12,6);VARB:=CLOSE>MA(CL...
VAR8:=VOL>2*MA(VOL,30);
VAR9:="DMI.ADX"(12,6);
VARA:="DMI.ADXR"(12,6);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VARF:=TROUGHBARS(3,15,1)<4;
VARF1:=PEAKBARS(3,15,1)<4;
VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,50,0);
多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
IF(多空>0,多空,DRAWNULL),LINETHICK3,COLORRED;
IF(多空<0,多空,DRAWNULL),LINETHICK3,COLORGREEN;
IF((多空<0 AND 多空>REF(多空,1)),多空,DRAWNULL),LINETHICK3,COLORLIMAGENTA;
STICKLINE(FILTER(VARF=1,5) AND 多空<-10,31,0,6,0),COLORRED;
STICKLINE(FILTER(VARF=1,5),28,0,4,0),COLORYELLOW;
STICKLINE(FILTER(VARF1=1,5) AND 多空>10,31,0,5,0),COLORMAGENTA;
STICKLINE(FILTER(VARF1=1,5),28,0,4,0),COLORGREEN;
DRAWTEXT(FILTER(VARF=1,3),25,'大黑马'),COLORRED;
DRAWTEXT(FILTER(VARF1=1,3),25,'大黑驴'),COLORLIMAGENTA;
STICKLINE(多空<-10,0,多空,1.1,0),COLORYELLOW;
STICKLINE(多空>10,0,多空,0.9,0),COLORRED;
STICKLINE(多空>0,0,0.1,5,0),COLORRED;
STICKLINE(多空<0,0,0.1,5,0),COLORGREEN;
STICKLINE (VARF=1,0,VARF,8,0),COLORMAGENTA;
STICKLINE (VARF1=1,0,VARF1,8,0),COLORWHITE 展开
VAR9:="DMI.ADX"(12,6);
VARA:="DMI.ADXR"(12,6);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VARF:=TROUGHBARS(3,15,1)<4;
VARF1:=PEAKBARS(3,15,1)<4;
VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,50,0);
多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
IF(多空>0,多空,DRAWNULL),LINETHICK3,COLORRED;
IF(多空<0,多空,DRAWNULL),LINETHICK3,COLORGREEN;
IF((多空<0 AND 多空>REF(多空,1)),多空,DRAWNULL),LINETHICK3,COLORLIMAGENTA;
STICKLINE(FILTER(VARF=1,5) AND 多空<-10,31,0,6,0),COLORRED;
STICKLINE(FILTER(VARF=1,5),28,0,4,0),COLORYELLOW;
STICKLINE(FILTER(VARF1=1,5) AND 多空>10,31,0,5,0),COLORMAGENTA;
STICKLINE(FILTER(VARF1=1,5),28,0,4,0),COLORGREEN;
DRAWTEXT(FILTER(VARF=1,3),25,'大黑马'),COLORRED;
DRAWTEXT(FILTER(VARF1=1,3),25,'大黑驴'),COLORLIMAGENTA;
STICKLINE(多空<-10,0,多空,1.1,0),COLORYELLOW;
STICKLINE(多空>10,0,多空,0.9,0),COLORRED;
STICKLINE(多空>0,0,0.1,5,0),COLORRED;
STICKLINE(多空<0,0,0.1,5,0),COLORGREEN;
STICKLINE (VARF=1,0,VARF,8,0),COLORMAGENTA;
STICKLINE (VARF1=1,0,VARF1,8,0),COLORWHITE 展开
2个回答
展开全部
XG:FILTER(TROUGHBARS(3,15,1)<4,3);
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
A5:=MA(C,5);
A10:=MA(C,10);
A20:=MA(C,20);
A30:=MA(C,30);
A60:=MA(C,60);
MAXA:=MAX(MAX(MAX(A5,10),MAX(A20,A30)),A60);
MINA:=MIN(MIN(MIN(A5,10),MIN(A20,A30)),A60);
MAXA/MINA<1.065 AND A5>REF(A5,1)AND A10>REF(A10,1)AND A20>REF(A20,1)AND A30>REF(A30,1);
A10:=MA(C,10);
A20:=MA(C,20);
A30:=MA(C,30);
A60:=MA(C,60);
MAXA:=MAX(MAX(MAX(A5,10),MAX(A20,A30)),A60);
MINA:=MIN(MIN(MIN(A5,10),MIN(A20,A30)),A60);
MAXA/MINA<1.065 AND A5>REF(A5,1)AND A10>REF(A10,1)AND A20>REF(A20,1)AND A30>REF(A30,1);
追问
这不对啊,是错的
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询