公式-自编-技术指标-新建-附图-名字随意-保存(步骤是这样的,去掉这句话,复制粘贴)祝你投资顺利!
VAR1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
VAR2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;
VAR3:=SMA(VAR2,2,1);
老方:SMA(VAR3,2,1),PRECIS2,coloryellow,LINETHICK2;
亮妞:100+(-ABS(VAR1)),colorgreen,PRECIS2,LINETHICK1;
老婆:ABS(VAR1),COLORmagenta,PRECIS2,LINETHICK1;
相好与老婆:50,color0BFFFF,POINTDOT;
弱:20,COLOR80FFFF,POINTDOT;
强:80,COLOR0BFFFF,POINTDOT;a11:="KDJ.K"(89,3,3);
a12:="KDJ.D"(89,3,3);
a13:="KDJ.K"(27,3,3);
a14:="KDJ.D"(27,3,3);
a15:="kd.k"(5,3,3);
a16:="kd.d"(5,3,3);
a17:=CROSS(a15,a16);
a18:=CROSS(a13,a14);
a19:=CROSS(a11,a12);
a20:=(a17 AND a18) AND a19;
DRAWTEXT(a20,老方,'●共振'),colorRED;
交叉:IF((cross(老方,亮妞) OR cross(老方,老婆)),1,0),linethick0;
DRAWICON((cross(老方,亮妞) OR cross(老方,老婆)),老方,1);
共振:(a17 AND a18) AND a19;
DRAWTEXT(共振,1,'●共振'),colorYellow;