资源描述:
《【股票指标公式下载】-【大智慧】顶级买卖(趋势、买线、卖线).doc》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【大智慧】顶级买卖(趋势、买线、卖线)-指标公式源码MA3:MA(C,3);MA20:MA(C,20);mal22:ma(c,122),COLORFFFFOO;ma250:ma(c,250),linethickl,COLORFFFFFF;趋势1:IF(EMA(EMA(EMA(EMA(CLOSE,3),3),3),3),0,1),Linethickl,CoLorOOOOFF;趋势2:TF(EMA(REF(趋势1,l),3),0,1),IJnethickl,CoLorOOFFFF;趋势3:EMA(EMA(EMA(EMA(EMA(CLOSE,65),3),3
2、),3),3),Linethickl,CoLorFFOOOO;买线:=EMA(CLOSE,2);卖线:二EMA((SLOPE(CLOSE,21))*(20)+CLOSE,42);BU:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);LC:二REF(CLOSE,1);RSI:=((SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1)))*(100);VARI:=IF(REF((LOW+OPEN+CLOSE+HIGH)/(4),1),0,1);VAR2:=TF((SMA(ABS(LOW-VAR1
3、),13,1))/(SMA(MAX(LOW-VARI,0),10,1)),0,1);VARS:=IF(EMA(VAR2,10),0,1);VAR4:=IF(LLV(L0W,33),0,1);VAR5:=IF(EMA(IF((L0W<=VAR4),VAR3,0),5),0,1);VAR6:=REF(CLOSE,1);VAR7:二((SMA(MAX(CL0SE-VAR6,0),6,1))/(SMA(ABS(CL0SE-VAR6),6,1)))*(100)■VARS:二(LLV(LOW,5)=LLV(LOW,45))AXD(CLOSE〉二(OPEN)*(1.
4、04));VAR9:=(CLOSE>(REF(HIGH,1)+REF(LOW,1))/(2));VAR10:二VAR8AXDVAR9;VAR11:=((2)*(CLOSE)+HIGH+L0W)/(4);VAR12:=LLV(L0W,13);VAR13:=HHV(HIGH,13);VAR14:=(LLV(LOW,1)=LLV(LOW,35))AXD(CLOSER(OPEN)*(1・04));VAR15:二(CLOSE〉(REF(HIGH,1)+REF(LOW,l))/(2));VAR16:二EMA(((VAR11-VAR12)/(VAR13-VAR12)
5、)*(100),13);VAR17:=(((CL0SE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100)+((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100)+((CLOSE-MA(CLOSE,32))/(MA(CLOSE,32)))*(100))/⑶;大顶:=FILTER((VAR17>20)AXDFILTER((VAR17<REF(VAR17,1)),5),5);VAR18:=(OPEN+LOW+HIGH+CLOSE)/(4);MAN:=(SMA(HIGH,21,2))*(1•05);短底2:二E
6、MA(VAR18,5);支撑:=HHV(短底2,60);VAR4M:=((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36)))*(100);VAR5M:=SMA(VAR4M,5,1);VAR6M:=SMA(VAR5M,8,1);VAR7M:=CR0SS(VAR5M,VAR6M)AXD(VAR6M<5);VAR8M:=(CLOSE>LLV(CLOSE,60)+(0.3)*(LLV(CLOSE,60)))AXDVAR7M;VAR9M:=IF((CL0SE>1000),VAR7M,VAR8M);黑马起步:=VAR9M
7、;短期底部:=(LLV(HIGH,30))*(0.93);逃:=FILTER((HIGH>支撑)AND(CLOSE<支撑)AND((CLOSE)/(OPEN)>0-1.06)AND(CLOSE<OPEN),5);逃命:二(黑马起步〉0);选逃:=FILTER((((逃命or逃)orCROSS(84,RSI))or大顶),3);STTCKLTNE((买线〉二卖线),LOW,HTGII,1,0),CoLorOOOOFF;STICKLINE((买线>二卖线),CLOSE,OPEN,4.5,0),CoLorOOOOAA;STICKLIXE((买线>二卖线),C
8、LOSE,OPEN,4,0),CoLorOOOOCC;STICKLINE((买线>二卖线),C