【通達(dá)信】多空PK主圖指標(biāo)公式
攻城獅 2016.02.03 02:37
今日保護(hù)價(jià):(REF(C,1)+REF(C,2)+O)/3,NODRAW;
多:(SUM(((2*CLOSE+OPEN+HIGH+LOW)/5)*(VOL),8))/(SUM(VOL,8)),COLOR00FFFF,LINETHICK0;
空:LLV(多,8),LINETHICK0,COLORFFFF00;
DRAWBAND(多,RGB(140,0,140),空,RGB(0,0,0));
DRAWKLINE(H,O,L,C);
DRAWICON(REF(多,1)=REF(空,1) AND 多>空,LOW*0.98,13);
DRAWTEXT(REF(多,1)=REF(空,1) AND 多>空,LOW*0.97,’*關(guān)注’),COLOR00FFFF;
C1:=C>=多;
C2:=C<多;
AA:=C1>=C2 ;
BB:=C2>C1 ;
STICKLINE(AA,C,O,3.2,0),COLORRED;
STICKLINE(AA,H,L,0,0),COLORRED;
STICKLINE(BB,C,O,3.2,0),COLORFFFF00;
STICKLINE(BB,H,L,0,0),COLORFFFF00;
{ Gupang.com 股-旁-網(wǎng)_通達(dá)信股票指標(biāo)公式}
STICKLINE(AA,CLOSE,OPEN,3.2,0),COLOR000099;
STICKLINE(AA,CLOSE,OPEN,2.6,0),COLOR0000AA;
STICKLINE(AA,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(AA,CLOSE,OPEN,1.8,0),COLOR0000DD;
STICKLINE(AA,CLOSE,OPEN,1.3,0),COLOR0000FF;
STICKLINE(AA,CLOSE,OPEN,0.5,0),COLORCC66FF;
STICKLINE(BB,CLOSE,OPEN,3.2,0),COLOR777700;
STICKLINE(BB,CLOSE,OPEN,2.6,0),COLORAAAA00;
STICKLINE(BB,CLOSE,OPEN,2.2,0),COLORBBBB00;
STICKLINE(BB,CLOSE,OPEN,1.8,0),COLORDDDD00;
STICKLINE(BB,CLOSE,OPEN,1.3,0),COLOREEFF00;
STICKLINE(BB,CLOSE,OPEN,0.5,0),COLORCYAN;
SJ:=WMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
ZJ:=WMA(0.667*REF(SJ,1)+0.333*SJ,2);
DRAWTEXT(CROSS(SJ,ZJ) AND SJ<30,L-0.05,'←買(mǎi)入'),COLOR00FF00;
DRAWTEXT(CROSS(ZJ,SJ) AND SJ>70,H+0.05,’←賣(mài)出’),COLORFFFF00;
RC:=DYNAINFO(3);
SA:=SMA(C,3,1);
SB:=SMA(C,5,1);
DK:=2*(SA-SB);
STICKLINE(DK>0 AND DK>=REF(DK,1),RC,RC+DK,0.1,0),COLOR0000BB;
STICKLINE(DK>0 AND DK STICKLINE(DK<0 AND DK>=REF(DK,1),RC,RC+DK,0.1,0),COLORBB00BB;
STICKLINE(DK<0 AND DK
申明:本文為作者投稿或轉(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ú)立思考之上。