通达信反转形态副图指标公式
2021/1/1 18:33:40
{U型反转}
TJ1:=O/C>1.05 AND C/REF(C,1)<0.94;
TJ2:=REF(C,1)/REF(C,2)<1.09 AND L=LLV(L,5);
TJ3:=TJ1 AND TJ2;
TJ4:=BARSLAST(TJ3);
TJ5:=BETWEEN(TJ4,4,15);
TJ6:=C/REF(C,1)>1.02 AND O/REF(C,TJ4)<1.03 AND C/REF(C,TJ4)>1.02;
TJ7:=COUNT(TJ6,TJ4)=1;
TJ8:=REF(O,1)/REF(C,TJ4)>1.03;
TJ9:=C/REF(C,1)>1.04;
TJ10:=EVERY(BETWEEN(O/REF(C,TJ4),1.05,0.9),TJ4);
U型:TJ5 AND TJ6 AND TJ7 AND TJ9 AND REF(TJ10,1),COLORMAGENTA;
DRAWICON(U型,0.2,1);
{V型反转}
HT:=HHVBARS(H,15);
LT:=LLVBARS(L,15);
DF1:=(REF(C,LT)-REF(C,HT+1))/REF(C,HT+1)*100;
DF2:=(C-REF(C,LT+1))/REF(C,LT+1)*100;
TJ:=C>=REF(C,HT);
V型:HT>LT AND DF1<-5 AND COUNT(TJ,HT+1)=1 AND TJ AND ((C-REF(C,1))/C>0.04 OR (C-O)/C>0.04),COLORRED;
DRAWICON(V型,0.5,1);
{岛型反转}
T:=BARSLAST(H<REF(L,1));
TJ110:=HHV(H,T+1);
TJ11:=CROSS(C,REF(L,T+1));
TJ12:=TJ110<REF(L,T+1);
突破幅度:=(C/REF(L,T+1)-1)*100;
突破量:=VOL/REF(VOL,1);
ZF:=(REF(L,T+1)-LLV(L,T+1))/LLV(L,T+1)*100;
岛型:REF(TJ12,1) AND TJ11 AND 突破量>2 AND ZF<10 AND 突破幅度>3,COLORYELLOW;
DRAWICON(岛型,0.8,1);
投 股票网 www. tou18.cn
股市公式下载推荐