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

通达信伏击牛熊线副图,牛线线上牛股起,熊线线下熊股出

发布时间:2023/2/17 17:55:11  浏览次数:
DRAWKLINE(H,O,L,C);
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+
12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+
5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,colorred,LINETHICK1;
熊线:MA(牛线,6),colorgreen,LINETHICK1;
涨停线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,colorwhite;
VAR2X:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3X:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
伏击:CROSS(VAR2X,MA(VAR3X,6)),NODRAW;
DRAWTEXT(伏击,涨停线,'↖伏击');
B1:=(H+L+C)/3;
B2:=HHV(B1,15);
B3:=LLV(B1,15);
B4:=B2-B3;
主拉:MA((B1-B3)/B4,2)*100,COLOR000080,NODRAW;
ZF:=(C/REF(C,1)-1)*200,NODRAW;
涨速:SUM(ZF,5),COLOR0099FF,NODRAW;
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR301:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR301,5);
操盘:=3*VAR301-2*VAR400;
A111:=CROSS(操盘,VAR301) AND VAR301<2.1 AND C>O;
STICKLINE(A111,O,C,6,0),COLOR770077;
STICKLINE(A111,O,C,5,0),COLOR990099;
STICKLINE(A111,O,C,4,0),COLORBB00BB;
STICKLINE(A111,O,C,3,0),COLORDD00DD;
STICKLINE(A111,O,C,2,0),COLORFF00FF;
{DRAWTEXT(A111,H*1.03,'财神'),colorred;}
X_1:=IF(CLOSE>REF(CLOSE,1),88,0);
X_2:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND X_1>0,91,0);
锦鲤:FILTER(X_2>90,45)=1,colorlired,NODRAW;
STICKLINE(锦鲤,L+(H-L)/3*2,H,3,0),colorlired;
X_3:=CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,60);
X_4:=MA(CLOSE,20);
X_5:=CLOSE>X_4;
X_6:=SMA(HIGH,21,2)*1.05;
X_7:=SMA(LOW,21,2)*0.95;
X_8:=SMA(LOW,5,1);
X_9:=(HIGH-CLOSE)/CLOSE*100<1;
X_10:=CLOSE/REF(CLOSE,1)>1.03;
X_11:=SMA(CLOSE,2,1);
X_12:=IF(CROSS(X_11,X_8),X_6*1.05,X_8);
X_13:=IF(CROSS(X_11,X_6),X_6*1.1,X_7);
龙门:X_13>X_7 OR X_12>X_8 AND X_9 AND X_10 AND X_3 AND X_5,NODRAW,colormagenta;
STICKLINE(龙门,L+(H-L)/3,L+(H-L)/3*2,3,0),coloryellow;
X_23:=MA(CLOSE,10);
X_24:=MA(CLOSE,20);
X_25:=MA(CLOSE,30);
X_26:=MA(CLOSE,54);
X_27:=MA(CLOSE,60);
X_28:=MA(CLOSE,120);
X_29:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
X_30:=FILTER(X_29,10);
X_31:=BARSLAST(X_30);
X_32:=REF(HIGH,X_31+2);
X_33:=REF(HIGH,X_31+1);
X_34:=REF(HIGH,X_31);
X_35:=MAX(X_32,X_33);
X_36:=MAX(X_35,X_34);
X_37:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_38:=X_31<150;
X_39:=(OPEN-X_36)/X_36*100<30;
X_40:=(CLOSE-LLV(LOW,X_31))/LLV(LOW,X_31)*100<50;
X_41:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
X_42:=VOL/MA(VOL,5)<3.5;
X_43:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
X_44:=X_37 AND X_38 AND X_39 AND X_40 AND X_41 AND X_42 AND X_43;
X_45:=FILTER(X_44,15);
X_46:=(CLOSE-X_26)/X_26<0.1;
X_47:=(CLOSE-X_23)/X_23<0.3;
X_48:=(X_46=1 AND X_47=1)*0.2;
X_49:=(X_48=0 AND REF(X_48,1)=0.2 AND REF(COUNT(X_48=0.2,10)=10,1)=1)*(-0.1);
X_50:=X_49=(-0.1);
X_51:=X_45 OR X_50;
妖:X_51 AND CLOSE/REF(CLOSE,1)>1.095,NODRAW,colorblue;
STICKLINE(妖,L,L+(H-L)/3,3,0),colorblue;
F:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<REF(O,1) AND F<0,1,0);
S1:=今小昨;
今小前:=IF(C<REF(O,2) AND F<0,1,0),LINETHICK0;
S2:=今小前;
A3:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,10),REF(ZIG(3 ,10),1));
DRAWTEXT(A3=1,L*0.98,'↑横扫'),coloryellow;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
XG:=(FILTER((VAR4AA>90),45)),coloryellow;
STICKLINE(XG,O,C,0.5,0),COLOR000099;
DRAWTEXT(XG>0,H*1.15,'神量'),colormagenta;
云:=(((((REF(CLOSE,1) / REF(OPEN,1)) > 1.03) AND ((CLOSE / OPEN) <
0.97)) AND (OPEN > REF(CLOSE,1))) AND (CLOSE < REF(CLOSE,1)));
雨:=(((((REF(CLOSE,1) / REF(OPEN,1)) >= 1.03) AND (OPEN <
REF(CLOSE,1))) AND (OPEN > REF(OPEN,1))) AND (CLOSE < REF(OPEN,1)));
DRAWTEXT(雨,H*1.02,'雨'),colorcyan;
DRAWTEXT(云,H*1.02,'云'),colorcyan;

 
资源下载链接   资源大小:unknow
精品资源推荐

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