通达信波段擒牛筹码副图指标 源码 贴图 X_2:=COST(X_1); X_3:=100-X_1; X_4:=COST(X_3); DFMJ:X_4/X_2-1; DRAWBAND(DFMJ,RGB(0,224,224),0,RGB(255,96,96)); DRAWBAND(IF(DFMJ>0.5,0.5,DFMJ),RGB(255,128,0),0,RGB(255,96,96)); DRAWBAND(IF(DFMJ>0.2,0.2,DFMJ),RGB(166,0,0),0,RGB(255,96,96)); X_5:=REF(DFMJ,1)< DFMJ AND X_4>REF(X_4,1); X_6:=(COST(95)-COST(5))/(COST(95)+COST(5))*100; X_7:=100-X_6; X_8:=(X_6+X_7)/2; X_9:=COST(X_8); X_10:=REF(DFMJ,2)< REF(DFMJ,1) AND DFMJ< REF(DFMJ,1) AND X_9< REF(X_9,1); X_11:=REF(DFMJ,2)< REF(DFMJ,1) AND DFMJ< REF(DFMJ,1) AND X_9>REF(X_9,1); STICKLINE(X_5,0.8,1,4.8,0),COLORRED; STICKLINE(X_10,0.8,1,4.8,0),COLORMAGENTA; STICKLINE(X_11,0.8,1,4.8,0),COLORGREEN; DRAWICON(X_5,0.75,44); DRAWICON(X_11,0.75,43); DRAWICON(X_10,0.75,23); X_12:=EMA(CLOSE,34)>REF(EMA(CLOSE,34),1); X_13:=WINNER(CLOSE)*100>50; X_14:=CROSS(CLOSE,COST(50)); CMXH:X_12 AND X_13 AND X_14,COLORYELLOW; DRAWICON(CMXH,1,42);
|