以下是通达信振荡行情开始抓牛指标公式(无源码的请下载附件导入)
A:=CLOSE>REF(CLOSE,1)*1.095;
AA:=BARSLAST(A);
AAA:=BETWEEN(C,REF(C,AA)*1.03,REF(C,AA)*0.97) AND AA<=30;
BB:=REF(O,3)>REF(O,2);
BBB:=REF(O,2)>REF(O,1);
CC:=CLOSE>REF(CLOSE,1)*1.03 AND C>O;
CCC:=BETWEEN(C,REF(O,AA)*1.03,REF(O,AA)*0.97) AND AA<=30;
DD:="MACD.MACD">0.2;
A1:=AAA AND BB AND BBB AND CC AND DD;
B1:=CCC AND BB AND BBB AND CC;
开始抓牛:FILTER(B1 OR A1,5);
639555791.png
|