M13:MA(CLOSE,M1); M60:MA(CLOSE,M2);
sjq:=C>MA(C,60);
zf:=C/REF(C,1)>1.05;
c2:=REF(C,1);
MA20:=MA(C,20);
MA60:=MA(C,60);
MA5:=MA(C,5);
//www.fxjgsw.com
MA10:=MA(C,10);
MA30:= MA(C,30);
MA120:= MA(C,120);
XG:= C>=HHV(REF(C,1),21);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,10,0),coloryellow;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,10,1),colorgreen;
Tc:=C/REF(C,1)>1.095 AND H=C;
Nw:=BARSLAST(Tc);
JN:=Nw>0 AND NW<30;
g1:=C>O AND C/REF(C,1)>1.02 AND V>REF(V,1) AND REF(O>C,1) AND REF(C,2)/REF(C,3)>1.02 AND REF(V,2)>REF(V,1) AND MA(C,20)>REF(MA(C,20),1) AND V>REF(V,2) AND MA(C,20)>MA(C,60) AND C>REF(H,2) AND C>MA(C,20);
g2:=C>O AND C/REF(C,1)>1.02 AND V>REF(V,1) AND REF(C,1)/REF(O,1)<1.01 AND MIN(REF(C,1),REF(O,1))>REF(C,2) AND REF(C,2)/REF(C,3)>1.02 AND REF(V,2)>REF(V,1) AND MA(C,20)>REF(MA(C,20),1) AND V>REF(V,2) AND MA(C,20)>MA(C,60)AND C>MAX(REF(C,1),REF(O,1)) AND C>MA(C,20);
g3:=C>O AND C/REF(C,1)>1.02 AND V>REF(V,1) AND REF(C,1)/REF(O,1)<1 AND REF(C,1)<REF(C,2) AND REF(C,2)/REF(O,2)<1 AND REF(C,2)<REF(C,3) AND REF(C,3)/REF(C,4)>1.02 AND REF(V,2)>REF(V,1) AND REF(V,2)<REF(V,3) AND MA(C,20)>REF(MA(C,20),1) AND V>REF(V,3) AND MA(C,20)>MA(C,60)AND C>REF(C,3) AND C>MA(C,20);
g4: =JN AND g1 OR g2 OR g3 AND V>MA(V,20) AND V>MA(V,60) AND V>MA(V,5) AND C>MA(C,20) AND C >MA(C,60); /*两阳夹一阴*/
STICKLINE(g4,O,C,10,0),coloryellow;
DRAWTEXT(g4,L-0.1,' 两阳'),COLORFF00FF;
ZTyp:=C>MA(C,5) AND C>MA(C,20) AND C>MA(C,60) AND MA(C,20)>REF(MA(C,20),1) AND MA(C,20)>MA(C,60);
rry6p:=C/REF(C,1)>1 AND V/REF(V,1)>1 AND REF(C,1)/REF(C,2)<1 AND REF(V,1)/REF(V,2)<1 AND REF(C,2)/REF(C,3)<1 AND REF(V,2)/REF(V,3)<1 AND C>REF(O,2) ;/*2连阴*/
sly6p:=JN AND rry6p AND ztyp AND MA(C,20)>REF(MA(C,20),1) AND MA(C,20)>MA(C,60);
STICKLINE(sly6p,O,C,10,0),colorgreen;
DRAWTEXT(sly6p,L-0.1,' 反包'),COLORFF00FF;
T1:=C/REF(C,1)>1.095 AND H=C;
T2:=REF(C,1)/REF(C,2)>1.095 AND H=C;
TT:=T1 AND T2;
T3:=COUNT(TT,10)=1;
N:=BARSLAST(TT);
T4:=C>REF(C,N) AND REF(C,1)<REF(C,N) AND N>6;
T5:=COUNT(C>REF(C,N) AND REF(C,1)<REF(C,N),N-1)=1;
XGtr:= T4 AND T5;;
STICKLINE(xgtr,O,C,10,0),colorgray;
DRAWTEXT(xgtr,H+0.1,' 反超'),COLORFF00FF;
b9:=C/REF(C,1)>1.095 AND H=C;/*第一次超涨停*/
b7=b9 AND REF(b9,1) AND C>MA(C,60) AND C>MA(C,20);
Lkj:= b7;
ZTtd:=BARSLAST(Lkj);
sjq:= C>MA(C,20) AND C>MA(C,60);
XGt1d:= SUM(C>MA(C,13) AND REF(C,1)<MA(C,13),ZTtd)<3 AND C>MA(C,13) AND REF(C,1)<MA(C,13) AND sjq AND zttd>0 AND zttd<60;
STICKLINE(xgt1d,O,C,10,0),colorred;
DRAWTEXT(xgt1d,L-0.2,' 龙回头'),COLORFF00FF;
C11:=C/REF(C,1)>1.095 AND H=C AND C>MA(C,60) AND C>MA(C,20) AND C>MA(C,13) AND MA(C,13)>MA(C,60);
C22:=COUNT(C11,13)>0;
C44:=MA(C,13)>MA(C,60) AND L>MA(C,20);
C55:=REF(BARSLAST(C11),1)+1;
c33:=REF(C22,1) AND COUNT(c44,C55)=C55 AND REF(V,1)=LLV(V,C55) AND C>REF(C,1) AND C>MA(C,13);
DRAWICON(C33,L,1);
G1:=REF(L,1)<L AND REF(L,1)<REF(L,2) AND REF(H,1)<REF(H,2) AND REF(H,1)<H AND Nw>0 AND NW<60 AND C/REF(C,1)>1.03;
G2:=REF(C,1)>C AND REF(C,1)>REF(C,2) AND REF(L,1)>L AND REF(L,1)>REF(L,2) AND Nw>0 AND NW<60AND REF(C,1)=HHV(C,13) ;
STICKLINE(G1,O,C,10,0),colorred;
DRAWTEXT(G1,L-0.2,' 底'),COLORFF00FF;
STICKLINE(G2,O,C,10,0),colorgreen;
DRAWTEXT(G2,H+0.2,' 顶'),COLORFF00FF;
d3:=O<REF(C,1)*0.97 AND O=LLV(L,21) AND O=L AND O*1.05<H;
d2:=O<REF(C,1)*0.97 AND L<O*0.97 AND C>O*1.06 AND L =LLV(L,21) AND O<REF(O,1) AND O=LLV(O,21);
d1:=d2 OR d3;
DRAWTEXT(d1,L-0.2,' 海底'),colorlired;
STICKLINE(d1,O,C,10,0),colorlired;
/*分割线*/
V1:=ZIG(3,30);
V6:=ZIG(3,12);
V2:=IF(REF(V1,2)>REF(V1,1) AND V1>REF(V1,1),50,0);
V3:=IF(REF(V6,2)<REF(V6,1) AND V6<REF(V6,1),50,0);
DRAWICON(V2,L*0.98,5);
DRAWICON(V3,H*1.05,4);
Nc1:=BARSLAST(V2)+3;
zd:=LLV(L,NC1);
zg:=HHV(H,nc1);
qj:=(zg-zd)/100;
Hj5:=zg-qj*50;
Hj618:=zg-qj*61.8;
Hj382:=zg-qj*38.2;
Hj191:=zg-qj*19.1;
b9:=C/REF(C,1)>1.095 AND H=C;
cs:=SUM(b9,nc1)>2;
md1:=L<=Hj5 AND MAX(C,O)>Hj5 AND zd*1.3<zg AND SUM(L<Hj5,3)=1 AND Cs;
md2:=L<=Hj618 AND MAX(C,O)>Hj618 AND zd*1.3<zg AND SUM(L<Hj618,3)=1 AND Cs;
DRAWTEXT(md1,L*0.99,'★'),colorgreen;
HORLINE(CURRBARSCOUNT==1,Hj5,1,3),colorred,DOTLINE;
DRAWNUMBER(CURRBARSCOUNT==1,Hj5*0.99,TOSTRING(Hj5,2)),colorlired;
DRAWTEXT(md2,L*0.99,'★'),colorlired;
HORLINE(CURRBARSCOUNT==1,Hj618,1,3),colorcyan,DOTLINE;
DRAWNUMBER(CURRBARSCOUNT==1,Hj618*0.99,TOSTRING(Hj618,2)),colorlired;
HORLINE(CURRBARSCOUNT==1,Hj382,1,3),colorgray,DOTLINE;
DRAWNUMBER(CURRBARSCOUNT==1,Hj382*0.99,TOSTRING(Hj382,2)),colorliblue;
HORLINE(CURRBARSCOUNT==1,Hj191,1,3),colorgray,DOTLINE;
DRAWNUMBER(CURRBARSCOUNT==1,Hj191*0.99,TOSTRING(Hj191,2)),colorgyay;
HORLINE(CURRBARSCOUNT==1,zg,0,3),colorgray,DOTLINE;
HORLINE(CURRBARSCOUNT==1,zd,0,3),colorgray,LINE;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!