长期横盘选股:=EMA(EMA(EMA(CLOSE,5),2),1);
AA:=(长期横盘选股-REF(长期横盘选股,1))/REF(长期横盘选股,1)*1;
CC:=0;{炒股公式-炒股指标www.gs6699.com}
指标公式:=AMOUNT/VOL/100;
ffddd3:=MAX(ABS(HIGH-指标公式),ABS(指标公式-LOW));
ffddd4:=ABS((OPEN+CLOSE)/2-指标公式);
ffddd5:=5;
ffddd6:=(ffddd3+ffddd4)/指标公式*50;
DD:=IF(CROSS(ffddd6,ffddd5),0.008,0);
XG:AA>CC AND DD,COLORRED;