源码
DRAWGBK(1,COLORRGB(0,0,30),COLORRGB(0,0,380),1);
VA3:=DATE>901224 AND DATE<1281130;
MID:=VA3*(3*CLOSE+LOW+OPEN+HIGH)/6;
操盘线:VA3*(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
空头线:=VA3*EMA(操盘线,6);
BB2011:=ATAN((空头线-REF(空头线,1)))*180/3.1416;
PARTLINE(空头线>操盘线,操盘线),LINETHICK2,COLORYELLOW;
PARTLINE(空头线<操盘线,操盘线),LINETHICK4,COLORRED;
BB1:=VA3*空头线;
CC11:=VA3*BB2011;
DRAWTEXT(CC11>0 AND REF(CC11<0,1),BB1*0.996,’多’ ),COLORRED;
DRAWTEXT(CC11<0 AND REF(CC11>0,1),BB1*1.004,’空’ ),COLOR00FF00;
∠操盘线角度:ATAN((操盘线/REF(操盘线,1)-1)*100)*180/3.1416,LINETHICK0,COLORRED;
评论(0)