前期回顧:通達信【紅必漲】副圖/預(yù)警指標 源碼1、六脈神劍幅圖指標: ABC3:=EMA(CLOSE,8)-EMA(CLOSE,13); ABC4:=EMA(ABC3,5); ABC5:=(ABC3>ABC4); ABC6:=IF(ABC5,1,0);{微信公眾號:尊重市場} DRAWTEXT(ISLASTBAR=1,1,76),COLORWHITE; DRAWICON((ABC3>ABC4),1,1); DRAWICON((ABC3<ABC4),1,2); ABC7:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; ABC8:=SMA(ABC7,3,1); ABC9:=SMA(ABC8,3,1); DRAWICON((ABC8>ABC9),2,1); DRAWICON((ABC8<ABC9),2,2); DRAWTEXT(ISLASTBAR=1,2,77),COLORWHITE; ABC10:=(ABC8>ABC9); ABC11:=IF(ABC10,2,0); ABC12:=REF(CLOSE,1);{微信公眾號:尊重市場} ABC13:=SMA(MAX(CLOSE-ABC12,0),5,1)/SMA(ABS(CLOSE-ABC12),5,1)*100; ABC14:=SMA(MAX(CLOSE-ABC12,0),13,1)/SMA(ABS(CLOSE-ABC12),13,1)*100; DRAWICON((ABC13>ABC14),3,1); DRAWICON((ABC13<ABC14),3,2); DRAWTEXT(ISLASTBAR=1,3,78),COLORWHITE; ABC15:=(ABC13>ABC14); ABC16:=IF(ABC15,3,0); ABC17:=(-(HHV(HIGH,13)-CLOSE))/(HHV(HIGH,13)-LLV(LOW,13))*100; ABC18:=SMA(ABC17,3,1); ABC19:=SMA(ABC18,3,1); DRAWICON((ABC18>ABC19),4,1); DRAWICON((ABC18<ABC19),4,2); DRAWTEXT(ISLASTBAR=1,4,79),COLORWHITE; ABC20:=ABC18>ABC19;{微信公眾號:尊重市場} ABC21:=IF(ABC20,4,0); ABC22:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; DRAWICON(CLOSE>ABC22,5,1); DRAWICON(CLOSE<ABC22,5,2); DRAWTEXT(ISLASTBAR=1,5,80),COLORWHITE; ABC23:=CLOSE>ABC22; ABC24:=IF(ABC23,5,0); ABC25:=IF(YEAR>2023,1,0); STICKLINE(ABC25=1,1,6,20,0),COLORBLACK; ABC26:=CLOSE-REF(CLOSE,1); ABC27:=100*EMA(EMA(ABC26,5),3)/EMA(EMA(ABS(ABC26),5),3); ABC28:=100*EMA(EMA(ABC26,13),8)/EMA(EMA(ABS(ABC26),13),8); DRAWICON(ABC27>ABC28,6,1); DRAWICON(ABC27<ABC28,6,2); DRAWTEXT(ISLASTBAR=1,6,81),COLORWHITE; ABC29:=ABC27>ABC28; ABC30:=IF(ABC29,7,0); 漲買入:IF(ABC5 AND ABC10 AND ABC15 AND ABC20 AND ABC23 AND ABC29 AND REF(ABC5 AND ABC10 AND ABC15 AND ABC20 AND ABC23 AND ABC29,1)=0,6,0),COLORYELLOW,LINETHICK2; 上漲:IF(ABC5 AND ABC10 AND ABC15 AND ABC20 AND ABC23 AND ABC29,6,0),COLORYELLOW,LINETHICK2; ABC31:=BARSLASTCOUNT(ABC5 AND ABC10 AND ABC15 AND ABC20 AND ABC23 AND ABC29); ABC32:=BARSLASTCOUNT(ABC6+ABC11+ABC16+ABC21+ABC24+ABC30>0 AND ABC6+ABC11+ABC16+ABC21+ABC24+ABC30<21); ABC33:=BARSLASTCOUNT(ABC6+ABC11+ABC16+ABC21+ABC24+ABC30=0); 2、六脈神劍選股指標: ABC1:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,20)>MA(CLOSE,30); ABC2:=FINANCE(40)>4000000000; ABC5:=EMA(CLOSE,8)-EMA(CLOSE,13); ABC6:=EMA(ABC5,5); ABC7:=(ABC5>ABC6); |
|