C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- K:=SMA(RSV,3,1);
- D:=SMA(K,3,1);
- JJ:=9*(3*D-2*K);
- J:=((3 * K) - (2 * D));
- MAIRU:= CROSS(K,D) AND K<20;
- MAICHU:= CROSS(D,K) AND D>80;
- 快线:(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2,COLORRED;
- 慢线:SMA(快线,3,1),COLORCYAN;
- 空:SMA(慢线,3,1),COLOR00FF00;
- 牛股:IF(BARSLAST(CROSS(慢线,空))<9 AND CROSS(慢线,空) AND 慢线<20,90,0),STICK,COLORFF937F;
- STICKLINE(牛股,0,90,1,0),COLORFF937F;
- BB:=IF(BARSLAST(CROSS(慢线,快线))>=3 AND CROSS(快线,慢线) AND 慢线<30,20,0);
- STICKLINE(BB,0,-20,3,0),COLORYELLOW;
- 低买:IF(BB,-20,-40),COLORYELLOW;
- DRAWICON(BB>0,-35,7);
- AA:=IF(BARSLAST(CROSS(快线,慢线))>=4 AND CROSS(慢线,快线) AND 快线>50,20,0);
- STICKLINE(AA,100,120,3,0),COLOR00FF00;
- 高卖:IF(AA,120,140),COLOR00FF00;
- DRAWICON(AA>0,150,8);
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 主力吸筹选股
- 快线:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- 慢线:=SMA(快线,3,1);
- BB:=BARSLAST(CROSS(慢线,快线))>=3 AND CROSS(快线,慢线) AND 慢线<30;
- 低买:BB;