V1:=(C*2+H+L)/4; V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5; 主力進(jìn):V4*10,COLORMAGENTA; V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8; V6:=EMA(3*V5-2*SMA(V5,18,1),5); V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10; V8:=(INDEXC*2+INDEXH+INDEXL)/4; V9:=EMA(V8,13)-EMA(V8,34); VA:=EMA(V9,3); VB:=(V9-VA)/2;N:=5; 大盤資金進(jìn)場:IF(VB>=0,VB,0),COLORRED; 大盤資金撤走:IF(VB<0,VB,0),COLORGREEN; V11:=4*SMA((C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100,5,1) -3*SMA(SMA((C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100,5,1),3.2,1); 趨勢線:=EMA(V11,3); 趨勢:=REF(趨勢線,1); 能量:趨勢線-趨勢; STICKLINE(趨勢線>趨勢 AND 主力進(jìn)>=0,趨勢線,趨勢,9,0),COLORMAGENTA; STICKLINE(趨勢線>趨勢 AND 主力進(jìn)<0,趨勢線,趨勢,9,0),COLORYELLOW; STICKLINE(趨勢線<趨勢,趨勢線,趨勢,9,1),COLORGREEN; DRAWICON(CROSS(C,MA(C,20)),趨勢,1); STICKLINE(主力進(jìn)>0,0,主力進(jìn)*1.5,9,1),COLORRED; V12:=(趨勢線-REF(趨勢線,1))/REF(趨勢線,1)*100; STICKLINE(趨勢線<=13,0,20,2,0),COLORCC9900; AA:=(趨勢線<=13) AND FILTER((趨勢線<=13),15); DRAWTEXT (AA,40,'準(zhǔn)備現(xiàn)金'),COLORCC9900; STICKLINE(趨勢線<=13 AND V12>13,0,50,2,0),COLOR0099FF; BB:= (趨勢線<=13 AND V12>13) AND FILTER((趨勢線<=13 AND V12>13),10) ; DRAWTEXT (BB,60,'買入股票'),COLOR0099FF; STICKLINE(趨勢線>90 AND 趨勢線>REF(趨勢線,1),100,105,10,1),COLORFFFF00; 頂:=FILTER(趨勢線>90 AND 趨勢線<REF(趨勢線,1) AND 主力進(jìn)<REF(主力進(jìn),1),8); DRAWICON( 頂,100,6); CC:=(趨勢線>=90 AND V12) AND FILTER((趨勢線>=90 AND V12),10); STICKLINE(大盤資金進(jìn)場 AND 趨勢線<13,0,30,2,0),COLORRED; STICKLINE(大盤資金撤走 AND 趨勢線>90,0,30,6,0),COLORGREEN; STICKLINE(主力進(jìn) AND 趨勢線<13,0,40,2,0),COLORFF00FF; STICKLINE(主力進(jìn)<0 AND 趨勢線>90,0,40,6,0),COLORBLUE; |
|