M5:=MA(C,5);
M10:=MA(C,10);
NH:=(M5/M10-1)*100;
NO:=(O/M10-1)*100;
XG:O<M5 AND BETWEEN(NO,-0.94,1.90) AND M5>M10 AND (C-O)/2+O>=M5 AND NH>3.5;
九毛八公式解读
M5赋值:收盘价的5日简单移动平均 M10赋值:收盘价的10日简单移动平均 NH赋值:(M5/M10-1)*100 NO赋值:(开盘价/M10-1)*100 输出XG:开盘价M10 AND (收盘价-开盘价)/2+开盘价>=M5 AND NH>3.5