设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

飞狐主力分析主力退诱副图公式源码 飞狐指标公式大全(2)

2015-12-19 11:44:48 股票入门 http://rumen.southmoney.com

{显示时间}
variable:wday[7]='星期六';
wday[1]:='星期日';
wday[2]:='星期一';
wday[3]:='星期二';
wday[4]:='星期三';
wday[5]:='星期四';
wday[6]:='星期五';
fy:=YEAR;
fm:=MONTH;
fd:=DAY;
wd:=WEEKDAY;
p:=SYSPARAM(1);
str1:=''+NUMTOSTR(fy[p],0)+'年'+NUMTOSTR(fm[p],0)+'月'+NUMTOSTR(fd[p],0)+'日 '+wday[wd[p]+1],Colorred;
STICKLINE(总1<0,0,-总1+总/2,8,0),ColorFF4400;
STICKLINE(总1<0,0,-总1+总/2,6,0),ColorFF8800;
STICKLINE(总1<0,0,-总1+总/2,3,0),ColorFFaa00;
STICKLINE(总1<0,0,-总1+总/2,1,0),ColorFFcc00;
STICKLINE(总1>0,0,+总1+总/2,8,0),Color000044;
STICKLINE(总1>0,0,+总1+总/2,6,0),Color000088;
STICKLINE(总1>0,0,+总1+总/2,3,0),Color0000aa;
STICKLINE(总1>0,0,+总1+总/2,1,0),Color0000cc;
m1:ma(sum(总1,5),5);m2:wma(m1,5);
STICKLINE(BARPOS=ww+10,中*-1,中*2.1,200,0),Color2E8B57;

VERTLINE(BARPOS=ww+20),COLOREE00EE,LINETHICK2;
VERTLINE(BARPOS=ww),COLOREE00EE,LINETHICK2;

STICKLINE(BARPOS=ww+10,中*1.7,中*1.7,200,0),COLOREE00EE;
STICKLINE(BARPOS=ww+10,中*0.3,中*0.3,200,0),COLOR666666;
STICKLINE(BARPOS=ww+10,中*-0.9,中*-0.9,200,0),COLOREE00EE;
STICKLINE(BARPOS=ww+2 and qj1[p]>0,中*0.3,中*0.3+(qj1[p]),30,0),COLOR00FFFF;
STICKLINE(BARPOS=ww+2 and qj1[p]<0,中*0.3,中*0.3-(qj1[p]),30,0),COLOR00FF00;
STICKLINE(BARPOS=ww+7 and qj2[p]>0,中*0.3,中*0.3+(qj2[p]),30,0),COLOR0000FF;
STICKLINE(BARPOS=ww+7 and qj2[p]<0,中*0.3,中*0.3-(qj2[p]),30,0),COLOR00FF00;
STICKLINE(BARPOS=ww+12 and qj3[p]>0,中*0.3,中*0.3+(qj3[p]),30,0),COLORFF00FF;
STICKLINE(BARPOS=ww+12 and qj3[p]<0,中*0.3,中*0.3-(qj3[p]),30,0),COLOR00FF00;
STICKLINE(BARPOS=ww+17 and qj4[p]>0,中*0.3,中*0.3+(qj4[p]),30,0),COLORFF6600;
STICKLINE(BARPOS=ww+17 and qj4[p]<0,中*0.3,中*0.3-(qj4[p]),30,0),COLOR00FF00;
DRAWTEXT(BARPOS=ww+1,中*0.2,'特\n'+NUMTOSTR(qj1[p]/总[p]*100,0)),PXDN5,COLORWHITE;
DRAWTEXT(BARPOS=ww+6,中*0.2,'大\n'+NUMTOSTR(qj2[p]/总[p]*100,0)),PXDN5,COLORWHITE;
DRAWTEXT(BARPOS=ww+11,中*0.2,'中\n'+NUMTOSTR(qj3[p]/总[p]*100,0)),PXDN5,COLORWHITE;
DRAWTEXT(BARPOS=ww+16,中*0.2,'小\n'+NUMTOSTR(qj4[p]/总[p]*100,0)),PXDN5,COLORWHITE;
DRAWTEXTEX(CLOSE,1,230,0,str1),ColorffFF00;

DRAWTEXTEX(CLOSE,1,230,130,'主力成本:'+NUMTOSTR(主力成本[p],2)+'元'),,Colorred;
DRAWTEXTEX(CLOSE,1,520,130,'主力筹码占流通:'+NUMTOSTR(ZSA[P],2)+' %'),,Colorred;
DRAWTEXTEX(CLOSE,1,770,130,'本日较昨日增减:'+NUMTOSTR(ZSB[P],2)+' %'),,Colorred;
DRAWTEXTEX(CLOSE,1,520,0,'估算主力进入:'+NUMTOSTR(起点[P],0)+'(天) '),,Colorred;
DRAWTEXTEX(CLOSE,1,770,0,'判断主力回吐:'+NUMTOSTR(终点[P],0)+'(天) '),,Colorred;
DRAWTEXT(BARPOS=ww+1 and 总1[P]<0,中*-0.6,' 散户主买'),COLORGREEN;
DRAWTEXT(BARPOS=ww+1 and 总1[P]>0,中*-0.6,' 主力主买'),Colorred;
DRAWTEXT(BARPOS=ww+11 and 总1[P]>0,中*-0.6,' 散户主卖'),Colorred;
DRAWTEXT(BARPOS=ww+11 and 总1[P]<0,中*-0.6,' 主力主卖'),COLORGREEN;

上一页  [1] [2] [3] 下一页

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。