飞狐棋盘KD指标公式
2020/2/19 18:17:55
N:=9;
P1:=3;
P2:=3;
{DRAWGBK(CLOSE,COLORRGB(10,160,0),COLORRGB(25,15,0),1);}
A1:="KD.K#DAY"(9,3,3);
A2:="KD.D#DAY"(9,3,3);
A3:="KD.K#WEEK"(9,3,3);
A4:="KD.D#WEEK"(9,3,3);
A5:="KD.K#MONTH"(9,3,3);
A6:="KD.D#MONTH"(9,3,3);
STICKLINE( A1>A2,70 ,100 ,10 ,0 ),COLOR000085;
STICKLINE( A1<A2,70 ,100 ,10 ,0 ),COLOR008500;
STICKLINE( A3>A4,70 ,30 ,10 ,0 ),COLOR000085;
STICKLINE( A3<A4,70,30 ,10 ,0 ),COLOR008500;
STICKLINE( A5>A6,0 ,30 ,10 ,0 ),COLOR000085;
STICKLINE( A5<A6,0 ,30 ,10 ,0 ),COLOR008500;
STICKLINE( CLOSE>0,70 ,70 ,10 ,0 ),COLORBLACK;
STICKLINE( CLOSE>0,30,30,10,0 ),COLORBLACK;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,P1,1),COLORWHITE,LINETHICK2;
D:SMA(K,P2,1),COLORYELLOW,LINETHICK2;
J:(3*K-2*D),COLORFF00FF,LINETHICK3;
上面日K:A1,COLORYELLOW,LINETHICK0;{}
日D:A2,COLORYELLOW,LINETHICK0;
中间周K:A3,COLORWHITE,LINETHICK0;
周D:A4,COLORWHITE,LINETHICK0;
下面月K:A5,COLORGREEN,LINETHICK0;
月D:A6,COLORGREEN,LINETHICK0;
看股 吧公式 www.kan guba.com
其它股票公式列表