牛熊买卖柱

2011-03-05 10:23:00来源:本站整理浏览:102

牛市:(CLOSE>MA(CLOSE,30)),COLOR8080FF;
STICKLINE(CLOSE>MA(CLOSE,30),0,VOL,2.2,1),COLOR8080FF;
熊市:(CLOSE<MA(CLOSE,30)),COLORFDE182;
STICKLINE(CLOSE<MA(CLOSE,30),0,VOL,2.2,1),COLORFDE182;
JE:=VOL;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
主买柱:(QJ0*(JJ-MIN(CLOSE,OPEN))),NODRAW,COLOR0000AA;
主卖柱:(QJ0*(MIN(OPEN,CLOSE)-LOW)),NODRAW,COLOR00AA00;
散买柱:(QJ0*(HIGH-MAX(OPEN,CLOSE))),COLORC0C0C0,NODRAW;
散卖柱:(QJ0*(MAX(CLOSE,OPEN)-JJ)),COLOR505050,NODRAW;
STICKLINE(主卖柱>0,0,主买柱+主卖柱,2,0),COLOR00AA00;
STICKLINE(主买柱>0,0,主买柱,2,0),COLOR0000AA;
STICKLINE(散卖柱>0,0,主买柱+主卖柱+散买柱+散卖柱,0.5,0),COLOR505050;
STICKLINE(散买柱>0,0,主买柱+主卖柱+散买柱,0.5,0),COLORC0C0C0;
AA:=IF(C>(H+L)/2,JE,0);
BB:=IF(C<(H+L)/2,JE,0);
F1:=SUM(AA,5);
F2:=SUM(BB,5);
F3:=EMA(F1-F2,3);
T1:=主买柱>主卖柱 AND CROSS(F3,REF(F3,1)) AND F3<0;
T2:=主卖柱>主买柱 AND CROSS(REF(F3,1),F3) AND F3>0;
DRAWTEXT(T1,JE*1.1,'B'),COLOR00FFFF;
DRAWTEXT(T2,JE*1.08,'S'),COLORFFFFFF;

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式