【大智慧】主力買賣主圖指標(biāo)公式
攻城獅 2015.11.29 03:24
A4:=MA(CLOSE,20);DRAWTEXTREL(2,980.5,’底部區(qū)域:’+NUMTOSTR(COST(0.33))),Color0000FF;
DRAWTEXTREL(128,980.5,’安全區(qū)域:’+NUMTOSTR(COST(5))),Colorff00FF;
DRAWTEXTREL(2,930.5,’投機(jī)區(qū)域:’+NUMTOSTR(COST(15))),Color00DDFF;
DRAWTEXTREL(128,930.5,’風(fēng)險(xiǎn)區(qū)域:’+NUMTOSTR(COST(55))),COLOR00FF00;
A5:=(CLOSE > MA(CLOSE,5));DRAWTEXTREL(310,50,’放量下跌要減倉(cāng)’),LINETHICK3,COLORYELLOW;
DRAWTEXTREL(310,110,’縮量下跌是底像’),LINETHICK3,COLORYELLOW;
DRAWTEXTREL(310,170,’增量回升是關(guān)鍵’),LINETHICK3,COLORYELLOW;
DRAWTEXTREL(310,230,’回頭確認(rèn)要進(jìn)場(chǎng)’),LINETHICK3,COLORYELLOW;
A6:=(MA(CLOSE,5) > MA(CLOSE,10));DRAWTEXTREL(500,80,’ 千股千評(píng):’+SELFSTRING(‘千股千評(píng)’)),colorYellow,LINETHICK2;
A7:=(CLOSE > MA(CLOSE,10));
A8:=(MA(CLOSE,5) > MA(CLOSE,20));
A9:=(CLOSE > MA(CLOSE,20));
A10:=REF(A4,1);
A11:=(A4 > A10);
AVX:=(((((IF(A5,10,(0 – 10)) + IF(A6,10,(0 – 10))) + IF(A7,10,(0 – 10))) + IF(A8,10,(0 – 10))) + IF(A9,10,(0 – 10))) + IF(A11,10,(0 – 10)));
DSLX:=(CLOSE / INDEXC);
DSLX1:=MA(DSLX,5);
DSLX2:=MA(DSLX,10);
V1:=MA(VOL,5);
V2:=MA(VOL,10);
mc:=REF(c,1);
阻力位:=IF((CLOSE > 200),(CLOSE * 1.01),(CLOSE * 1.07));
阻力位1:=IF((CLOSE < 10),(CLOSE * 1.05),阻力位);
止損位:=IF((CLOSE > 200),(CLOSE * 0.99),(CLOSE * 0.93));
止損位1:=IF((CLOSE < 10),(CLOSE * 0.95),止損位);
阻力位a:=IF((mc > 200),(mc * 1.01),(mc * 1.07));
阻力位2:=IF((mc < 10),(mc * 1.05),阻力位a);
止損位b:=IF((mc > 200),(mc * 0.99),(mc * 0.93));
止損位2:=IF((mc < 10),(mc * 0.95),止損位b);
TJTS1:=BARSTATUS=2 and c<200;
TJTS2:=BARSTATUS=2 and c>200;
DRAWTEXTABS(58,95,'[昨/今日 止損位 :’+NUMTOSTRn(止損位b,2)+’/’+NUMTOSTRn(止損位1,2)+’**]’),LINETHICK1,COLOR00FF00;
DRAWTEXTABS(58,125,'[昨/今日 阻力位 :’+NUMTOSTRn(阻力位2,2)+’/’+NUMTOSTRn(阻力位1,2)+’]’),LINETHICK1,colorFEBAF5;
PT := REF(HIGH,1)-REF(LOW,1);
重心:=(HIGH + LOW + CLOSE)/3;
壓力Ⅰ:= 2*重心-LOW;
壓力Ⅱ:= 重心 + PT;
支撐Ⅰ:= 2*重心-HIGH;
支撐Ⅱ:= 重心 – PT;
DRAWTEXTABS(75,8,’ 《世旗操作》’),ColorFFFF00;
DRAWTEXTABS(150,8,’ 重心:’+重心),Color208FFF;
DRAWTEXTABS(75,27,’ 支 撐’),ColorFFFFFF;
DRAWTEXTABS(75,44,’ ‘+支撐Ⅰ),ColorFFFFFF;
DRAWTEXTABS(75,62,’ ‘+支撐Ⅱ),ColorFFFFFF;
DRAWTEXTABS(75,27,’ 壓 力’),Color00FF00;
DRAWTEXTABS(75,44,’ ‘ +壓力Ⅰ),Color00FF00;
DRAWTEXTABS(75,62,’ ‘ +壓力Ⅱ),Color00FF00;
DRAWTEXTABS(75,5,’│’),Color00FFFF;
DRAWTEXTABS(75,17,’│’),Color00FFFF;
DRAWTEXTABS(75,29,’│’),Color00FFFF;
DRAWTEXTABS(75,41,’│’),Color00FFFF;
DRAWTEXTABS(75,53,’│’),Color00FFFF;
DRAWTEXTABS(75,65,’│’),Color00FFFF;
DRAWTEXTABS(218,5,’│’),Color00FFFF;
DRAWTEXTABS(218,17,’│’),Color00FFFF;
DRAWTEXTABS(218,29,’│’),Color00FFFF;
DRAWTEXTABS(218,41,’│’),Color00FFFF;
DRAWTEXTABS(218,53,’│’),Color00FFFF;
DRAWTEXTABS(218,65,’│’),Color00FFFF;
DRAWTEXTABS(146,25,’│’),Color00FFFF;
DRAWTEXTABS(146,29,’│’),Color00FFFF;
DRAWTEXTABS(146,41,’│’),Color00FFFF;
DRAWTEXTABS(146,53,’│’),Color00FFFF;
DRAWTEXTABS(146,65,’│’),Color00FFFF;
DRAWTEXTABS(80,0,’────────────’),Color00FFFF;
DRAWTEXTABS(80,20,’────────────’),Color00FFFF;
DRAWTEXTABS(80,37,’────────────’),Color00FFFF;
DRAWTEXTABS(80,54,’────────────’),Color00FFFF;
DRAWTEXTABS(80,71,’────────────’),Color00FFFF;
趨勢(shì)1:EMA(EMA(EMA(EMA(CLOSE,3),3),3),3),COLOR0000FF;
趨勢(shì)2:EMA(REF(趨勢(shì)1,1),3),COLOR00FFFF;
趨勢(shì)3:EMA(EMA(EMA(EMA(EMA(CLOSE,65),3),3),3),3),COLORFF0000;
買線:=EMA(CLOSE,2);
賣線:=EMA(SLOPE(CLOSE,21)*20 +CLOSE,42);
BU:=CROSS(買線,賣線) ;
SEL:=CROSS(賣線,買線) ;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
VAR21:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100 +(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100 + (CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
大頂:=FILTER(VAR21>20 AND FILTER(VAR21 VAR1Q:=(OPEN+LOW+HIGH+CLOSE)/4;
MAN:=SMA(HIGH,21,2)*1.05;
短底2:=EMA(VAR1Q,5);
支撐:=HHV(短底2,60);
VAR4M:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR5M:=SMA(VAR4M,5,1);
VAR6M:=SMA(VAR5M,8,1);
VAR7M:=CROSS(VAR5M,VAR6M) AND VAR6M<5;
VAR8M:=CLOSE >(LLV(CLOSE,60)+0.3*LLV(CLOSE,60)) AND VAR7M;
VAR9M:=IF(CLOSE>1000,VAR7M,VAR8M);
黑馬起步:=VAR9M;
短期底部:=LLV(HIGH,30)*0.93;
逃:=FILTER((HIGH>支撐) AND (CLOSE<支撐) AND CLOSE/OPEN > (0-1.06) AND CLOSE逃命:=黑馬起步>0 ;
選逃:=FILTER(逃命 OR 逃 OR CROSS(84,RSI) OR 大頂,3) ;
STICKLINE(買線>=賣線,LOW,HIGH,1,0),COLOR0000FF;
STICKLINE(買線>=賣線,CLOSE,OPEN,4.5,0),COLOR0000AA;
STICKLINE(買線>=賣線,CLOSE,OPEN,4,0),COLOR0000CC;
STICKLINE(買線>=賣線,CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE(買線>=賣線,CLOSE,OPEN,2,0),COLOR0000EE;
STICKLINE(買線<賣線,CLOSE,OPEN,4.5,0),COLORAAAA00;
STICKLINE(買線<賣線,CLOSE,OPEN,4,0),COLORBBBB00;
STICKLINE(買線<賣線,CLOSE,OPEN,3,0),COLORCCCC00;
STICKLINE(買線<賣線,CLOSE,OPEN,2,0),COLOREEEE00;
STICKLINE(買線<賣線,LOW,HIGH,1,0),COLORFFFF00;
DRAWTEXT(選逃,HIGH*1.03,’逃’),COLOR00FFFF;
DRAWTEXT(BU,LOW*0.996,’世旗買’),COLOR0000FF;
DRAWTEXT(SEL,HIGH*1.02,’世旗賣’),COLOR00FFFF;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),5);
主力進(jìn)場(chǎng):=FILTER(VAR5>REF(VAR5,1),5);
DRAWTEXT(FILTER(VAR5>REF(VAR5,1),5),LOW*0.995,’↑’),COLORFF0000;
DRAWTEXT(FILTER(VAR5>REF(VAR5,1),5),LOW*0.96,’主力’),COLORFF0000;
STICKLINE(FILTER(VAR5>REF(VAR5,1),5),CLOSE,OPEN,5,0),COLORFF0000;
STICKLINE(FILTER(VAR5>REF(VAR5,1),5),LOW,HIGH,1,0),COLORFF0000;
指數(shù)位置:= 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);
抄底:=CROSS(指數(shù)位置,10) ;
STICKLINE(CROSS(買線,賣線) OR CROSS(賣線,買線),OPEN,CLOSE,3,0),COLOR00FFFF;
STICKLINE(BU,MAX(CLOSE,OPEN)*0.995,MIN(CLOSE,OPEN)*1.005,2.5,0),COLOR0000FF;
VAR6:=REF(CLOSE,1);
VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;
VAR8:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
VAR9:=CLOSE >(REF(HIGH,1)+REF(LOW,1))/2;
VAR10:=VAR8 AND VAR9;
VAR11:=(2*CLOSE+HIGH+LOW)/4;
VAR12:=LLV(LOW,13);
VAR13:=HHV(HIGH,13);
VAR14:=LLV(LOW,1)=LLV(LOW,35) AND CLOSE>=OPEN*1.04;
VAR15:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
{www.chiang1015.com 概念股網(wǎng)_最新股票指標(biāo)公式}
VAR16:=EMA((VAR11-VAR12)/(VAR13-VAR12)*100,13);
VARA:=EMA(0.667*REF(VAR16,1)+0.333*VAR16,2);
多:=VAR16;
空:=EMA(0.382*REF(VAR16,2)+0.618*VAR16,12);
A1:=VOL=HHV(VOL,120);
A2:=CLOSE/OPEN>1.05;
TJ:=A1 AND A2;
龍:=VAR10;
買4:=VAR14;
AA1:=AMOUNT/VOL;
BB1:=LOWCC1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;
DD1:=LOWEE1:=VOL FF1:=BB1 AND CC1 AND DD1 AND EE1;
買3:=FILTER(FF1,3);
二十天最低跌幅:=HHV(CLOSE,20)/LLV(CLOSE,20);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)) *100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
買1:=CROSS(J,REF(J+0.01,1)) AND X AND J<20 AND 二十天最低跌幅>=1.3;
長(zhǎng)期底部:=LLV(HIGH,30);
上:=SMA(LOW,5,2)*0.96;
選底:=FILTER(LOW<=上 AND HIGH>=短期底部 AND CLOSE>=長(zhǎng)期底部 AND CLOSE/OPEN/1.03,3) ;
DRAWTEXT(IF(選底,100,0),LOW*0.95,’底’),COLOR399C71;
DRAWTEXT(IF(選底,100,0),LOW*0.995,’↑’),COLOR399C71;
STICKLINE(IF(選底,100,0),CLOSE,OPEN,5,0),COLOR399C71;
STICKLINE(IF(選底,100,0),LOW,HIGH,1,0),COLOR399C71;
選買:=FILTER(買3 OR 選底,3) AND COUNT(買1+ 買4+龍 ,3)>0 ;
STICKLINE(選買,HIGH,HHV(HIGH,90)*0.95,0.2,0),COLORFF0000;
DRAWTEXT(選買,HHV(HIGH,90)*1,’穩(wěn)賺’),COLORFF0000;
DRAWTEXT(選買,HHV(HIGH,90)*0.97,’10%買’),COLORFF0000;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。