通达信短中红绿波段副图源码
2017-08-29 11:12:00来源:本站整理浏览:309
N1:=7;N2:=27;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
短K:SMA(RSV,3,1),COLORF580F5,LINETHICK0
{输出线条的粗细程度,可以选1--7号,不想看到线条,LINETHICK2可以改成NODRAW};
短D:SMA(短K,3,1),COLORCCDD33,LINETHICK0;
RSV1:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100;
中K:SMA(RSV1,5,1),COLORRED,LINETHICK0;
中D:SMA(中K,10,1),COLOR33AA33,LINETHICK0;
{中KD划线竖向绿带红带};
STICKLINE(中K>中D,中K,中D,2,0),COLOR0000EF;
{蓝色}
STICKLINE(中K<=中D,中K,中D,2,0),COLOR33AA33;
{深绿色}
中J:=3*中K-2*中D,COLORFF00FF;
- 上一篇公式:通达信主力拉长资金副图源码
- 下一篇公式:10日均线金叉60日均线时出信号