烦请高手把"K线超卖提示" , 可否修改为"K线超买提示"
以下為:K线超卖提示公式
{K线超卖提示}
SQ1:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;
SQ2:=SMA(MAX(C-REF(C,1),0),7,1)/SMA(ABS(C-REF(C,1)),7,1)*100;
CM1:=IF(SQ1<12,30,0);
CM2:=IF(SQ2<12,30,0);
Zb1:=(C-LLV(C,10))/(HHV(C,10)-LLV(C,10))*100;
www:=Zb1<1;
w:=if(WWW,-20,0);
A01:=SMA(ABS((L - REF(L,1))),3,1) / SMA(MAX((L - REF(L,1)),0),3,1) *100;
A02:=EMA(IF(C *1.3,A01 *10,A01 /10),3);
A03:=LLV(L, 30);
A04:=HHV(A02, 30);
A05:=EMA(IF((L <= A03),(A02 + A04*2)/2,0),3) /6180 *2.5;
A06:=IF((A05 >15),15,A05);
Kx:=if(A06>=1.7,-20,0);
Zy:=MA(((C-MA(C,6))/MA(C,6)*100+2*(C-MA(C,12))/MA(C,12)*100+3*(C-MA(C,24))/MA(C,24)*100)/6,3);
Zy1:=IF(Zy<-6,-20,0);
KS:=(((C - SMA(C,13,1)) / SMA(C,13,1)) * (0 - 100));
RKS:=REF(KS,1);
MLS:=((((RKS / KS) > 1.23) AND (RKS > 1)) AND ((C / REF(C,1)) > 1.03)){ORG X4=13};
{超卖一}STICKLINE(CM1 and IF(Kx and w and Zy1,-16,10)<11,H+10,H*1,9,1),COLORGRAY{超卖一:灰色};
{超卖二}STICKLINE(IF(Kx and w and Zy1,-16,10)<11 and CM1,H+50,H*1.05,4,1),COLORBROWN{超卖二:啡色};
{超跌}STICKLINE(CM1 and IF(Kx and w and Zy1,-16,10)<11 AND(KS>13),H+50,H*1.05,2,0),COLORBLACK{超跌};
{反弹}STICKLINE((MLS=1),H+50,H*1.1,7,0),COLORYELLOW{黄色};