以下是通达信强庄伏击01选股和谐源码分享(无源码的请下载附件导入)
强庄伏击01
公式源码:
VAR1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100<=(-8.24) AND LOW<=CLOSE AND HIGH>=LOW;
VAR2:=BARSLAST(VAR1);
VAR3:=(MIN(REF(CLOSE,1),REF(OPEN,1))-MAX(REF(CLOSE,6),REF(OPEN,6)))/MAX(REF(CLOSE,6),REF(OPEN,6))*100<=(-21);
VAR4:=(MIN(REF(CLOSE,1),REF(OPEN,1))-MAX(REF(CLOSE,5),REF(OPEN,5)))/MAX(REF(CLOSE,5),REF(OPEN,5))*100<=(-18);
VAR5:=(REF(CLOSE,1)-REF(CLOSE,2))/REF(CLOSE,2)*100<(-5);
VAR6:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>4;
VAR7:=CLOSE>=REF(LOW,1)+(REF(HIGH,1)-REF(LOW,1))*2/3;
VAR8:=VOL<=REF(VOL,1)*3.1;
TJ5:VAR5 AND VAR6 AND VAR7 AND VAR8 AND (VAR2>=2 AND VAR2<=5 OR VAR3 OR VAR4);
|