STICKLINE((CLOSE > MA(CLOSE,10)),CLOSE,OPEN,8,0),colorAA; STICKLINE((CLOSE > MA(CLOSE,10)),CLOSE,OPEN,7,0),color11BB; STICKLINE((CLOSE > MA(CLOSE,10)),CLOSE,OPEN,6,0),color22CC; STICKLINE((CLOSE > MA(CLOSE,10)),CLOSE,OPEN,5,0),color33DD; STICKLINE((CLOSE > MA(CLOSE,10)),CLOSE,OPEN,4,0),color44EE; STICKLINE((CLOSE > MA(CLOSE,10)),CLOSE,OPEN,3,0),color55FF; STICKLINE((CLOSE > MA(CLOSE,10)),CLOSE,OPEN,2,0),color66FF; STICKLINE((CLOSE > MA(CLOSE,10)),CLOSE,OPEN,1,0),color77FF; STICKLINE((CLOSE > MA(CLOSE,10)),LOW,OPEN,0,1),colorFF; STICKLINE((CLOSE > MA(CLOSE,10)),HIGH,CLOSE,0,1),colorFF; STICKLINE((CLOSE <= MA(CLOSE,10)),CLOSE,OPEN,8,0),colorAA00; STICKLINE((CLOSE <= MA(CLOSE,10)),CLOSE,OPEN,7,0),colorBB11; STICKLINE((CLOSE <= MA(CLOSE,10)),CLOSE,OPEN,6,0),colorCC22; STICKLINE((CLOSE <= MA(CLOSE,10)),CLOSE,OPEN,5,0),colorDD33; STICKLINE((CLOSE <= MA(CLOSE,10)),CLOSE,OPEN,4,0),colorEE44; STICKLINE((CLOSE <= MA(CLOSE,10)),CLOSE,OPEN,3,0),colorFF55; STICKLINE((CLOSE <= MA(CLOSE,10)),CLOSE,OPEN,2,0),colorFF66; STICKLINE((CLOSE <= MA(CLOSE,10)),CLOSE,OPEN,1,0),colorFF77; STICKLINE((CLOSE <= MA(CLOSE,10)),HIGH,LOW,0,0),colorFF00; PARTLINE((MA(((((CLOSE + OPEN) + HIGH) + LOW) / 4),10) >= REF(MA(((((CLOSE + OPEN) + HIGH) + LOW) / 4),10),1)),MA(((((CLOSE + OPEN) + HIGH) + LOW) / 4),10)),LINETHICK2,colorFF; PARTLINE((MA(((((CLOSE + OPEN) + HIGH) + LOW) / 4),10) <= REF(MA(((((CLOSE + OPEN) + HIGH) + LOW) / 4),10),1)),MA(((((CLOSE + OPEN) + HIGH) + LOW) / 4),10)),LINETHICK2,colorFF00; 黄:=SYSPARAM(3); 金:=((黄 - SYSPARAM(2)) + 1); 分:=HHV(HIGH,金); 割:=LLV(LOW,金); 最高:分[黄],LINETHICK2,colorFF; 最低:割[黄],LINETHICK2,colorFF00; 分一:(((最高 - 最低) * 0.191) + 最低),LINEDOT,colorFF00FF; 分二:(((最高 - 最低) * 0.382) + 最低),LINEDOT,colorFF00FF; 中:(((最高 - 最低) * 0.5) + 最低),LINEDASHDOT,colorFFFF; 分四:(((最高 - 最低) * 0.618) + 最低),LINEDOT,colorFF00FF; 分五:(((最高 - 最低) * 0.809) + 最低),LINEDOT,colorFF00FF; DIFF:=(0 - LOG(MINDIFF)); {www.gpxiazai.com 股票软件下载网_最新股票指标公式} DRAWTEXT((BARPOS = SYSPARAM(2)),最高,('最高' + NUMTOSTR(最高,DIFF))),colorFF00; DRAWTEXT((BARPOS = SYSPARAM(2)),最低,('最低' + NUMTOSTR(最低,DIFF))),colorFF00; DRAWTEXT((BARPOS = SYSPARAM(2)),分一,('分一(0.191)' + NUMTOSTR(分一,DIFF))),colorFF00; DRAWTEXT((BARPOS = SYSPARAM(2)),分二,('分二(0.382)' + NUMTOSTR(分二,DIFF))),colorFF00; DRAWTEXT((BARPOS = SYSPARAM(2)),中,('中(0.5)' + NUMTOSTR(中,DIFF))),colorFF00; DRAWTEXT((BARPOS = SYSPARAM(2)),分四,('分四(0.608)' + NUMTOSTR(分四,DIFF))),colorFF00; DRAWTEXT((BARPOS = SYSPARAM(2)),分五,('分五(0.809)' + NUMTOSTR(分五,DIFF))),colorFF00; MA5:MA(C,5),COLORWHITE; MA20:MA(CLOSE,20),COLORRED; X1:=(CLOSE+LOW+HIGH)/3; X2:=EMA(X1,6); X3:=EMA(X2,5); DRAWICON(CROSS(X2,X3),LOW*0.98,4); DRAWTEXT(CROSS(X2,X3),LOW*0.98,' 做多'),COLORRED; DRAWICON(CROSS(X3,X2),HIGH*1.03,5); DRAWTEXT(CROSS(X3,X2),HIGH*1.03,' 做空'),COLORGREEN; STICKLINE(X2>=X3,LOW,HIGH,0.1,1),COLORRED; STICKLINE(X2>=X3,CLOSE,OPEN,2,1),COLORRED; STICKLINE(X2>=X3,CLOSE,OPEN,2,5),COLORRED; STICKLINE(X2STICKLINE(X2STICKLINE(CROSS(X2,X3),OPEN,CLOSE,3,1),COLORRED; STICKLINE(CROSS(X3,X2),OPEN,CLOSE,3,1),COLORBLUE; x6:=REF(CLOSE,1); x7:=SMA(MAX(CLOSE-x6,0),7,1)/SMA(ABS(CLOSE-x6),7,1)*100; x8:=CROSS(79,x7); x9:=FILTER(x8,4); DRAWTEXT(x9,HIGH*1.02,'←出货'),Color9000F5; |