C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- MA5:MA(((SLOPE(C,4)*5)+C),5),COLORWHITE,LINETHICK2;
- MA18:=MA(((SLOPE(C,10)*5)+C),18);
- 压力:MA(C,12)*IF(CAPITAL=0,1.035,1.12),LINETHICK1;
- 支撑:MA(C,10)*IF(CAPITAL=0,0.965,0.92),LINETHICK1;
- TJ1:=REF(MA5,1)<MA5 AND REF(MA5,1)<REF(MA5,2) AND REF(MA5,2)<REF(MA18,2) AND
- RANGE(REF(MA5,2),REF(MA5,1),REF(MA5,3)) AND REF(支撑,1)/REF(MA5,1)>=0.98;
- TJ2:=REF(MA5,1)>压力 AND REF(MA5,1)>REF(MA5,2) AND REF(MA5,1)>MA5;
- DRAWICON(TJ1,LOW*0.94,1);
- DRAWICON(TJ2,1.02*HIGH,2);