通达信线逢低接金主图+副图+选股指标
线逢低接金副图源码:
{公式名称: 日线逢低接金
公式描述:
无参数
公式类型: 技术指标公式-龙系
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
X_1:=REF(VOL/REF(VOL,1)>1.95 AND CLOSE/REF(CLOSE,1)>1.093 AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,60)) AND COUNT(CROSS(CLOSE,MA(CLOSE,5)),4),1) AND VOL=HHV(VOL,55.001999);
X_2:=BARSLAST(X_1);
X_3:=REF(OPEN,BARSLAST(VOL/REF(VOL,1)>1.95 AND CLOSE/REF(CLOSE,1)>1.093 AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,60)) AND COUNT(CROSS(CLOSE,MA(CLOSE,5)),4)));{天天查股网www.ttchagu.com}
启动:IF(X_1,50,0),LINETHICK2;
逢低接金:IF(COUNT(X_1,15) AND X_2>=8 AND X_2<=15 AND LOW<X_3 AND CROSS(CLOSE,X_3),100,0),COLORRED,LINETHICK3;
线逢低接金选股源码:
{公式名称: 日线逢低接金
公式描述:
无参数
公式类型: 条件选股公式-其他类型
公式版本: 0
参数精灵:无
用法注释:无
公式源码:}
X_1:=REF(VOL/REF(VOL,1)>1.95 AND CLOSE/REF(CLOSE,1)>1.093 AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,60)) AND COUNT(CROSS(CLOSE,MA(CLOSE,5)),4),1) AND VOL=HHV(VOL,55.001999);
X_2:=BARSLAST(X_1);
X_3:=REF(OPEN,BARSLAST(VOL/REF(VOL,1)>1.95 AND CLOSE/REF(CLOSE,1)>1.093 AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,60)) AND COUNT(CROSS(CLOSE,MA(CLOSE,5)),4)));{天天查股网www.ttchagu.com}
逢低接金:COUNT(X_1,15) AND X_2>=8 AND X_2<=15 AND LOW<X_3 AND CROSS(CLOSE,X_3),COLORRED;
参数精灵:无
用法注释:无
公式源码:}
X_1:=STRCAT(HYBLOCK,280);
X_2:=STRCAT(X_1,DYBLOCK);
X_3:=STRCAT(X_2,280);
DRAWTEXT_FIX(ISLASTBAR,0,0.18,0,STRCAT(X_3,GNBLOCK)),COLORYELLOW;
DRAWTEXT_FIX(1,0,0,0,281),COLORRED;
DRAWTEXT_FIX(1,0.07,0,0,EXTERNSTR(0,1)),COLORRED;
DRAWTEXT_FIX(1,0,0.08,0,282),COLORMAGENTA;
DRAWTEXT_FIX(1,0.07,0.08,0,EXTERNSTR(0,2)),COLORMAGENTA;
X_4:=CLOSE>REF(CLOSE,1)*1.09 AND CLOSE<REF(CLOSE,1)*1.105;
X_5:=CLOSE<REF(CLOSE,1)*0.901 AND CLOSE>REF(CLOSE,1)*0.898;
STICKLINE(X_4,CLOSE,OPEN,4,0),COLORRED;
STICKLINE(X_5,CLOSE,OPEN,4,0),COLORBLUE;
DRAWTEXT(X_4,LOW-0.1,283),COLORRED;
DRAWTEXT(X_5,HIGH+0.3,284),COLORBLUE;
X_6:=REF(VOL/REF(VOL,1)>1.95 AND CLOSE/REF(CLOSE,1)>1.093 AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,60)) AND COUNT(CROSS(CLOSE,MA(CLOSE,5)),4),1) AND VOL=HHV(VOL,55.001999);
X_7:=BARSLAST(X_6);{天天查股网WWW.ttchagu.com}
DO:REF(OPEN,BARSLAST(VOL/REF(VOL,1)>1.95 AND CLOSE/REF(CLOSE,1)>1.093 AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,60)) AND COUNT(CROSS(CLOSE,MA(CLOSE,5)),4)));
逢低接金:COUNT(X_6,15) AND X_7>=8 AND X_7<=15 AND LOW<DO AND CROSS(CLOSE,DO),NODRAW,COLORRED;
DRAWICON(逢低接金,LOW,9);
流通市值:FINANCE(40)/100000000,NODRAW,COLORRED;