欢迎您访问投资者加油站-WWW.XG51.CN选股无忧网

尾盘超短线稳步登高 鲛海龙珠火箭加油低估价值难得一见空中加速哪吒闹海一剑封喉猛龙在天底部黄金神龙见首跟庄波段神龙甩尾

鱼跃龙门拔地而起底部起飞筹码突击阶段新高MACD金叉量能巨变深跌回弹小步上扬量价齐飞盘整突破超卖反转超级强势强势洗盘

软件书籍买点指标卖点指标买卖指标底部指标市场热点股票入门指标改编指标技巧通达信公式安装方法大智慧公式安装方法同花顺公式安装方法

通达信公式

当前位置: 主页 > 通达信公式

通达信股海擒牛趋势主图未加密选股指标公式源码

来源:网络|编辑:小编|时间:2021-12-27|栏目:通达信公式

通达信股海擒牛趋势主图未加密选股指标公式源码

通达信股海擒牛趋势主图未加密选股指标公式源码

源码正文:


N1:=10;N2:=10;DISP:=2{XG51};
K:=IF(PERIOD=5,1,
IF(PERIOD=6,1,
IF(PERIOD=7,1,
IF(PERIOD=8,1,
IF(PERIOD=9,1,
IF(PERIOD=10,1,
IF(PERIOD=11,2,
IF(PERIOD=4,1,
IF(PERIOD=3,1,
IF(PERIOD=2,1,
IF(PERIOD=1,1,1)))))))))))/10{XG51};
P1:=PEAK(1,K*N1,1){XG51};
P2:=PEAK(1,K*N1,2){XG51};
WP1:=PEAKBARS(1,K*N1,1){XG51};
WP2:=PEAKBARS(1,K*N1,2){XG51};
T1:=TROUGH(2,K*N2,1){XG51};
T2:=TROUGH(2,K*N2,2){XG51};
WT1:=TROUGHBARS(2,K*N2,1){XG51};
WT2:=TROUGHBARS(2,K*N2,2){XG51};
TJ1:=P1>T1 AND P2>T2 {XG51};
ZD:=maX(T1,T2){XG51};
ZG:=MIN(P1,P2){XG51};
LL:=MIN(T1,T2){XG51};
HH:=MAX(P1,P2){XG51};
TJ2:=FILTER(ZG>ZD,2){XG51};
TJ3:=ZG=REF(ZG,BArslAst(TJ2)) OR ZD=REF(ZD,BARSLAST(TJ2)){XG51};
TJ4:=TJ1&&TJ2&&NOT(TJ3){XG51};
TJ5:=BETWEEN(ZD,REF(ZD,REF(BARSLAST(TJ4),1)),REF(ZG,REF(BARSLAST(TJ4),1))){XG51};
TJ6:=BETWEEN(ZG,REF(ZD,REF(BARSLAST(TJ4),1)),REF(ZG,REF(BARSLAST(TJ4),1))){XG51};
TJ7:=ZG>REF(ZG,REF(BARSLAST(TJ4),1))&&ZD<REF(ZD,REF(BARSLAST(TJ4),1)){XG51};
TJ8:=TJ4&&NOT(TJ5 OR TJ6 OR TJ7){XG51};
ZSD:=IF(TJ8,ZD,DRAWNULL){XG51};
ZSG:=IF(TJ8,ZG,DRAWNULL){XG51};
ZSH:=IF(TJ8,HH,DRAWNULL){XG51};
ZSL:=IF(TJ8,LL,DRAWNULL){XG51};
STICKLINE(TJ8,ZSH,ZSL,0,-1),COLORLIMAGENTA{XG51};
STICKLINE(TJ8,ZSD,ZSG,IF(DISP=1,3,0),1),COLORLIMAGENTA{XG51};
DRAWTEXT(DISP=2,ZSH,'中枢'),COLORWHITE{XG51};
中枢高:PLOYLINE(DISP=2,REF(ZSD,BARSLAST(TJ8))),crOSSDOT,COLORLICYAN{XG51};
中枢低:PLOYLINE(DISP=2,REF(ZSG,BARSLAST(TJ8))),CROSSDOT,COLORLIBLUE{XG51};
中枢最高:PLOYLINE(DISP=2,REF(ZSH,BARSLAST(TJ8))),POINTDOT,COLORWHITE{XG51};
中枢最低:PLOYLINE(DISP=2,REF(ZSL,BARSLAST(TJ8))),POINTDOT,COLORCYAN{XG51};
趋势高:PLOYLINE(DISP=3,zig(1,K*N1)),COLORLIGREEN{XG51};
趋势低:PLOYLINE(DISP=3,ZIG(2,K*N2)),COLORLIGREEN{XG51};
局部低点预选A:=BacKSET(LLV(L,5)<REF(LLV(L,4),1),4){XG51};
局部低点预选B:=BACKSET(局部低点预选A=0 AND REF(局部低点预选A,1)=1,2){XG51};
局部低点预选C:=IF(局部低点预选B=1 AND REF(局部低点预选B,1)=0,-1,0){XG51};
局部高点预选A:=BACKSET(HHV(H,5)>REF(HHV(H,4),1),4){XG51};
局部高点预选B:=BACKSET(局部高点预选A=0 AND REF(局部高点预选A,1)=1,2){XG51};
局部高点预选C:=IF(局部高点预选B=1 AND REF(局部高点预选B,1)=0,1,0){XG51};
缺口判断:=IF(L>REF(H,1),1,IF(H<REF(L,1),-1,0)){XG51};
距前高天:=BARSLAST(局部高点预选C=1){XG51};
距前低天:=BARSLAST(局部低点预选C=-1){XG51};
小值周期:=LOwrANGE(L){XG51};
大值周期:=topRANGE(H){XG51};
低保留AA:=IF(局部低点预选C=-1 AND REF(距前高天,1)>REF(距前低天,1) AND LLV(L,距前高天+1)<REF(LLV(L,距前高天+1),1),-1,0){XG51};
低保留AB:=IF(局部低点预选C=-1 AND REF(距前高天,1)<=REF(距前低天,1) AND (距前高天>=4 OR LLV(缺口判断,距前高天)=-1 OR LLV(L,距前低天+2)<REF(LLV(L,距前低天+1),1)),-1,0){XG51};
低保留S:=IF((低保留AA=-1 OR 低保留AB=-1) AND L<REF(H,距前高天+1),-1,0){XG51};
预判:=IF((距前低天<4 AND HHV(缺口判断,距前低天)!=1) OR REF(低保留S,距前低天)=0,1,0){XG51};
判断:=IF(局部高点预选C=1 AND REF(距前低天,1)<=REF(距前高天,1) AND 预判=1 AND 大值周期>REF(小值周期,距前低天+1) AND 大值周期>REF(小值周期,距前低天) AND 大值周期>REF(大值周期,距前高天),1,0){XG51};
高保留A:=IF(局部高点预选C=1 AND REF(距前低天,1)>REF(距前高天,1) AND HHV(H,距前低天+1)>REF(HHV(H,距前低天+1),1),1,0){XG51};
高保留B:=IF(局部高点预选C=1 AND REF(距前低天,1)<=REF(距前高天,1) AND REF(低保留S,距前低天)=-1 AND (距前低天>=4 OR HHV(缺口判断,距前低天)=1),1,0){XG51};
高保留:=IF((高保留A=1 OR 高保留B=1 OR 判断=1) AND H>REF(L,距前低天+1),1,0){XG51};
预判A:=IF((距前高天<4 AND HHV(缺口判断,距前高天)!=1) OR REF(高保留,距前高天)=0,1,0){XG51};
判断A:=IF(局部低点预选C=-1 AND REF(距前高天,1)<=REF(距前低天,1) AND 预判A=1 AND 小值周期>REF(大值周期,距前高天+1) AND 小值周期>REF(大值周期,距前高天) AND 小值周期>REF(小值周期,距前低天),-1,0){XG51};
低保留A:=IF(局部低点预选C=-1 AND REF(距前高天,1)>REF(距前低天,1) AND LLV(L,距前高天+1)<REF(LLV(L,距前高天+1),1),-1,0){XG51};
低保留B:=IF(局部低点预选C=-1 AND REF(距前高天,1)<=REF(距前低天,1) AND (距前高天>=4 OR LLV(缺口判断,距前高天)=-1 OR 判断A=-1),-1,0){XG51};
低保留:=IF((低保留A=-1 OR 低保留B=-1) AND L<REF(H,距前高天+1),-1,0){XG51};
距前高天A:=BARSLAST(高保留=1){XG51};
距前低天A:=BARSLAST(低保留=-1){XG51};
预判X:=IF((距前低天A<4 AND HHV(缺口判断,距前低天A)!=1) OR REF(低保留,距前低天A)=0,1,0){XG51};
判断X:=IF(局部高点预选C=1 AND REF(距前低天A,1)<=REF(距前高天A,1) AND 预判X=1 AND 大值周期>REF(小值周期,距前低天A+1) AND 大值周期>REF(小值周期,距前低天A) AND 大值周期>REF(大值周期,距前高天A),1,0){XG51};
高保留XA:=IF(局部高点预选C=1 AND REF(距前低天A,1)>REF(距前高天A,1) AND HHV(H,距前低天A+1)>REF(HHV(H,距前低天A+1),1),1,0){XG51};
高保留XB:=IF(局部高点预选C=1 AND REF(距前低天A,1)<=REF(距前高天A,1) AND REF(低保留,距前低天A)=-1 AND (距前低天A>=4 OR HHV(缺口判断,距前低天A)=1),1,0){XG51};
高保留X:=IF((高保留XA=1 OR 高保留XB=1 OR 判断X=1) AND H>REF(L,距前低天A+1),1,0){XG51};
预判XA:=IF((距前高天A<4 AND HHV(缺口判断,距前高天A)!=1) OR REF(高保留XA,距前高天A)=0,1,0){XG51};
判断XA:=IF(局部低点预选C=-1 AND REF(距前高天A,1)<=REF(距前低天A,1) AND 预判XA=1 AND 小值周期>REF(大值周期,距前高天A+1) AND 小值周期>REF(大值周期,距前高天A) AND 小值周期>REF(小值周期,距前低天A),-1,0){XG51};
低保留XA:=IF(局部低点预选C=-1 AND REF(距前高天A,1)>REF(距前低天A,1) AND LLV(L,距前高天A+1)<REF(LLV(L,距前高天A+1),1),-1,0){XG51};
低保留XB:=IF(局部低点预选C=-1 AND REF(距前高天A,1)<=REF(距前低天A,1) AND (距前高天A>=4 OR LLV(缺口判断,距前高天A)=-1 OR 判断XA=-1),-1,0){XG51};
低保留X:=IF((低保留XA=-1 OR 低保留XB=-1) AND L<REF(H,距前高天A+1),-1,0){XG51};
距前高天YA:=BARSLAST(高保留X=1){XG51};
距前低天YA:=BARSLAST(低保留X=-1){XG51};
预判YX:=IF((距前低天YA<4 AND HHV(缺口判断,距前低天YA)!=1) OR REF(低保留X,距前低天YA)=0,1,0){XG51};
判断YX:=IF(局部高点预选C=1 AND REF(距前低天YA,1)<=REF(距前高天YA,1) AND 预判YX=1 AND 大值周期>REF(小值周期,距前低天YA+1) AND 大值周期>REF(小值周期,距前低天YA) AND 大值周期>REF(大值周期,距前高天YA),1,0){XG51};
高保留YXA:=IF(局部高点预选C=1 AND REF(距前低天YA,1)>REF(距前高天YA,1) AND HHV(H,距前低天YA+1)>REF(HHV(H,距前低天YA+1),1),1,0){XG51};
高保留YXB:=IF(局部高点预选C=1 AND REF(距前低天YA,1)<=REF(距前高天YA,1) AND REF(低保留X,距前低天YA)=-1 AND (距前低天YA>=4 OR HHV(缺口判断,距前低天YA)=1),1,0){XG51};
高保留YX:=IF((高保留YXA=1 OR 高保留YXB=1 OR 判断YX=1) AND H>REF(L,距前低天YA+1),1,0){XG51};
预判YXA:=IF((距前高天YA<4 AND HHV(缺口判断,距前高天YA)!=1) OR REF(高保留YXA,距前高天YA)=0,1,0){XG51};
判断YXA:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)<=REF(距前低天YA,1) AND 预判YXA=1 AND 小值周期>REF(大值周期,距前高天YA+1) AND 小值周期>REF(大值周期,距前高天YA) AND 小值周期>REF(小值周期,距前低天YA),-1,0){XG51};
低保留YXA:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)>REF(距前低天YA,1) AND LLV(L,距前高天YA+1)<REF(LLV(L,距前高天YA+1),1),-1,0){XG51};
低保留YXB:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)<=REF(距前低天YA,1) AND (距前高天YA>=4 OR LLV(缺口判断,距前高天YA)=-1 OR 判断YXA=-1),-1,0){XG51};
低保留YX:=IF((低保留YXA=-1 OR 低保留YXB=-1) AND L<REF(H,距前高天YA+1),-1,0){XG51};
AAAD:=IF(高保留YX=1 AND 低保留YX=-1 AND H>REF(H,REF(距前高天YA,1)+2),1,IF(高保留YX=1 AND 低保留YX=-1 AND L<REF(L,REF(距前低天YA,1)+2),-1,0)){XG51};
极点保留:=IF(AAAD=0,高保留YX+低保留YX,AAAD){XG51};
局部极点:IF(极点保留=-1,L,IF(极点保留=1,H,DRAWNULL)) CIRCLEDOT COLORBLUE LINETHICK8{XG51};
DRAWLINE(极点保留=-1,局部极点,极点保留=1,局部极点,0)COLORLICYAN{XG51};
DRAWLINE(极点保留=1,局部极点,极点保留=-1,局部极点,0)COLORBLUE{XG51};
DD1:=BARSLAST(Abs(极点保留)!=1){XG51};
DRAWTEXT(极点保留=1,局部极点,'卖'),COLORCYAN{XG51};
DRAWTEXT(极点保留=-1,局部极点,'买'),COLORWHITE{X_G~5=1_C_N_{};

通达信股海擒牛趋势主图未加密选股指标公式源码

通达信木桶寻龙未加密选股指标公式源码

源码正文:


涨幅:=DYNAINFO(14)>=0.02 AND DYNAINFO(14)<=0.05{XG51};
量比1:=DYNAINFO(17)>=3 AND DYNAINFO(17)<=6{XG51};
量比2:=DYNAINFO(17)>=3{XG51};
流通盘1:=FINANCE(7)<=500000000{XG51};
流通盘2:=FINANCE(7)<=1000000000{XG51};
总量:=DYNAINFO(8)>=8000{XG51};
今开:=O=DYNAINFO(4){XG51};
早盘金寻龙:=涨幅=1 AND 量比1=1 AND 流通盘1=1 AND 总量=1 AND 今开=1{XG51};
早盘银寻龙:=涨幅=1 AND 量比1=1 AND 流通盘2=1 AND 总量=1 AND 今开=1{XG51};
早盘铜寻龙:=涨幅=1 AND 量比2=1 AND 流通盘1=1 AND 总量=1 AND 今开=1{XG51};
金寻龙:早盘金寻龙*8,COLORWHITE{XG51};
银寻龙:早盘银寻龙*8,COLORRED{XG51};
铜寻龙:早盘铜寻龙*8,COLORBLUE{XG51};
早盘寻龙:=金寻龙=8 OR 银寻龙=8 OR 铜寻龙=8{XG51};
寻龙:早盘寻龙*8{XG51};
stICKLINE(铜寻龙=8,0,40,2,0),COLORYELLOW{XG51};
STICKLINE(银寻龙=8,0,60,2,0),COLORRED{XG51};
STICKLINE(金寻龙=8,0,80,2,0),COLORWHITE{XG51};
DRAWTEXT_FIX(1,0.5,0,1,DYBLOCK),COLORBLUE{XG51};
DRAWTEXT_FIX(1,0.5,0,0,HYBLOCK),COLORCYAN{XG51};
DRAWTEXT_FIX(1,0.5,0.5,1,GNBLOCK),COLORBLUE{XG51};
DRAWTEXT_FIX(1,0.5,0.5,0,FGBLOCK),COLORCYAN{XG51};
A7:=C-REF(C,1){XG51};
A8:=100*ema(Ema(A7,6),6)/EMA(EMA(Abs(A7),6),6){XG51};
SHORT:=7; LONG:=19{XG51};
RMA:=EMA(CLOSE,SHORT){XG51};
NMA:=EMA(CLOSE,LONG){XG51};
UP:=DRAWLINE(L=LLV(L,BArslAST(crOSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0){XG51};
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0){XG51};
最牛:(LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1),NODRAW{XG51};
STICKLINE(最牛=1,0,80,2,0),COLORFF00FF{X~G^5~1~C~N~{};

免责声明 | 联系我们 | 服务协议

重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。

联系QQ:875328188 | 邮箱:875328188@qq.com

Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7