以下是通达信炒股如攻城公式
通达信炒股如攻城公式
QQ:= CLOSE>REF(CLOSE,1)*1.02;
BB:=SMA(MAX(CLOSE-REF(CLOSE,1),0),21,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),21,1)*1000;
GG:=MA(BB-LLV(BB,27),5);
AA:=(REF(H,4)-REF(L,1))/C*100>10;
RB:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100/2+22)*1;
QB:=((EMA(AMOUNT,13) /EMA(VOL,13)) / 100);
ZH:=(((((CLOSE -QB) / QB) * 100) < (0)) AND ZXNH);
CD:=ZH AND (CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100<RB-2;
攻城:AA AND QQ AND CD>0 ;