程序源碼 X1:=(HIGH+LOW+CLOSE*2)/4; X2:=EMA(X1,10); X3:=STD(X1,10); X4:=(X1-X2)*100/X3; X5:=EMA(X4,5); 價比:EMA(X5,10)+100/2-5,COLORRED,LINETHICK2; 量比:EMA(價比,4),COLORCYAN,LINETHICK2; 介入1:IF(crOSS(價比,量比)AND 價比<80 AND 價比>0,20,-70),COLORWHITE,LINETHICK2; 介入2:IF(CROSS(價比,量比)AND 價比<-50 ,20,-80),COLORMAGENTA,LINETHICK2; 賣1:IF(價比>150,110,150),COLORLIGRAY,LINETHICK2; 賣2:IF(價比>170,130,180),COLORGRAY,LINETHICK2; X6:=SMA(Abs(LOW-REF(LOW,1)),3,1)/SMA(MAX(LOW-REF(LOW,1),0),3,1)*100; X7:=EMA(IF(CLOSE*1.2,X6*10,X6/10),3); X8:=IF(LLV(LOW,90),1,0); 主力吸貨:=EMA(IF(LOW<=LLV(LOW,38),(X7+HHV(X7,38)*2)/2,0),3)/618*X8,COLORMAGENTA,NODRAW; X9:=IF(主力吸貨<180,主力吸貨,180); STICKLINE(主力吸貨,0,X9,3,0),COLORRED; X10:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趨勢線:=EMA(X10,3),COLORYELLOW,NODRAW; X11:=(趨勢線-REF(趨勢線,1))/REF(趨勢線,1)*100; 介入3:STICKLINE(趨勢線<=13 AND X11>13,0,50,1,0),COLORYELLOW; BB:=(趨勢線<=13 AND X11>13)AND FILTER((趨勢線<=13 AND X11>13),10) ; DRAWTEXT(BB,60,'介入3'),COLORYELLOW; IF(CROSS(價比,量比)AND 價比<3,20,0),COLORBROWN,CIRCLEDOT; 注: 館內(nèi)各種公式為學(xué)習(xí)編程而保存,實戰(zhàn)使用前一定要看其中是否有未來函數(shù)并自己親自測試成功率,決不能依據(jù)公式名稱的描述和形容去投資,據(jù)此入市造成投資損失由投資者自己承擔。 發(fā)文不易,如獲益,歡迎贊賞,贊賞必復(fù)! |
|
來自: 追夢文庫 > 《底部入場買點低點》