該指標(biāo)主要出現(xiàn)在趨勢向上,牛股啟動(dòng)的初期階段!但主力吸籌完畢,在準(zhǔn)備拉升時(shí)要反復(fù)的洗盤!要注意區(qū)別主力是洗盤或者遇突發(fā)事件,一旦趨勢走壞要及時(shí)止損!主圖疊加大盤指數(shù)!副圖個(gè)股有大小非,高送轉(zhuǎn)提示,需自定義數(shù)據(jù)支持! 主圖源碼: 周期:=220; 自動(dòng)C:=INDEXC; 自動(dòng)O:=INDEXO; 自動(dòng)H:=INDEXH; 自動(dòng)L:=INDEXL; 指定O:="SH999999$O"; 指定H:="SH999999$H"; 指定L:="SH999999$L"; 指定C:="SH999999$C"; 大盤低:=CONST(LLV(指定L,周期)); 大盤高:=CONST(HHV(指定H,周期)); 大盤差:=大盤高-大盤低; 當(dāng)前低:=CONST(LLV(L,周期)); 當(dāng)前高:=CONST(HHV(H,周期)); 當(dāng)前差:=當(dāng)前高-當(dāng)前低; 比:=當(dāng)前差/大盤差; 變C:=當(dāng)前低+(指定C-大盤低)*比; 變H:=當(dāng)前低+(指定H-大盤低)*比; 變L:=當(dāng)前低+(指定L-大盤低)*比; 變O:=當(dāng)前低+(指定O-大盤低)*比; {灰色K線} STICKLINE(CURRBARSCOUNT<周期,變H,變L,0,0),COLOR333333; STICKLINE(CURRBARSCOUNT<周期,變O,變C,3,0),COLOR333333; STICKLINE(CURRBARSCOUNT<周期 AND 變C>=變O,變O,變C,3,1),COLOR333333; {立體彩K} STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,1 ),COLOR5B5BFF; STICKLINE(CLOSE>=OPEN,OPEN,CLOSE,2.7,0 ),COLOR0000CC; STICKLINE(CLOSE>=OPEN,OPEN,CLOSE,2,0 ),COLOR0E0EFF; STICKLINE(CLOSE>=OPEN,OPEN,CLOSE,1.2,0 ),COLOR4848FF; STICKLINE(CLOSE>=OPEN,OPEN,CLOSE,0.6,0 ),COLOR7878FF; STICKLINE(CLOSE>=OPEN,OPEN,CLOSE,0.1,0 ),COLORA1A1FF; STICKLINE(CLOSE>=OPEN,OPEN,CLOSE,0,0 ),COLORCACAFF; STICKLINE(CLOSE< OPEN,HIGH,LOW,0,1 ),COLORCYAN; STICKLINE(CLOSE< OPEN,OPEN,CLOSE,2.7,0 ),COLOR990000; STICKLINE(CLOSE< OPEN,OPEN,CLOSE,2,0 ),COLORCC0000; STICKLINE(CLOSE< OPEN,OPEN,CLOSE,1.2,0 ),COLORFF4400; STICKLINE(CLOSE< OPEN,OPEN,CLOSE,0.6,0 ),COLORFF8800; STICKLINE(CLOSE< OPEN,OPEN,CLOSE,0.1,0 ),COLORFFCC00; STICKLINE(CLOSE< OPEN,OPEN,CLOSE,0,0 ),COLORCYAN; {股海網(wǎng)提供 www.} {妖股龍頭} 妖股線:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3); 妖股龍頭:DRAWTEXT(CROSS(妖股線,15),L-0.12,'←妖股'),COLORMAGENTA; {黑馬啟動(dòng)} A:=(3*C+H+L+O)/6; PJ:=(10*A+9*REF(A,1)+8*REF(A,2)+7*REF(A,3)+6*REF(A,4)+5*REF(A,5)+4*REF(A,6)+3*REF(A,7)+2*REF(A,8)+REF(A,9))/55; E30:=EMA(PJ,30),COLORGRAY; E35:=EMA(PJ,35),COLORGRAY; E40:=EMA(PJ,40),COLORGRAY; E45:=EMA(PJ,45),COLORGRAY; E50:=EMA(PJ,50),COLORGRAY; E60:=EMA(PJ,55),COLORGRAY; 選股:CROSS(E30,E50) {AND CROSS(E40,E60)}; DRAWTEXT(選股,LOW-0.05,'←黑馬啟動(dòng)'),COLORWHITE; 假陰線:DRAWTEXT(O>MA(C,20) AND (O-C)/O*100>0.01 AND VOL/CAPITAL*100 >=3 AND C>REF(C,1),H+0.08,'←洗'),COLORWHITE; 揉搓線:=(REF(H,1)-MAX(REF(C,1),REF(O,1)))/(REF(H,1)-REF(L,1))>0.7 AND (MIN(O,C)-L)/(H-L)>0.7,COLORLIGRAY; DRAWTEXT(揉搓線,(L-0.48),'←揉搓線'),COLORLIGRAY; 副圖源碼: {黑馬啟動(dòng)} A:=(3*C+H+L+O)/6; PJ:=(10*A+9*REF(A,1)+8*REF(A,2)+7*REF(A,3)+6*REF(A,4)+5*REF(A,5)+4*REF(A,6)+3*REF(A,7)+2*REF(A,8)+REF(A,9))/55; E30:=EMA(PJ,30),COLORGRAY; E35:=EMA(PJ,35),COLORGRAY; E40:=EMA(PJ,40),COLORGRAY; E45:=EMA(PJ,45),COLORGRAY; E50:=EMA(PJ,50),COLORGRAY; E60:=EMA(PJ,55),COLORGRAY; 選股:CROSS(E30,E50) {AND CROSS(E40,E60)} {高送轉(zhuǎn)提示} DRAWTEXT_FIX(1,0.00,0,0,'送轉(zhuǎn)分紅:'),COLORGRAY; DRAWTEXT_FIX(1,0.10,0,0,EXTERNSTR(0,11)),COLORLIGRAY; {大小非解禁提示} DRAWTEXT_FIX(1,0.00,0.2,0,'大小非解禁:'),COLORGRAY; DRAWTEXT_FIX(1,0.10,0.2,0,EXTERNSTR(0,4)),COLORGRAY;
|