通達(dá)信【碗口突破有肉吃】主圖指標(biāo),,跟莊家吃肉肉,來(lái)自CJM99原創(chuàng)的源碼分享,! ZQWS1:=1; ZQWS2:=MA(CLOSE,60); ZQWS3:=MA(CLOSE,120); DRAWBAND(ZQWS2,RGB(90,0,0),ZQWS3,RGB(0,90,0)); MA5:MA(CLOSE,5); MA10:MA(CLOSE,10); MA20:MA(CLOSE,20); MA60:MA(CLOSE,60); MA120:MA(CLOSE,120); DRAWKLINE(HIGH,OPEN,LOW,CLOSE); ZQWS4:=REF(CLOSE,1); ZQWS5:=IF((CLOSE-ZQWS4)*100/ZQWS4>=10-0.01*100/ZQWS4,1,0); STICKLINE(ZQWS5,OPEN,CLOSE,2,0),COLORRED; STICKLINE(ZQWS5,HIGH,LOW,0,0),COLORRED; ZQWS6:=IF((ZQWS4-CLOSE)*100/ZQWS4>=10-0.01*100/ZQWS4,1,0); STICKLINE(ZQWS6,OPEN,CLOSE,2,0),COLORGREEN; STICKLINE(ZQWS6,HIGH,LOW,0,1),COLORGREEN; ZQWS7:=IF(REF(CLOSE,1)>REF(OPEN,1) AND OPEN>REF(CLOSE,1)*1.014 AND CLOSE<OPEN*1.02,1,3); ZQWS8:=MA(vol,5); ZQWS9:=MA(VOL,12); ZQWS10:=MA(CLOSE,6); ZQWS11:=crOSS(CLOSE,ZQWS10); ZQWS12:=VOL>ZQWS8*1.2 AND VOL>ZQWS9*1.2; ZQWS13:=ZQWS7>2 AND CLOSE>HIGH*0.975; ZQWS14:=ZQWS11 AND ZQWS12 AND ZQWS13; ZQWS15:=CLOSE<=OPEN; ZQWS16:=COUNT(ZQWS15,5)>=4; ZQWS17:=REF(ZQWS16,1); ZQWS18:=ZQWS14 AND ZQWS17; ZQWS19:=VOL>=HHV(VOL,20); ZQWS20:=VOL/REF(VOL,1)>1.5; ZQWS21:=EMA(CLOSE,12)-EMA(CLOSE,26); ZQWS22:=EMA(ZQWS21,9); ZQWS23:=2*(ZQWS21-ZQWS22); ZQWS24:=REF(CLOSE>OPEN OR OPEN>CLOSE,65) AND REF(CLOSE>OPEN OR OPEN>CLOSE,116) AND REF(CLOSE>OPEN OR OPEN>CLOSE,10); ZQWS25:=REF(ZQWS23,1)<REF(ZQWS23,2) AND ZQWS23>=0 AND ZQWS23>REF(ZQWS23,1); ZQWS26:=CAPITAL<6000000; ZQWS27:=CLOSE/REF(CLOSE,1)>1.04; ZQWS28:=REF(CLOSE<OPEN,1) AND CLOSE>OPEN; ZQWS29:=(ZQWS18 AND ZQWS19 AND ZQWS20 AND ZQWS25 AND ZQWS26 AND ZQWS27 AND ZQWS28 AND ZQWS24)*ZQWS1; DRAWICON(ZQWS29,LOW*0.98,9); DRAWICON(ZQWS29,LOW*0.99,5); N1:=42; N2:=21; N3:=89; C1:=C/REF(C,1); MX:EMA(SLOPE(C,N2)*20+C,N1),LINETHICK1,COLORBLACK; MXR:=MX/REF(MX,1); MR:=SLOPE(MX,2); MRD:=CROSS(0,MR); TMR:=BARSLAST(MRD); MRR:=REF(MX,TMR); MN3:=HHV(MRR,N3); MFD:=CROSS(MR,0); TMF:=BARSLAST(MFD); MFT:=REF(MX,TMF); ROU:=CROSS(MX,MN3)&&MX/MFT<1.25&&MX/LLV(MX,55)<1.35; TRR:=BARSLAST(ROU); DRAWTEXT(CROSS(MX,MRR)&&MX/LLV(MX,55)<1.35,MX*0.99,'有肉肉'),COLORYELLOW; DRAWTEXT(CROSS(C,MN3)&&C1>1.035,L*0.98,'好股吧WWW.CJM99.COM大肉')&&MXR>1.004,COLORRED; STICKLINE(CROSS(MX,MRR)&&MX/LLV(MX,55)<1.35,H,L,0.1,0),COLORYELLOW; STICKLINE(ROU,O,C,3,0),COLORRED; DRAWTEXT(TRR<=5&&MRD,H,'閃,,不好吃'),COLORGREEN; DRAWTEXT(MX/MRR>=1.55&&MXR>1.034&&CROSS(REF(MR,1),MR),H*0.98,'當(dāng)心大面'),COLORGREEN; STICKLINE(MX/MRR>=1.55&&MXR>1.034&&CROSS(REF(MR,1),MR),C,O,2,0),COLORGREEN; IF(MX>MRR&&MXR>1.004,MX,DRAWNULL),LINETHICK3,COLORGREEN,COLORRED; DRAWGBK(CLOSE>0,RGB(0,0,0),RGB(0,50,50),0,4,0); DRAWKLINE(HIGH,OPEN,LOW,CLOSE); STT:=(O-C)/REF(C,1)*100; ZF:=(C-REF(C,1))/REF(C,1)*100; AY0:=REF(ZF<9,1) AND ZF<=IF(FINANCE(3)>2,(-11),(-6)) AND C<O AND STT>3.5; AY1:=BARSLAST(AY0); 碗口1:REF(O,AY1),COLORFFFF00,NODRAW; ZQWS28:=(碗口1-LLV(MIN(CLOSE,OPEN),AY1))/LLV(CLOSE,AY1)*100; 突破大陰1:=ZQWS28<36 AND AY1>16 AND AY1<150 AND REF(EVERY(MAX(C,O)<REF(O,AY1),AY1),1) AND crOSS(C,REF(O,AY1)) AND V>O; STICKLINE(AY1>=0,碗口1,碗口1,10,0),COLORFFFF00,LINETHICK2; AY21:=REF(ZF<9,1) AND ZF<=IF(FINANCE(3)>2,(-12),(-7)) AND C<O AND STT>3.5; AY2:=BARSLAST(AY21); 碗口2:REF(O,AY2),COLOR00FF00,NODRAW; ZQWS29:=(碗口2-LLV(MIN(CLOSE,OPEN),AY2))/LLV(CLOSE,AY2)*100; M60:MA(C,60),COLORFF8000; 突破大陰2:=ZQWS29<36 AND AY2>16 AND AY2<150 AND REF(EVERY(MAX(C,O)<REF(O,AY2),AY2),1) AND CROSS(C,REF(O,AY2)) AND V>O; STICKLINE(AY2>=0,碗口2,碗口2,10,0),COLOR00FF00,LINETHICK2; STICKLINE(AY0>0 AND C<O,C,O,1,0),COLORBROWN; STICKLINE(AY0>0 AND C<O,C,O,1,0),COLORBROWN; STICKLINE(突破大陰1 OR 突破大陰2,H,L,0,0),COLORYELLOW; STICKLINE(突破大陰1 OR 突破大陰2,O,C,2.5,0),COLORYELLOW; DRAWTEXT(突破大陰1 OR 突破大陰2,L*0.99,'突破'),COLORYELLOW; {主圖顯示} 龍虎凈額:SIGNALS_USER(201,0)/10000,COLOR0080FF,NODRAW;{資金凈流入} DRAWTEXT(龍虎凈額>0 OR 龍虎凈額<0,L*95/100,VARCAT(VARCAT('',VAR2STR(龍虎凈額,1)),'') ),COLOR0080FF; STICKLINE(龍虎凈額>0 OR 龍虎凈額<0,(C+O)/2,O,0.1,0),COLOR0080FF; 漲停:=(CLOSE>=ZTPRICE(REF(CLOSE,1),IF(FINANCE(3)>2,0.2,0.1))) AND H=C; 封單額:IF(ISLASTBAR AND 漲停 AND DYNAINFO(59)=0,DYNAINFO(58)*C/100000,IF(DYNAINFO(58)=0,DYNAINFO(59)*C/100000*-1,0)),COLOR0000FF,NODRAW; 千萬(wàn):DRAWNULL,COLOR0000FF; |
|
來(lái)自: 辣辣辣豆腐干 > 《指標(biāo)公式》