以下是通达信市场意愿+主力实力副图指标公式源码(无源码的请下载附件导入)
0,COLORWHITE;
X_1:=(HIGH+LOW+CLOSE*2)/4;
X_2:=EMA(X_1,21);
X_3:=STD(X_1,21);
X_4:=((X_1-X_2)/X_3*100+200)/4;
X_5:=(EMA(X_4,89)-25)*1.56;
X_6:=EMA(X_5,5)*1.22;
X_7:=EMA(X_6,3);
X_8:=3*X_6-2*X_7;
X_9:=IF(CROSS(X_6,X_8) AND CROSS(X_7,X_8) AND CROSS(X_7,X_6),1,0);
X_10:=EMA(CLOSE,3)-EMA(CLOSE,89);
X_11:=EMA(X_10,21);
X_12:=(X_10-X_11)*10;
X_13:=POW(X_12,3)*0.1+POW(X_12,2);
市场意愿:IF(X_12>0.015,X_13,0)/45,DOTLINE,COLOR6E968C;
X_14:=EMA(CLOSE,2)-EMA(CLOSE,55);
X_15:=EMA(X_14,13);
X_16:=2*(X_14-X_15);
主力实力:POW(X_16,3)*0.1+POW(X_16,1),COLOR5A28F0;
1353100057.png
1353233201.png
|