资源描述:
《【股票指标公式下载】-【通达信】七剑下天山(卖出线、阶段卖、趋势、买入信号、交叉)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】七剑下天山(卖出线.阶段卖.趋势、买入信号.交叉)•指标公式源码E1:二BARSCOUMT(C);AII:=IIHV(II,200);AL:=LLV(L,200);BO:=(AH-AL)/40;KB1:二H+BO;KB2:二L-BO;STICKLINE((El+0)/34二FLOOR((El+0)/34),KB2,KB2-3*B0,1,0),COLORYELLOW,LINETHICK3;DRAWTEXT((El+0)/34二FLOOR((El+0)/34),KB2-2*B0,'时间窗1),COLORWHITE;{STI
2、CKLINE((OPEN>=CLOSE),CLOSE,OPEN,5,0),C0L0RFF6C00;STICKLINE((OPENSTICKLINE((OPENSTICKLINE((OPENSTTCKIJNE((OPENSTICKLINE((OPEN>二>=>=>二>=CLOSE),CLOSE,OPEN,4,0),C0L0RFF7B00;CLOSE),CLOSE,OPEN,3,0),C0L0RFF9C00;CLOSE),CLOSE,OPEN,2,0),COLORFFBEOO;CLOSE),CLOSE,OPEN,2.5,0),COL
3、ORFFCCOO;CLOSE),CLOSE,OPEN,1.5,0),COLORFFFFOO;STICKLINE((CLOSESTICKLINE((CLOSESTICKLINE((CLOSESTTCKIJNE((CLOSESTICKLINE((CLOSESTICKLINE((CLOSESTICKLINE((CLOSESTICKLINE((CLOSESTTCKIJNE((CLOSESTICKLINE((CLOSE>二>=>=>二>=>二>=>=OPEN),CLOSE,OPEN,6,0),C0L0R070084;OPEN),CLOSE
4、,OPEN,5,0),C0L0R0000A3;OPEN),CLOSE,OPEN,4,0),C0L0R0000B7;OPEN),CLOSE,OPEN,3,0),COLOROOOOCD;OPEN),CLOSE,OPEN,2,0),C0L0R0000E9;OPEN),CLOSE,OPEN,2,0),C0L0R0754E9;OPEN),CLOSE,OPEN,1.5,0),C0L0R076EF3;OPEN),CLOSE,OPEN,1,0),C0L0R077BF3;>OPEN),OPEN,LOW,1,0),C0L0R0726CA;>OPEN
5、),CLOSE,HIGH,1,0),C0L0R0726CA;STICKLINE((OPEN>CLOSE),CLOSE,LOW,1,0),C0L0RDE9100;STICKLINE((OPEN>CLOSE),OPEN,HIGH,1,0),C0L0RDE9100;}卖出线:=98;阶段卖:二96;趋势4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SM(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27
6、))*100,5,1),3,1);底部:二10;买入信号:DRAWICON(CROSS(趋势4,底部),LOW,1);卖tB:DRAWICON(CROSS(卖出线,趋势4),HIGH,2);顶压:HHV(MA(H,11),50),C0L0RFF9900,IJNETHTCK3;短压:HHV(MA(H,11),15),C0L0R0066FF,L1NETH1CK3;XL1:=LLV(MA(H,11),1);趋势3:IF(XL1>=短压,短压,XL1),COLORRED,LINETIIICK2;K1:=BACKSET(趋势37、势3,1),2);TF(K1,趋势3,DRAWNULL),C0L0R00CC33,LINETHICK2;RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;KK1:=REF(RSV,1);KK2:=REF(RSV,2);KA:二RSV;KK3:二REF(RSV,3);KK4:=REF(RSV,4);KK5:=REF(RSV,5);KK80:二3*80-(POW(2/3,1)*KK1+POW(2/3,2)*KK2+POW(2/3,3)*KK3+POW(2/3,4)*KK4+3*P0W(2/3,5)*
8、KK5);KKK80:=SMA((KK80*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);交叉:=3*SMA(SMA(KA,3,1),3,1)-(POW(2/3,l)*KKl+POW(2/3,2)*KK2+P0W(2/3,3)*K