通达信独步天下源码副图
A1:3*SMA((ADVANCE-LLV(QHJSJ,55))/(HHV(VOLINSTK,55)-LLV(QHJSJ,55))*100,5,1)-2*SMA((ADVANCE-LLV(QHJSJ,55))/(HHV(VOLINSTK,55)-LLV(QHJSJ,55))*100,5,1);
黑马线:EMA(A1,5),COLOR6600FF,LINETHICK2;
A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;
A3:=EMA(ADVANCE,5);
A4:=(ADVANCE-LLV(QHJSJ,21))/(HHV(VOLINSTK,21)-LLV(QHJSJ,21))*100;
趋势线:MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2),COLORYELLOW,LINETHICK2;
A5:=(HHV(VOLINSTK,60)-ADVANCE)/(HHV(VOLINSTK,60)-LLV(QHJSJ,60))*100;
TDXSTEP105:DRAWICON(FILTER(REF(黑马线,1) 90 AND A2 0,7),黑马线-5,15),COLORGREEN;
TDXSTEP106:DRAWICON(CROSS(A1,黑马线) AND 黑马线 A5,黑马线-5,7);
TDXSTEP107:DRAWICON(CROSS(黑马线,A5) AND 趋势线 80,黑马线-5,34);
TDXSTEP108:DRAWICON(CROSS(趋势线,0) AND 黑马线 40,5,11);
底部:(A2 (-10) AND A2 REF(A2,1))*25,COLORRED;
TDXSTEP109:DRAWICON(底部 AND A3 REF(A3,1),25,5);
机会来临:REF(IF((MA(ADVANCE,5)-ADVANCE)/ADVANCE 0.04 AND (MA(ADVANCE,10)-MA(ADVANCE,5))/MA(ADVANCE,5) 0.04,30,0),1),COLORF00FF0;
大势已去:IF(CROSS(黑马线,A1) AND 黑马线 70 AND 趋势线 80,90,100),COLORBLUE;