源码
LC:=EMA(CLOSE,3);
A:((SMA(MAX((CLOSE - LC),0),6,1) / SMA(ABS((CLOSE - LC)),6,1)) * 100);
B:=MA(A,10);
QVAR1A:=((((HHV(HIGH,21) - CLOSE) / (HHV(HIGH,21) - LLV(LOW,21))) * 100) - 10);
QVAR1B:=(((CLOSE - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21))) * 100);
QVAR1C:=SMA(QVAR1B,13,8);
QVAR1D:=SMA(QVAR1A,21,8);
dd:=SMA(QVAR1C,21,8);
ddd:(((dd-QVAR1D) < (0-65))),COLORBLUE;
m2:(IF((ddd>0),-20,0) ),STICK,LINETHICK3;
m3:(IF((ddd>0) AND (A<15),40,0) ),STICK,LINETHICK3;
STICKLINE(A>50 AND A<REF(A,1) AND REF(A,1)>REF(A,2),A,40,2,0),COLORred;
六成买入:if((m2=-20 and m3=0) or count(m3=40,4)=4,59,0),colorred;