【通達(dá)信】亮劍紅藍(lán)分時(shí)指標(biāo)公式
攻城獅 2016.04.07 10:49
E:=CROSS(83,RSI);
STICKLINE( E,E,55,1,0),COLOR00FFFF;
DRAWTEXT(E,50,’ 逃頂’),COLORFF9966;
VA1:=HHV(HIGH,9)-LLV(LOW,9);
VA2:=HHV(HIGH,9)-CLOSE;
VA3:=CLOSE-LLV(LOW,9);
VA4:=VA2/VA1*100-70;
VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VA6:=(CLOSE+HIGH+LOW)/3;
VA7:=SMA(VA3/VA1*100,3,1);
VA8:=LLV(LOW,34);
VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);
VARA:=IF(VA9>100,VA9-100,0);
VARB:=HHV(HIGH,34);
VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
VARF:=MA(VARE,3);
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=((VAR2)/(VAR1))*(100)-70;
VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF((VAR9>100),VAR9-100,0);
VAR11:=HHV(HIGH,34);
B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);
DRAWKLINE(EMA(B1,5),EMA(B1,5),B1+1,B1);
領(lǐng)先:EMA(B1,5),COLORCYAN;
生命線(xiàn):EMA(VARD,1),COLORYELLOW;
V1:=MA(C,5)=HHV(MA(C,5),20);
V2:=MA(C,5)>MA(C,10);
V3:=MA(V,5)>MA(V,40)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
VV:=V1 AND V2 AND V3 AND V4;
A1:=EMA(CLOSE,8);
A2:=EMA(A1,20);
A3:=CROSS(A1,A2);
A4:=A1STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,1,0),COLORYELLOW;
A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*
SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),CIRCLEDOT ,COLORFF9900 ;
安全位:=20;
低位轉(zhuǎn)強(qiáng):IF(CROSS(A5,安全位),50,0),STICK,COLORMAGENTA,LINETHICK2;
{m.guangshenggb.com 概念股網(wǎng)_通達(dá)信股票指標(biāo)公式}
開(kāi)始拉升:IF(CROSS(VARC,生命線(xiàn)) AND VARC>VARD AND VARC<55 AND C>O,50,0),
COLORLIRED,POINTDOT;
A6:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100);
極地上漲:IF(A6,領(lǐng)先,0),COLORGREEN,LINETHICK2;
STICKLINE(開(kāi)始拉升>0,15,開(kāi)始拉升*1.01,1,0),COLORBLUE;
STICKLINE((開(kāi)始拉升>0 AND 開(kāi)始拉升<400) OR (極地上漲>0 AND 極地上漲<400)
OR (低位轉(zhuǎn)強(qiáng)>0 AND 低位轉(zhuǎn)強(qiáng)<400) OR (低位轉(zhuǎn)強(qiáng)>0),30,開(kāi)始拉升,1,0),COLORRED;
STICKLINE(開(kāi)始拉升>0,15,開(kāi)始拉升*0.6,3,0),COLORBLUE;
STICKLINE(開(kāi)始拉升>0,15,開(kāi)始拉升*0.4,3,0),COLOR00FF00;
STICKLINE(開(kāi)始拉升>0,15,開(kāi)始拉升*0.2,3,0),COLOR0099CC;
STICKLINE(低位轉(zhuǎn)強(qiáng)>0,15,低位轉(zhuǎn)強(qiáng)*1.01,1,0),COLORMAGENTA;
STICKLINE((低位轉(zhuǎn)強(qiáng)>0)OR(極地上漲>0),15,低位轉(zhuǎn)強(qiáng)*0.4,3,0),COLORYELLOW;
STICKLINE(低位轉(zhuǎn)強(qiáng)>0,15,低位轉(zhuǎn)強(qiáng)*0.2,3,0),COLORFFCC66;
STICKLINE(極地上漲>0,15,極地上漲*1.01,1,0),COLORYELLOW;
_紅柱:IF(“MACD.MACD”>REF(“MACD.MACD”,1),”MACD.MACD”,DRAWNULL),
STICK,COLORRED;
綠柱:IF(“MACD.MACD” STICK,COLORYELLOW;
_抄底:ABS((CROSS(“MACD.DIF”,”MACD.DEA”)
&&”MACD.DEA”<=-0.07)*"MACD.DIF")*1.50,COLORLIMAGENTA;
_DIF:”MACD.DIF”,COLORWHITE;
_DEA:”MACD.DEA”,COLORYELLOW;
__強(qiáng)度:IF(_DIF>_DEA,_DIF,DRAWNULL),COLORRED,LINETHICK2;
_強(qiáng)度:IF(_DEA<_DIF,_DEA,DRAWNULL),COLORMAGENTA,LINETHICK2;
DRAWTEXT(ABS(_抄底)>0,_抄底*1.20,’ 抄底’),COLORYELLOW;
DRAWICON(ABS(_抄底)>0,_抄底*1.10,4);
DRAWICON(CROSS(_DIF,_DEA),_DEA,1);
DRAWICON(CROSS(_DEA,_DIF),_DEA,2);
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.guangshenggb.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。