資源描述:
《量化經(jīng)典 博易大師指標公式匯總以及源代碼集成三》由會員上傳分享,免費在線閱讀,更多相關內(nèi)容在行業(yè)資料-天天文庫。
1、DRAWTEXT(CLOSE>上分形ANDREF(CLOSE,1)[=DKX)AND(C>=O)),H,L,0,1),COLORRED;STICKLINE(((C>=DKX)AND(C>=O)),O,C,2,1),COLORRED;STICKLINE(((C>=DKX)AND(C<=O)),H,L,0,0),COLORRED;STICKLINE(((C>=DKX)AND(C<=O)),O,]
2、C,2,0),COLORRED;STICKLINE(((C=O)),H,L,0,1),COLORGREEN;STICKLINE(((C=O)),O,C,2,1),COLORGREEN;STICKLINE(((C3、,15)-CLOSE);VAR3:=(CLOSE-LLV(LOW,15));VAR4:=(((VAR2/VAR1)*100)-70);VAR5:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*100);VAR6:=((((2*CLOSE)+HIGH)+LOW)/4);VAR7:=SMA(((VAR3/VAR1)*100),3,1);VAR8:=LLV(LOW,34);VAR9:=(SMA(VAR7,3,1)-SMA(VAR4,9,1));VAR10:=IF((V
4、AR9>100),(VAR9-100),0);VAR11:=HHV(HIGH,34);VAR12:=EMA((((VAR6-VAR8)/(VAR11-VAR8))*100),15);VAR13:=EMA(((0.667*REF(VAR12,1))+(0.333*VAR12)),2);MA11:=EMA(VAR13,5);DRAWTEXT(CROSS(VAR12-VAR13,0),L-1,'多');DRAWTEXT(CROSS(0,VAR12-VAR13),H+1,'空');多空參考(副圖)VAR1:=(CLOSE-
5、LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;VAR2:=SMA(VAR1,10,1);慢速:=SMA(VAR2,5,1);RSV:=((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100)-70;RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;FATK:=SMA(RSV1,3,1);形態(tài):=SMA(FATK,3,1);VARA:=(CLOSE-LLV(LOW,9))/(H
6、HV(HIGH,9)-LLV(LOW,9))*100;VARB:=SMA(VARA,3,1);VARC:=SMA(VARB,3,1);加速:EMA(3*VARB-2*VARC,2),COLORYELLOW;底:6,COLOR00BF00;大底:-6,COLOR007300;頂:90,COLORFFA500;大頂:100,COLORWHITE;VAR11:=LLV(LOW,5)=LLV(LOW,45)ANDCLOSE>=OPEN*1.04;VAR22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2
7、;買入:=VAR11ANDVAR22,LINETHICK2,COLORRED;VAR3:=REF(CLOSE,1);VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;賣出:=CROSS(80,VAR4),LINETHICK2,COLORGREEN;VAR5:=CROSS(加速,100);VAR6:=CROSS(加速,-6);VAR7:=CROSS(80,加速);VAR8:=CROSS(加速,6);DRAWTEXT(VAR5,85,'注意頂')
8、,COLORBLUE;DRAWTEXT(VAR6,0,'關注底'),COLORRED;DRAWTEXT(VAR7,95,'空'),COLORGREEN;DRAWTEXT(VAR8,5,'多'),COLORMAGENTA;趨勢頂?shù)譙1:80,COLOR996699,PRECIS0;B1:20,COLORGREEN,PRECIS0;A:=MA(-100*(HHV