VAR0:=1-((2*CLOSE+HIGH+LOW)/4-REF(CLOSE,13))/REF(CLOSE,13)*407;
VAR1:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4);
高:=("dmi.pdi"(14,6)>33 AND "DMI.mdi"(14,6)<10 AND "DMI.ADX"(14,6)>40 AND "DMI.ADXR"(14,6)>45)*50;
VAR2:=100*(MA(VAR1,13)<-0.2 AND VAR1<-0.3);
危险:=100*(VAR2 AND 高);
{-股票公式网站 }
可卖:=IF(危险=100 AND HIGH-CLOSE>CLOSE-LOW AND vol>HHV(VOL,20)/2 AND CLOSE
调整:=IF(高=0 AND HHV(高,5)>0,-50,0);
风险:IF(可卖=-75,-75,IF(卖出<0,-100,IF(危险>0,100,IF(调整<0,-50,高)))),COLORSTICK;
YNGS:风险;