编写要求:
第一个
VOLC:=V/CAPITAL;
VAR1C:=VOLC/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
ZMJ:=IF(CLOSE>OPEN,VAR1C*(HIGH-LOW),IF(CLOSEOPEN,0-VAR1C*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE0 AND V[1;
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000;
HHH:=BBB-LLV(BBB,10);
SS:=(MA(HHH,2)*3+HHH*13)/16;
短线买点:=IF(SS>13,MA(SS,2),SS)/6;
短线出击:=CROSS(短线买点,1) AND (短线买点<30);
AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);
AAA3:=SUM(IF( CLOSE][1;
PMB:=REF(PMA,1)<1 AND PMA;
日金:=(EMA(MA(B1万元,2),2))/100000;
二日比:=日金/REF(日金,1);
选股:=PMB AND 日金>REF(日金,1) AND 二日比>1;
底买短线:止跌反弹 AND 短线出击 AND 选股;
有未来 但是流通盘的 请老师看下 会不会漂移影响结果
第二个
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区:=VARO7<10;
TJ:=COUNT(建仓区,3);
VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
上升:=CROSS(VAR1,8);
上升在即:(建仓区 OR REF(建仓区,1)) AND 上升;]
解答:
?第一个公式中'DVOL*DCLOSE'是通达信特有的未来函数,信号会漂移
第二个公式可放心使用,无未来