C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
- K:SMA(RSV,P1,1);
- D:SMA(K,P2,1);
-
- FILLRGN(k>d,k,d),colorred ;
- FILLRGN(k<d,k,d),COLORBLUE ;
- DRAWTEXT(50,76,'-'),COLORBLUE;
- DRAWTEXT(50,51,'-'),COLORRED;
- DRAWTEXT(50,26,'-'),COLORBLUE;
-
- td2_7_s1_1:=
- k<25 and
- d<25 and
- k>d and
- CROSS(k,d);
- DRAWICON(td2_7_s1_1,k,1);
-
- td2_7_d1_1:=
- k>75 and
- d>75 and
- k<d and
- CROSS(d,k);
- DRAWICON(td2_7_d1_1,k,2);