{公式名称: 信号主图
公式描述:
参数数量: 0
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
用法注释:无
公式源码:}
X_1:=IF(CLOSE>REF(CLOSE,1),VOL,0);
X_2:=IF(CLOSE<REF(CLOSE,1),VOL,0);
X_3:=SUM(X_1,13);
X_4:=SUM(X_2,13);
X_5:=3*SMA((CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*108,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*108,5,1),3,1);
X_6:=13;
X_7:=IF(CROSS(X_5,X_6),81,0);
STICKLINE(CROSS(X_7,8),CLOSE,OPEN,1,0),COLORBLUE;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
多空线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORYELLOW;
长线:MA(CLOSE,365),COLORRED,LINETHICK3;
短线:MA(CLOSE,20),COLORGREEN,LINETHICK2;
X_8:=IF(FINANCE(3)=3 OR FINANCE(3)=4,IF(CLOSE>=REF(CLOSE,1),1.2,0.8),IF(CLOSE>=REF(CLOSE,1),1.1,0.9));
X_9:=IF(CLOSE>=(X_8-0.005)*REF(CLOSE,1) AND CLOSE<=(X_8+0.005)*REF(CLOSE,1) AND CLOSE=HIGH,1,0);
X_10:=IF(CLOSE>=(X_8-0.005)*REF(CLOSE,1) AND CLOSE<=(X_8+0.005)*REF(CLOSE,1) AND CLOSE=LOW,1,0);
STICKLINE(X_9 AND CLOSE>REF(CLOSE,1),CLOSE,OPEN,1,0),COLORMAGENTA;
STICKLINE(X_9 AND CLOSE>REF(CLOSE,1),OPEN,LOW,0,0),COLORMAGENTA;
STICKLINE(X_10 AND CLOSE<REF(CLOSE,1),CLOSE,OPEN,1,0),COLORGREEN;
STICKLINE(X_10 AND CLOSE<REF(CLOSE,1),OPEN,HIGH,0,0),COLORGREEN;
周UB:JAX.J#WEEK(20),COLORBLUE,NODRAW;
月BL:JAX.济安线#MONTH(20),COLORWHITE,NODRAW;
A4:WEEKDAY,COLORWHITE,NODRAW;