含有未来函数,含有未来函数,含有未来函数,重要的事情说三遍 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),NODRAW;
D:=SMA(K,3,1),NODRAW;
J:=3*K-2*D,NODRAW;
J_LLV5:=LLV(J,5),NODRAW;
J_K_DIF:=J-K,NODRAW;
KDJ_CON:=J_LLV5<10 AND J_K_DIF>-1,NODRAW;
DIF:=100*(EMA(CLOSE,12)-EMA(CLOSE,26)),NODRAW;
DEA:=EMA(DIF,9),NODRAW;
MACD:=(DIF-DEA)*2,NODRAW;
MACD_INC:=MACD-REF(MACD,1),NODRAW;
DIF_INC:=DIF-REF(DIF,1),NODRAW;
DEA_INC:=DEA-REF(DEA,1),NODRAW;
MACD_CON:=MACD_INC>0 AND DIF_INC>-0.1,NODRAW;
A11:=IF(C>O AND V>REF(V,1),2,0);
A12:=IF(C>O AND V<REF(V,1),1,0);
A13:=IF(C<O AND V>REF(V,1),-2,0);
A14:=IF(C<O AND V<REF(V,1),-1,0);
A15:=A11+A12+A13+A14;
ADD_SUM5:=SUM(A15,5);
ADD_SUM5_LLV4:=LLV(ADD_SUM5,4),NODRAW;
ADD_CON:=ADD_SUM5_LLV4<-3.5,NODRAW;
VAR1:=EMA(HHV(HIGH,500),21);
VAR2:=EMA(HHV(HIGH,250),21);
VAR3:=EMA(HHV(HIGH,90),21);
VAR4:=EMA(LLV(LOW,500),21);
VAR5:=EMA(LLV(LOW,250),21);
VAR6:=EMA(LLV(LOW,90),21);
VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21);
VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21);
VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21);
VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);
VARB:=REF(LOW,1);
VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;
VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3);
VARE:=LLV(LOW,30);
VARF:=HHV(VARD,30);
VAR10:=IF(MA(CLOSE,58),1,0);
CAP_VIR:=EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3)/618*VAR10,NODRAW;
CAP_HHV4:=HHV(CAP_VIR,4),NODRAW;
CAP_SUM10:=SUM(CAP_VIR,10),NODRAW;
CAP_CON:=CAP_HHV4>20 AND CAP_SUM10>20,NODRAW;
VAR_AM:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
IN_AM:=IF(CLOSE>OPEN,VAR_AM*(HIGH-LOW),IF(CLOSE<OPEN,VAR_AM*((HIGH-OPEN)+ (CLOSE-LOW)),AMOUNT/2))/100000000;
OUT_AM:=IF(CLOSE>OPEN,0-VAR_AM*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSE<OPEN,0-VAR_AM*(HIGH-LOW),0-AMOUNT/2))/100000000;
NET_AM:=IN_AM+OUT_AM,NODRAW;
NET_AM_SUM5:=SUM(NET_AM,5),NODRAW;
NET_AM_SUM5_INC:=NET_AM_SUM5-REF(NET_AM_SUM5,1),NODRAW;
NET_AM_SUM5_CON:=NET_AM_SUM5>-0.05 OR NET_AM_SUM5_INC>5,NODRAW;
NET_CON:=NET_AM>0 AND NET_AM_SUM5_CON=1,NODRAW;
MA10:=MA(C,10),NODRAW;//www.fxjgsw.com
MA10_INC:=200*(MA10-REF(MA10,1))/(MA10+REF(MA10,1));
EMA10:=EMA(C,10),NODRAW;
EMA10_INC:=200*(EMA10-REF(EMA10,1))/(EMA10+REF(EMA10,1));
EMA30:=EMA(C,30),NODRAW;
EMA30_INC:=200*(EMA30-REF(EMA30,1))/(EMA30+REF(EMA30,1));
EMA10_CON:=EMA10_INC>-1.2,NODRAW;
BUY1_CON:=(KDJ_CON AND MACD_CON AND ADD_CON AND CAP_CON AND NET_CON AND EMA10_CON),colorred;
BUY1:=HHV(FILTER(BUY1_CON,3),8) AND EMA10_INC>-0.6;
BB1:=FILTER(BUY1,9),colorred;
DATE_BUY1:=HHVBARS(BB1,120),NODRAW;
CAP_CON2:=CAP_SUM10/REF(CAP_SUM10,DATE_BUY1)>2;
BUY2_CON:=CAP_CON2 AND EMA10_CON,colormagenta;
BUY2:=HHV(FILTER(BUY2_CON,30),20) AND EMA10_INC>-0.6;
BB2:=FILTER(BUY2,21),colormagenta;
VARX3:=LLV(HIGH,240);
VARX4:=100*(CLOSE-VARX3)/VARX3;
VARX5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VARX6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VARX8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VARX9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VARXA:=BARSCOUNT(CLOSE);
VARXB:=VARX8<20 AND VARX9<23 AND VARXA>35;
VARXC:=VARXB AND COUNT(VARXB,1)=1;
VARXD:=EMA(CLOSE,21)-EMA(CLOSE,8);
VARXE:=EMA(VARXD,5);
VARXF:=TROUGHBARS(3,6,1)<4 AND CROSS(VARXD,VARXE);
VARX10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VARX11:=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);
VARX12:=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);
VARX13:=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);
VARX14:=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);
VARX15:=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);
VARX16:=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);
VARX17:=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);
VARX18:=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);
VARX19:=EMA(CLOSE,2)-EMA(CLOSE,150);
VARX1A:=EMA(VARX19,100);
VARX1B:=2*(VARX19-VARX1A);
VARX1C:=POW(VARX1B,3)*0.1+POW(VARX1B,1);
VARX1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VARX1E:=EMA(VARX1D*0.97,3);
VARX1F:=(HIGH+LOW+CLOSE)/3;
VARX20:=(VARX1F-MA(VARX1F,14))/(0.015*AVEDEV(VARX1F,14));
VARX21:=CROSS(VARX1E,LOW);
S_BUY:VARX10,colorblue;
C_BUY:(VARX11+VARX13+VARX15+VARX17),colorred;
C_SELL:(VARX12+VARX14+VARX16+VARX18),colorgreen;
HM:(VARX17),COLORFF00AA;
DRAWTEXT(VARX13,0.6,'●'),colorred;
DRAWICON(C_BUY,C_BUY,1);
DRAWICON(C_SELL,C_SELL,9);
DRAWICON(S_BUY>0,4.2,1);
DRAWTEXT(S_BUY AND VARXF AND VARXC,2.8,'30PERCENT'),colormagenta;
DRAWTEXT(VARX18,3,'NL'),colorgreen;
DRAWTEXT(VARX20<-110 AND S_BUY>0,2,'SEL'),colorblue;
DRAWTEXT(VARX17,1.3,'HM'),COLORFF00AA;
DRAWTEXT(S_BUY AND VARX20<-100 AND VARXF AND VARXC>0,4.1,'GOOD PROFIT'),colorred;
D_BUY:=HHVBARS(C_BUY>0,240),NODRAW;
D_SELL:=HHVBARS(C_SELL>0,240),NODRAW;
B1:4*(BB1 AND D_BUY<D_SELL),colorred;
B2:4*(BB2 AND D_BUY<D_SELL),colormagenta;
DRAWTEXT(B1=4,4,'B'),colorred;
DRAWTEXT(B2=4,4,'B'),colormagenta;
B12:=B1 OR B2 OR C_BUY>2 OR HM;
D1_B12:=HHVBARS(B12,0),NODRAW;
MACD_HHV_B12:=IF(D1_B12,HHV(MACD,D1_B12),DRAWNULL),NODRAW;
S1_CON:=(MACD<MACD_HHV_B12) OR BARSCOUNT(C)=0,NODRAW;
D1_S1:=HHVBARS(S1_CON,0),NODRAW;
S1_HHV_B12:=IF(D1_S1,HHV(S1_CON,D1_B12),DRAWNULL),NODRAW;
S1_CON_F:=S1_CON AND (REF(D1_B12,1)<REF(D1_S1,1)),colorliblue;
STICKLINE(S1_CON_F,2,0,2,1),colorlicyan;
DRAWTEXT(S1_CON_F,1,'S1'),colorlicyan;
S1_CON_CAP:=CAP_SUM10<REF(CAP_SUM10,D1_B12),NODRAW;
S1:3.5*((S1_CON_F AND MA10_INC<0 AND S1_CON_CAP) OR (S1_CON_F AND DEA_INC<0)),colorgreen;
DRAWTEXT(S1=3.5,3.5,'S1'),colorgreen;
D1_B12_2:=HHVBARS(S1_CON_F,0),NODRAW;
DEA_HHV_B12:=IF(D1_B12_2,HHV(DEA,D1_B12_2),DRAWNULL),NODRAW;
S2_CON_:=(DEA<DEA_HHV_B12) OR BARSCOUNT(C)=0,NODRAW;
D1_S2:=HHVBARS(S2_CON_,0),NODRAW;
S2_HHV_B12:=IF(D1_S2,HHV(S2_CON_,D1_B12_2),DRAWNULL),NODRAW;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!