变色KDJ金叉死叉: 变色KDJ金叉死叉 这个公式,显示在日线主图上一目了然,需参考个股实际情况和大盘走势。 MA20:MA(C,20),COLORRED,LINETHICK2; MA55:MA(C,55),COLOR00FF00,LINETHICK2; IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORFF0000,LINETHICK2; IF(MA55<REF(MA55,1),MA55,DRAWNULL),COLORFFFF00,LINETHICK2; BB:MA(MA(CLOSE,3),1),LINETHICK3,COLOR00FFFF; IF(BB>=REF(BB,1),BB,DRAWNULL),COLORFF00FF,LINETHICK3; TT:=IF(ISLASTBAR,240/FROMOPEN,1); NN:=120; HH:=HHV(V*TT,NN); LL:=LLV(V,NN); 最高:=CONST(HH); 最低:=CONST(LL); 最高2:=CONST(HHV(H,NN)); 最低2:=CONST(LLV(L,NN)); PP:=IF((最高2*0.9-(最高2-最低2)*0.5)>CONST(LLV(L,20)),0.9,IF((最高2*0.9-(最高2-最低2)*0.5)>CONST(LLV(L,50)),0.7,0.6)),NODRAW; RCC1:=最高2*0.9-(最高2-最低2)*PP; 最低3:=MIN(RCC1,最低2); AA:=最低3; 周J:=MA("KDJ.J#WEEK"(9,3,3) ,5),COLORFFFF00,LINETHICK2; AA1:=周J<0 AND 周J<REF(周J,1) ; FF1:=周J<0 AND 周J>REF(周J,1); BB1:=周J>=0 AND 周J<85 AND 周J>REF(周J,1); DD1:=周J>=REF(周J,1) AND 周J>=85 ; EE1:=周J<REF(周J,1) AND 周J>0; ZJ1:=MA("KDJ.J#WEEK"(9,3,3) ,5); YK:=MA("KDJ.K#MONTH"(9,3,3),20),LINETHICK0; YD:=MA("KDJ.D#MONTH"(9,3,3),20),LINETHICK0; YJ:=MA("KDJ.J#MONTH"(9,3,3),20); ZK:=MA("KDJ.K#WEEK"(9,3,3) ,5),LINETHICK0; ZD:=MA("KDJ.D#WEEK"(9,3,3) ,5),LINETHICK0; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1),LINETHICK0; D:=SMA(K,3,1),LINETHICK0; J:=3*K-2*D,LINETHICK0; GG1:=C>0; RJC:DRAWICON(CROSS(K,D),L*0.98,1); DRAWTEXT(RJC,L*0.98,'日金叉'),COLOR0000FF; RSC:DRAWICON(CROSS(D,K),H*1.03,2),; DRAWTEXT(RSC,H*1.03,'日死叉'),COLORFFFFFF; ZJC: DRAWICON (CROSS(ZK,ZD), L*0.98,1); DRAWTEXT(ZJC,L*0.98,'周金叉'),COLORFF00FF; ZSC: DRAWICON (CROSS(ZD,ZK), H*1.03,2),; DRAWTEXT(ZSC,H*1.03,'周死叉'),COLOR00FFFF; YJC: DRAWICON (CROSS(YK,YD), L*0.98,1); DRAWTEXT(YJC,L*0.98,'月金叉'),COLORFF0000; YSC: DRAWICON (CROSS(YD,YK), H*1.03,2),; DRAWTEXT(YSC,H*1.03,'月死叉'),COLORFFFF00; STICKLINE(AA1,AA-0.000*AA,AA-0.040*AA,2.5,1),COLOR6600BB; STICKLINE(FF1,AA-0.000*AA,AA-0.040*AA,2.5,0),COLOR0000FF; STICKLINE(BB1,AA-0.000*AA,AA-0.040*AA,2.5,0),COLORFF00FF; STICKLINE(DD1,AA-0.000*AA,AA-0.040*AA,2.5,0),COLOR00FF00; STICKLINE(EE1,AA-0.000*AA,AA-0.040*AA,2.5,1),COLORFFFF00; STICKLINE(GG1,AA-0.050*AA,AA-0.090*AA,2.5,1),COLORBB0000; STICKLINE(RJC,AA-0.050*AA,AA-0.090*AA,2.5,0),COLOR0000FF; STICKLINE(RSC,AA-0.050*AA,AA-0.090*AA,2.5,0),COLORFFFFFF; STICKLINE(ZJC,AA-0.050*AA,AA-0.090*AA,2.5,0),COLORFF00FF; STICKLINE(ZSC,AA-0.050*AA,AA-0.090*AA,2.5,0),COLOR00FFFF; STICKLINE(YJC,AA-0.050*AA,AA-0.090*AA,2.5,0),COLORFF0000; STICKLINE(YSC,AA-0.050*AA,AA-0.090*AA,2.5,0),COLORFFFF00; 波段抄底: 波段抄底 黑马资金追涨,是一个波段抄底 资金波动:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),POINTDOT, COLORRED,LINETHICK5; I:=MA(BARSLAST(HIGH=HHV(HIGH,16))*IF(CLOSE<OPEN,VOL,1),3); R:=MA(BARSLAST(LOW=LLV(LOW,18))*IF(CLOSE>OPEN,VOL,1),4); 超强势:84,POINTDOT,COLORMAGENTA,LINETHICK3; 强势:60,POINTDOT,COLORGREEN,LINETHICK3; 弱市:35,POINTDOT,COLORWHITE,LINETHICK3; 短线逃顶:=IF(I,0,1),COLORGREEN; DRAWICON(短线逃顶,90,2); VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); A6:3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5, 1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1); 黑马线:EMA(A6,5),LINETHICK2,COLOR6600FF; 贵:=12,COLOR00FF00; VAR4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5, 1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); A7:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100; A8:=EMA(C,5); VAR5:=CROSS(VAR4,10) AND VAR3<12; 抄底:IF(VAR5,90,1),COLORRED; DRAWICON(VAR5,65,1); DRAWTEXT(VAR5,30,'抄底'),COLORYELLOW; A9:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; 趋势线: (MA(3*SMA(A9,6,1)-2*SMA(SMA(A9,5,1),5,1),2)),LINETHICK2,COLORYELLOW; A10:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100; 备钱:IF(CROSS(10,VAR4),40,1),COLORFF00FF; DRAWICON(CROSS(10,VAR4),45,1); DRAWTEXT(CROSS(A6,黑马线)AND 黑马线<A10,黑马线,'黑马'); DRAWTEXT(CROSS(黑马线,A10)AND 趋势线<80,黑马线,'追涨'); DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,5,'大黑马'); A1:=EMA(CLOSE,5); A2:=EMA(CLOSE,10); A3:=EMA(CLOSE,20); A4:=EMA(CLOSE,40); A5:=EMA(CLOSE,60); DRAWTEXT(FILTER(REF(黑马线,1)>90 AND A2<0,7),黑马线,'跑'),COLOR00FF00; 上穿季线:IF(CROSS(A3,A4) AND CROSS(C,A5),50,0),COLORRED,LINETHICK2; 底部:(A7<-10 AND A7>REF(A7,1))*25,COLORRED; DRAWICON(底部 AND A8>REF(A8,1),25,4); CHNMONEY:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0; 大势已去:IF(CROSS(黑马线,A6)AND 黑马线>70 AND 趋势线>80,90,100),COLORFF0000; 均线K线: 均线K线使用方法: 这是短线买卖点,黄色买进,绿色卖出!无未来 非常敏感的( 顶尖财经 股票学院: http://www.58188.com ) VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3,1),COLORRED;{红1} VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),3,0),COLORFFCC66; VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,1),COLORYELLOW; VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),5,2),COLOR00FF00{98FD}; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00C8FF; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10ECFF; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10FFFF; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00D900; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORBLUE; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR090FF2; PMA:MA(C,5),COLORWHITE,LINETHICK2; IF(PMA>REF(PMA,1),PMA,DRAWNULL),COLORRED,LINETHICK2; IF(PMA<REF(PMA,1),PMA,DRAWNULL),COLORGREEN,LINETHICK2; X:=(3*C+L+O+H)/6; 多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6) +13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12) +7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+ REF(X,20))/210,COLORFF00FF,LINETHICK2; {用法:黄托底买进,蓝压顶卖出。} DD:=多空线<REF(多空线,1); IF(DD,多空线,DRAWNULL),COLOR00FFFF,LINETHICK2; A:=(PMA>多空线); IF(A,多空线,DRAWNULL),COLOR33FF33,POINTDOT,LINETHICK4; M4:EMA(C,55),LINETHICK2,COLORMAGENTA; M3:EMA(C,34),COLORBLUE,LINETHICK2; |