以下是通达信富力综合共振主图指标源码(无源码的请下载附件导入)
{公式名称: 富力综合共振
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
X_1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
X_2:=SMA(ABS(LOW-X_1),13,1)/SMA(MAX(LOW-X_1,0),10,1);
X_3:=EMA(X_2,31);
X_4:=LLV(LOW,5);
X_5:=EMA(IF(LOW<=X_4,X_3,0),13);
XΩ:IF(X_5>REF(X_5,1),X_5,0),NODRAW,COLORGREEN;
STICKLINE(X_5>REF(X_5,1),0,X_5,2.5,1),COLOR009F00;
波点:IF(X_5<REF(X_5,1),X_5,0),NODRAW,COLORRED;
STICKLINE(X_5<REF(X_5,1),0,X_5,2.5,1),COLOR871F78;
X_6:=EMA(EMA(CLOSE,9),9);
X_7:=(X_6-REF(X_6,1))/REF(X_6,1)*400;
STICKLINE(X_7<0,X_7,0,0.5,0),COLORFF4800;
STICKLINE(X_7>REF(X_7,1) AND X_7<0,X_7,0,0.5,0),COLOR4D4DFF;
STICKLINE(X_7>REF(X_7,1) AND X_7>0,X_7,0,0.5,0),COLORRED;
X_8:=100*WINNER(CLOSE*0.95);
STICKLINE(X_7<REF(X_7,1) AND X_7>0,X_7,0,0.5,0),COLORFF4800;
STICKLINE(X_8>50 AND COST(85)<CLOSE AND X_7>0,X_7,0,0.5,0),COLOR3D3DFF;
X_9:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*24-12;
K:SMA(X_9,9,1);
D:SMA(K,3,1);
J:3*K-2*D;
VARK:K,COLORWHITE,LINETHICK2;
上升K:IF(VARK>REF(VARK,1),VARK,DRAWNULL),COLORRED,LINETHICK2;
走平K:IF(VARK=REF(VARK,1),VARK,DRAWNULL),COLORWHITE,LINETHICK2;
下降K:IF(VARK<REF(VARK,1),VARK,DRAWNULL),COLORFF2400,LINETHICK2;
VARD:D,COLORWHITE,LINETHICK2;
上升D:IF(VARD>REF(VARD,1),VARD,DRAWNULL),COLORMAGENTA,LINETHICK2;
走平D:IF(VARD=REF(VARD,1),VARD,DRAWNULL),COLORWHITE,LINETHICK2;
下降D:IF(VARD<REF(VARD,1),VARD,DRAWNULL),COLORGREEN,LINETHICK2;
VARJ:J,COLORWHITE;
上升J:IF(VARJ>REF(VARJ,1),VARJ,DRAWNULL),COLORRED;
走平J:IF(VARJ=REF(VARJ,1),VARJ,DRAWNULL),COLORWHITE;
下降J:IF(VARJ<REF(VARJ,1),VARJ,DRAWNULL),COLORBLUE;
STICKLINE(VARK>=0 AND VARK>=REF(VARK,1),0,0+VARD,0,1),COLOR9F9F5F;
STICKLINE(VARK>=0 AND VARK>=REF(VARK,1),0,0+VARJ,0,1),COLOR9F9F5F;
STICKLINE(VARD>=0 AND VARD>=REF(VARD,1),0,0+VARK,0,1),COLOR9F9F5F;
STICKLINE(VARD>=0 AND VARD>=REF(VARD,1),0,0+VARJ,0,1),COLOR9F9F5F;
STICKLINE(VARJ>=0 AND VARJ>=REF(VARJ,1),0,0+VARK,0,1),COLOR9F9F5F;
STICKLINE(VARJ>=0 AND VARJ>=REF(VARJ,1),0,0+VARD,0,1),COLOR9F9F5F;
STICKLINE(VARK>=0 AND VARK>=REF(VARK,1),0,0+VARK,0,1),COLOR9F9F5F;
STICKLINE(VARD>=0 AND VARD>=REF(VARD,1),0,0+VARD,0,1),COLOR9F9F5F;
STICKLINE(VARJ>=0 AND VARJ>=REF(VARJ,1),0,0+VARJ,0,1),COLOR9F9F5F;
STICKLINE(VARJ<=0 AND VARK>=REF(VARD,1),0,0+VARD,0,1),COLOR9F9F5F;
X_10:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*24-12,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*24-12,5,1),3,1);
X_11:=SMA(X_10,5,4);
趋势:X_10,NODRAW,COLOR00AAFF;
DRAWBAND(趋势,RGB(255,255,255),X_11,RGB(0,0,155));
63299227.jpg
|