通达信震荡诱多指标公式
RSV:=((CLOSE - LLV(LOW,7))/(HHV(HIGH,7) - LLV(LOW,7)))*(100);
短K:SMA(RSV,3,1),COLORFF0000;
短D:SMA(短K,3,1),COLORFF0000;
RSV1:=((CLOSE - LLV(LOW,38))/(HHV(HIGH,38) - LLV(LOW,38)))*(100);
筹码相对空间:(WINNER(CLOSE))*(100),CIRCLEDOT,COLOR0095FF,LINETHICK2;
VAR1:=SMA(((CLOSE - LLV(LOW,60.1355))/(HHV(HIGH,60.1355) - LLV(LOW,60)))*(80),7,1);
VAR2:=CROSS(((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),10))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),10))),(-200)) AND (((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),5))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),5))) (-100));
DRAWTEXT(CROSS(EMA(((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),10))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),10))),13),EMA(((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),5))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),5))),13)) AND (EMA(((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),10))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),10))),13) 0),98,' 风险'),LINETHICK2,COLOR00FF00;
DRAWTEXT((FILTER(VAR2,5) = 1),0,' 准备抄底'),LINETHICK2,COLORFF00FF;
STICKLINE(CROSS(EMA(((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),10))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),10))),13),EMA(((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),5))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),5))),13)) AND (EMA(((HIGH + LOW + CLOSE)/(3) - MA((HIGH + LOW + CLOSE)/(3),10))/((0.015)*(AVEDEV((HIGH + LOW + CLOSE)/(3),10))),13) 0),80,100,10,0),COLOR008000;
STICKLINE((FILTER(VAR2,5) = 1),0,20,10,0),COLORRED;
VAR3:=MA((100)*(WINNER(IF((((AMOUNT)/(VOL))/(100) (CLOSE)*(1.1)),CLOSE,IF((((AMOUNT)/(VOL))/(100) (CLOSE)*(0.9)),CLOSE,((AMOUNT)/(VOL))/(100))))),5);
DRAWTEXT(CROSS(86,VAR3),VAR1,' 振荡诱多'),COLORFF0000;
DRAWTEXT(CROSS(VAR3,5),VAR1,' 低位吸筹'),COLORRED;
DRAWTEXT(CROSS(VAR3,45),VAR1,' 猛拉'),COLORFFFFFF;