九毛八公式指标
请老师帮忙改将三个选股指标合并成一个预警指标,这样有利于提早发现,也省得麻烦了。谢谢!!! 第一个选股指标: VAR326:=IF(CLOSE>REF(CLOSE,1),88,0); VAR327:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0); XG:FILTER(VAR327>1,5); 第二个选股指标:VAR1:=SMA(AMOUNT,10,1)/10000; VAR2:=REF(VAR1,1); CROSS(VAR1,VAR2); 第三个选股指标: VAR1:=(2*CLOSE+HIGH+LOW)/4; VAR2:=LLV(LOW,34); VAR3:=HHV(HIGH,34); XX:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13); YY:=EMA(0.667*REF(XX,1)+0.333*XX,2); CROSS(XX,YY); 求老师三个指标合三为一,真情的谢谢
公式模块:
VAR327:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0);
XG1:=FILTER(VAR327>1,5); VAR1:=SMA(AMOUNT,10,1)/10000; VAR2:=REF(VAR1,1); XG2:=crOSS(VAR1,VAR2); VAR3:=(2*CLOSE+HIGH+LOW)/4; VAR4:=LLV(LOW,34); VAR5:=HHV(HIGH,34); XX:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13); YY:=EMA(0.667*REF(XX,1)+0.333*XX,2); XG3:=CROSS(XX,YY); XG:XG1 OR XG2 OR XG3;