股民大家庭

 找回密码
 立即注册

扫一扫,访问微社区

搜索
查看: 7079|回复: 0
打印 上一主题 下一主题

[飞狐]飞狐KD7窄立体固定(15-周)源码公式

[复制链接]
跳转到指定楼层
1
发表于 2009-11-13 16:05:42 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
飞狐KD7窄立体固定(15-周)源码公式:
K15:="kdj.K#MIN15";
K30:="kdj.K#MIN30";
K60:="kdj.K#MIN60";
KR :="kdj.K#DAY"  ;
KZ :="kdj.K#WEEK" ;
P:=SYSPARAM(1);
VERTLINE(BARPOS=DATACOUNT-32),COLOR00AAAA,LINETHICK2;
VERTLINE(BARPOS=DATACOUNT),COLOR00AAAA,LINETHICK2;
STICKLINE(BARPOS=DATACOUNT-16,100,100,320,0),COLOR00AAAA;
STICKLINE(BARPOS=DATACOUNT-16,-80,-80,320,0),COLOR00AAAA;
{}
STICKLINE(BARPOS=DATACOUNT-28 and K15[p]>=50,0,K15[P],40,0),COLOR008888;
STICKLINE(BARPOS=DATACOUNT-28 and K15[p]>=50,0,K15[P],35,0),COLOR008899;
STICKLINE(BARPOS=DATACOUNT-28 and K15[p]>=50,0,K15[P],27,0),COLOR0088AA;
STICKLINE(BARPOS=DATACOUNT-28 and K15[p]>=50,0,K15[P],20,0),COLOR0088BB;
STICKLINE(BARPOS=DATACOUNT-28 and K15[p]>=50,0,K15[P],14,0),COLOR0088CC;
STICKLINE(BARPOS=DATACOUNT-28 and K15[p]>=50,0,K15[P],9,0),COLOR0088DD;
STICKLINE(BARPOS=DATACOUNT-28 and K15[p]>=50,0,K15[P],5,0),COLOR0088EE;
STICKLINE(BARPOS=DATACOUNT-28 and K15[p]>=50,0,K15[P],2,0),COLOR0088FF;

STICKLINE(BARPOS=DATACOUNT-28 and K15[p] <50,0,K15[P],40,0),COLORFF8800;
STICKLINE(BARPOS=DATACOUNT-28 and K15[p] <50,0,K15[P],35,0),COLORFF9900;
STICKLINE(BARPOS=DATACOUNT-28 and K15[p] <50,0,K15[P],27,0),COLORFFAA00;
STICKLINE(BARPOS=DATACOUNT-28 and K15[p] <50,0,K15[P],20,0),COLORFFBB00;
STICKLINE(BARPOS=DATACOUNT-28 and K15[p] <50,0,K15[P],14,0),COLORFFCC00;
STICKLINE(BARPOS=DATACOUNT-28 and K15[p] <50,0,K15[P],9,0),COLORFFDD00;
STICKLINE(BARPOS=DATACOUNT-28 and K15[p] <50,0,K15[P],5,0),COLORFFEE00;
STICKLINE(BARPOS=DATACOUNT-28 and K15[p] <50,0,K15[P],2,0),COLORFFFF00;

STICKLINE(BARPOS=DATACOUNT-22 and K30[p]>=50,0,K30[P],40,0),COLOR008888;
STICKLINE(BARPOS=DATACOUNT-22 and K30[p]>=50,0,K30[P],35,0),COLOR008899;
STICKLINE(BARPOS=DATACOUNT-22 and K30[p]>=50,0,K30[P],27,0),COLOR0088AA;
STICKLINE(BARPOS=DATACOUNT-22 and K30[p]>=50,0,K30[P],20,0),COLOR0088BB;
STICKLINE(BARPOS=DATACOUNT-22 and K30[p]>=50,0,K30[P],14,0),COLOR0088CC;
STICKLINE(BARPOS=DATACOUNT-22 and K30[p]>=50,0,K30[P],9,0),COLOR0088DD;
STICKLINE(BARPOS=DATACOUNT-22 and K30[p]>=50,0,K30[P],5,0),COLOR0088EE;
STICKLINE(BARPOS=DATACOUNT-22 and K30[p]>=50,0,K30[P],2,0),COLOR0088FF;

STICKLINE(BARPOS=DATACOUNT-22 and K30[p] <50,0,K30[P],40,0),COLORFF8800;
STICKLINE(BARPOS=DATACOUNT-22 and K30[p] <50,0,K30[P],35,0),COLORFF9900;
STICKLINE(BARPOS=DATACOUNT-22 and K30[p] <50,0,K30[P],27,0),COLORFFAA00;
STICKLINE(BARPOS=DATACOUNT-22 and K30[p] <50,0,K30[P],20,0),COLORFFBB00;
STICKLINE(BARPOS=DATACOUNT-22 and K30[p] <50,0,K30[P],14,0),COLORFFCC00;
STICKLINE(BARPOS=DATACOUNT-22 and K30[p] <50,0,K30[P],9,0),COLORFFDD00;
STICKLINE(BARPOS=DATACOUNT-22 and K30[p] <50,0,K30[P],5,0),COLORFFEE00;
STICKLINE(BARPOS=DATACOUNT-22 and K30[p] <50,0,K30[P],2,0),COLORFFFF00;

STICKLINE(BARPOS=DATACOUNT-16 and K60[P]>=50,0,K60[P],40,0),COLOR008888;
STICKLINE(BARPOS=DATACOUNT-16 and K60[P]>=50,0,K60[P],35,0),COLOR008899;
STICKLINE(BARPOS=DATACOUNT-16 and K60[P]>=50,0,K60[P],27,0),COLOR0088AA;
STICKLINE(BARPOS=DATACOUNT-16 and K60[P]>=50,0,K60[P],20,0),COLOR0088BB;
STICKLINE(BARPOS=DATACOUNT-16 and K60[P]>=50,0,K60[P],14,0),COLOR0088CC;
STICKLINE(BARPOS=DATACOUNT-16 and K60[P]>=50,0,K60[P],9,0),COLOR0088DD;
STICKLINE(BARPOS=DATACOUNT-16 and K60[P]>=50,0,K60[P],5,0),COLOR0088EEF;
STICKLINE(BARPOS=DATACOUNT-16 and K60[P]>=50,0,K60[P],2,0),COLOR0088FF;

STICKLINE(BARPOS=DATACOUNT-16 and K60[P] <50,0,K60[P],40,0),COLORFF8800;
STICKLINE(BARPOS=DATACOUNT-16 and K60[P] <50,0,K60[P],35,0),COLORFF9900;
STICKLINE(BARPOS=DATACOUNT-16 and K60[P] <50,0,K60[P],27,0),COLORFFAA00;
STICKLINE(BARPOS=DATACOUNT-16 and K60[P] <50,0,K60[P],20,0),COLORFFBB00;
STICKLINE(BARPOS=DATACOUNT-16 and K60[P] <50,0,K60[P],14,0),COLORFFCC00;
STICKLINE(BARPOS=DATACOUNT-16 and K60[P] <50,0,K60[P],9,0),COLORFFDD00;
STICKLINE(BARPOS=DATACOUNT-16 and K60[P] <50,0,K60[P],5,0),COLORFFEE00;
STICKLINE(BARPOS=DATACOUNT-16 and K60[P] <50,0,K60[P],2,0),COLORFFFF00;

STICKLINE(BARPOS=DATACOUNT-10 and KR[P] >=50,0,KR[P] ,40,0),COLOR008888;
STICKLINE(BARPOS=DATACOUNT-10 and KR[P] >=50,0,KR[P] ,35,0),COLOR008899;
STICKLINE(BARPOS=DATACOUNT-10 and KR[P] >=50,0,KR[P] ,27,0),COLOR0088AA;
STICKLINE(BARPOS=DATACOUNT-10 and KR[P] >=50,0,KR[P] ,20,0),COLOR0088BB;
STICKLINE(BARPOS=DATACOUNT-10 and KR[P] >=50,0,KR[P] ,14,0),COLOR0088CC;
STICKLINE(BARPOS=DATACOUNT-10 and KR[P] >=50,0,KR[P] ,9,0),COLOR0088DD;
STICKLINE(BARPOS=DATACOUNT-10 and KR[P] >=50,0,KR[P] ,5,0),COLOR0088EE;
STICKLINE(BARPOS=DATACOUNT-10 and KR[P] >=50,0,KR[P] ,2,0),COLOR0088FF;

STICKLINE(BARPOS=DATACOUNT-10 and KR[P]  <50,0,KR[P] ,40,0),COLORFF8800;
STICKLINE(BARPOS=DATACOUNT-10 and KR[P]  <50,0,KR[P] ,35,0),COLORFF9900;
STICKLINE(BARPOS=DATACOUNT-10 and KR[P]  <50,0,KR[P] ,27,0),COLORFFAA00;
STICKLINE(BARPOS=DATACOUNT-10 and KR[P]  <50,0,KR[P] ,20,0),COLORFFBB00;
STICKLINE(BARPOS=DATACOUNT-10 and KR[P]  <50,0,KR[P] ,14,0),COLORFFCC00;
STICKLINE(BARPOS=DATACOUNT-10 and KR[P]  <50,0,KR[P] ,9,0),COLORFFDD00;
STICKLINE(BARPOS=DATACOUNT-10 and KR[P]  <50,0,KR[P] ,5,0),COLORFFEE00;
STICKLINE(BARPOS=DATACOUNT-10 and KR[P]  <50,0,KR[P] ,2,0),COLORFFFF00;

STICKLINE(BARPOS=DATACOUNT-4  and KZ[P] >=50,0,KZ[P] ,40,0),COLOR008888;
STICKLINE(BARPOS=DATACOUNT-4  and KZ[P] >=50,0,KZ[P] ,35,0),COLOR008899;
STICKLINE(BARPOS=DATACOUNT-4  and KZ[P] >=50,0,KZ[P] ,27,0),COLOR0088AA;
STICKLINE(BARPOS=DATACOUNT-4  and KZ[P] >=50,0,KZ[P] ,20,0),COLOR0088BB;
STICKLINE(BARPOS=DATACOUNT-4  and KZ[P] >=50,0,KZ[P] ,14,0),COLOR0088CC;
STICKLINE(BARPOS=DATACOUNT-4  and KZ[P] >=50,0,KZ[P] ,9,0),COLOR0088DD;
STICKLINE(BARPOS=DATACOUNT-4  and KZ[P] >=50,0,KZ[P] ,5,0),COLOR0088EE;
STICKLINE(BARPOS=DATACOUNT-4  and KZ[P] >=50,0,KZ[P] ,2,0),COLOR0088FF;

STICKLINE(BARPOS=DATACOUNT-4  and KZ[P]  <50,0,KZ[P] ,40,0),COLORFF8800;
STICKLINE(BARPOS=DATACOUNT-4  and KZ[P]  <50,0,KZ[P] ,35,0),COLORFF9900;
STICKLINE(BARPOS=DATACOUNT-4  and KZ[P]  <50,0,KZ[P] ,27,0),COLORFFAA00;
STICKLINE(BARPOS=DATACOUNT-4  and KZ[P]  <50,0,KZ[P] ,20,0),COLORFFBB00;
STICKLINE(BARPOS=DATACOUNT-4  and KZ[P]  <50,0,KZ[P] ,14,0),COLORFFCC00;
STICKLINE(BARPOS=DATACOUNT-4  and KZ[P]  <50,0,KZ[P] ,9,0),COLORFFDD00;
STICKLINE(BARPOS=DATACOUNT-4  and KZ[P]  <50,0,KZ[P] ,5,0),COLORFFEE00;
STICKLINE(BARPOS=DATACOUNT-4  and KZ[P]  <50,0,KZ[P] ,2,0),COLORFFFF00;
{}
DRAWTEXT(BARPOS=DATACOUNT-30,-14,'K15\n'+NUMTOSTR(K15[p],2)),COLORWHITE;
DRAWTEXT(BARPOS=DATACOUNT-24,-14,'K30\n'+NUMTOSTR(K30[p],2)),COLORWHITE;
DRAWTEXT(BARPOS=DATACOUNT-18,-14,'K60\n'+NUMTOSTR(K60[p],2)),COLORWHITE;
DRAWTEXT(BARPOS=DATACOUNT-12,-14,'KR\n' +NUMTOSTR(KR[p] ,2)),COLORWHITE;
DRAWTEXT(BARPOS=DATACOUNT-6 ,-14,'KZ\n' +NUMTOSTR(KZ[p] ,2)),COLORWHITE;



上一篇:[飞狐]飞狐倒数时间窗源码公式
下一篇:[飞狐]飞狐LLS系统源码公式
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

今日股市|网站地图|股民学校|手机版|小黑屋|股民大家庭 |网站地图24小时在线客服

GMT+8, 2025-1-23 09:13 , Processed in 8.379723 second(s), 27 queries , Gzip On.

Powered by 股民大家庭

© 2007-2019 www.gupiao168.com


快速回复 返回顶部 返回列表