【通達(dá)信】一目均衡圖主圖指標(biāo)公式
攻城獅 2016.02.12 07:13
N1:=8;N2:=22;N3:=44;
AA:=(HHV(HIGH,120)-LLV(LOW,120))/30,LINETHICK;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
轉(zhuǎn)換線:(HHV(HIGH,N1)+LLV(LOW,N1))/2,COLORAAFF99,LINETHICK2;
基準(zhǔn)線:(HHV(HIGH,N2)+LLV(LOW,N2))/2,COLORFF6DD8,LINETHICK2;
遲行帶:REFX(CLOSE,N2),COLORFF9224,LINETHICK2;
先行帶A:REF((轉(zhuǎn)換線+基準(zhǔn)線)/2,N2),COLORYELLOW,LINETHICK;
先行帶B:REF((HHV(HIGH,N3)+LLV(LOW,N3))/2,N2),COLOR909090;
STICKLINE(先行帶A<先行帶B,先行帶A,先行帶B,2,1.5),COLOR339933;
STICKLINE(先行帶A>=先行帶B,先行帶A,先行帶B,2,0.1),COLOR0033CC;
PLOYLINE(1,先行帶A),COLORYELLOW;
PLOYLINE(1,基準(zhǔn)線),COLORFF6DD8;
PLOYLINE(1,轉(zhuǎn)換線),COLORAAFF99;
{cn-deling.com 概念股網(wǎng)_通達(dá)信股票指標(biāo)公式}
DRAWTEXT(CROSS(轉(zhuǎn)換線,基準(zhǔn)線) AND VAR1DRAWTEXT(CROSS(轉(zhuǎn)換線,基準(zhǔn)線) AND RANGE(VAR1,MIN(先行帶A,先行帶B),MAX(先行帶A,先行帶B)),LOW*0.995,’▲N▲’),COLORRED;
DRAWTEXT(CROSS(轉(zhuǎn)換線,基準(zhǔn)線) AND VAR1>MAX(先行帶A,先行帶B),LOW-AA*0.5,’▲N▲N▲’),COLORRED;
DRAWTEXT(CROSS(基準(zhǔn)線,轉(zhuǎn)換線) AND VAR1DRAWTEXT(CROSS(基準(zhǔn)線,轉(zhuǎn)換線) AND RANGE(VAR1,MIN(先行帶A,先行帶B),MAX(先行帶A,先行帶B)),MAX(基準(zhǔn)線,HIGH)+AA,’▼N▼’),COLORFF9966;
DRAWTEXT(CROSS(基準(zhǔn)線,轉(zhuǎn)換線) AND VAR1>MAX(先行帶A,先行帶B),MAX(基準(zhǔn)線,HIGH)+AA,’▼’),COLORFF9966;
{陰柱}
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3.5,0 ),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3.4,0 ),COLOR00AA00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3.3,0 ),COLOR00BB00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3.2,0 ),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.8,0 ),COLOR00DD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00EE00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00FF00;
{紅柱}
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLORFFBBFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLORFF00FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.5,0) ,COLORFF22FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.4,0) ,COLORFF44FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.3,0) ,COLORFF66FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.2,0) ,COLORFF88FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.8,0) ,COLORFF99FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFFAAFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLORFFBBFF;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://cn-deling.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。