请高手帮忙把通信达选股公式转变成大智慧公式

ZT:=CLOSE/REF(C,1)>=1.099 AND CLOSE/REF(C,1)<=1.13 AND H==C;
TS:=BARSLAST(ZT);
INDEX:=CCI(14);
VAR2:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4);
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2);
长江七号:REF(CROSS(INDEX,-100),2) AND CROSS(INDEX,-100) AND TS<=15;

第1个回答  2019-04-15
公式引用了CCI,在大智慧里有两种方法引用,这里是直接将CCI公式写上。
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
ZT:=CLOSE/REF(C,1)>=1.099 AND CLOSE/REF(C,1)<=1.13 AND H=C;
TS:=BARSLAST(ZT);
INDEX:=CCI;
VAR2:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4);
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2);
长江七号:REF(CROSS(INDEX,-100),2) AND CROSS(INDEX,-100) AND TS<=15;本回答被提问者采纳
相似回答