DIFF :EMA(CLOSE,12) - EMA(CLOSE,26); DEA :EMA(DIFF,9),COLORFF00FF;
MACD :2*(diff-DEA);
0;//www.fxjgsw.com
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2,0),colorwhite;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,2,0),colorgreen;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2,0),COLORFF00FF;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,2,0),colorred;
PARTLINE(DIFF,DIFF<REF(DIFF ,1), RGB(1,255,0),1,RGB(255,1,0)), linethick1;
PARTLINE(MACD,MACD<REF(MACD ,1), RGB(0,255,0),1,RGB(255,0,0)), linethick1;
PARTLINE(dea,dea<REF(dea ,1), RGB(0,255,0),1,RGB(255,0,1)), linethick2;
DIFFN: IF(DIFF>(REF(DIFF,1)+0.008),DIFF,DEA),LINETHICK1,colorblue;
DIF:EMA(CLOSE,4)-EMA(CLOSE,9);
DEA:EMA(DIF,9),LINETHICK1;
IF(DIF<2,DIF,0),colorred,LINETHICK1;
IF(DIF<0,2,DIF),colorred,LINETHICK1;
IF(DIF<DEA,DIF,DEA),COLOR00FF00,LINETHICK1;
IF(DIF>DEA,DEA,DEA),colorwhite,LINETHICK1;
金叉:=CROSS(DIF,DEA) AND DIF<0.382;
STICKLINE(金叉,1,-0.191,1,0),COLOR0000FF;
A1:=EMA(CLOSE,4)-EMA(CLOSE,9);
B1:=EMA((0.806*REF(A1,1)+0.236*A1),1);
做多:IF(A1>=B1,A1,B1),LINETHICK1,colorred;
做空:IF(B1-A1,B1,A1),LINETHICK1,colorgreen;
DRAWTEXT(REF(做多,1)>=REF(做空,1) AND 做多>做空,做空<做多,'●'),colorred;
DRAWTEXT(CROSS(做多,1)=CROSS(做空,1) AND 做多=做空,做空=做多,'☆'),colorgreen;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),colorwhite;
D:=SMA(K,3,1),coloryellow;
J:=3*K-2*D,COLORFF00FF;
A:=250;
MM:=IF(MACD< 0,MACD,0);
JJ:=MM> REF(MM,1);
ZZ:=REF(JJ,1)=1;
准备:=(JJ AND ZZ)*DEA;
STICKLINE(准备=DEA,1,-1,2,1),COLORFFFF00;
JH:=HHV(MAX(K,MAX(D,J)),A);
DH:=HHV(MAX(DIFF,DEA),A);
SH:=INTPART(JH/DH)/2;
DIFF50:=SH*DIFF+50,COLORFFFF00;
DEA50:=SH*DEA+50,colorblue;
STICKLINE(DIFF50>DEA50,0,1.5*(DIFF50-DEA50),0,0),colorred;
STICKLINE(DIFF50<DEA50,0,1.5*(DIFF50-DEA50),0,0),COLORFFFF00;
红柱:IF(1.5*(DIFF50-DEA50)>REF(1.5*(DIFF50-DEA50),1),1.5*(DIFF50-DEA50),0),STICK,colorlicyan;
绿柱:IF(1.5*(DIFF50-DEA50)<REF(1.5*(DIFF50-DEA50),1),1.5*(DIFF50-DEA50),0),STICK,colorgreen;
G:红柱+绿柱,LINETHICK2,,colorgreen;
G1:红柱-绿柱,LINETHICK2,colorred;
DIF:EMA(CLOSE,4)-EMA(CLOSE,9);
DEA:EMA(DIF,9),LINETHICK1;
PEA:EMA(DIF,5),LINETHICK1;
xEA:EMA(DIF,2),LINETHICK1,colorred;
GEA:EMA(DIF,3),LINETHICK1,colorblue;
DRAWTEXT(REF(DIF,0)>=REF(XEA,0) AND DIF>XEA,DIF>XEA,'▂'),colorred;
DRAWTEXT(REF(DIF,0)<=REF(XEA,0) AND DIF<XEA,DIF<XEA,'▂'),colorgreen;
DRAWTEXT(REF(G,0)>=REF(G1,0) AND G=G1,G=G1,'▌'),coloryellow;
DRAWTEXT(REF(做多,1)>=REF(做空,1) AND 做多>做空,做空<做多,'●'),colorred;
DRAWTEXT(CROSS(做多,1)=CROSS(做空,1) AND 做多=做空,做空=做多,'☆'),colorgreen;
DIFF1 : EMA(CLOSE,12) - EMA(CLOSE,26),LINETHICK2,colorred;
DEA1 : EMA(DIFF1,9),LINETHICK2,colorgreen;//www.fxjgsw.com
DIFFN1: IF(DIFF1>(REF(DIFF1,1)+0.008),DIFF1,DEA1),LINETHICK2,colorblue;
DRAWTEXT(CROSS(DIFFN1,1)=CROSS(DIFF1,1) AND DIFFN1=DIFF1,DIFFN1=DIFF1,'▎'),colorblue;
DRAWTEXT(CROSS(DIFFN1,1)=CROSS(DEA1,1) AND DIFFN1=DEA1,DIFFN1=DEA1,'▏'),colorgreen;
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),colorred;
DEA : EMA(DIFF,9),colorgreen;
MACD : 2*(DIFF-DEA), COLORSTICK;
DIFFN: IF(DIFF>(REF(DIFF,1)+0.008),DIFF,DEA),colorblue;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),colorwhite;
D:=SMA(K,3,1),coloryellow;
J:=3*K-2*D,COLORFF00FF;
A:=250;//www.fxjgsw.com
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DEA:=EMA(DIFF,9),colorblue,LINETHICK0;
MACD:=2*(DIFF-DEA);
MM:=IF(MACD< 0,MACD,0);
JJ:=MM> REF(MM,1);
ZZ:=REF(JJ,1)=1;
准备:=(JJ AND ZZ)*DEA;
STICKLINE(准备=DEA,1,-1,2,1),COLORFFFF00;
//部分源码省略 请导入公式
//www.fxjgsw.com
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!