b:=ZIG(1,3);
S:=MA(b,3);
BU:=CROSS(b,S);
SEL:=CROSS(S,b);
STICKLINE(b=S,LOW,HIGH,0.1,0),color0000CC;
STICKLINE(b>=S,CLOSE,OPEN,7,0),color0000CC;
STICKLINE(b<S,CLOSE,OPEN,7,0),colorCCCC00;
STICKLINE(b<S,LOW,HIGH,0.1,0),colorCCCC00;
B:ZIG(1,3);
G:=MA(B,2),colorred;
D:=EMA(B,34),colorgreen;
F:=100*(C-REF(C,1))/REF(C,1);
JD:=IF(C<REF(O,1) AND F<0,1,0);
S1:=JD;
MR:=IF(C<REF(O,2) AND F<0,1,0),LINETHICK0;
S2:=MR;
A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1));
A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1));
VERLINE(CROSS(B,G) ,1),colorlimagenta;//画加仓建仓垂线
VERLINE(CROSS(G,B),1),colorcyan;//画清仓垂线
突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
基准:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1));
出击:IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),colorred,LINETHICK2;
休假:IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),colorgreen,LINETHICK2;
STICKLINE(A1X>=0,出击,突破,0,-1),colorred;
STICKLINE(A1X<0,休假,突破,0,-1),colorgreen;
买线:=ZIG(3,0.3);
卖线:=MA(买线,3);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,L*1,'买'),LINETHICK1,COLOR00AAFF;
DRAWTEXT(SEL,H*1,'卖'),LINETHICK1,COLOR00FF00;
STICKLINE(买线>=卖线,H,L,0.5,0),COLOR0000EE;
STICKLINE(买线>=卖线,O,C,11,0),COLOR0000BE;
STICKLINE(买线>=卖线,O,C,8,0),COLOR0000CE;
STICKLINE(买线>=卖线,O,C,6,0),COLOR0000DE;
STICKLINE(买线>=卖线,O,C,4,0),COLOR0000EE;
STICKLINE(买线<卖线,O,C,11,0),COLOR208000;
STICKLINE(买线<卖线,O,C,8,0),COLOR2BAA00;
STICKLINE(买线<卖线,O,C,6,0),COLOR35D500;
STICKLINE(买线<卖线,O,C,4,0),COLOR40FF00;
STICKLINE(买线<卖线,H,L,0,0),COLOR40FF00;
STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,8,0),color00AAFF;
STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,8,0),colormagenta;
STICKLINE(CROSS(b,S),OPEN,CLOSE,7,0),color00AAFF;
STICKLINE(CROSS(b,S),OPEN,CLOSE,7,0),color00DD00;
如:=TROUGHBARS(3,1,1);
风:=PEAKBARS(3,1,1);
精:=IF(如=1,34,0);
简:=IF(风=1,34,0);
升:IF( 精=34 ,LOW*1,DRAWNULL),CROSSDOT,colorblue,LINETHICK10;
降:IF( 简=34 ,HIGH*1,DRAWNULL),CROSSDOT,colorgreen,LINETHICK10;
VAR1:=ZIG(3,2.88)<REF(ZIG(3,2.88),1) AND REF(ZIG(3,2.88),1)>REF(ZIG(3,2.88),2);
VAR2:=ZIG(3,2.88)>REF(ZIG(3,2.88),1) AND REF(ZIG(3,2.88),1)<REF(ZIG(3,2.88),2);
STICKLINE(VAR1,C,O,8,0),COLOR00FF00;
STICKLINE(VAR1,C,O,5,0),COLOR00FF00;
STICKLINE(VAR1,H,L,2,0),COLOR00FF00;
STICKLINE(VAR2,C,O,7,0),COLOR0000FF;
STICKLINE(VAR2,C,O,5,0),COLOR0000FF;
STICKLINE(VAR2,H,L,2,0),COLOR0000FF;
VAR3:=ZIG(3,4.88)<REF(ZIG(3,4.88),1) AND REF(ZIG(3,4.88),1)>REF(ZIG(3,4.88),2);
VAR4:=ZIG(3,4.88)>REF(ZIG(3,4.88),1) AND REF(ZIG(3,4.88),1)<REF(ZIG(3,4.88),2);
STICKLINE(VAR3,C,O,8,0),COLOR00FF00;
STICKLINE(VAR3,C,O,5,0),COLOR00FF00;
STICKLINE(VAR3,H,L,2,0),COLOR00FF00;
VAR9:=ZIG(3,8.88)<REF(ZIG(3,8.88),1) AND REF(ZIG(3,8.88),1)>REF(ZIG(3,8.88),2);
VAR10:=ZIG(3,8.88)>REF(ZIG(3,8.88),1) AND REF(ZIG(3,8.88),1)<REF(ZIG(3,8.88),2);
VAR13:=ZIG(3,15.88)<REF(ZIG(3,15.88),1) AND REF(ZIG(3,15.88),1)>REF(ZIG(3,15.88),2);
VAR14:=ZIG(3,15.88)>REF(ZIG(3,15.88),1) AND REF(ZIG(3,15.88),1)<REF(ZIG(3,15.88),2);
VAR15:=ZIG(3,1.23)<REF(ZIG(3,1.23),1) AND REF(ZIG(3,1.23),1)>REF(ZIG(3,1.23),2);
VAR16:=ZIG(3,1.23)>REF(ZIG(3,1.23),1) AND REF(ZIG(3,1.23),1)<REF(ZIG(3,1.23),2);
STICKLINE(VAR15,C,O,8,0),COLOR00FF00;
STICKLINE(VAR15,C,O,5,0),COLOR00FF00;
STICKLINE(VAR15,H,L,2,0),COLOR00FF00;
STICKLINE(VAR16,C,O,7,0),COLOR0000FF;
STICKLINE(VAR16,C,O,5,0),COLOR0000FF;
STICKLINE(VAR16,H,L,2,0),COLOR0000FF;
DRAWICON(VAR15,H,8);
DRAWICON(VAR16,L,7);
VAR17:=ZIG(3,0.58)<REF(ZIG(3,0.58),1) AND REF(ZIG(3,0.58),1)>REF(ZIG(3,0.58),2);
VAR18:=ZIG(3,0.58)>REF(ZIG(3,0.58),1) AND REF(ZIG(3,0.58),1)<REF(ZIG(3,0.58),2);
STICKLINE(VAR17,C,O,8,0),COLOR00FF00;
STICKLINE(VAR17,C,O,5,0),COLOR00FF00;
STICKLINE(VAR17,H,L,2,0),COLOR00FF00;
STICKLINE(VAR18,C,O,7,0),COLOR0000FF;
STICKLINE(VAR18,C,O,5,0),COLOR0000FF;
STICKLINE(VAR18,H,L,2,0),COLOR0000FF;
DRAWICON(VAR17,H,8);
DRAWICON(VAR18,L,7);
Z1:=EMA(CLOSE,5);
Z2:=EMA(Z1,15);
DRAWBAND(Z2,RGB(100,0,0),Z1,RGB(0,100,0));
重心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
【操盘线】:EMA(((SLOPE(C,22)*20)+C),55),coloryellow,LINETHICK5;
【黄金线】:IF(重心>=【操盘线】,【操盘线】,DRAWNULL),colorlired,LINETHICK5;
【空仓线】:IF(重心<【操盘线】,【操盘线】,DRAWNULL),colorliblue,LINETHICK5;
变:EMA(CLOSE,5),LINETHICK1,coloryellow,LINETHICK5;
金:IF(变>REF(变,1),变,DRAWNULL),colorlired,LINETHICK5;
空:IF(变<REF(变,1),变,DRAWNULL),colorliblue,LINETHICK5;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!