【通達信】分時K線主圖指標公式
攻城獅 2016.02.08 11:44
QW1:=(HIGH+LOW+CLOSE*2)/4;QW3:=EMA(QW1,10);QW4:=STD(QW1,10);QW5:=(QW1-QW3)*100/QW4;QW6:=EMA(QW5,5);RK7:=EMA(QW6,10);漲:EMA(QW6,10)+100/2-5,LINETHICK1,COLORRED;跌:EMA(漲,4),LINETHICK1,COLORFFFF34;多線:IF(CROSS(漲,跌) AND 跌<-10,30,0),LINETHICK1,COLORFF00FF;空線:IF(CROSS(跌,80),70,100),COLORFF9900;買1:EMA(跌,4),COLORWHITE;買2:EMA(買1,4),COLORGREEN;買M3:=EMA(買2,4);買M4:=EMA(買M3,4);STICKLINE(漲 REF(漲,1),漲,EMA(漲,3),2,0) ,COLOR0088FF;DRAWICON(多線,30,1);DRAWICON(CROSS(跌,80),70,2);DRAWTEXT(CROSS(漲,跌) AND 跌<20 AND 跌>-10,40,’買入’),COLORCCFF99;DRAWTEXT(多線>0,-20,’看漲’),COLOR0000FF;VAR811:=SUMBARS(VOL,FINANCE(7)*100);VAR822:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);VAR883:=(CLOSE-VAR822)/VAR822*100;VAR884:=HHV(VAR883,VAR811);VAR885:=LLV(VAR883,VAR811);VAR886:=(VAR883-VAR885)/(VAR884-VAR885)*100;K:=SMA(VAR886,3,1);D:=SMA(K,3,1);J:=3*K-2*D;MA1:=MA(J,3);STICKLINE(FILTER(J>MA1 AND J<=3,5)=1 AND 跌<0,漲,漲+20,6,0),COLORYELLOW;DRAWTEXT(FILTER(J>MA1 AND J<=3,5)=1 AND 跌<0,60,'考慮買進'),COLORFFFFFF;VAR1:=MA(CLOSE,152);VAR2:=MA(CLOSE,194);VAR3:=VAR2+2*STD(CLOSE,170);VAR4:=VAR1+2*STD(CLOSE,170);頂:CLOSE>(VAR3)*13*10,COLORBLUE,LINETHICK2;VAR18:=HHV(HIGH,30);VAR19:=LLV(LOW,30);NL:=EMA((CLOSE-VAR19)/(VAR18-VAR19)*100,5)/8*10;VAR3B:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
{www.chiang1015.com 概念股網(wǎng)_最新股票指標公式}
VAR3C:=SMA(VAR3B,3,1);VAR3D:=SMA(VAR3C,3,1);VAR3E:=SMA(VAR3D,3,1);VAR3F:=CROSS(VAR3D,VAR3E) AND VAR3D<20;VAR40:=CROSS(VAR3E,VAR3D) AND VAR3D>80;VAR41:=5;DRAWTEXT(CROSS(VAR41,NL),30,’★做底’),COLORWHITE;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責,投資決策請建立在獨立思考之上。