飞狐怎么看板块 飞狐综合分析公式源码
2016-08-30 11:02 股票知识 zhishi.southmoney.com
飞狐怎么看板块 飞狐综合分析公式源码 南方财富网小编为您提供
DRAWGBK((CLOSE > 0),COLORRGB(0,0,0),COLORRGB(0,0,0),1);
0,Color808080;
2,Color008000,POINTDOT;
4,Color008000,POINTDOT;
6,Color808080;
{KDJ}
A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D");
STICKLINE("KDJ.J"<20,5,4.5,5,1),Color808040;
DRAWTEXT(CROSS(20,"KDJ.J"),4.8,'J<20'),Color80FFFF;
STICKLINE(B2>0,5,4,2,0),COLORRED;
DRAWTEXT(B2>0,4.4,'←底离'),COLORRED;
C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));
D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)>"KDJ.K" AND CROSS("KDJ.D","KDJ.K");
STICKLINE("KDJ.J">80,5,5.5,5,1),Color4080FF;
DRAWTEXT(CROSS("KDJ.J",80),5.4,'J>80'),ColorFFFF00;
STICKLINE(D2>0,5,6,2,0),COLORGREEN;
DRAWTEXT(D2>0,5.7,'←顶离'),COLORGREEN;
PARTLINE("KDJ.K">"KDJ.D",5),COLORMAGENTA,LINETHICK2;//KDJ指标线K>D,中轴为粉色
PARTLINE("KDJ.K"<"KDJ.D",5),ColorFF0000,LINETHICK2;//KDJ指标线K<D,中轴为蓝色
DRAWTEXTEX(C>0,1,1,10,'《KDJ指标》'),Color00A6A6;
{RSI}
A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2");
STICKLINE("RSI.RSI1"<20,3,2.5,5,1),Color808040;
DRAWTEXT(CROSS(20,"RSI.RSI1"),2.8,'超卖'),Color80FFFF;
STICKLINE(B3>0,3,2,2,0),COLORRED;
DRAWTEXT(B3>0,2.4,'←底离'),COLORRED;
(股票知识网zhishi.southmoney.com)
0,Color808080;
2,Color008000,POINTDOT;
4,Color008000,POINTDOT;
6,Color808080;
{KDJ}
A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D");
STICKLINE("KDJ.J"<20,5,4.5,5,1),Color808040;
DRAWTEXT(CROSS(20,"KDJ.J"),4.8,'J<20'),Color80FFFF;
STICKLINE(B2>0,5,4,2,0),COLORRED;
DRAWTEXT(B2>0,4.4,'←底离'),COLORRED;
C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));
D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)>"KDJ.K" AND CROSS("KDJ.D","KDJ.K");
STICKLINE("KDJ.J">80,5,5.5,5,1),Color4080FF;
DRAWTEXT(CROSS("KDJ.J",80),5.4,'J>80'),ColorFFFF00;
STICKLINE(D2>0,5,6,2,0),COLORGREEN;
DRAWTEXT(D2>0,5.7,'←顶离'),COLORGREEN;
PARTLINE("KDJ.K">"KDJ.D",5),COLORMAGENTA,LINETHICK2;//KDJ指标线K>D,中轴为粉色
PARTLINE("KDJ.K"<"KDJ.D",5),ColorFF0000,LINETHICK2;//KDJ指标线K<D,中轴为蓝色
DRAWTEXTEX(C>0,1,1,10,'《KDJ指标》'),Color00A6A6;
{RSI}
A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2");
STICKLINE("RSI.RSI1"<20,3,2.5,5,1),Color808040;
DRAWTEXT(CROSS(20,"RSI.RSI1"),2.8,'超卖'),Color80FFFF;
STICKLINE(B3>0,3,2,2,0),COLORRED;
DRAWTEXT(B3>0,2.4,'←底离'),COLORRED;
(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。