DRAWBKBMP(1,'HAO24'); AA:=IF(DATE>1190701,0,1);
收盘:=MA(CLOSE,1);
A1:=EMA(MA(收盘,11)-4*STD(收盘,8),10);
A2:=EMA(MA(收盘,11)-2*STD(收盘,8),10);
B1:=EMA(MA(收盘,11)+4*STD(收盘,8),10);
B2:=EMA(MA(收盘,11)+2*STD(收盘,8),10);
多空A1+B1)/2*AA,POINTDOT,colorFFFF;
牛A:B2*AA,LINEDOT,colorFF00FF;
牛B:B1*AA,LINEDASH,colorFF9999;
熊A:A2*AA,LINEDOT,colorFF00FF;
熊B:A1*AA,LINEDASH,colorFF9999;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=MA(VAR1,5);
VAR3:=MA(VAR1,21);
VAR4:=MA(VAR1,60);
STICKLINE(VAR1>=VAR2,OPEN,CLOSE,5,0),colorFF00FF;
STICKLINE(VAR1>=VAR2,HIGH,LOW,1,0),colorFF00FF;
STICKLINE(VAR1<VAR2,OPEN,CLOSE,5,0),colorFFFFFF;
STICKLINE(VAR1<VAR2,HIGH,LOW,1,0),colorFFFFFF;
STICKLINE(VAR1<=VAR3 AND VAR1>OPEN,OPEN,CLOSE,5,0),colorFFFF;
STICKLINE(VAR1<=VAR3 AND VAR1>OPEN,HIGH,LOW,1,0),colorFFFF;
STICKLINE(VAR1>=VAR4 AND VAR1>OPEN,OPEN,CLOSE,5,0),colorFF;
STICKLINE(VAR1>=VAR4 AND VAR1>OPEN,HIGH,LOW,1,0),colorFF;
STICKLINE(VAR1>=VAR4 AND VAR1<OPEN,OPEN,CLOSE,5,0),color808080;
STICKLINE(VAR1>=VAR4 AND VAR1<OPEN,HIGH,LOW,1,0),color808080;
DRAWICON(多空<REF(多空,1),多空,'s13');
DRAWICON(多空>REF(多空,1),多空,'s31');
|