源码
var10:=100*(c-cost(10))/cost(10);
var1:=(close-llv(low,28))/(hhv(high,28)-llv(low,28))*100;
var2:=sma(var1,4,1);
var3:=sma(var2,2,1);
var4:=vol/capital*34;
var5:=ref(var4,1);
主力建仓提醒: if(var3<8.5 and var2<11,-10,0),color10FF10;
空跌幅度:if(var10<0,var10,0),colorred,linethick2;
-10,colorblue,pointdot;
-20,colorblue,pointdot;
-25,colorblue,pointdot;
aa1:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);
A1:=CLOSE/MA(CLOSE,40);
A2:=(CLOSE-OPEN)/OPEN*100>4;
A3:=LOW*1.051<HIGH;
A4:=A3 AND COUNT(A3,5)>1;
B1:=INDEXC;
B2:=MA(B1,5);
B3:=MA(B1,20);
B4:=B1*1.03<B2 AND B1*1.13<B3;
买入1:-100+(aa1<6 AND A1<0.85 AND A2)*90,LINETHICK3,COLORFFAA66;
买入2:-100+(aa1<6 AND A1<0.76 AND A4)*70,LINETHICK2,COLORGREEN;
买入3:-100+(aa1<6 AND B4)*60,LINETHICK2,COLORblue;