多周期KD指标 (源码)
大智慧多周期KD指标公式股票软件源码如下:
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K1:SMA(RSV1,3,1),DOTLINE,colorred;
D1:SMA(K1,3,1),DOTLINE,colorgreen;
{www.gpxiazai.com 股票软件下载网_大智慧股票指标公式}
PARTLINE( SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,3,1),DATATYPE=8),colorwhite;
PARTLINE( SMA(SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,3,1),3,1),DATATYPE=8),coloryellow;
PARTLINE( SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,3,1),DATATYPE=7),colorwhite;
PARTLINE( SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,3,1),3,1),DATATYPE=7),coloryellow;
PARTLINE( SMA((CLOSE-LLV(LOW,40))/(HHV(HIGH,40)-LLV(LOW,40))*100,3,1),DATATYPE=6),colorwhite;
PARTLINE( SMA(SMA((CLOSE-LLV(LOW,40))/(HHV(HIGH,40)-LLV(LOW,40))*100,3,1),3,1),DATATYPE=6),coloryellow;
PARTLINE( SMA((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*100,3,1),DATATYPE=5),colorwhite;
PARTLINE( SMA(SMA((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*100,3,1),3,1),DATATYPE=5),coloryellow;
PARTLINE( SMA((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*100,3,1),DATATYPE=4),colorwhite;
PARTLINE( SMA(SMA((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*100,3,1),3,1),DATATYPE=4),coloryellow;
PARTLINE( SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,3,1),DATATYPE=3),colorwhite;
PARTLINE( SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,3,1),3,1),DATATYPE=3),coloryellow;
PARTLINE( SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,3,1),DATATYPE=1),colorwhite;
PARTLINE( SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,3,1),3,1),DATATYPE=1),coloryellow;
20;
50;
80;
- 上一篇公式:短线买卖线主图指标 (源码)
- 下一篇公式:CCI多周期指标 (源码)