相關標簽:
?
顧比均線公式:
公式(顏色可以自己換):
?
?
原理解析:
源碼:
?
?
短3:EMA(CLOSE,3),COLORffff00;
k5:EMA(CLOSE,5) ,colorblue;
k8:EMA(CLOSE,8) ,colorblue;
k10:EMA(CLOSE,10) ,colorblue;
k12:EMA(CLOSE,12) ,colorblue;
k15:EMA(CLOSE,15) ,ColorFF00FF;
長30:EMA(CLOSE,30) ,colorred;
k35:EMA(CLOSE,35) ,coloryellow;
k40:EMA(CLOSE,40) ,coloryellow;
k45:EMA(CLOSE,45) ,coloryellow;
k50:EMA(CLOSE,50) ,coloryellow;
k60:EMA(CLOSE,60) ,colorgreen;
這是基本的,喜歡的還可以自己加點東西
?
再來一個:
顧比均線指標
A1:EMA(C,3),colorBLUE;
A2:EMA(C,5),colorBLUE;
A3:EMA(C,8),colorBLUE;
A4:EMA(C,10),colorBLUE;
A5:EMA(C,12),colorBLUE;
A6:EMA(C,15),colorBLUE;
minA:MIN(A1,MIN(A2,MIN(A3,MIN(A4,MIN(A5,A6))))),LINETHICK;
maxA:MAX(A1,MAX(A2,MAX(A3,MAX(A4,MAX(A5,A6))))),LINETHICK;
B1:EMA(C,30),colorRED;
B2:EMA(C,35),colorRED;
B3:EMA(C,40),colorRED;
B4:EMA(C,45),colorRED;
B5:EMA(C,50),colorRED;
B6:EMA(C,60),colorRED;
STICKLINE(C>O OR C=O AND C>=REF(C, 1), H, L, 0.5, 1),COLORRED;
STICKLINE(C<O OR C=O AND C<=REF(C, 1), H, L, 0.5, 1), COLORCYAN;
STICKLINE(C>O OR C=O AND C>=REF(C, 1), C, O, 6, 1), COLORRED;
STICKLINE(C<O OR C=O AND C<=REF(C, 1), C, O, 6, 0), COLORCYAN;
那就再來一個吧:
{顧比均線}(其他股軟可用,如大智慧等,選股指標可通用)
E3:EMA(C,3),COLORYELLOW;
E5:EMA(C,5),COLORYELLOW;
E8:EMA(C,8),COLORYELLOW;
E10:EMA(C,10),COLORYELLOW;
E12:EMA(C,12),COLORYELLOW;
E15:EMA(C,15),COLORYELLOW;
E30:EMA(C,30),COLORD1875A;
E35:EMA(C,35),COLORD1875A;
E40:EMA(C,40),COLORD1875A;
E45:EMA(C,45),COLORD1875A;
E50:EMA(C,50),COLORD1875A;
E60:EMA(C,60),COLORD1875A;
STICKLINE(C>O,C,O,4,0),COLORRED;
STICKLINE(C>O,H,L,0,0),COLORRED;
STICKLINE(C<=O,C,O,4,0),COLORFFFF52;
STICKLINE(C<=O,H,L,0,0),COLORFFFF52;
DRAWICON(EMA(C,8)>EMA(C,15) AND EMA(C,40)>REF(EMA(C,40),1) AND CROSS(EMA(C,3),EMA(C,35)),L-0.20,1);
DRAWICON(EMA(C,15)>EMA(C,40) AND EMA(C,35)>REF(EMA(C,35),1) AND CROSS(EMA(C,3),EMA(C,5)),L-0.20,1);
DRAWICON(ABS(EMA(C,15)-EMA(C,60))/C<0.01 AND EMA(C,15)>EMA(C,30) AND O<EMA(C,3) AND C>EMA(C,3) AND O<EMA(C,15) AND C>EMA(C,15) AND O<EMA(C,30) AND C>EMA(C,30) AND O<EMA(C,60) AND C>EMA(C,60),L-0.20,1);
DRAWICON(ABS(EMA(C,45)-EMA(C,30))/C<0.011 AND EMA(C,3)>EMA(C,15) AND EMA(C,15)>EMA(C,40) AND CROSS(EMA(C,5),EMA(C,60)),L-0.20,1);
A1:=OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN<EMA(C,60);
A2:=C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60)));
A3:=V/MA(V,10)>1.2;
A4:=C/REF(C,1)>1.049;
出水芙蓉:=A1 AND A2 AND A3 AND A4 AND O<EMA(C,60) AND C>EMA(C,60);
DRAWICON(出水芙蓉,L-0.20,1);
?
?
公式導入教程: 【通達信公式源碼導入方法教程】 【同花順公式源碼導入方法教程】 【大智慧新一代公式源碼導入方法教程】
?