源码
var1:=MA(CLOSE,5);
var2:=MA(CLOSE,10);
var3:=MA(CLOSE,20);
var4:=MA(CLOSE,30);
var5:=(var1+var2+var3+var4)/4;
var6:=(var5-REF(var5,15))/REF(var5,15)*100;
var7:=(var5-REF(var5,15))/REF(var5,15)*100;
var8:=EMA(var6,8);
=红色持股=: STICKLINE(var6>1*REF(var6,1),
var6,var8,5,0),colorred , ;
=绿色持币=: STICKLINE(var6<1*REF(var6,1),var6,var8,5,1),colorccff66 , ;
var9:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)*100;
vara:=(var9>1*REF(var9,1) AND var9<-26 AND var9>-40)*1.5;
varb:=VOL/CAPITAL*100;
varc:=LLVBARS(LOW,50);
vard:=SUM(VOL,varc);
vare:=HHVBARS(HIGH,50);
varf:=SUM(VOL,vare);
var10:=(CLOSE-REF(OPEN,vare))/REF(OPEN,vare)*100;
var11:=varf/CAPITAL*100;
var12:=(CLOSE-REF(OPEN,varc))/REF(OPEN,varc)*100;
var13:=vard/CAPITAL*100;
var14:=MA(CLOSE,3);
var15:=REF(CLOSE,2)*0.865;
var16:=REF(CLOSE,13)*0.772;
var17:=MIN(var15,var16);
var18:=MA(CLOSE,13);
var19:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
var1a:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
var1b:=EMA(var1a,9);var1c:=2*(var1a-var1b);
☆出手必赢☆:IF((CLOSE-var17)/CLOSE<0.03 AND var10<-35 AND SUM(varb,5)/5<1.8,1,0)*10,coloryellow ,;
DRAWTEXT(var1a<-50 AND var19>7 AND var1a<var1b,-15,'短期见底'),coloryellow , ;
DRAWTEXT(var1a<-50 AND var19>7 AND var1a>=var1b,var6,'短线出击'), , ;