在线检测未来函数

通达信神龙多空主图指标公式

来源:Internet,编辑:股旁网,2013-03-04

STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),LOW,HIGH,0.1,0),colorred;
STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),OPEN,CLOSE,7,0),colorred;
STICKLINE(CLOSE<OPEN or CLOSE=OPEN and CLOSE<=REF(CLOSE,1),LOW,HIGH,0.1,0),colorcyan;
STICKLINE(CLOSE<OPEN or CLOSE=OPEN and CLOSE<=REF(CLOSE,1),OPEN,CLOSE,7,0),colorcyan;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLOR008800;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00AA00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR00BB00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,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,8,0) ,COLORFF00FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLORFF22FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLORFF44FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLORFF66FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLORFF88FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLORFF99FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFFAAFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLORFFBBFF;
a1:(EMA(AMOUNT/VOL/100,3)+EMA(AMOUNT/VOL/100,6)+EMA( AMOUNT/VOL/100,9))/3,ColorFF80FF,linethick1;
a2:(EMA(AMOUNT/VOL/100,5)+EMA(AMOUNT/VOL/100,10)+EMA( AMOUNT/VOL/100,20))/3,ColorFF80FF;
a3:(EMA(AMOUNT/VOL/100,7)+EMA(AMOUNT/VOL/100,14)+EMA( AMOUNT/VOL/100,28))/3,ColorFF80FF;
a4:(EMA(AMOUNT/VOL/100,9)+EMA(AMOUNT/VOL/100,18)+EMA( AMOUNT/VOL/100,36))/3,ColorFF80FF;
a5:(EMA(AMOUNT/VOL/100,11)+EMA(AMOUNT/VOL/100,22)+EMA( AMOUNT/VOL/100,44))/3,ColorFF80FF;
a6:(EMA(AMOUNT/VOL/100,13)+EMA(AMOUNT/VOL/100,26)+EMA( AMOUNT/VOL/100,52))/3,ColorFF80FF;
A:(EMA(AMOUNT/VOL/100,21)+EMA(AMOUNT/VOL/100,34)+EMA(AMOUNT/VOL/100,55))/3,LINETHICK2;
a7:a-(a1-a),coloryellow,linethick1;
a8:a-(a2-a),coloryellow;
a9:a-(a3-a),coloryellow;
a10:a-(a4-a),coloryellow;
a11:a-(a5-a),coloryellow;
a12:a-(a6-a),coloryellow;
stickline(c>=ref(c,1),o,c,5,0),colorred;
stickline(c<ref(c,1),o,c,5,0),colorcyan;
stickline(c>=ref(c,1),h,l,1,0),colorred;
stickline(c<ref(c,1),h,l,1,0),colorcyan;

通达信神龙多空主图指标公式

 

相关文章