投股票网 www.tou18.cn [今日股市行情 股市在线查询 股票大盘行情] 股市有风险 投资需谨慎 手机APP下载 | 手机访问 | 加入收藏 | 保存到桌面
投股票网
今日股市行情 股市在线查询 股票大盘行情
个股查询: 资金行情 DDX查询 大智慧超赢 同花顺DDE 千股千评 最新提示 股票公告 投资要点 评级查询 大小非 股东 增发配股 股权 高管 股票概况
当前位置: 投股票网 > 股市公式下载 > 公式问题
股市公式查询:

将分析家箱体指标改成通达信

2020/1/19 19:14:44

公式编写说明:

求老师改,源码如下:DRAWGBK(close=close, STRIP(RGB(10,190,255),RGB(255,155,155),0));VarA:=IF(CLOSE>150,91.3,0.913);箱下沿:INTPART(CLOSE/VarA )*VarA,pointdot,linethick3,colorgreen; 箱上沿:箱下沿+VarA,pointdot,linethick3,coloryellow ;箱中线:(箱下沿+箱上沿)/2,pointdot,colorwhite,linethick3;走势: SMA(FORCAST(CLOSE,18),6,1),COLOR0066cf,LINETHICK2;FILLRGN(走势,走势-0.06,走势>REF(走势,1) ),COLORff00ff;var1:=(SMA(HIGH,21,2) * 1.05);Var2:=IF(C/REF(C,1)>1.050 AND V/CAPITAL*100<10 AND C<17 AND H/C<1.01 AND VarA>0, 91, 0);STICKLINE(Var2>90,L*0.99,L*0.96,5,0),COLORYELLOW;DRAWTEXT(Var2>90,LOW*0.98,' 追'),COLORYELLOW;V1:=EMA(EMA(EMA(C,8),13),55);V2:=(REF(H,1)+REF(L,1))/2;V3:=MA(C,20)+2*STD(C,20);DRAWTEXT(CROSS(V2,V3),HIGH*1.06,'→卖'),COLORblue;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,9,0),colorFF5B00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8,0),colorFF6C00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),colorFF7B00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),colorFF9C00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),colorFFBE00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3.5,0),colorFFCC00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1.5,0),colorFFFF00;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,9,0),color070084;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),color0000A3;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),color0000B7;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),color0000CD;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),color0000E9;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),color0754E9;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1.5,0),color076EF3;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),color077BF3;STICKLINE((CLOSE > OPEN),OPEN,LOW,1,0),color0726CA;STICKLINE((CLOSE > OPEN),CLOSE,HIGH,1,0),color0726CA;STICKLINE((OPEN > CLOSE),CLOSE,LOW,1,0),colorDE9100;STICKLINE((OPEN > CLOSE),OPEN,HIGH,1,0),colorDE9100;STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,9,0),color0090FF;STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,8,0),color009FFF;STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,4,0),color00B5FF;STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,2,0),color00E4FF;STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),OPEN,LOW,0.7,0),color00FFFF;STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,HIGH,0.7,0),color00FFFF;STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),OPEN,LOW,0.7,0),colorFF76FF;STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,HIGH,0.7,0),colorFF76FF;STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,9,0),colorFF00FF;STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,6,0),colorFF62FF;STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,4,0),colorFF76FF;STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,2,0),colorFFA8FF;

公式源码回答:

 VARA:=IF(CLOSE>150,91.3,0.913);

箱下沿:INTPART(CLOSE/VARA )*VARA,CIRCLEDOT,COLORGREEN; 
箱上沿:箱下沿+VARA,CIRCLEDOT,LINETHICK1,COLORYELLOW ;
箱中线:(箱下沿+箱上沿)/2,CIRCLEDOT,COLORWHITE,LINETHICK1;
走势: SMA(FORCAST(CLOSE,18),6,1),COLOR0066CF,LINETHICK2;
IF(走势>REF(走势,1),走势,DRAWNULL),COLORFF00FF,LINETHICK3;
VAR1:=(SMA(HIGH,21,2) * 1.05);
VAR2:=IF(C/REF(C,1)>1.050 AND V/CAPITAL*100<10 AND C<17 AND H/C<1.01 AND VARA>0, 91, 0);
STICKLINE(VAR2>90,L*0.99,L*0.96,5,0),COLORYELLOW;
DRAWTEXT(VAR2>90,LOW*0.98,' 追'),COLORYELLOW;
V1:=EMA(EMA(EMA(C,8),13),55);
V2:=(REF(H,1)+REF(L,1))/2;
V3:=MA(C,20)+2*STD(C,20);
DRAWTEXT(CROSS(V2,V3),HIGH*1.06,'→卖'),COLORBLUE;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3,0),COLORFF5B00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2.5,0),COLORFF6C00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2,0),COLORFF7B00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1.5,0),COLORFF9C00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1,0),COLORFFBE00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,0.5,0),COLORFFCC00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,0,0),COLORFFFF00;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),COLOR070084;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2.5,0),COLOR0000A3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),COLOR0000B7;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1.5,0),COLOR0000CD;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),COLOR0000E9;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,0.5,0),COLOR0754E9;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,0.2,0),COLOR076EF3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,0,0),COLOR077BF3;
STICKLINE((CLOSE > OPEN),OPEN,LOW,0,0),COLOR0726CA;
STICKLINE((CLOSE > OPEN),CLOSE,HIGH,0,0),COLOR0726CA;
STICKLINE((OPEN > CLOSE),CLOSE,LOW,0,0),COLORDE9100;
STICKLINE((OPEN > CLOSE),OPEN,HIGH,0,0),COLORDE9100;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < VAR1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,3,0),COLOR0090FF;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < VAR1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,2.5,0),COLOR009FFF;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < VAR1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,2,0),COLOR00B5FF;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < VAR1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,1.5,0),COLOR00E4FF;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < VAR1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),OPEN,LOW,1,0),COLOR00FFFF;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < VAR1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,HIGH,0.5,0),COLOR00FFFF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > VAR1)) AND (CLOSE < VAR1)),OPEN,LOW,0,0),COLORFF76FF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > VAR1)) AND (CLOSE < VAR1)),CLOSE,HIGH,0,0),COLORFF76FF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > VAR1)) AND (CLOSE < VAR1)),CLOSE,OPEN,3,0),COLORFF00FF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > VAR1)) AND (CLOSE < VAR1)),CLOSE,OPEN,2.5,0),COLORFF62FF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > VAR1)) AND (CLOSE < VAR1)),CLOSE,OPEN,1.5,0),COLORFF76FF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > VAR1)) AND (CLOSE < VAR1)),CLOSE,OPEN,0,0),COLORFFA8FF;

投股 票网 www.tou18. cn

股市公式下载推荐
投股票网股市查询:资金行情查询 实时DDX查询 大智慧超赢 千股千评 最新提示 股票公告 投资要点 评级查询 股东查询 增发配股查询 股权结构查询
ST宜化 000422+4.97% 评股 实时DDX 大智慧 最新消息 题材分析 股权
*ST丹邦 002618+4.96% 评股 实时DDX 大智慧 最新消息 题材分析 股权
华润微 688396+4.95% 评股 实时DDX 大智慧 最新消息 题材分析 股权
惠伦晶体 300460+4.95% 评股 实时DDX 大智慧 最新消息 题材分析 股权
ST威龙 603779+4.95% 评股 实时DDX 大智慧 最新消息 题材分析 股权
*ST新光 002147+4.95% 评股 实时DDX 大智慧 最新消息 题材分析 股权
*ST群兴 002575+4.94% 评股 实时DDX 大智慧 最新消息 题材分析 股权
密尔克卫 603713+4.92% 评股 实时DDX 大智慧 最新消息 题材分析 股权
*ST广珠 600382+4.91% 评股 实时DDX 大智慧 最新消息 题材分析 股权
酒鬼酒 000799+4.90% 评股 实时DDX 大智慧 最新消息 题材分析 股权
联系我们:nmsy8@hotmail.com 友情链接 要求相关的财经股票网站 今日股市行情在线查询
本站不推荐任何股票,站内广告不代表投股票网的观点,由此引起的一切法律责任均与本站无关,请网民自行判断真假,谨防网上股票预测诈骗!
本站所有内容仅供参考,不构成投资建议,据此操作,风险自担。本站不为所提供数据的错误或因依此信息所采取的任何行为负责。
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-120