{量能饱和度} 时间:DATE+1900/0/0,NODRAW,COLORWHITE;
N:=20;{WWW.fxjgsw.com}
SAT1:=IF(AMOUNT/CLOSE/(HHV(AMOUNT,N)/HHV(CLOSE,N))*100>100,100,AMOUNT/CLOSE/(HHV(AMOUNT,N)/HHV(CLOSE,N))*100);
TDXSTEP208:STICKLINE(CLOSE>0 AND BARSCOUNT(CLOSE),0,100,3,1),COLOR000048;
TDXSTEP209:STICKLINE(SAT1>=99 AND BARSCOUNT(CLOSE),0,0+SAT1,2.8,0),COLOR0000BB;
SAT:SAT1,COLORWHITE,LINETHICK0;
{中期方向线}
时间:DATE+1900/0/0,NODRAW,COLORWHITE;
DIFF:=EMA(CLOSE,30)-EMA(CLOSE,120);
DEA:=EMA(DIFF,12);
A1:=DIFF>DEA;{WWW.fxjgsw.com}
中期方向线:DIFF-DEA,LINETHICK0;
TDXSTEP210:DRAWBAND(中期方向线,RGB(160,0,0),0,RGB(0,130,0));
MB:=EMA(中期方向线,20);
超买线:MB+1.96*STD(中期方向线,9),COLORYELLOW;
超卖线:MB-1.96*STD(中期方向线,9),COLORCYAN;
{决策曲线}
时间:DATE+1900/0/0,NODRAW,COLORWHITE;
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
P01:=IF(MA1>MA2,1,IF(MA2>MA1,(-1),0));
MA3:=MA(CLOSE,3);
MA4:=MA(CLOSE,5);
P02:=IF(MA3>MA4,1,IF(MA4>MA3,(-1),0));
MA5:=MA(CLOSE,12);
MA6:=MA(CLOSE,50);
P03:=IF(MA5>MA6,1,IF(MA6>MA5,(-1),0));
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:=EMA(RSV,3);
D:=EMA(K,3);
{WWW.fxjgsw.com}
P04:=IF(K>D,2,IF(D>K,(-1),0));
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
P05:=IF(DIF>DEA,2,IF(DEA>DIF,(-1),0));
TR2:=EMA(EMA(EMA(CLOSE,12),12),12);
TRIX:=(TR2-REF(TR2,1))/REF(TR2,1)*100;
MATRIX:=MA(TRIX,9);
P06:=IF(TRIX>MATRIX,1,IF(MATRIX>TRIX,(-1),0));
TR1:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),7);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),7);
DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),7);
PDI:=DMP*100/TR;
MDI:=DMM*100/TR;
ADX:=EMA(ABS(MDI-PDI)/(MDI+PDI)*100,7);
ADXR:=EMA(ADX,7);
P07:=IF(PDI>MDI AND ADX>PDI AND ADX>50,1,IF(PDI<MDI AND ADX>MDI AND ADX>50,(-1),0));
LC:=REF(CLOSE,1);
RSI1:=EMA(MAX(CLOSE-LC,0),5)/EMA(ABS(CLOSE-LC),5)*100;
P08:=IF(RSI1>80,1,IF(RSI1<20,(-1),0));
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,8))/(0.015*AVEDEV(TYP,8));
P09:=IF(CCI>180,1,IF(CCI<(-180),(-1),0));
WR1:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
P10:=IF(WR1>80,1,IF(WR1<20,(-1),0));
OSC:=100*(CLOSE-MA(CLOSE,20));
P11:=IF(OSC>0,1,IF(OSC<0,(-1),0));
MOM:=CLOSE-REF(CLOSE,7);
P12:=IF(MOM>0,1,IF(MOM<0,(-1),0));
DPO:=CLOSE-REF(MA(CLOSE,11),11/2+1);
P13:=IF(DPO>0,1,IF(DPO<0,(-1),0));
MB:=MA(CLOSE,12);
R:=(CLOSE-MB)*(CLOSE-MB);
X1:=MA(R,12);
X2:=SQRT(X1);
D1:=1;
UPPER:=MB+D1*X2;
LOWER:=MB-D1*X2;
P14:=IF(CLOSE>UPPER,1,IF(CLOSE<LOWER,(-1),0));
BR:=SUM(MAX(0,HIGH-REF(CLOSE,1)),14)/SUM(MAX(0,REF(CLOSE,1)-LOW),14)*100;
AR:=SUM(HIGH-OPEN,14)/SUM(OPEN-LOW,14)*100;
P15:=IF(BR>350 OR AR>180,1,IF(BR<45 OR AR<45,(-1),0));
TH:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),14);
TL:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),14);
TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),14);
VR:=100*(TH*2+TQ)/(TL*2+TQ);
P16:=IF(VR>350,1,IF(VR<45,(-1),0));
WVAD:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,6)/10000;
P17:=IF(WVAD>0,1,IF(WVAD<0,(-1),0));
VOLUME:=MA(VOL,4)/VOL;
MID1:=100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW);
EMV:=MA(MID1*VOLUME*(HIGH-LOW)/MA(HIGH-LOW,4),4);
P18:=IF(EMV>0,1,IF(EMV<0,(-1),0));
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=EMA(OBV,24);
P19:=IF(OBV>MAOBV,1,IF(OBV<MAOBV,(-1),0));
PVI:=PAVE.CV;
MPVI:=EMA(PVI,24);
P20:=IF(PVI>MPVI,1,IF(PVI<MPVI,(-1),0));
NVI:=PAV.GV;
MNVI:=EMA(NVI,24);
P21:=IF(NVI>MNVI,1,IF(NVI<MNVI,(-1),0));
MASS:=SUM(MA(HIGH-LOW,9)/MA(MA(HIGH-LOW,9),9),25);
MA7:=MA(CLOSE,9);
P22:=IF(MA7>REF(MA7,1) AND MASS>26.5,1,IF(MA7<REF(MA7,1) AND MASS<26.5,(-1),0));
NUM:=ABS(HHV(HIGH,15)-LLV(LOW,15));
DEN:=SUM(ABS(CLOSE-REF(CLOSE,1)),15);
VHF:=IF(DEN=0,0,NUM/DEN);
VHF1:=EMA(VHF,240);
P23:=IF(VHF>VHF1,1,IF(VHF<VHF1,(-1),0));
PU:=MA(CLOSE,13);
CU:=MA(VOL,13);
PU1:=(PU-REF(PU,1))/REF(PU,1)*100;
CU1:=(CU-REF(CU,1))/REF(CU,1)*100;
逆时针曲线:=PU1+CU1;
P24:=IF(逆时针曲线>REF(逆时针曲线,1),1,IF(逆时针曲线<REF(逆时针曲线,1),(-1),0));
LC2:=REF(CLOSE,1);
AA:=ABS(HIGH-LC2);
BB:=ABS(LOW-LC2);
CC:=ABS(HIGH-REF(LOW,1));
DD:=ABS(LC2-REF(OPEN,1));
R2:=IF(AA>BB AND AA>CC,AA+BB/2+DD/4,IF(BB>CC AND BB>AA,BB+AA/2+DD/4,CC+DD/4));
X01:=CLOSE-LC2+(CLOSE-OPEN)/2+LC2-REF(OPEN,1);
SI:=16*X01/R2*MAX(AA,BB);
ASI:=SUM(SI,0);
MASI:=MA(ASI,6);
P25:=IF(CLOSE<HHV(CLOSE,13) AND ASI=HHV(ASI,13),1,IF(CLOSE>LLV(CLOSE,13) AND ASI=LLV(ASI,13),(-1),0));
BIAS1:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
P26:=IF(BIAS1>10,1,IF(BIAS1<(-10),(-1),0));
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
DKX:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;
MADKX:=MA(DKX,4);
P27:=IF(DKX>MADKX,2,IF(DKX<MADKX,(-1),0));
WY1001:=(2*CLOSE+HIGH+LOW)/4;
WY1002:=EMA(WY1001,4);
WY1003:=EMA(WY1002,4);
WY1004:=EMA(WY1003,4);
XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
PJGJ:=AMOUNT/VOL/100;
SSRYDJX:=MA(PJGJ,13);
SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=SSRCJE/SSRCJL/100;
CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;
XYSHSL:=EMA(VOL/CAPITAL*100,13);
ZZX:=0;
XYS1:=MA(XYS0,2);
XYS2:=MA(XYS0,1);
P28:=IF(XYS2>XYS1,1,IF(XYS2<XYS1,(-1),0));
JC:48+P01+P02+P03+P04+P05+P06+P07+P08+P09+P10+P11+P12+P13+P14+P15+P16+P17+P18+P19+P20+P21+P22+P23+P24+P25+P26+P27+P28,COLORWHITE;
MAJCQX:MA(JC,3),COLORYELLOW;
BOLL:=MA(JC,20);
UB:BOLL+2*STD(JC,20),COLORYELLOW;
LB:BOLL-2*STD(JC,20),COLORGREEN;
TDXSTEP199:IF(JC<56,JC,JC),COLORWHITE;
TDXSTEP200:IF(JC>56,JC,JC),COLORRED;
TDXSTEP201:IF(JC<56,JC,56),COLORWHITE;
TDXSTEP202:IF(JC>56,56,56),COLORRED;
TDXSTEP203:STICKLINE(CLOSE>0,36,36,10,0),COLORLICYAN;
TDXSTEP204:STICKLINE(CLOSE>0,56,56,10,0),COLORLICYAN;
TDXSTEP205:STICKLINE(CLOSE>0,71,71,10,0),COLORLICYAN;
TDXSTEP206:STICKLINE(CLOSE>0,44,44,10,0),COLORLICYAN;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!