刀小先生的"金開口"
08-01
AMV0:=VOL*(O+C+H+L)/4;勢:EMA(AMV0,21)/EMA(VOL,21)COLORFFFFCC,LINETHICK2;壓:6*HHV(勢,2)-5*勢,COLOR00FF33,LINETHICK2;托:2*勢-壓,COLORRED,LINETHICK2;VAR1:=DATE>900101 AND DATE<2098108;M1:=MA(C,5);{短期參數:5}M2:=MA(C,10);{中期參數:10}M3:=MA(C,30);{長期參數:30}{以下計算交叉點距今的天數}D1:=BARSLAST(CROSS(M1,M2));{短上穿中}D2:=BARSLAST(CROSS(M1,M3));{短上穿長}D3:=BARSLAST(CROSS(M2,M3));{中上穿長}T1:=CROSS(M2,M3);{今天中線上穿長線}T2:=D1>=D2 AND D2>=D3;{交叉按指定的先後出現}T3:=COUNT(CROSS(M2,M1) OR CROSS(M3,M2) OR CROSS(M3,M1),D1)=0;{中間無夾雜其它交叉}T4:=REF(M1<M3 AND M2<M3,D1+1);{短上穿中前一天短、中線在長線之下}突破:=T1 AND T2 AND T3 AND T4;{價托確定};獲利盤90均線:EMA(COST(90),N),COLORLIBLUE,LINETHICK2;獲利盤30均線:EMA(COST(30),N),COLOR00FFFF,LINETHICK2;DRAWICON(CROSS(ZIG(3,13),REF(ZIG(3,13),1))*VAR1,LOW-0.1,1);DRAWICON(CROSS(REF(ZIG(3,13),1),ZIG(3,13))*VAR1,HIGH+0.05,2);DRAWICON(CROSS(PWINNER(14,CLOSE),0.9) AND LWINNER(5,CLOSE)>0.9,HIGH+0.05,5);DRAWTEXT(突破>0,LOW,"▲突破▲"),COLORLIBLUE;:em13::em13:
推薦閱讀:
推薦閱讀:
※黃元吉先生道奧精要(二)
※不稱「大師」的錢穀融先生走了
※曹穎甫先生醫案 雲海
TAG:先生 |