【大智慧】K30主圖+選股指標(biāo)公式
攻城獅 2015.12.03 03:15
DRAWGBK(CLOSE > 0,STRIP(RGB(10,10,30),RGB(10,10,10),0));
VAR0:=FINANCE2(37)/1000000 * 100;
VAR1:=FINANCE2(12);
VAR2:=FINANCE2(10);
DRAWTEXTABS(10,10,’流通盤大小:’ + VAR0 + ‘億手 ‘),COLORWHITE;
DRAWTEXTABS(150,10,’銷售毛利率:’ + VAR1 + ‘% ‘),COLORWHITE;
DRAWTEXTABS(280,10,’凈利潤同比增長:’ + VAR2 + ‘% ‘),COLORWHITE;
當(dāng)日換手率:SUM(100 * VOL/CAPITAL,1),LINETHICK0;
DRAWTEXTABS(450,10,’當(dāng)日換手率:’ + NUMTOSTRN(SUM(100 * VOL/CAPITAL,1),2) + ‘%’),COLORWHITE;
VAR3:=SUM(100 * VOL/CAPITAL,5);
DRAWTEXTABS(570,10,’五日換手率:’ + NUMTOSTRN(VAR3,2) + ‘%’),COLORWHITE;
DRAWTEXTABS(10,30,’操盤紀(jì)律:『黃K買綠K賣紫K加倉』K線站上黃色能量線,突破并站穩(wěn)紫線加倉,股價跌破能量線減倉,跌破生命線空倉,操作時間上午10點(diǎn)前,或者下午2點(diǎn)30后’),COLORYELLOW;
VAR4:=EMA(LOW,3);
VAR5:=EMA(LOW,10);
VAR6:=EMA(LOW,20);
VAR7:=EMA(LOW,30);
VAR8:=EMA((VAR5 + VAR6 + VAR7) * 0.28,18);
VAR9:=EMA(HIGH,10);
VAR10:=EMA(HIGH,20);
VAR11:=EMA(HIGH,30);
VAR12:=EMA((VAR9 + VAR10 + VAR11) * 0.382,18);
黃金能量線:REF(EMA((2 * CLOSE + HIGH + LOW + OPEN)/5,5),1),LINETHICK2,COLORYELLOW;
VAR13:=EMA((VAR9 + VAR10 + VAR11) * 0.382,10);
VAR14:=EMA((VAR5 + VAR6 + VAR7) * 0.28,10);
生命線:(VAR13 + VAR14)/2,LINETHICK2,LAYER1,COLORMAGENTA;
VAR15:=100 * (CLOSE – REF(CLOSE,1))/REF(CLOSE,1);
VAR16:=IF(CLOSE < REF(OPEN,1) AND VAR15 < 0,1,0);
VAR17:=IF(CLOSE < REF(OPEN,2) AND VAR15 < 0,1,0);
STICKLINE(VAR16=0 AND REF(VAR16,1)=1 AND VAR17=0 AND REF(VAR17,1)=1,HIGH,LOW,0,1),COLOR00BBFF;
STICKLINE(VAR16=0 AND REF(VAR16,1)=1 AND VAR17=0 AND REF(VAR17,1)=1,OPEN,CLOSE,8,0),COLOR00AAFF;
STICKLINE(VAR16=0 AND REF(VAR16,1)=1 AND VAR17=0 AND REF(VAR17,1)=1,OPEN,CLOSE,6.6,0),COLOR00BBFF;
STICKLINE(VAR16=0 AND REF(VAR16,1)=1 AND VAR17=0 AND REF(VAR17,1)=1,OPEN,CLOSE,4.4,0),COLOR00CCFF;
STICKLINE(VAR16=0 AND REF(VAR16,1)=1 AND VAR17=0 AND REF(VAR17,1)=1,OPEN,CLOSE,3.3,0),COLOR00DDFF;
STICKLINE(VAR16=0 AND REF(VAR16,1)=1 AND VAR17=0 AND REF(VAR17,1)=1,OPEN,CLOSE,2,0),COLOR00EEFF;
STICKLINE(VAR16=0 AND REF(VAR16,1)=1 AND VAR17=0 AND REF(VAR17,1)=1,OPEN,CLOSE,0.8,0),COLORYELLOW;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,8,0),COLOR008800;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,7,0),COLOR009900;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,6,0),COLOR00AA00;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,5,0),COLOR00BB00;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,4,0),COLOR00CC00;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,3,0),COLOR00DD00;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,2,0),COLOR00EE00;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,1,0),COLORGREEN;
VAR18:=(HIGH + LOW + CLOSE + OPEN)/4;
VAR19:=MA(VAR18,5);
VAR20:=(VAR18/VAR19 – 1) * 100;
VAR21:=VAR20 <= -12;
VAR22:=(HIGH + LOW + CLOSE)/3;
VAR23:=(VAR22 – MA(VAR22,14))/(0.015 * AVEDEV(VAR22,14));
VAR24:=SMA(MAX(CLOSE – REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE – REF(CLOSE,1)),6,1) * 100;
VAR25:=(CLOSE/MA(CLOSE,5) – 1) * 100 < -10;
VAR26:=(CLOSE/MA(CLOSE,13) – 1) * 100 < -10;
VAR27:=(CLOSE/MA(CLOSE,34) – 1) * 100 < -15;
VAR28:=VAR24 < 18;
VAR29:=VAR23 < -120;
VAR30:=(CLOSE – CYC(13))/CYC(13) * 100 < -20;
VAR31:=COUNT(ABS(CLOSE/REF(CLOSE,1) – 1) * 100 >= 6,30) >= 1;
VAR32:=VAR25 AND VAR26 AND VAR27 AND VAR28 AND VAR29 AND VAR31 AND VAR30;
DRAWTEXT(VAR32 AND VAR21,LOW * 0.95,’超跌’),ALIGN1,VALIGN1,COLORYELLOW;
VAR33:=REF(CLOSE,1)/REF(CLOSE,2) <= 0.93 AND BETWEEN(CLOSE/REF(CLOSE,1),1.03,0.97) AND CLOSE/REF(CLOSE,8) <= 0.8 AND BETWEEN(REF(CLOSE,2)/REF(CLOSE,3),1.04,0.96) AND BETWEEN(REF(CLOSE,3)/REF(CLOSE,4),1.04,0.96);
STICKLINE(VAR33,HIGH,LOW,0,1),COLORF5A963;
STICKLINE(VAR33,OPEN,CLOSE,8,0),COLORCF6E10;
STICKLINE(VAR33,OPEN,CLOSE,7,0),COLOREF7B12;
STICKLINE(VAR33,OPEN,CLOSE,4,0),COLORF08728;
STICKLINE(VAR33,OPEN,CLOSE,2,0),COLORF29540;
STICKLINE(VAR33,OPEN,CLOSE,1,0),COLORF5A963;
DRAWTEXT(VAR33,LOW * 0.95,’抓漲停’),ALIGN1,VALIGN1,COLORRED;
VAR34:=MA(LOW,5) * (1 – 5/100);
VAR35:=(HHV(VAR34,5) + LLV(VAR34,5))/2;
DRAWTEXT(CROSS(VAR35,LOW) AND VAR35 > REF(VAR35,1),LOW * 0.98,’洗盤’),ALIGN1,VALIGN1,COLORYELLOW;
VAR43:=((CLOSE – REF(MA(CLOSE,18),1))/18 + MA(CLOSE,18)) * 1.004;
VAR44:=CROSS(CLOSE,VAR43) AND VAR43 > REF(VAR43,1);
VAR45:=7 * SMA((CLOSE – LLV(LOW,27))/(HHV(HIGH,27) – LLV(LOW,27)) * 30,4,1) – 3 * SMA(SMA((CLOSE – LLV(LOW,27))/(HHV(HIGH,27) – LLV(LOW,27)) * 30,4,1),3,1) – SMA(SMA(SMA((CLOSE – LLV(LOW,27))/(HHV(HIGH,27) – LLV(LOW,27)) * 30,4,1),3,1),2,1);
VAR46:=EMA(MA(VAR45,5),7);
DRAWTEXTABS(5,5,’概念股網(wǎng) www.chiang1015.com’),linethick1,COLOR00EEff;
VAR47:=EMA(IF(LOW <= LLV(LOW,40),SMA(ABS(LOW - REF(LOW,1)),40,1)/SMA(MAX(LOW - REF(LOW,1),0),40,1),0),3) * 10;
VAR48:=VAR47 AND CROSS(VAR45,VAR46) AND VAR45 < 20 AND VAR23 < 0;
VAR49:=MA(HIGH,5) * (1 + 5/100);
VAR36:=MA(CLOSE,5);
VAR37:=MA(CLOSE,10);
VAR38:=MA(CLOSE,30);
VAR39:=(MA(CLOSE,5) – MA(CLOSE,30))/MA(CLOSE,5) * 100;
VAR40:=CLOSE > MA(CLOSE,5) AND OPEN < MA(CLOSE,5);
VAR41:=CLOSE > MA(CLOSE,10) AND OPEN < MA(CLOSE,10);
VAR42:=CLOSE > MA(CLOSE,30) AND OPEN < MA(CLOSE,30);
DRAWTEXT(VAR40 AND VAR42 AND VAR41,LOW – 0.1,’←蛟龍’),COLORRED;
逃頂:CROSS(80,VAR24),LINETHICK0,POINTDOT,COLORYELLOW;
DRAWICON(CROSS(80,VAR24),HIGH,2),ALIGN1,VALIGN1;
STICKLINE(VAR44,HIGH,LOW,0.5,1),COLORFFBBFF;
STICKLINE(VAR44,OPEN,CLOSE,8,0),COLORFF22FF;
STICKLINE(VAR44,OPEN,CLOSE,7,0),COLORFF44FF;
STICKLINE(VAR44,OPEN,CLOSE,6,0),COLORFF66FF;
STICKLINE(VAR44,OPEN,CLOSE,5,0),COLORFF88FF;
STICKLINE(VAR44,OPEN,CLOSE,4,0),COLORFF99FF;
STICKLINE(VAR44,OPEN,CLOSE,3,0),COLORFFAAFF;
STICKLINE(VAR44,OPEN,CLOSE,2,0),COLORFFBBFF;
STICKLINE(VAR44,OPEN,CLOSE,1,0),COLORFFBBFF;
DRAWTEXT(VAR44,LOW * 0.975,’加倉’),ALIGN1,VALIGN1,COLORYELLOW;
VAR36:=MA(CLOSE,5);
VAR37:=MA(CLOSE,10);
VAR38:=MA(CLOSE,30);
VAR39:=(MA(CLOSE,5) – MA(CLOSE,30))/MA(CLOSE,5) * 100;
VAR40:=CLOSE > MA(CLOSE,5) AND OPEN < MA(CLOSE,5);
VAR41:=CLOSE > MA(CLOSE,10) AND OPEN < MA(CLOSE,10);
VAR42:=CLOSE > MA(CLOSE,30) AND OPEN < MA(CLOSE,30);
DRAWTEXT(VAR40 AND VAR42 AND VAR41,LOW – 0.1,’←蛟龍’),COLORRED;
DRAWTEXT(VAR48,LOW – 0.1,’起飛’),ALIGN1,VALIGN1,COLORWHITE;
XS:MA(LOW,5) * (1 – 5/100),LINETHICK0;
DRAWTEXT(CROSS(VAR49,CLOSE),HIGH * 1.005,’逃’),ALIGN1,VALIGN1,COLORGREEN;選股公式:
VAR22:=(HIGH + LOW + CLOSE)/3;
VAR23:=(VAR22 – MA(VAR22,14))/(0.015 * AVEDEV(VAR22,14));
VAR34:=MA(LOW,5) * (1 – 5/100);
VAR35:=(HHV(VAR34,5) + LLV(VAR34,5))/2;
VAR43:=((CLOSE – REF(MA(CLOSE,18),1))/18 + MA(CLOSE,18)) * 1.004;
VAR44:=CROSS(CLOSE,VAR43) AND VAR43 > REF(VAR43,1);
VAR45:=7 * SMA((CLOSE – LLV(LOW,27))/(HHV(HIGH,27) – LLV(LOW,27)) * 30,4,1) – 3 * SMA(SMA((CLOSE – LLV(LOW,27))/(HHV(HIGH,27) – LLV(LOW,27)) * 30,4,1),3,1) – SMA(SMA(SMA((CLOSE – LLV(LOW,27))/(HHV(HIGH,27) – LLV(LOW,27)) * 30,4,1),3,1),2,1);
VAR46:=EMA(MA(VAR45,5),7);
VAR47:=EMA(IF(LOW <= LLV(LOW,40),SMA(ABS(LOW - REF(LOW,1)),40,1)/SMA(MAX(LOW - REF(LOW,1),0),40,1),0),3) * 10;
起飛選股:VAR47 AND CROSS(VAR45,VAR46) AND VAR45 < 20 AND VAR23 < 0;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點(diǎn),亦不對其真實(shí)性負(fù)責(zé),投資決策請建立在獨(dú)立思考之上。