obv:=SUM(IF(CLOSE>REF(CLOSE,1),vol,IF(CLOSE
短顶:ref(c1,1)>0.5 and c1ref(h,1) and k>30 and k>d, colorred; ty:=if(c1<-8 or h/llv(l,3)>1.5,1,0); 单阳背离:c1<0 and c1=llv(c1,13) and c>o and ty=1;
{ _最新股票指标公式}
tu1:=if((a5>ref(a5,1) and ref(a5,1)>ref(a5,2) )or (ref(a5,1)0 and ref (c1,2)<0 and count(c>o,3)=3 and l>ref(l,1) and ref(l,1)>ref(l,2) ) or (c1<0 and c1ref(o,1) and ref(c,2)>ref(o,2) and ref(c,3)>ref(o,3) and ref(l,1)>ref(l,2) and ref(l,2)>ref(l,3)),1,0);
三阳背离: tu=1 and k>d and tu1=1,colorADFFFF; 逃顶:k>80 and k>d and cross(-0.5,c1) and p1<5 and p2=1;
顶:k>80 and cross(d,k) and cross(-0.5,c1) and p1<5 and p2=1,color7E995A;
Var11:=REF(CLOSE,1); Var12:=SMA(MAX(CLOSE-Var11,0),6,1)/SMA(Abs(CLOSE-Var11),6,1)*100; 卖出:if( CROSS(80,Var12),1.5,0);