当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:波动预警A(通达信公式 副图 源码 测试图)
软件名称:[B]波动预警A(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2021-05-20 00:15:10
软件简介:
{公式名称: 波动预警A
公式描述:
无参数
公式类型: 技术指标公式-成交量型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
X_1:=DYNAINFO(11);
X_2:=DYNAINFO(17);
X_3:=(COUNT(CLOSE>0,FROMOPEN)-1-MOD(COUNT(CLOSE>0,FROMOPEN)-1,10))/10+1;
X_4:=EMA(LOG(SMA(SUM(DYNAINFO(37),FROMOPEN)*2400000/X_3,3,1)),240);
X_5:=(CLOSE/DYNAINFO(11)-(MA(CLOSE/DYNAINFO(11),55)+MA(CLOSE/DYNAINFO(11),21)+MA(CLOSE/DYNAINFO(11),34))/3)/MA(CLOSE/DYNAINFO(11),3)*1200;
X_6:=2*((EMA(CLOSE,12)-EMA(CLOSE,26))*600/DYNAINFO(11)-EMA((EMA(CLOSE,12)-EMA(CLOSE,26))*600/DYNAINFO(11),9))*10;
X_7:=SUM(AMOUNT,40)/(AMOUNT/VOL/100)/100;
X_8:=SUM(AMOUNT,80)/(AMOUNT/VOL/100)/100;
X_9:=(CLOSE-DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/X_7))/DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/X_7)*(9000/X_4);
X_10:=(CLOSE-DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/X_8))/DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/X_8)*(9000/X_4);
X_11:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);
X_12:=IF(X_10>0,X_10-100,(-100));
X_13:=IF(X_10<0,X_10+100,100);
X_14:=IF(X_9>0,X_9-100,(-100));
X_15:=IF(X_9<0,X_9+100,100);
X_16:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),3);
X_17:=EMA(100-3*SMA((LLV(LOW,75)-CLOSE)/(HHV(HIGH,75)-LLV(LOW,75))*100,18,1)+2*SMA(SMA((LLV(LOW,75)-CLOSE)/(HHV(HIGH,75)-LLV(LOW,75))*100,18,1),15,1)-100,3);
X_18:=100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(CLOSE,55));
X_19:=(EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*61800;
X_20:=(X_16+X_17-X_18+50)/135;
必卖:IF(X_20>0.8,X_20,DRAWNULL),NODRAW,COLORRED;
必买:IF(X_20<(-0.8),-X_20,DRAWNULL),NODRAW,COLORGREEN;
危险:IF(0<=X_20 AND X_20<=0.8,X_20,DRAWNULL),NODRAW,COLORYELLOW;
机遇:IF(X_20>(-0.8) AND X_20<0,-X_20,DRAWNULL),NODRAW,COLORBLUE;
卖:IF(CLOSE>COST(86),COST(95),DRAWNULL),NODRAW,COLORLIRED;
买:IF(CLOSE<COST(14),COST(5),DRAWNULL),NODRAW,COLORLIGREEN;
点:IF(X_19<(-1.2) OR X_19>1.2,X_19*0.382,DRAWNULL),NODRAW,COLORLIBLUE;
趋势:(X_17*2-100)/1.2,COLORWHITE;
X_21:=((CLOSE/(SUM(VOL*CLOSE,FROMOPEN)/SUM(VOL,FROMOPEN))-1)*61.799999+(CLOSE/(SUM(VOL*CLOSE,0)/SUM(VOL,0))-1)*38.200001)*((CLOSE/X_1-1)*68.199997+(CLOSE/EMA(CLOSE,480)-1)*38.200001);
IF(X_21>0.618 AND CLOSE>X_1,SQRT(X_21)*19.1-100,(-100)),COLORCYAN,LINETHICK2;
IF(X_21>0.618 AND CLOSE<X_1,100-SQRT(X_21)*19.1,100),COLORMAGENTA,LINETHICK2;
X_22:=(COUNT(CLOSE>0,FROMOPEN)-1-MOD(COUNT(CLOSE>0,FROMOPEN)-1,10))/10+1;
X_23:=LOG(SMA(SUM(DYNAINFO(37),FROMOPEN)*2400000/X_22,3,1))-1;
X_24:=IF(X_23>REF(X_23,1),1,IF(X_23=REF(X_23,1),2,3));
X_25:=IF(X_23>3.6,4,IF(X_23>2.7,5,IF(X_23>1.8,6,IF(X_23>0.9,7,8))));
X_26:=IF(X_2>10,4,IF(X_2>5,5,IF(X_2>1.5,6,IF(DYNAINFO(17)>0.8,7,8))));
X_27:=IF(DYNAINFO(17)-REF(DYNAINFO(17),1)>REF(DYNAINFO(17)-REF(DYNAINFO(17),1),1),1,IF(DYNAINFO(17)-REF(DYNAINFO(17),1)=REF(DYNAINFO(17)-REF(DYNAINFO(17),1),1),2,3));{分析家公式网}
X_28:=IF(COUNT(CLOSE>0,FROMOPEN)>119,30,1);
DRAWTEXT(CURRBARSCOUNT=X_28,90,STRCAT(9,STRCAT(X_26,X_27))),COLORRED;
DRAWTEXT(CURRBARSCOUNT=X_28,(-90),STRCAT(10,STRCAT(X_25,X_24))),COLORGREEN;
[url=http://www.70822.com/soft/sort013/sort05/down-155953.html]波动预警A(通达信公式 副图 源码 测试图)[/url]