以下是通达信情剩雷达源码副图
A:=2*(EMA(CLOSE,15)-EMA(CLOSE,30)-EMA(EMA(CLOSE,15)-EMA(CLOSE,30),12));
A1:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
A2:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
A3:=(CLOSE-LLV(LOW,225))/(HHV(HIGH,225)-LLV(LOW,225))*100;
B1:=(SMA(A3,45,1)-REF(SMA(A3,45,1),1))*50;
B2:=(SMA(A2,15,1)-REF(SMA(A2,15,1),1))*10;
B3:=REF(SMA(A2,15,1),1)-REF(SMA(A3,45,1),1);
B4:=(SMA(A2,15,1)-B3-SMA(A3,45,1))*30;
B5:=SMA(A1,3,1)-REF(SMA(A1,3,1),1);
B6:= EMA((EMA(VOL/5,4)-LLV(EMA(VOL/5,4),240))/LLV(EMA(VOL/5,4),240)*MA(CLOSE,35),13);
A9:=EMA((HHV(EMA(VOL/5,4),240)-EMA(VOL/5,4))/EMA(VOL/5,4)*MA(CLOSE,35),13);
B7:=A>=-0.035 AND A<=0.045 AND CLOSE>MA(CLOSE,5)
AND CLOSE>MA(CLOSE,10) AND A9>-100;
DD:=EXIST(C/REF(C,1)>1.055,60);
PL1:=(((CLOSE – MA(CLOSE,50)) / MA(CLOSE,50))<0.008);
PL2:=(((CLOSE – MA(CLOSE,8)) / MA(CLOSE,8))<0.058);
偏离率:=(((PL1 = 1) AND (PL2 = 1)) * 0.2);
平台突破:=((((偏离率 = 0) AND (REF(偏离率,1) = 0.2)) AND (REF((COUNT((偏离率 = 0.2),10) = 10),1) = 1)) * 1);
情剩雷达: IF(B7 AND B5>7 AND REF(B5,1)<0 AND B5-REF(B5,1)>9,1,0) AND 平台突破 AND DD ,COLORRED;
评论(0)