【通達信】祈福狙擊手主圖指標公式
攻城獅 2016.02.08 23:52
攻擊:EMA(CLOSE,5)LINETHICK3,COLOR00CCFF;
攻擊線:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382,COLORBLACK,LINETHICK1;
攻擊量:=MA(VOL,3)COLORWHITE;
防守量:=MA(VOL,5)COLORGREEN;
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
五日乖離率:=(C-攻擊)/攻擊*100;
BB05:=ATAN((攻擊/REF(攻擊,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((攻擊-REF(攻擊,1))/REF(攻擊,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;
滿倉:IF(BB05>30 AND 攻擊>REF(攻擊,1), 攻擊,DRAWNULL),LINETHICK3,COLORRED;
BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
空倉:IF(BB05<0 AND 攻擊 三拾日乖離率:=(C-MA30)/MA30*100,NODRAW;
VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
VAR2:=(MA30-MA20) BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;
強勢狙擊:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);
加倉:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND 攻擊>REF(攻擊,1) AND 三拾日乖離率>REF(三拾日乖離率,1) AND MA10>REF(MA10,1)
AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;
清倉:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND 攻擊 DRAWTEXT(加倉 ,LOW*0.98,’←加倉’),COLORRED;
JC:=CROSS(0,五日乖離率) AND 三拾日乖離率REF(MA10,1) ;
減倉:=FILTER(JC,10);
MR:=COUNT(CROSS(五日乖離率,0),3)>=1 AND 三拾日乖離率>REF(三拾日乖離率,1) AND 攻擊>REF(攻擊,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)買入:=FILTER(MR,10);
DRAWTEXT(減倉,HIGH*1.02,’←風(fēng)險’),COLORCYAN;
DRAWTEXT(買入,LOW*0.98,’←買入’),COLORYELLOW;
DRAWTEXT(清倉 ,HIGH*1.02,’←清倉’),COLORGREEN;
DRAWTEXT(強勢狙擊,LOW*0.98,’←強勢狙擊’),COLORYELLOW;
VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));
VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);
MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;
壓力:MA(REF(HHV(C,21),1),2),COLOR9DFFFF;
支撐:MA(REF(LLV(C,21),1),2),COLORABFF46;
RSV1:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
K1:=SMA(RSV1,5,1);
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1;
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
走勢:=CEILING(SMA(AA5,13,3));
散戶:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));
主力:=EMA(J1,6);
{DA:=(EMA(H,1)+EMA(L,1)+EMA(H,1)+EMA(H,1))/4,COLORRED,LINETHICK2;
DB:=EMA(REF(HHV(H,25),1),2),COLORGREEN,LINETHICK2;
DRAWTEXT(CROSS(DB,DA),HIGH*1.02,’險’),COLORGREEN,LINETHICK1;}
DIF:=(EMA(CLOSE,8) – EMA(CLOSE,22))*100,COLORGRAY,LINETHICK2;
DEA:=EMA(DIF,5),COLORWHITE,LINETHICK1;
MACD:=2*(DIF-DEA),COLORWHITE,LINETHICK2;
R1:=(C>REF(C,1) AND C>REF(C,2));
R2:=(REF(R1,1) AND C<=REF(C,1) AND C>=REF(C,2));
R3:=(REF(R2,1) AND C>=REF(C,1) AND C<=REF(C,2));
R4:=(REF(R3,1) AND C<=REF(C,1) AND C>=REF(C,2));
R5:=(REF(R4,1) AND C>=REF(C,1) AND C<=REF(C,2));
R6:=(REF(R5,1) AND C<=REF(C,1) AND C>=REF(C,2));
R7:=(REF(R6,1) AND C>=REF(C,1) AND C<=REF(C,2));
R8:=(REF(R7,1) AND C<=REF(C,1) AND C>=REF(C,2));
R9:=(REF(R8,1) AND C>=REF(C,1) AND C<=REF(C,2));
RA:=(REF(R9,1) AND C<=REF(C,1) AND C>=REF(C,2));
RB:=(REF(RA,1) AND C>=REF(C,1) AND C<=REF(C,2));
RC:=(REF(RB,1) AND C<=REF(C,1) AND C>=REF(C,2));
RD:=(C RE:=(REF(RD,1) AND C>=REF(C,1) AND C<=REF(C,2));
RF:=(REF(RE,1) AND C<=REF(C,1) AND C>=REF(C,2));
R10:=(REF(RF,1) AND C>=REF(C,1) AND C<=REF(C,2));
R11:=(REF(R10,1) AND C<=REF(C,1) AND C>=REF(C,2));
R12:=(REF(R11,1) AND C>=REF(C,1) AND C<=REF(C,2));
R13:=(REF(R12,1) AND C<=REF(C,1) AND C>=REF(C,2));
R14:=(REF(R13,1) AND C>=REF(C,1) AND C<=REF(C,2));
R15:=(REF(R14,1) AND C<=REF(C,1) AND C>=REF(C,2));
R16:=(REF(R15,1) AND C>=REF(C,1) AND C<=REF(C,2));
R17:=(REF(R16,1) AND C<=REF(C,1) AND C>=REF(C,2));
R18:=(REF(R17,1) AND C>=REF(C,1) AND C<=REF(C,2));
R19:=REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1) AND R1;
R1A:=((REF(R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,1)) AND RD);
DL1:=LLV(LOW,10);
DL2:=HHV(HIGH,25);
動力線:=EMA((CLOSE-DL1)/(DL2-DL1)*4,4);
強勢:=CROSS(動力線,1.75);
N:=20;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,1000000,10000),COLOR00AAAA,LINETHICK;
DX:=MA(DDX,5)*N;
DDX1:=SMA(DX,3,1),COLORBLUE;
資金:=DDX1>REF(DDX1,1);
DDX2:=SMA(DDX1,3,1),COLOR00FF00;
RSV:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
KD金叉:=CROSS(K,D) AND K>20 AND D<50;
紅區(qū):=BB05>30 AND 攻擊>REF(攻擊,1);
BIAS:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*100;
金叉:=CROSS(BIAS,0);
DRAWICON(R19 AND 動力線>REF(動力線,1) AND 資金 AND MACD>REF(MACD,1) AND 走勢>=REF(走勢,1),LOW*0.98,1),COLORFFFFFF;
DRAWICON(R1A AND 動力線<=REF(動力線,1),HIGH*1.02,2),COLORFFFFFF;
預(yù)警:=DDX>0 AND MA(V,5)>MA(MA(V,5),5) AND CROSS(DDX1,DDX2);
壓力線:=MA(CLOSE,21)*1.06,LINETHICK1,COLORGRAY;
狙擊:DRAWTEXT(CROSS(攻擊線,MA20) AND 資金 AND MACD>0,支撐,’★’),COLORYELLOW;
狙擊一:DRAWTEXT(R19 AND 金叉 AND 買入,支撐,’Ф狙1′),COLORRED;
狙擊二:DRAWTEXT(金叉 AND 資金 AND 紅區(qū) AND MACD>-10 AND 主力>散戶,支撐,’Ф狙2′),COLORYELLOW;
大膽持股:IF(攻擊線>攻擊 AND 攻擊>REF(攻擊,1) AND 攻擊線>MA20,支撐,DRAWNULL),COLORMAGENTA,LINETHICK2;
絕對空倉:IF(走勢 強勢狙擊三:DRAWTEXT(KD金叉 AND 紅區(qū) AND 強勢,支撐,’Ф狙3′),COLORYELLOW;
DRAWTEXT(R19 AND MACD>DEA AND DEA<0,支撐,'△小玩'),COLORFFFFFF;
DRAWTEXT(R19 AND 主力>走勢 AND 主力>REF(主力,1) AND 攻擊量>防守量,支撐,’Ф潛伏’),COLORYELLOW;
VAR1AA:=LLV(LOW,21);
VAR2AA:=HHV(HIGH,21);
AK1:=EMA((((CLOSE – VAR1AA) / (VAR2AA – VAR1AA)) * 100),5);
AK:=EMA((((CLOSE – VAR1AA) / (VAR2AA – VAR1AA)) * 50),13);
AB:=CROSS(AK1,AK);
DRAWTEXT((AB = 1),(LOW * 0.99),’△反彈’),COLORRED;
AA1:=AMOUNT ;
BB1:=LCC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=LEE1:=V 超跌反彈:=BB1 AND CC1 AND DD1 AND EE1;
DRAWTEXT(超跌反彈,L-0.1,’超跌反彈’),COLORRED;
{BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIASMA:=MA(BIAS1,6);
DRAWTEXT(CROSS(BIAS1,BIASMA) AND R19,壓力-0.1,’B’),COLORRED;};
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責(zé),投資決策請建立在獨立思考之上。