单峰密集副图指标 通达信 贴图
X_1:=(COST(75)-COST(25))/(COST(75)+COST(25))*100;
X_2:=COST(X_1);
X_3:=100-X_1;
X_4:=COST(X_3);
单峰密集价:X_4/X_2-1,STICK;
X_5:=REF(单峰密集价,1)<单峰密集价 AND X_4>REF(X_4,1);
X_6:=REF(单峰密集价,1)>单峰密集价;
X_7:=单峰密集价<=0.25;
X_8:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;
X_9:=COST(X_8);
X_10:=100-X_8;
X_11:=COST(X_10);
X_12:=(X_8+X_10)/2;
X_13:=COST(X_12);
STICKLINE(X_5,单峰密集价,0,2.8,0),COLOR000055;
STICKLINE(X_5,单峰密集价,0,2,0),COLOR000088;
STICKLINE(X_5,单峰密集价,0,1.5,0),COLOR0000AA;
STICKLINE(X_5,单峰密集价,0,1,0),COLOR0000CC;
STICKLINE(X_5,单峰密集价,0,0.5,0),COLOR0000EE;
STICKLINE(X_5,单峰密集价,0,0,0),COLORWHITE;
X_14:=REF(单峰密集价,2)<REF(单峰密集价,1) AND 单峰密集价<REF(单峰密集价,1) AND X_13<REF(X_13,1);
STICKLINE(X_14,单峰密集价,0,0,0),COLORGREEN;
STICKLINE(X_14,单峰密集价,0,2.8,0),COLOR009900;
STICKLINE(X_14,单峰密集价,0,2,0),COLOR00BB00;
STICKLINE(X_14,单峰密集价,0,1.5,0),COLOR00DD00;
STICKLINE(X_14,单峰密集价,0,0.5,0),COLORGREEN;
X_15:=REF(单峰密集价,2)<REF(单峰密集价,1) AND 单峰密集价<REF(单峰密集价,1) AND X_13>REF(X_13,1);
STICKLINE(X_15,单峰密集价,0,2,0),COLORYELLOW;
201911109274426010.png
|