C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 觅庄吸庄血
- INPUT:N(10);
- VAR1:=REF(LOW,1);
- VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1)*4;
- VAR3:=EMA(VAR2,13);
- VAR4:=LLV(LOW,34);
- VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
- VAR6:=VAR5*10;
- 主力进场:STICKLINE(VAR5>REF(VAR5,1),0,VAR6,7,0 ),COLORRED;
-
- {股海英雄选股}
- 上线:=SMA(C,6.5,1);
- 下线:=SMA(C,13.5,1);
- 买 :=CROSS(上线,下线) ;
- T3 :=(MA(C,3)/MA(C,125)<1.1) ;
- 全仓买 :(买 AND T3)*60 ;
-
-
- {N:1, 100, 10}
- 趋势:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
- 3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
- VAR2:=8,COLORGREEN,LINETHICK0;
- 增强体力: IF(CROSS(趋势,VAR2),50,0),STICK,LINETHICK2;
- 专吸庄血: IF(趋势<=8,40,0),STICK,COLORWHITE,LINETHICK2;
- DRAWTEXT(CROSS(趋势,VAR2),40,'准备买入');
- VARO5:=LLV(LOW,27);
- VARO6:=HHV(HIGH,34);
- VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
- 建仓区: IF((VARO7<10),25,0) ,LINETHICK3,COLORFF00F0;