VAR2S:=(2*CLOSE+HIGH+LOW)/4;
VAR3S:=IF(YEAR>=2099 AND MONTH>2,0,1);
VAR4S:=LLV(LOW,5);
VAR5S:=HHV(HIGH,4);
散户:=EMA((VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*VAR3S;
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3S;
吸货:CROSS(散户,庄家) AND 散户<30;
九毛八公式解读
VAR2S赋值:(2*收盘价+最高价+最低价)/4 VAR3S赋值:如果年份>=2099ANDMONTH>2,返回0,否则返回1 VAR4S赋值:5日内最低价的最低值 VAR5S赋值:4日内最高价的最高值 散户赋值:(VAR2S-VAR4S)/(VAR5S-VAR4S)*100的4日指数移动平均*VAR3S 庄家赋值:0.667*1日前的散户+0.333*散户的2日指数移动平均*VAR3S 输出吸货:散户上穿庄家 AND 散户<30