必买:=IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,CLOSE,0),NODRAW;
必卖:=IF(PEAKBARS(3,15,1)=1,CLOSE,0),NODRAW;
DRAWICON(必买=CLOSE,L-0.01,"buy ");
DRAWICON(必卖=CLOSE,H,"sell");
DRAWTEXT(必买=CLOSE,LOW* 0.99,'——起涨点'),colormagenta;
DRAWTEXT(必卖=CLOSE,H* 0.99,'----逃顶点'),colorgreen;
STICKLINE(必卖 AND CLOSE<OPEN,OPEN,CLOSE,10,2),colorgreen;
STICKLINE(必卖 AND CLOSE>=OPEN,OPEN,CLOSE,10,2),colorred;
STICKLINE(必卖,OPEN,CLOSE,10,0),colorgreen;
STICKLINE(必卖 ,LOW,HIGH,4,0),colorgreen;
STICKLINE(必买 AND CLOSE<OPEN,OPEN,CLOSE,10,2),colorcyan;
STICKLINE(必买 AND CLOSE>=OPEN,OPEN,CLOSE,10,2),colorred;
STICKLINE(必买,OPEN,CLOSE,9,0),colorwhite;
STICKLINE(必买,LOW,HIGH,4,0),color00009C;
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE>=OPEN,OPEN,CLOSE,10,1),colorred;
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE>=OPEN,OPEN,LOW,0,0),colorred;
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorred;
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE<OPEN,OPEN,CLOSE,10,0),colorcyan;
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE<OPEN,LOW,HIGH,2,0),colorcyan;
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE<OPEN,OPEN,CLOSE,8,0),colorwhite;
STICKLINE(COUNT(必买=CLOSE,BARSLAST(必卖=CLOSE))=0 AND CLOSE<=OPEN,OPEN,CLOSE,10,0),colorcyan;
STICKLINE(COUNT(必买=CLOSE,BARSLAST(必卖=CLOSE))=0 AND CLOSE<=OPEN,LOW,HIGH,2,0),colorcyan;
STICKLINE(COUNT(必买=CLOSE,BARSLAST(必卖=CLOSE))=0 AND CLOSE>OPEN,OPEN,CLOSE,10,1),colorlimagenta;
STICKLINE(COUNT(必买=CLOSE,BARSLAST(必卖=CLOSE))=0 AND CLOSE>OPEN,OPEN,CLOSE,7,0),colorcyan;
STICKLINE(COUNT(必买=CLOSE,BARSLAST(必卖=CLOSE))=0 AND CLOSE>OPEN,LOW,HIGH,4,0),colorred;
STICKLINE(BARSLAST(必买=CLOSE)=BARSLAST(必卖=CLOSE) AND CLOSE>=OPEN,OPEN,CLOSE,10,1),colorblue;
STICKLINE(BARSLAST(必买=CLOSE)=BARSLAST(必卖=CLOSE) AND CLOSE>=OPEN,OPEN,LOW,0,0),colorblue;
STICKLINE(BARSLAST(必买=CLOSE)=BARSLAST(必卖=CLOSE) AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorblue;
STICKLINE(BARSLAST(必买=CLOSE)=BARSLAST(必卖=CLOSE) AND CLOSE<OPEN,OPEN,CLOSE,10,0),colorblue;
STICKLINE(BARSLAST(必买=CLOSE)=BARSLAST(必卖=CLOSE) AND CLOSE<OPEN,LOW,HIGH,0,0),colorblue;
MA25:MA(C,25),POINTDOT,colorred;
PARTLINE(MA25,MA25>REF(MA25,1),RGB(165,40,20),MA25<REF(MA25,1),RGB(20,185,25)),LINETHICK2;
MA55:=MA(CLOSE,55),coloryellow,LINETHICK1;
MA14:MA(C,14),colorred,POINTDOT,LINETHICK1;
MA3:=MA(CLOSE,3),coloryellow,LINETHICK2;
PARTLINE(MA14,MA14>REF(MA14,1),RGB(255,20,0),MA14<REF(MA14,1),RGB(00,255,45)),LINETHICK2;
GET:=ZIG(3,5),POINTDOT,colorred;
PARTLINE(GET,GET>REF(GET,1),RGB(255,85,5),GET),color2F4F2F,LINETHICK3;
VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3;
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR7:=0;
VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
买1:=VAR10;
买2:=(VAR11+VAR13+VAR15+VAR17);
卖1:=(VAR12+VAR14+VAR16+VAR18);
B线:IF(买1>0 OR 买2>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,coloryellow;
S线:IF(卖1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,colorcyan;
MA135:=MA(VOL,135); TJ1:=VOL=HHV(VOL,10) AND VOL>1.7*REF(VOL,1) AND C>=REF(C,1) AND C>=O AND VOL<=MA135*3.5; LJL:=FILTER(TJ1,3);
TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,3),1,0); ST:=TJ3=1;
CL:=FILTER(ST,3);///分析家公式网:www.fxjgsw.com
STICKLINE(C,REF(L,BARSLAST(CL)),REF(L,BARSLAST(CL)),2,0),coloryellow; STICKLINE(CLOSE,REF(L,BARSLAST(LJL)),REF(L,BARSLAST(LJL)),2,0),colorcyan;
STICKLINE(LJL,OPEN,CLOSE,5,0),coloryellow; DRAWTEXT(LJL,L*0.99,'支撑'),COLORF00FF0;
A:=EMA(C,14),colorwhite,LINETHICK1;
B:=(A-REF(A,1))/REF(A,1)*100,NODRAW;
支撑:IF(B>=0,REF(EMA(C,14),BARSLAST(CROSS(B,0))+1),DRAWNULL),colorblue,LINETHICK2;
阻力:IF(B<0,REF(EMA(C,14),BARSLAST(CROSS(0,B))+1),DRAWNULL),colorgreen,LINETHICK2;
A:=(O+C)/2;
Y3:=REF(A,3);
STICKLINE(Y3 AND C>MA3 ,A,A,10,1),colorwhite;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!