drawtext(抄底,85,'★'),coloryellow;
drawtext(抄底,75,'抄底'),coloryellow;
============================
{收盘价逃顶}
V1:=MA(C,5)=HHV(MA(C,5),20);
v2:=MA(C,5)>MA(C,10);
V3:=MA(V,5)>MA(V,40)*1.01;
V4:=COUNT(MA(c,1)>REF(C,1),2)=2;
收盘价逃顶:if(v1 and V2 and V3 and V4,90,0),linethick2,colorblue;
drawtext(收盘价逃顶,80,'收盘价逃顶'),color000999;
============================
{三均线粘合}
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
p1:=abs(ma1-ma2)+abs(ma2-ma3);
aa:=p1/c<20/1000 and ma1>ref(ma1,1) and ma2>ref(ma2,1) and ma1<ma3 and ma2<ma3;
三均线粘合:if(aa,22,0),linethick2,color000999;
drawtext(aa,21,'三均线粘合'),color00ff00;
============================
{天胜至尊}
100;
0;
Var1:=IF(YEAR>2094,0,1) OR IF(YEAR>2093 AND MONTH>=1,0,1);
Var2:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
Var3:=(CLOSE-Var2)/Var2*100;
Var4:=REF(Var3,1)<-40 AND Var3>REF(Var3,1) AND REF(Var3,1)<REF(Var3,2) AND Var3-REF(Var3,1)>2.5;
Var5:=(CLOSE-OPEN)/OPEN*100;