C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- Z16:=ZIG(3,16);
- Z3:=ZIG(3,3);
- 参考顶:=IF(PEAKBARS(3,5,1)=0 AND HIGH>LOW+0.04,H,0) ;
- AA:=OPEN<CLOSE;
- ZS:=Z16>REF(Z16,1) AND Z3>REF(Z3,1)AND AA;
- 长下影:=(CLOSE-LOW)/LOW*100>3.4 AND (OPEN-LOW)/LOW*100>3.5 AND ZS AND NOT(参考顶=1);
- xg1:= ref(长下影,1) and c/o>=1.01;
- X:=21;
- TTY:=H;
- AAT:=REF(TTY,X)=HHV(TTY,2*X+1);
- BBT:=FILTER(AAT,X);
- CCT:=BACKSET(BBT,X+1);
- HD10T:=FILTER(CCT,X);
- AA1T:=REF(TTY,X)=LLV(TTY,2*X+1);
- BB1T:=FILTER(AA1T,X);
- CC1T:=BACKSET(BB1T,X+1);
- LD10T:=FILTER(CC1T,X);
- 前高:=REF(H,BARSLAST(HD10T));
- xg2:= 前高/c>=1.5 and ref(c,1)<ref(c,2);
- xg: xg1 and xg2;