C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 箱顶:LLV(REF((HHV(C,89)),0),10),COLORFF99FF;
- VAR1:=((2)*(CLOSE)+OPEN+HIGH+LOW)/(5);
- VAR2:=VOL;
- 上升趋势:(SUM((VAR1)*(VAR2),8))/(SUM(VAR2,8)),COLOR0000FF;
- 辅助线:LLV(上升趋势,8),COLORWHITE;
- VAR3:=IF((CLOSE>REF(CLOSE,1)),88,0);
- VAR4:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3>0),91,0);
- DRAWTEXT(FILTER((VAR4>90),34),(LOW)*(0.99),'←※强攻'),COLOR00FFFF;
- ZKS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100));
- ZKS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);
- 趋势线:=EMA(((ZKS / 10) + EMA(CLOSE,10)),3);
- AA:= - 100 * (趋势线 - CLOSE) / 趋势线;
- AC:=(EMA(AA,5) );
- STICKLINE(ZKS1>10,H,L,2,0),COLORFF00FF,LINETHICK1;
- AB:=CROSS(VAR1,上升趋势);
- DRAWICON((AB OR 辅助线>REF(上升趋势,21) AND C>REF(C,25) AND C>REF(C,10)),上升趋势,7),COLORRED;