通达信抓主升浪 波段金指副图指标(源码 附图)
止跌买:止跌 AND 买,STICK,COLORFFFFFF;
DRAWTEXT(止跌买,0.1,' ZD'),COLORFFFFFF;
DRAWICON(止跌买>0,止跌,11),COLOR00FFFF;
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
底:短期<20 AND 长期>70,STICK,COLORFFFFFF;
DRAWTEXT(底,0.1,'DZ买'),COLOR00FFFF;
DRAWICON(底>0,底,5),COLORFF00FF;
三日最低:=EMA((REF(L,4)+REF(L,3)+REF(L,2))/3,3);
三日最高:=EMA((REF(H,4)+REF(H,3)+REF(H,2))/3,3),COLORWHITE;
卖:CROSS(CROSS(三日最高,C),0.6),STICK,COLOR575700;
DRAWICON(卖>0,卖,35);
AL:=(C+L+H)/3;
AO:=SMA(AL,6.18,1)-SMA(AL,16.18,1);
BBD:=(AO-SMA(AO,3.82,1))*100;
BBDA:=SMA(BBD,6.18,2);
RSV3:=BBD;
RSV4:=BBDA;
SV1:=BARSLAST(REF(CROSS(RSV3,RSV4),1));
SV1A:=REF(CLOSE,SV1+1)>CLOSE AND RSV3>REF(RSV3,SV1+1) AND
CROSS(RSV3,RSV4);
底背离:SV1A,STICK,COLORFF00FF;
DRAWTEXT(底背离,0.1,'底背离'),COLOR00FFFF;
DRAWICON(底背离>0,底背离,5),COLORFF00FF;
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2)<REF(VAR02,1) AND VAR02<REF(VAR02,1);
VAR05:=COUNT(VAR03,7)>0 AND VAR04;
绝对底部:=IF(VAR05 AND COUNT(VAR05,3),1,0),COLORRED,LINETHICK2;
铁树开花:IF(BB1 AND CC1 AND DD1 AND EE1 AND 绝对底部,1,0),COLORYELLOW,,STICK;
DRAWICON(铁树开花>0,铁树开花,23);
DRAWTEXT(铁树开花,0.5,'底部'),COLOR00FFFF;
- 上一篇公式:通达信经典量柱成交量综合副图指标(TNE下载 源码 附图)
- 下一篇公式:趋势买点源码/副图/说明