VAR1:=1;
VAR2:=(2*CLOSE+HIGH+LOW)/4;
VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
VAR6:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3*VAR1;
VAR7:=EMA(0.667*REF(VAR6,1)+0.333*VAR6,2)*VAR3*VAR1;
CROSS(VAR6,VAR7) AND VAR6<30;
九毛八公式解读
VAR1赋值:1 VAR2赋值:(2*收盘价+最高价+最低价)/4 VAR3赋值:如果年份>=2099ANDMONTH>2,返回0,否则返回1 VAR4赋值:5日内最低价的最低值 VAR5赋值:4日内最高价的最高值 VAR6赋值:(VAR2-VAR4)/(VAR5-VAR4)*100的4日指数移动平均*VAR3*VAR1 VAR7赋值:0.667*1日前的VAR6+0.333*VAR6的2日指数移动平均*VAR3*VAR1 VAR6上穿VAR7 AND VAR6<30