高:=REFDATE(HHV(H,180),DATE);
低:=REFDATE(LLV(L,180),DATE);
H1:=高-(高-低)*0.191;
H2:=高-(高-低)*0.382,COLORFF6198;
H3:=高-(高-低)*0.5,COLORFFFFFF;
H4:=高-(高-低)*0.618;
H5:=高-(高-低)*0.809;
STICKLINE(CURRBARSCOUNT=13,高,高,100,-1),COLORGREEN;
STICKLINE(CURRBARSCOUNT=13,H1,H1,100,-1),COLORCYAN;
STICKLINE(CURRBARSCOUNT=13,H2,H2,100,-1),COLORCCCCCC;
DRAWTEXT(CURRBARSCOUNT=1,高,' 高'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,H1,' 809'),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=1,H2,' 618'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,H3,' 中'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,H4,' 382'),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=1,H5,' 191'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=1,低,' 低'),COLORRED;
STICKLINE(CURRBARSCOUNT=13,H3,H3,100,-1),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=13,H4,H4,100,-1),COLORLIRED;
STICKLINE(CURRBARSCOUNT=13,H5,H5,100,-1),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=13,低,低,100,-1),COLORRED;
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,3,1),COLOR00CC00;
XA_1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
XA_2:=EMA(XA_1,9);
XA_3:=(XA_1-XA_2)*2*60;
XA_4:=MAX(MA(CLOSE,5),MA(CLOSE,20));
XA_5:=MIN(MA(CLOSE,5),MA(CLOSE,20));
XA_6:=XA_4/XA_5*100-100;
XA_7:=REF(OPEN,4)>=REF(OPEN,5) AND REF(OPEN,5)>=REF(OPEN,6);
XA_8:=OPEN>=REF(OPEN,1) AND REF(OPEN,1)>=REF(OPEN,2) AND REF(OPEN,2)>=REF(OPEN,3) AND REF(OPEN,3)>=REF(OPEN,4) AND XA_7;
XA_9:=BARSLAST(XA_8);
XA_10:=REF(CLOSE,XA_9);
XA_11:=MA(CLOSE,20)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,10);
XA_12:=XA_11 AND REF(CLOSE,1)<REF(XA_10,1) AND OPEN<XA_10 AND OPEN<MA(CLOSE,25) AND CLOSE>XA_10 AND CLOSE>=REF(CLOSE,1)*1.099 AND XA_3>34.5 AND XA_9>=10;
XA_13:=BARSLAST(XA_12);
XA_14:=MA(CLOSE,20)>MA(CLOSE,10);
XA_15:=XA_14 AND REF(CLOSE,1)<REF(XA_10,1) AND OPEN<XA_10 AND OPEN<MA(CLOSE,25) AND CLOSE>XA_10 AND CLOSE>=REF(CLOSE,1)*1.099 AND XA_3>=34.5 AND XA_6>=0.11 AND XA_6<=0.37;
XA_16:=BARSLAST(XA_15);
XA_17:=MA(CLOSE,10)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,20);
XA_18:=XA_17 AND REF(CLOSE,1)<REF(XA_10,1) AND OPEN<XA_10 AND OPEN<MA(CLOSE,25) AND CLOSE>XA_10 AND CLOSE>=REF(CLOSE,1)*1.099 AND XA_3>34.5 AND XA_9>=12 AND XA_6<=3.8;
XA_19:=BARSLAST(XA_18);{WWW.fxjgsw.com}
XA_20:=XA_13=0 OR XA_16=0 OR XA_19=0;
XA_21:=DRAWICON(XA_20,LOW/1.01,25);
XA_22:=DRAWICON(XA_20,HIGH*1.01,9);
STICKLINE(CURRBARSCOUNT<=CONST(XA_13+1) AND XA_13=0,OPEN,CLOSE,3,0),COLOR009999;
STICKLINE(CURRBARSCOUNT<=CONST(XA_13+1) AND XA_13=0,OPEN,CLOSE,2,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=CONST(XA_13+1) AND XA_13=0,OPEN,CLOSE,1,0),COLOR00BBBB;
STICKLINE(CURRBARSCOUNT<=CONST(XA_13+1) AND XA_13=0,OPEN,CLOSE,0.1,0),COLOR00CCCC;
STICKLINE(CURRBARSCOUNT<=CONST(XA_16+1) AND XA_16=0,OPEN,CLOSE,3,0),COLOR009999;
STICKLINE(CURRBARSCOUNT<=CONST(XA_16+1) AND XA_16=0,OPEN,CLOSE,2,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=CONST(XA_16+1) AND XA_16=0,OPEN,CLOSE,1,0),COLOR00BBBB;
STICKLINE(CURRBARSCOUNT<=CONST(XA_16+1) AND XA_16=0,OPEN,CLOSE,0.1,0),COLOR00CCCC;
STICKLINE(CURRBARSCOUNT<=CONST(XA_19+1) AND XA_19=0,OPEN,CLOSE,3,0),COLOR009999;
STICKLINE(CURRBARSCOUNT<=CONST(XA_19+1) AND XA_19=0,OPEN,CLOSE,2,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=CONST(XA_19+1) AND XA_19=0,OPEN,CLOSE,1,0),COLOR00BBBB;
STICKLINE(CURRBARSCOUNT<=CONST(XA_19+1) AND XA_19=0,OPEN,CLOSE,0.1,0),COLOR00CCCC;
线5升:EMA(CLOSE,5),COLORGREEN;{WWW.fxjgsw.com}
线5跌:IF(线5升>REF(线5升,1),线5升,DRAWNULL),COLORRED;
线10升:EMA(CLOSE,10),COLORGREEN;
线10跌:IF(线10升>REF(线10升,1),线10升,DRAWNULL),COLORRED;
线30升:EMA(CLOSE,30),COLORGREEN;
线30跌:IF(线30升>REF(线30升,1),线30升,DRAWNULL),COLORRED; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!