将筹码堆积改成通达信格式

[通达信] 8594 5
设置
974683 Lv.1

专栏

发表于 2007-7-2 19:58 复制 显示全部楼层 正序浏览 |
跳转到指定楼层
哪位大哥可以帮忙把筹码堆积改成通达信格式的.在下感激不尽



{筹码堆积}
a:=barscount(c);
a1:=sysparam(1);
a2:=sysparam(2);
a3:=sysparam(3);
a4:=sysparam(4);
a5:=sysparam(5);
drawbkbmp(1,'jfsk');
n:=a3-a2+1;
m:=a-a2+1;
区间:m,linethick0;
hl:=(a4-a5)/50;
vs:=if(a>=a2 and a1>=a,v,0);
b1:=if(between(c,a4-0*hl,a4-1*hl),vs,0);
b2:=if(between(c,a4-1*hl,a4-2*hl),vs,0);
b3:=if(between(c,a4-2*hl,a4-3*hl),vs,0);
b4:=if(between(c,a4-3*hl,a4-4*hl),vs,0);
b5:=if(between(c,a4-4*hl,a4-5*hl),vs,0);
b6:=if(between(c,a4-5*hl,a4-6*hl),vs,0);
b7:=if(between(c,a4-6*hl,a4-7*hl),vs,0);
b8:=if(between(c,a4-7*hl,a4-8*hl),vs,0);
b9:=if(between(c,a4-8*hl,a4-9*hl),vs,0);
b10:=if(between(c,a4-9*hl,a4-10*hl),vs,0);
b11:=if(between(c,a4-10*hl,a4-11*hl),vs,0);
b12:=if(between(c,a4-11*hl,a4-12*hl),vs,0);
b13:=if(between(c,a4-12*hl,a4-13*hl),vs,0);
b14:=if(between(c,a4-13*hl,a4-14*hl),vs,0);
b15:=if(between(c,a4-14*hl,a4-15*hl),vs,0);
b16:=if(between(c,a4-15*hl,a4-16*hl),vs,0);
b17:=if(between(c,a4-16*hl,a4-17*hl),vs,0);
b18:=if(between(c,a4-17*hl,a4-18*hl),vs,0);
b19:=if(between(c,a4-18*hl,a4-19*hl),vs,0);
b20:=if(between(c,a4-19*hl,a4-20*hl),vs,0);
b21:=if(between(c,a4-20*hl,a4-21*hl),vs,0);
b22:=if(between(c,a4-21*hl,a4-22*hl),vs,0);
b23:=if(between(c,a4-22*hl,a4-23*hl),vs,0);
b24:=if(between(c,a4-23*hl,a4-24*hl),vs,0);
b25:=if(between(c,a4-24*hl,a4-25*hl),vs,0);
b26:=if(between(c,a4-25*hl,a4-26*hl),vs,0);
b27:=if(between(c,a4-26*hl,a4-27*hl),vs,0);
b28:=if(between(c,a4-27*hl,a4-28*hl),vs,0);
b29:=if(between(c,a4-28*hl,a4-29*hl),vs,0);
b30:=if(between(c,a4-29*hl,a4-30*hl),vs,0);
b31:=if(between(c,a4-30*hl,a4-31*hl),vs,0);
b32:=if(between(c,a4-31*hl,a4-32*hl),vs,0);
b33:=if(between(c,a4-32*hl,a4-33*hl),vs,0);
b34:=if(between(c,a4-33*hl,a4-34*hl),vs,0);
b35:=if(between(c,a4-34*hl,a4-35*hl),vs,0);
b36:=if(between(c,a4-35*hl,a4-36*hl),vs,0);
b37:=if(between(c,a4-36*hl,a4-37*hl),vs,0);
b38:=if(between(c,a4-37*hl,a4-38*hl),vs,0);
b39:=if(between(c,a4-38*hl,a4-39*hl),vs,0);
b40:=if(between(c,a4-39*hl,a4-40*hl),vs,0);
b41:=if(between(c,a4-40*hl,a4-41*hl),vs,0);
b42:=if(between(c,a4-41*hl,a4-42*hl),vs,0);
b43:=if(between(c,a4-42*hl,a4-43*hl),vs,0);
b44:=if(between(c,a4-43*hl,a4-44*hl),vs,0);
b45:=if(between(c,a4-44*hl,a4-45*hl),vs,0);
b46:=if(between(c,a4-45*hl,a4-46*hl),vs,0);
b47:=if(between(c,a4-46*hl,a4-47*hl),vs,0);
b48:=if(between(c,a4-47*hl,a4-48*hl),vs,0);
b49:=if(between(c,a4-48*hl,a4-49*hl),vs,0);
b50:=if(between(c,a4-49*hl,a4-50*hl),vs,0);
v1:=strtonum(numtostr(if(islastbar,sum(b1,n),0),2));
v2:=strtonum(numtostr(if(islastbar,sum(b2,n),0),2));
v3:=strtonum(numtostr(if(islastbar,sum(b3,n),0),2));
v4:=strtonum(numtostr(if(islastbar,sum(b4,n),0),2));
v5:=strtonum(numtostr(if(islastbar,sum(b5,n),0),2));
v6:=strtonum(numtostr(if(islastbar,sum(b6,n),0),2));
v7:=strtonum(numtostr(if(islastbar,sum(b7,n),0),2));
v8:=strtonum(numtostr(if(islastbar,sum(b8,n),0),2));
v9:=strtonum(numtostr(if(islastbar,sum(b9,n),0),2));
v10:=strtonum(numtostr(if(islastbar,sum(b10,n),0),2));
v11:=strtonum(numtostr(if(islastbar,sum(b11,n),0),2));
v12:=strtonum(numtostr(if(islastbar,sum(b12,n),0),2));
v13:=strtonum(numtostr(if(islastbar,sum(b13,n),0),2));
v14:=strtonum(numtostr(if(islastbar,sum(b14,n),0),2));
v15:=strtonum(numtostr(if(islastbar,sum(b15,n),0),2));
v16:=strtonum(numtostr(if(islastbar,sum(b16,n),0),2));
v17:=strtonum(numtostr(if(islastbar,sum(b17,n),0),2));
v18:=strtonum(numtostr(if(islastbar,sum(b18,n),0),2));
v19:=strtonum(numtostr(if(islastbar,sum(b19,n),0),2));
v20:=strtonum(numtostr(if(islastbar,sum(b20,n),0),2));
v21:=strtonum(numtostr(if(islastbar,sum(b21,n),0),2));
v22:=strtonum(numtostr(if(islastbar,sum(b22,n),0),2));
v23:=strtonum(numtostr(if(islastbar,sum(b23,n),0),2));
v24:=strtonum(numtostr(if(islastbar,sum(b24,n),0),2));
v25:=strtonum(numtostr(if(islastbar,sum(b25,n),0),2));
v26:=strtonum(numtostr(if(islastbar,sum(b26,n),0),2));
v27:=strtonum(numtostr(if(islastbar,sum(b27,n),0),2));
v28:=strtonum(numtostr(if(islastbar,sum(b28,n),0),2));
v29:=strtonum(numtostr(if(islastbar,sum(b29,n),0),2));
v30:=strtonum(numtostr(if(islastbar,sum(b30,n),0),2));
v31:=strtonum(numtostr(if(islastbar,sum(b31,n),0),2));
v32:=strtonum(numtostr(if(islastbar,sum(b32,n),0),2));
v33:=strtonum(numtostr(if(islastbar,sum(b33,n),0),2));
v34:=strtonum(numtostr(if(islastbar,sum(b34,n),0),2));
v35:=strtonum(numtostr(if(islastbar,sum(b35,n),0),2));
v36:=strtonum(numtostr(if(islastbar,sum(b36,n),0),2));
v37:=strtonum(numtostr(if(islastbar,sum(b37,n),0),2));
v38:=strtonum(numtostr(if(islastbar,sum(b38,n),0),2));
v39:=strtonum(numtostr(if(islastbar,sum(b39,n),0),2));
v40:=strtonum(numtostr(if(islastbar,sum(b40,n),0),2));
v41:=strtonum(numtostr(if(islastbar,sum(b41,n),0),2));
v42:=strtonum(numtostr(if(islastbar,sum(b42,n),0),2));
v43:=strtonum(numtostr(if(islastbar,sum(b43,n),0),2));
v44:=strtonum(numtostr(if(islastbar,sum(b44,n),0),2));
v45:=strtonum(numtostr(if(islastbar,sum(b45,n),0),2));
v46:=strtonum(numtostr(if(islastbar,sum(b46,n),0),2));
v47:=strtonum(numtostr(if(islastbar,sum(b47,n),0),2));
v48:=strtonum(numtostr(if(islastbar,sum(b48,n),0),2));
v49:=strtonum(numtostr(if(islastbar,sum(b49,n),0),2));
v50:=strtonum(numtostr(if(islastbar,sum(b50,n),0),2));
zd:=max(v1,max(v2,max(v3,max(v4,max(v5,max(v6,max(v7,max(v8,max(v9,max(v10,max(v11,max(v12,max(v13,max(v14,max(v15,max(v16,max(v17,max(v18,max(v19,max(v20,max(v21,max(v22,max(v23,max(v24,max(v25,max(v26,max(v27,max(v28,max(v29,max(v30,max(v31,max(v32,max(v33,max(v34,max(v35,max(v36,max(v37,max(v38,max(v39,max(v40,max(v41,max(v42,max(v43,max(v44,max(v45,max(v46,max(v47,max(v48,max(v49,v50)))))))))))))))))))))))))))))))))))))))))))))))));
峰尖量:zd/finance(7),linethick0,colorff00;
峰尖价:if(zd=v1,a4-1*hl,if(zd=v2,a4-2*hl,if(zd=v3,a4-3*hl,if(zd=v4,a4-4*hl,if(zd=v5,a4-5*hl,if(zd=v6,a4-6*hl,if(zd=v7,a4-7*hl,if(zd=v8,a4-8*hl,if(zd=v9,a4-9*hl,if(zd=v10,a4-10*hl,if(zd=v11,a4-11*hl,if(zd=v12,a4-12*hl,if(zd=v13,a4-13*hl,if(zd=v14,a4-14*hl,if(zd=v15,a4-15*hl,if(zd=v16,a4-16*hl,if(zd=v17,a4-17*hl,if(zd=v18,a4-18*hl,if(zd=v19,a4-19*hl,if(zd=v20,a4-20*hl,if(zd=v21,a4-21*hl,if(zd=v22,a4-22*hl,if(zd=v23,a4-23*hl,if(zd=v24,a4-24*hl,if(zd=v25,a4-25*hl,if(zd=v26,a4-26*hl,if(zd=v27,a4-27*hl,if(zd=v28,a4-28*hl,if(zd=v29,a4-29*hl,if(zd=v30,a4-30*hl,if(zd=v31,a4-31*hl,if(zd=v32,a4-32*hl,if(zd=v33,a4-33*hl,if(zd=v34,a4-34*hl,if(zd=v35,a4-35*hl,if(zd=v36,a4-36*hl,if(zd=v37,a4-37*hl,if(zd=v38,a4-38*hl,if(zd=v39,a4-39*hl,if(zd=v40,a4-40*hl,if(zd=v41,a4-41*hl,if(zd=v42,a4-42*hl,if(zd=v43,a4-43*hl,if(zd=v44,a4-44*hl,if(zd=v45,a4-45*hl,if(zd=v46,a4-46*hl,if(zd=v47,a4-47*hl,if(zd=v48,a4-48*hl,if(zd=v49,a4-49*hl,if(zd=v50,a4-50*hl,0)))))))))))))))))))))))))))))))))))))))))))))))))),linethick0,colorffff;
y:=sysparam(6);
jsl:=if(y>=a4-1*hl,v1,if(y>=a4-2*hl,v2,if(y>=a4-3*hl,v3,if(y>=a4-4*hl,v4,if(y>=a4-5*hl,v5,if(y>=a4-6*hl,v6,if(y>=a4-7*hl,v7,if(y>=a4-8*hl,v8,if(y>=a4-9*hl,v9,if(y>=a4-10*hl,v10,if(y>=a4-11*hl,v11,if(y>=a4-12*hl,v12,if(y>=a4-13*hl,v13,if(y>=a4-14*hl,v14,if(y>=a4-15*hl,v15,if(y>=a4-16*hl,v16,if(y>=a4-17*hl,v17,if(y>=a4-18*hl,v18,if(y>=a4-19*hl,v19,if(y>=a4-20*hl,v20,if(y>=a4-21*hl,v21,if(y>=a4-22*hl,v22,if(y>=a4-23*hl,v23,if(y>=a4-24*hl,v24,if(y>=a4-25*hl,v25,if(y>=a4-26*hl,v26,if(y>=a4-27*hl,v27,if(y>=a4-28*hl,v28,if(y>=a4-29*hl,v29,if(y>=a4-30*hl,v30,if(y>=a4-31*hl,v31,if(y>=a4-32*hl,v32,if(y>=a4-33*hl,v33,if(y>=a4-34*hl,v34,if(y>=a4-35*hl,v35,if(y>=a4-36*hl,v36,if(y>=a4-37*hl,v37,if(y>=a4-38*hl,v38,if(y>=a4-39*hl,v39,if(y>=a4-40*hl,v40,if(y>=a4-41*hl,v41,if(y>=a4-42*hl,v42,if(y>=a4-43*hl,v43,if(y>=a4-44*hl,v44,if(y>=a4-45*hl,v45,if(y>=a4-46*hl,v46,if(y>=a4-47*hl,v47,if(y>=a4-48*hl,v48,if(y>=a4-49*hl,v49,if(y>=a4-50*hl,v50,0))))))))))))))))))))))))))))))))))))))))))))))))))/finance(7);
stickline(v1/zd>=m/n,a4-1*hl,a4-1*hl,10,0),colordddddd;
stickline(v2/zd>=m/n,a4-2*hl,a4-2*hl,10,0),colordddddd;
stickline(v3/zd>=m/n,a4-3*hl,a4-3*hl,10,0),colordddddd;
stickline(v4/zd>=m/n,a4-4*hl,a4-4*hl,10,0),colordddddd;
stickline(v5/zd>=m/n,a4-5*hl,a4-5*hl,10,0),colordddddd;
stickline(v6/zd>=m/n,a4-6*hl,a4-6*hl,10,0),colordddddd;
stickline(v7/zd>=m/n,a4-7*hl,a4-7*hl,10,0),colordddddd;
stickline(v8/zd>=m/n,a4-8*hl,a4-8*hl,10,0),colordddddd;
stickline(v9/zd>=m/n,a4-9*hl,a4-9*hl,10,0),colordddddd;
stickline(v10/zd>=m/n,a4-10*hl,a4-10*hl,10,0),colordddddd;
stickline(v11/zd>=m/n,a4-11*hl,a4-11*hl,10,0),colordddddd;
stickline(v12/zd>=m/n,a4-12*hl,a4-12*hl,10,0),colordddddd;
stickline(v13/zd>=m/n,a4-13*hl,a4-13*hl,10,0),colordddddd;
stickline(v14/zd>=m/n,a4-14*hl,a4-14*hl,10,0),colordddddd;
stickline(v15/zd>=m/n,a4-15*hl,a4-15*hl,10,0),colordddddd;
stickline(v16/zd>=m/n,a4-16*hl,a4-16*hl,10,0),colordddddd;
stickline(v17/zd>=m/n,a4-17*hl,a4-17*hl,10,0),colordddddd;
stickline(v18/zd>=m/n,a4-18*hl,a4-18*hl,10,0),colordddddd;
stickline(v19/zd>=m/n,a4-19*hl,a4-19*hl,10,0),colordddddd;
stickline(v20/zd>=m/n,a4-20*hl,a4-20*hl,10,0),colordddddd;
stickline(v21/zd>=m/n,a4-21*hl,a4-21*hl,10,0),colordddddd;
stickline(v22/zd>=m/n,a4-22*hl,a4-22*hl,10,0),colordddddd;
stickline(v23/zd>=m/n,a4-23*hl,a4-23*hl,10,0),colordddddd;
stickline(v24/zd>=m/n,a4-24*hl,a4-24*hl,10,0),colordddddd;
stickline(v25/zd>=m/n,a4-25*hl,a4-25*hl,10,0),colordddddd;
stickline(v26/zd>=m/n,a4-26*hl,a4-26*hl,10,0),colordddddd;
stickline(v27/zd>=m/n,a4-27*hl,a4-27*hl,10,0),colordddddd;
stickline(v28/zd>=m/n,a4-28*hl,a4-28*hl,10,0),colordddddd;
stickline(v29/zd>=m/n,a4-29*hl,a4-29*hl,10,0),colordddddd;
stickline(v30/zd>=m/n,a4-30*hl,a4-30*hl,10,0),colordddddd;
stickline(v31/zd>=m/n,a4-31*hl,a4-31*hl,10,0),colordddddd;
stickline(v32/zd>=m/n,a4-32*hl,a4-32*hl,10,0),colordddddd;
stickline(v33/zd>=m/n,a4-33*hl,a4-33*hl,10,0),colordddddd;
stickline(v34/zd>=m/n,a4-34*hl,a4-34*hl,10,0),colordddddd;
stickline(v35/zd>=m/n,a4-35*hl,a4-35*hl,10,0),colordddddd;
stickline(v36/zd>=m/n,a4-36*hl,a4-36*hl,10,0),colordddddd;
stickline(v37/zd>=m/n,a4-37*hl,a4-37*hl,10,0),colordddddd;
stickline(v38/zd>=m/n,a4-38*hl,a4-38*hl,10,0),colordddddd;
stickline(v39/zd>=m/n,a4-39*hl,a4-39*hl,10,0),colordddddd;
stickline(v40/zd>=m/n,a4-40*hl,a4-40*hl,10,0),colordddddd;
stickline(v41/zd>=m/n,a4-41*hl,a4-41*hl,10,0),colordddddd;
stickline(v42/zd>=m/n,a4-42*hl,a4-42*hl,10,0),colordddddd;
stickline(v43/zd>=m/n,a4-43*hl,a4-43*hl,10,0),colordddddd;
stickline(v44/zd>=m/n,a4-44*hl,a4-44*hl,10,0),colordddddd;
stickline(v45/zd>=m/n,a4-45*hl,a4-45*hl,10,0),colordddddd;
stickline(v46/zd>=m/n,a4-46*hl,a4-46*hl,10,0),colordddddd;
stickline(v47/zd>=m/n,a4-47*hl,a4-47*hl,10,0),colordddddd;
stickline(v48/zd>=m/n,a4-48*hl,a4-48*hl,10,0),colordddddd;
stickline(v49/zd>=m/n,a4-49*hl,a4-49*hl,10,0),colordddddd;
stickline(v50/zd>=m/n,a4-50*hl,a4-50*hl,10,0),colordddddd;
stickline(a4-1*hl<=y and v1/zd>=m/n,a4-1*hl,a4-1*hl,10,0),color99ffff;
stickline(a4-2*hl<=y and v2/zd>=m/n,a4-2*hl,a4-2*hl,10,0),color99ffff;
stickline(a4-3*hl<=y and v3/zd>=m/n,a4-3*hl,a4-3*hl,10,0),color99ffff;
stickline(a4-4*hl<=y and v4/zd>=m/n,a4-4*hl,a4-4*hl,10,0),color99ffff;
stickline(a4-5*hl<=y and v5/zd>=m/n,a4-5*hl,a4-5*hl,10,0),color99ffff;
stickline(a4-6*hl<=y and v6/zd>=m/n,a4-6*hl,a4-6*hl,10,0),color99ffff;
stickline(a4-7*hl<=y and v7/zd>=m/n,a4-7*hl,a4-7*hl,10,0),color99ffff;
stickline(a4-8*hl<=y and v8/zd>=m/n,a4-8*hl,a4-8*hl,10,0),color99ffff;
stickline(a4-9*hl<=y and v9/zd>=m/n,a4-9*hl,a4-9*hl,10,0),color99ffff;
stickline(a4-10*hl<=y and v10/zd>=m/n,a4-10*hl,a4-10*hl,10,0),color99ffff;
stickline(a4-11*hl<=y and v11/zd>=m/n,a4-11*hl,a4-11*hl,10,0),color99ffff;
stickline(a4-12*hl<=y and v12/zd>=m/n,a4-12*hl,a4-12*hl,10,0),color99ffff;
stickline(a4-13*hl<=y and v13/zd>=m/n,a4-13*hl,a4-13*hl,10,0),color99ffff;
stickline(a4-14*hl<=y and v14/zd>=m/n,a4-14*hl,a4-14*hl,10,0),color99ffff;
stickline(a4-15*hl<=y and v15/zd>=m/n,a4-15*hl,a4-15*hl,10,0),color99ffff;
stickline(a4-16*hl<=y and v16/zd>=m/n,a4-16*hl,a4-16*hl,10,0),color99ffff;
stickline(a4-17*hl<=y and v17/zd>=m/n,a4-17*hl,a4-17*hl,10,0),color99ffff;
stickline(a4-18*hl<=y and v18/zd>=m/n,a4-18*hl,a4-18*hl,10,0),color99ffff;
stickline(a4-19*hl<=y and v19/zd>=m/n,a4-19*hl,a4-19*hl,10,0),color99ffff;
stickline(a4-20*hl<=y and v20/zd>=m/n,a4-20*hl,a4-20*hl,10,0),color99ffff;
stickline(a4-21*hl<=y and v21/zd>=m/n,a4-21*hl,a4-21*hl,10,0),color99ffff;
stickline(a4-22*hl<=y and v22/zd>=m/n,a4-22*hl,a4-22*hl,10,0),color99ffff;
stickline(a4-23*hl<=y and v23/zd>=m/n,a4-23*hl,a4-23*hl,10,0),color99ffff;
stickline(a4-24*hl<=y and v24/zd>=m/n,a4-24*hl,a4-24*hl,10,0),color99ffff;
stickline(a4-25*hl<=y and v25/zd>=m/n,a4-25*hl,a4-25*hl,10,0),color99ffff;
stickline(a4-26*hl<=y and v26/zd>=m/n,a4-26*hl,a4-26*hl,10,0),color99ffff;
stickline(a4-27*hl<=y and v27/zd>=m/n,a4-27*hl,a4-27*hl,10,0),color99ffff;
stickline(a4-28*hl<=y and v28/zd>=m/n,a4-28*hl,a4-28*hl,10,0),color99ffff;
stickline(a4-29*hl<=y and v29/zd>=m/n,a4-29*hl,a4-29*hl,10,0),color99ffff;
stickline(a4-30*hl<=y and v30/zd>=m/n,a4-30*hl,a4-30*hl,10,0),color99ffff;
stickline(a4-31*hl<=y and v31/zd>=m/n,a4-31*hl,a4-31*hl,10,0),color99ffff;
stickline(a4-32*hl<=y and v32/zd>=m/n,a4-32*hl,a4-32*hl,10,0),color99ffff;
stickline(a4-33*hl<=y and v33/zd>=m/n,a4-33*hl,a4-33*hl,10,0),color99ffff;
stickline(a4-34*hl<=y and v34/zd>=m/n,a4-34*hl,a4-34*hl,10,0),color99ffff;
stickline(a4-35*hl<=y and v35/zd>=m/n,a4-35*hl,a4-35*hl,10,0),color99ffff;
stickline(a4-36*hl<=y and v36/zd>=m/n,a4-36*hl,a4-36*hl,10,0),color99ffff;
stickline(a4-37*hl<=y and v37/zd>=m/n,a4-37*hl,a4-37*hl,10,0),color99ffff;
stickline(a4-38*hl<=y and v38/zd>=m/n,a4-38*hl,a4-38*hl,10,0),color99ffff;
stickline(a4-39*hl<=y and v39/zd>=m/n,a4-39*hl,a4-39*hl,10,0),color99ffff;
stickline(a4-40*hl<=y and v40/zd>=m/n,a4-40*hl,a4-40*hl,10,0),color99ffff;
stickline(a4-41*hl<=y and v41/zd>=m/n,a4-41*hl,a4-41*hl,10,0),color99ffff;
stickline(a4-42*hl<=y and v42/zd>=m/n,a4-42*hl,a4-42*hl,10,0),color99ffff;
stickline(a4-43*hl<=y and v43/zd>=m/n,a4-43*hl,a4-43*hl,10,0),color99ffff;
stickline(a4-44*hl<=y and v44/zd>=m/n,a4-44*hl,a4-44*hl,10,0),color99ffff;
stickline(a4-45*hl<=y and v45/zd>=m/n,a4-45*hl,a4-45*hl,10,0),color99ffff;
stickline(a4-46*hl<=y and v46/zd>=m/n,a4-46*hl,a4-46*hl,10,0),color99ffff;
stickline(a4-47*hl<=y and v47/zd>=m/n,a4-47*hl,a4-47*hl,10,0),color99ffff;
stickline(a4-48*hl<=y and v48/zd>=m/n,a4-48*hl,a4-48*hl,10,0),color99ffff;
stickline(a4-49*hl<=y and v49/zd>=m/n,a4-49*hl,a4-49*hl,10,0),color99ffff;
stickline(a4-50*hl<=y and v50/zd>=m/n,a4-50*hl,a4-50*hl,10,0),color99ffff;
总量:=sum(if(between(c,a4-0*hl,a4-50*hl),vs,0),n);
e:=if(a>=a2 and a1>=a,amount,0);
总额:=sum(if(between(c,a4-0*hl,a4-50*hl),e,0),n);
jj:=总额/总量/100;
均价:jj,colorffff00;
partline(m>n/1.6,均价),color444444;
总手:=sum(if(between(c,a4-0*hl,a4-50*hl),v,0),n)/finance(7);
yn:=sum(if(c<=y,v,0),n)/finance(7);
获利:yn/总手*100,linethick0,colorff;
t0:='峰尖价/'+numtostr(峰尖价,2)+' 峰尖量/'+numtostr(峰尖量,2)+'%';
explain(1,t0),colorffff;
explainex(总手,'总筹码: ',总手,2,0),colorff00;
explainex(yn,'套牢筹码: ',总手-yn,2,0),colorff00;
explainex(yn,'获利筹码: ',yn,2,0),colorff;
explainex(1,'获利比例: ',获利,2,0),colorff;
t1:=''+numtostr(y,2)+' 处堆积筹码: '+numtostr(jsl,2)+'%';
explain(1,t1),colorff00;
explain(1,'----------------------------');
t2:='总筹码/'+numtostr(总手,2)+'%'+'  均价/'+numtostr(均价,2);
explain(1,t2),colorffff;
t3:=''+numtostr(y,2)+' 上套牢筹码: '+numtostr(总手-yn,2)+'%';
explain(1,t3),colorff00;
t4:=''+numtostr(y,2)+' 下获利筹码: '+numtostr(yn,2)+'%';
explain(1,t4),colorff;
t5:=''+numtostr(y,2)+' 下获利比例: '+numtostr(获利,2)+'%';
explain(1,t5),colorff;
hh:=hhv(h,n);
ll:=llv(l,n);
w:=barpos=sysparam(3);
zh:=hh;
zl:=ll;
p1:=zl+(zh-zl)*0.191;
p2:=zl+(zh-zl)*0.382;
p3:=zl+(zh-zl)*0.5;
p4:=zl+(zh-zl)*0.618;
p5:=zl+(zh-zl)*0.809;
drawnumber(w,zh,zh,2),align2,colorffff;
drawnumber(w,zl+(zh-zl)*0.191,p1,2),align2,colorffff;
drawnumber(w,zl+(zh-zl)*0.382,p2,2),align2,colorffff;
drawnumber(w,zl+(zh-zl)*0.5,p3,2),align2,colorffff;
drawnumber(w,zl+(zh-zl)*0.618,p4,2),align2,colorffff;
drawnumber(w,zl+(zh-zl)*0.809,p5,2),align2,colorffff;
drawnumber(w,zl,zl,2),align2,colorffff;
stickline(c>=o,c,o,6.6,1),colorff;
stickline(c>=o,l,o,0.1,0),colorff;
stickline(c>=o,c,h,0.1,0),colorff;
stickline(c<o,c,o,6.6,0),colorffff00;
stickline(c<o,h,l,0.1,0),colorffff00;
来自 广东省东莞市

举报

使用道具 扔鸡蛋 回复

2182077
Lv.5

专栏

发表于 2010-8-29 22:11 复制 查看全部楼层
游客,您是(游客)级别,无法查看回复内容,请登录论坛并到新手区学习升级之后才能查看。升级指南请看...
来自 山东省

举报

使用道具 支持 扔鸡蛋 回复

969630
Lv.2

专栏

发表于 2007-8-17 17:14 复制 查看全部楼层
游客,您是(游客)级别,无法查看回复内容,请登录论坛并到新手区学习升级之后才能查看。升级指南请看...
来自 广东省深圳市

举报

使用道具 点亮 支持 扔鸡蛋 回复

943524
Lv.3

专栏

发表于 2007-7-14 23:33 复制 查看全部楼层
游客,您是(游客)级别,无法查看回复内容,请登录论坛并到新手区学习升级之后才能查看。升级指南请看...
来自 安徽省黄山市

举报

使用道具 点亮 支持 扔鸡蛋 回复

65167
Lv.3

专栏

发表于 2007-7-14 22:15 复制 查看全部楼层
游客,您是(游客)级别,无法查看回复内容,请登录论坛并到新手区学习升级之后才能查看。升级指南请看...
来自 广东省茂名市

举报

使用道具 支持 扔鸡蛋 回复

862633
Lv.2

专栏

发表于 2007-7-14 21:54 复制 查看全部楼层
游客,您是(游客)级别,无法查看回复内容,请登录论坛并到新手区学习升级之后才能查看。升级指南请看...
来自 上海市

举报

使用道具 点亮 支持 扔鸡蛋 回复

您需要登录后才可以回帖 登录

本版积分规则 《理想财富服务协议》《免责声明》

0楼
5楼
4楼
3楼
2楼
楼主
站长推荐 /8
回顶部 到页底
快速回复 返回顶部 返回列表