C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {牛股征兆}
- s(1,100,5) up(1,100,85) M(1,100,50) N(1,100,34) P(1,100,21) Q(1,100,13) R(1,100,8)
- STICKLINE(C>0,0,5,100,0),COLOR002200;
- STICKLINE(C>0,5,10,100,0),COLOR002222;
- STICKLINE(C>0,10,20,100,0),COLOR000022;
- MC:=MA(CLOSE,S),COLOR00BBFF;
- C80:=COST(UP),LINETHICK3,COLORRED;
- C55:=COST(M),COLORYELLOW;
- C34:=COST(N),COLORLICYAN;
- C21:=COST(P),COLORBROWN;
- C13:=COST(Q),COLORLIMAGENTA;
- C8:=COST(R);
- C3:=COST(3),LINETHICK3,COLORBLUE;
- 多头反攻:IF(CROSS(MC,C8),10,0);
- 多头追击:IF(CROSS(MC,C55),10,0);
- 多头筑底:IF(MC<C8,10,0);
- 多头问顶:IF(MC>C80,10,0);
- 筹码集中度:=COST(10)/(COST(80)-COST(10));
- 筹码1:EMA(筹码集中度,1),LINETHICK2,COLOR3399FF;
- 筹码3:EMA(筹码集中度,3),LINETHICK2,COLORRED;
- 筹码13:EMA(筹码集中度,13),LINETHICK1;
- 筹码34:EMA(筹码集中度,34),LINETHICK1;
- 筹码55:EMA(筹码集中度,55),LINETHICK1;
- 筹码90:EMA(筹码集中度,90),LINETHICK1,COLORFF00FF;
- 筹码250:EMA(筹码集中度,250),LINETHICK1,COLORBLUE;
-
- P1:=90;
- A:=P1+(100-P1)/2;
- B:=(100-P1)/2;
- CC:=COST(A);
- DD:=COST(B);
- SCR:(CC-DD)/(CC+DD)*100/2,COLORWHITE;
-