飞狐骑上大黑马公式源码 飞狐指标公式大全(2)
2015-12-18 16:17:20 股票入门 http://rumen.southmoney.com
{-----------------【图解模板】---------------------}
尾数:MOD(n,10),LINETHICK,COLORWHITE;
N的尾数:IF(尾数=WS,0,1),LINETHICK,COLORWHITE;
{信号}
STICKLINE(尾数=WS,38,-20,5,0),COLORGRAY;DRAWICON(N<15,-20,1),ALIGN0;DRAWICON(A1=0,-20,10),ALIGN0;DRAWICON((A>8 and A1>=0 and A2<0),-20,6),ALIGN0;
DRAWICON(A>8 and A1<-8,-20,4),ALIGN0;xx1:=REF(N,3); xx2:=REF(N,2); xx3:=REF(N,1); xx4:=N;
DRAWTEXT(x,108,' (N值) '),COLORGREEN;//------------------
DRAWTEXT(x1,108,' 前三天 = '+NUMTOSTR(xx1[SYSPARAM(1)],0)),COLORGREEN;
DRAWTEXT(x2,108,' 前二天 = '+NUMTOSTR(xx2[SYSPARAM(1)],0)),COLORGREEN;
DRAWTEXT(x3,108,' 前一天 = '+NUMTOSTR(xx3[SYSPARAM(1)],0)),COLORGREEN;
DRAWTEXT(x4,108,' 当 天 = '+NUMTOSTR(xx4[SYSPARAM(1)],0)),COLORGREEN;
DRAWTEXT(x5,108,' N值小于25时,要格外注意'),COLORGREEN;
yy1:=REF(A1,3); yy2:=REF(A1,2); yy3:=REF(A1,1); yy4:=A1;
DRAWTEXT(x,71,' (A1值) '),COLORCYAN;//------------------
DRAWTEXT(x1,71,' 前三天 = '+NUMTOSTR(yy1[SYSPARAM(1)],0)),COLORCYAN;
DRAWTEXT(x2,71,' 前二天 = '+NUMTOSTR(yy2[SYSPARAM(1)],0)),COLORCYAN;
DRAWTEXT(x3,71,' 前一天 = '+NUMTOSTR(yy3[SYSPARAM(1)],0)),COLORCYAN;
DRAWTEXT(x4,71,' 前一天 = '+NUMTOSTR(yy4[SYSPARAM(1)],0)),COLORCYAN;
DRAWTEXT(x5,71,' A1=0 时,很容易大涨'),COLORCYAN;
ZZ1:=REF(kk,3); ZZ2:=REF(kk,2); ZZ3:=REF(kk,1); ZZ4:=kk;
DRAWTEXT(x,38,' (KK值) '),ColorE9A6E9;//-----------------
DRAWTEXT(x1,38,' 前三天 = '+NUMTOSTR(ZZ1[SYSPARAM(1)],0)),ColorE9A6E9;
DRAWTEXT(x2,38,' 前二天 = '+NUMTOSTR(ZZ2[SYSPARAM(1)],0)),ColorE9A6E9;
DRAWTEXT(x3,38,' 前一天 = '+NUMTOSTR(ZZ3[SYSPARAM(1)],0)),ColorE9A6E9;
DRAWTEXT(x4,38,' 当 天 = '+NUMTOSTR(ZZ4[SYSPARAM(1)],0)),ColorE9A6E9;
DRAWTEXT(x5,38,' KK值一天比一天大为正转'),ColorE9A6E9;
WW1:=REF(DD,3); WW2:=REF(DD,2); WW3:=REF(DD,1); WW4:=DD;
DRAWTEXT(x,2,' (DD值) '),COLORYELLOW;//------------------
DRAWTEXT(x1,2,' 前三天 = '+NUMTOSTR(WW1[SYSPARAM(1)],0)),COLORYELLOW;
DRAWTEXT(x2,2,' 前二天 = '+NUMTOSTR(WW2[SYSPARAM(1)],0)),COLORYELLOW;
DRAWTEXT(x3,2,' 前一天 = '+NUMTOSTR(WW3[SYSPARAM(1)],0)),COLORYELLOW;
DRAWTEXT(x4,2,' 当 天 = '+NUMTOSTR(WW4[SYSPARAM(1)],0)),COLORYELLOW;
DRAWTEXT(x5,2,' DD值一天比一天大为正转'),COLORYELLOW;
DRAWTEXT(x6,120,' \n \n \n \n \n \n 【大盘走牛时】\n 【N的尾数相同】\n 【一不小心,】 \n 【就会让你,】\n 【骑上大黑马】'),ColorFF9000;
DRAWTEXT(CROSS(78.89,卖),120,' ★ \n▽'),ALIGN,ColorFF9000;
更多飞狐指标公式请关注南方股票网 http://rumen.southmoney.com
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。