指标改文华8模型 [文华财经]
-
咨询内容:
N:=20;N1:=7;N2:=69;T1:=1;M3:=EMA(CLOSE,3);M8:EMA(CLOSE,8),COLORGREEN;M13:EMA(M8,13),COLOR0000FF;M62:EMA(M8,55),COLORF0F000;VAR1:=EMA(M13,62);M144:EMA(VAR1,144),LINETHICK2,COLOR0000FF;VAR2:=(CLOSE+HIGH+LOW)/(3);VAR3:=(EMA(VAR2,10))*(T1);VAR4:=(REF(VAR3,1))*(T1);STICKLINE((VAR3>VAR4),VAR3,VAR4,4,0),COLOR00FFFF;STICKLINE((VAR3<VAR4),VAR3,VAR4,4,0),COLORFF0000;VAR5:=((REF(HIGH,1)+REF(LOW,1))/(2))*(T1);VAR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);VAR7:=REF(CLOSE,1);VAR8:=((SMA(MAX(CLOSE-VAR7,0),N1,1))/(SMA(ABS(CLOSE-VAR7),N1,1)))*(100);VAR9:=CROSS(N2,VAR8);VARA:=(FILTER(VAR9,4))*(T1);VARB:=((2)*(CLOSE)+HIGH+LOW)/(4);VARC:=LLV(LOW,34);VARD:=HHV(HIGH,34);VARE:=(EMA(((VARB-VAR1)/(VAR5-VAR1))*(100),7))*(T1);VARF:=(EMA((0.667)*(REF(VARE,1))+(0.333)*(VARE),5))*(T1);DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),8))/(8)>0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((VARE>=VARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'买进',COLORFF00FF;DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),13))/(13)>0.6) AND COUNT((VARE>VARF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) AND REF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0),LOW,'买进',COLOR00FFFF;VAR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3))*(T1);DRAWTEXT(IF((CLOSE<VAR10) AND ((VOL)/(240)>(MA(VOL,5))/(240)) AND (CLOSE>(REF(CLOSE,1))*(1.08)) AND (CLOSE<(MA(CLOSE,13))*(1.3)),1,0),LOW,'抄底',COLOR0000FF;IF(((COUNT((CLOSE<REF(CLOSE,1)),8))/(8)>0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((VARE>=VARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),BK(1);IF(((COUNT((CLOSE<REF(CLOSE,1)),13))/(13)>0.6) AND COUNT((VARE>VARF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) AND REF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0),BK(1);IF((CLOSE<VAR10) AND ((VOL)/(240)>(MA(VOL,5))/(240)) AND (CLOSE>(REF(CLOSE,1))*(1.08)) AND (CLOSE<(MA(CLOSE,13))*(1.3)),1,0),SP(BKVOL);
来源:程序化99
-
文华技术人员:
参考:
N:=20; N1:=7; N2:=69; T1:=1; M3:=EMA(CLOSE,3); M8:EMA(CLOSE,8),COLORGREEN; M13:EMA(M8,13),COLOR0000FF; M62:EMA(M8,55),COLORF0F000; VAR1:=EMA(M13,62); M144:EMA(VAR1,144),LINETHICK2,COLOR0000FF; VAR2:=(CLOSE+HIGH+LOW)/(3); VAR3:=(EMA(VAR2,10))*(T1); VAR4:=(REF(VAR3,1))*(T1); STICKLINE((VAR3>VAR4),VAR3,VAR4,4,0),COLOR00FFFF; STICKLINE((VAR3<VAR4),VAR3,VAR4,4,0),COLORFF0000; VAR5:=((REF(HIGH,1)+REF(LOW,1))/(2))*(T1); VAR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1); VAR7:=REF(CLOSE,1); VAR8:=((SMA(MAX(CLOSE-VAR7,0),N1,1))/(SMA(ABS(CLOSE-VAR7),N1,1)))*(100); VAR9:=CROSS(N2,VAR8); VARA:=(FILTER(VAR9,4))*(T1); VARB:=((2)*(CLOSE)+HIGH+LOW)/(4); VARC:=LLV(LOW,34); VARD:=HHV(HIGH,34); VARE:=(EMA(((VARB-VAR1)/(VAR5-VAR1))*(100),7))*(T1); VARF:=(EMA((0.667)*(REF(VARE,1))+(0.333)*(VARE),5))*(T1); DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),8))/(8)>0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((VARE>=VARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'买进',COLORFF00FF; DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),13))/(13)>0.6) AND COUNT((VARE>VARF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) AND REF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0),LOW,'买进',COLOR00FFFF; VAR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3))*(T1); DRAWTEXT(IF((CLOSE<VAR10) AND ((VOL)/(240)>(MA(VOL,5))/(240)) AND (CLOSE>(REF(CLOSE,1))*(1.08)) AND (CLOSE<(MA(CLOSE,13))*(1.3)),1,0),LOW,'抄底',COLOR0000FF; IF(((COUNT((CLOSE<REF(CLOSE,1)),8))/(8)>0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((VARE>=VARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),BK(1); IF(((COUNT((CLOSE<REF(CLOSE,1)),13))/(13)>0.6) AND COUNT((VARE>VARF),6) AND (REF(LOW,5)=LLV(LOW,120))||REF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) AND REF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0),BK(1); IF((CLOSE<VAR10) AND ((VOL)/(240)>(MA(VOL,5))/(240)) AND (CLOSE>(REF(CLOSE,1))*(1.08)) ||(CLOSE<(MA(CLOSE,13))*(1.3)),1,0),SP(BKVOL);
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容