公式网 股票指标公式源码分享 登录 注册
公式指标平网
未来函数检测
首页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 东财通公式 飞狐公式 操盘手公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式网 > 通达信公式 > 正文 → 正文

通达信趋势控盘主图指标公式源码

发布时间:2024/12/13 8:51:32  浏览次数:

X_1:=MA(CLOSE,20);
上:X_1+2*STD(CLOSE,20),NODRAW;
下:X_1-2*STD(CLOSE,20),NODRAW;
DRAWBAND(X_1,RGB(0,60,5),下,RGB(0,60,5));
牵牛线:EMA(COST(81),10),COLORYELLOW,LINETHICK2;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_3:=MA(CLOSE,5);
X_4:=MA(CLOSE,10);
X_5:=MA(CLOSE,20);
X_6:=MA(CLOSE,60);
X_7:=(HIGH*18+REF(HIGH,1)*17+REF(HIGH,2)*16+REF(HIGH,3)*15+REF(HIGH,4)*14+REF(HIGH,5)*13+REF(HIGH,6)*12+REF(HIGH,7)*11+REF(HIGH,8)*10+REF(HIGH,9)*9+REF(HIGH,10)*8+REF(HIGH,11)*7+REF(HIGH,12)*6+REF(HIGH,13)*5+REF(HIGH,14)*4+REF(HIGH,15)*3+REF(HIGH,16)*2+REF(HIGH,17)*1)/171;
X_8:=(LOW*18+REF(LOW,1)*17+REF(LOW,2)*16+REF(LOW,3)*15+REF(LOW,4)*14+REF(LOW,5)*13+REF(LOW,6)*12+REF(LOW,7)*11+REF(LOW,8)*10+REF(LOW,9)*9+REF(LOW,10)*8+REF(LOW,11)*7+REF(LOW,12)*6+REF(LOW,13)*5+REF(LOW,14)*4+REF(LOW,15)*3+REF(LOW,16)*2+REF(LOW,17)*1)/171;
X_9:=(CLOSE>=X_7 OR (CLOSE>X_3 AND CLOSE>X_4 AND CLOSE>X_5 AND CLOSE>X_6));
X_10:=(X_8>CLOSE OR (CLOSE< X_3 AND CLOSE< X_4 AND CLOSE< X_5 AND CLOSE< X_6));
X_11:=BARSLAST(X_9);
X_12:=BARSLAST(X_10);
X_13:=BARSLAST(crOSS(X_12,X_11));
X_14:=BARSLAST(CROSS(X_11,X_12));
X_15:=X_13< X_14;
X_16:=X_14< X_13;
X_17:=(X_7+X_8)/2;
趋势上升:IF(X_15 AND X_17< X_3,X_17,DRAWNULL),COLORRED,LINETHICK5;
趋势下降:IF(X_16 AND X_17>X_3,X_17,DRAWNULL),COLORBLUE,LINETHICK5;
DRAWICON(X_15 AND X_17< X_3 AND X_17>MA(CLOSE,20),X_17,1);
指引:MA(CLOSE,5),COLORMAGENTA,LINETHICK2;
判势:IF(指引< REF(指引,1),指引,DRAWNULL),COLORWHITE,LINETHICK2;
辅助:MA(CLOSE,8),COLORGREEN;
X_18:=CLOSE/REF(CLOSE,1)>=1.094;
STICKLINE(X_18,OPEN,CLOSE,0.1,0),COLORMAGENTA;
STICKLINE(REF(X_18,1) AND FILTER(REF(X_18,1),1) AND X_18,OPEN,CLOSE,3,0),COLORMAGENTA;
X_19:=vol*(OPEN+CLOSE+HIGH+LOW)/4;
X_20:=EMA(X_19,21)/EMA(VOL,21);
X_21:=6*HHV(X_20,2)-5*X_20;
X_22:=2*X_20-X_21;
X_23:=(HIGH+LOW+CLOSE)/3;
X_24:=(X_23-MA(X_23,21))/(0.015*AVEDEV(X_23,21));
X_25:=MA(X_24,7);
X_26:=MA(X_25,3)/4;
DRAWICON(CLOSE>=X_20 AND REF(CLOSE,1)< REF(X_20,1) AND X_26>REF(X_26,1) AND X_26>0,LOW,34);
DRAWICON(CLOSE< X_20 AND REF(CLOSE,1)>=REF(X_20,1) AND X_26< REF(X_26,1),HIGH,35);
驷马难追:EVERY(CLOSE>REF(CLOSE,1),4) OR EVERY(CLOSE>OPEN,4),NODRAW,COLORYELLOW;
STICKLINE(FILTER(驷马难追,3),CLOSE,(CLOSE+OPEN)/2,3,0),COLOR000099;
STICKLINE(FILTER(驷马难追,3),CLOSE,(CLOSE+OPEN)/2,2.2,0),COLOR0000CC;
STICKLINE(FILTER(驷马难追,3),CLOSE,(CLOSE+OPEN)/2,1.5,0),COLORRED;
STICKLINE(FILTER(驷马难追,3),CLOSE,(CLOSE+OPEN)/2,0.5,0),COLORCC66FF;
STICKLINE(FILTER(驷马难追,3),(CLOSE+OPEN)/2,CLOSE,0.5,0),COLORYELLOW;
X_57:=REF(X_18,2) AND REF(OPEN>CLOSE,1) AND CLOSE>OPEN;
X_58:=X_26>=25;
X_59:=SMA(CLOSE,21,1)-SMA(CLOSE,89,1);
X_60:=SMA(CLOSE,10,1)-SMA(CLOSE,50,1);
X_61:=X_60*2.75;
X_62:=X_61>0;
X_63:=EMA(WINNER(CLOSE)*70,3);
X_64:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
X_65:=X_64/(X_63+X_64)*100;
X_66:=X_63/(X_63+X_64)*100;
X_67:=X_66>X_65;
涨停反包:X_57 AND X_58 AND X_67 AND X_62,NODRAW,COLORRED;
DRAWICON(涨停反包,(CLOSE+OPEN)/2,33);
X_68:=VOL>=REF(VOL,1)*1.91 AND CLOSE>REF(CLOSE,1)*1.01;
X_69:=FILTER(X_68,3);
X_70:=IF(BARSLAST(X_69)=1 AND CLOSE>REF(LOW,3),1,0);
X_71:=X_70=1;
X_72:=FILTER(X_71,3);
STICKLINE(CLOSE,REF(LOW,BARSLAST(X_72)),REF(LOW,BARSLAST(X_72)),2,0),COLORGREEN;
STICKLINE(CLOSE,REF(LOW,BARSLAST(X_69)),REF(LOW,BARSLAST(X_69)),2,0),COLORMAGENTA;
X_73:=EMA(WINNER(CLOSE)*70,3);
X_74:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
X_75:=X_73/(X_73+X_74)*100;
控盘系数:INTPART(X_75),NODRAW,COLORMAGENTA;
DRAWTEXT_FIX(1,0,0,0,HYBLOCK),COLORLIBLUE;
DRAWTEXT_FIX(1,0.07,0,0,GNBLOCK),COLORLICYAN;
DRAWTEXT_FIX(1,0,0.05,0,DYBLOCK),COLORLIMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.07,0.05,0,FGBLOCK),COLORLIMAGENTA;

通达信趋势控盘主图指标公式源码

通达信趋势控盘主图指标公式源码

资源下载链接   资源大小:unknow

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZX.COM.CN ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识