当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:黄金分时买卖(指标 主图 通达信 贴图)
软件名称:[B]黄金分时买卖(指标 主图 通达信 贴图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2016-10-13 00:40:12
软件简介:
网上掏的一个黄金分时买卖,用着感觉还不错,不喜勿喷,谢谢
"GG.CDP#DAY"COLORYELLOW DOTLINE;DRAWNUMBER(CURRBARSCOUNT=1,"GG.CDP#DAY","GG.CDP#DAY"),COLORYELLOW; "GG.AH#DAY",COLORRED; DRAWNUMBER(CURRBARSCOUNT=1,"GG.AH#DAY","GG.AH#DAY"),COLORMAGENTA; "GG.NH#DAY",COLORYELLOW;DRAWNUMBER(CURRBARSCOUNT=1,"GG.NH#DAY","GG.NH#DAY"),COLORCYAN; "GG.NL#DAY",COLORYELLOW;DRAWNUMBER(CURRBARSCOUNT=1,"GG.NL#DAY","GG.NL#DAY"),COLORLICYAN; "GG.AL#DAY",COLORLIRED;DRAWNUMBER(CURRBARSCOUNT=1,"GG.AL#DAY","GG.AL#DAY"),COLORLIMAGENTA; {黄金分割} HH:=CONST(HHV(C,0)); LL:=CONST(LLV(C,0)); HL:=HH-LL; A76:=0.764*HL+LL,COLORCYAN,POINTDOT; A61:=0.618*HL+LL,COLORCYAN,POINTDOT; A38:=0.382*HL+LL,COLORCYAN,POINTDOT; A23:=0.236*HL+LL,COLORCYAN,POINTDOT; A51:=0.495*HL+LL,COLORCYAN,POINTDOT; A52:=0.505*HL+LL,COLORCYAN,POINTDOT; DRAWBAND(HH,RGB(0,30,30),A76,RGB(0,30,30)); DRAWBAND(A23,RGB(0,30,30),LL,RGB(0,30,30)); DRAWBAND(A76,RGB(100,30,100),A61,RGB(100,30,100)); DRAWBAND(A38,RGB(100,30,100),A23,RGB(100,30,100)); DRAWBAND(A61,RGB(100,90,0),A38,RGB(100,90,0)); DRAWBAND(A51,RGB(180,100,100),A52,RGB(180,100,100)); DRAWTEXT(CURRBARSCOUNT=240,HH*0.999,'高'),COLORCYAN; DRAWTEXT(CURRBARSCOUNT=240,LL*1.001,'低'),COLORMAGENTA; DRAWTEXT(CURRBARSCOUNT=240,A76,'压'),COLORCYAN; DRAWTEXT(CURRBARSCOUNT=240,A23,'撑'),COLORMAGENTA; DRAWTEXT(CURRBARSCOUNT=240,A52,'中'),COLOR00FFFF; {分时量} 预测量:="FSKY.预测量#DAY"; 主买:="FSKY.主买#DAY"; 前量:="FSKY.前量#DAY"; 昨量:="FSKY.昨量#DAY"; 今量:="FSKY.今量#DAY"; 前4:="FSKY.前4#DAY"; 前5:="FSKY.前5#DAY"; 前总:=前量; 昨总:=昨量; 总:=今量,NODRAW; BMM:=MAX(前总,昨总); AMM:=IF(总/BMM>2,BMM*3,BMM); MM:=500/AMM; KP:=DYNAINFO(4); ZX:=DYNAINFO(7); A1:=IF(ZX>=KP,255,0); A2:=IF(ZX>=KP,0,255); A3:=IF(ZX>=KP,0,255); DRAWRECTREL(0,160,MM*预测量,190,RGB(90,90,90)); DRAWRECTREL(0,160,MM*今量,190,RGB(A1,A2,A3)); DRAWRECTREL(0,160,MM*主买,190,RGB(250,250,280)); ZO:="FSKY.ZO#DAY"; ZC:="FSKY.ZC#DAY"; A4:=IF(ZC>=ZO,255,0); A5:=IF(ZC>=ZO,0,255); A6:=IF(ZC>=ZO,0,255); DRAWRECTREL(0,120,MM*昨量,150,RGB(A4,A5,A6)); JO:="FSKY.JO#DAY"; JC:="FSKY.JC#DAY"; A7:=IF(JC>=JO,255,0); A8:=IF(JC>=JO,0,255); A9:=IF(JC>=JO,0,255); DRAWRECTREL(0,80,MM*前量,110,RGB(A7,A8,A9)); JO3:="FSKY.JO3#DAY"; JC3:="FSKY.JC3#DAY"; A10:=IF(JC3>=JO3,255,0); A11:=IF(JC3>=JO3,0,255); A12:=IF(JC3>=JO3,0,255); DRAWRECTREL(0,40,MM*前4,70,RGB(A10,A11,A12)); JO4:="FSKY.JO4#DAY"; JC4:="FSKY.JC4#DAY"; A13:=IF(JC4>=JO4,255,0); A14:=IF(JC4>=JO4,0,255); A15:=IF(JC4>=JO4,0,255); DRAWRECTREL(0,0,MM*前5,30,RGB(A13,A14,A15)); {分时K} ZS:=DYNAINFO(3); ZG:=DYNAINFO(5); ZD:=DYNAINFO(6); OP:=500-(KP/ZS-1)*1200; CL:=500-(ZX/ZS-1)*1200; HI:=500-(ZG/ZS-1)*1200; LO:=500-(ZD/ZS-1)*1200; N1:=IF(TIME>=130000 OR TIME<91500,360,860); Z1:=IF(ZX>=KP,255,0); Z2:=IF(ZX>=KP,0,255); Z3:=IF(ZX>=KP,0,255); DRAWRECTREL(N1+35,HI,N1+35,LO,RGB(Z1,Z2,Z3)); Q1:=IF(ZX>=KP,255,0); Q2:=IF(ZX>=KP,0,255); Q3:=IF(ZX>=KP,0,255); DRAWRECTREL(N1+25,OP,N1+45,CL,RGB(Q1,Q2,Q3)); ZH:="FSKY.ZH#DAY"; ZL:="FSKY.ZL#DAY"; ZKP:=500-(ZO/ZS-1)*1200; ZCP:=500-(ZC/ZS-1)*1200; ZZG:=500-(ZH/ZS-1)*1200; ZZD:=500-(ZL/ZS-1)*1200; Z4:=IF(ZC>=ZO,255,0); Z5:=IF(ZC>=ZO,0,255); Z6:=IF(ZC>=ZO,0,255); DRAWRECTREL(N1+5,ZZG,N1+5,ZZD,RGB(Z4,Z5,Z6)); Q4:=IF(ZC>=ZO,255,0); Q5:=IF(ZC>=ZO,0,255); Q6:=IF(ZC>=ZO,0,255); DRAWRECTREL(N1-5,ZKP,N1+15,ZCP,RGB(Q4,Q5,Q6)); JH:="FSKY.JH#DAY"; JL:="FSKY.JL#DAY"; ZZKP:=500-(JO/ZS-1)*1200; ZZCP:=500-(JC/ZS-1)*1200; ZZZG:=500-(JH/ZS-1)*1200; ZZZD:=500-(JL/ZS-1)*1200; Z7:=IF(JC>=JO,255,0); Z8:=IF(JC>=JO,0,255); Z9:=IF(JC>=JO,0,255); DRAWRECTREL(N1-25,ZZZG,N1-25,ZZZD,RGB(Z7,Z8,Z9)); Q7:=IF(JC>=JO,255,0); Q8:=IF(JC>=JO,0,255); Q9:=IF(JC>=JO,0,255); DRAWRECTREL(N1-35,ZZKP,N1-15,ZZCP,RGB(Q7,Q8,Q9)); JH3:="FSKY.JH3#DAY"; JL3:="FSKY.JL3#DAY"; ZZKP3:=500-(JO3/ZS-1)*1200; ZZCP3:=500-(JC3/ZS-1)*1200; ZZZG3:=500-(JH3/ZS-1)*1200; ZZZD3:=500-(JL3/ZS-1)*1200; Z10:=IF(JC3>=JO3,255,0); Z11:=IF(JC3>=JO3,0,255); Z12:=IF(JC3>=JO3,0,255); DRAWRECTREL(N1-55,ZZZG3,N1-55,ZZZD3,RGB(Z10,Z11,Z12)); Q10:=IF(JC3>=JO3,255,0); Q11:=IF(JC3>=JO3,0,255); Q12:=IF(JC3>=JO3,0,255); DRAWRECTREL(N1-65,ZZKP3,N1-45,ZZCP3,RGB(Q10,Q11,Q12)); JH4:="FSKY.JH4#DAY"; JL4:="FSKY.JL4#DAY"; ZZKP4:=500-(JO4/ZS-1)*1200; ZZCP4:=500-(JC4/ZS-1)*1200; ZZZG4:=500-(JH4/ZS-1)*1200; ZZZD4:=500-(JL4/ZS-1)*1200; Z13:=IF(JC4>=JO4,255,0); Z14:=IF(JC4>=JO4,0,255); Z15:=IF(JC4>=JO4,0,255); DRAWRECTREL(N1-85,ZZZG4,N1-85,ZZZD4,RGB(Z13,Z14,Z15)); Q13:=IF(JC4>=JO4,255,0); Q14:=IF(JC4>=JO4,0,255); Q15:=IF(JC4>=JO4,0,255); DRAWRECTREL(N1-95,ZZKP4,N1-75,ZZCP4,RGB(Q13,Q14,Q15)); JO5:="FSKY.JO5#DAY"; JC5:="FSKY.JC5#DAY"; JH5:="FSKY.JH5#DAY"; JL5:="FSKY.JL5#DAY"; ZZKP5:=500-(JO5/ZS-1)*1200; ZZCP5:=500-(JC5/ZS-1)*1200; ZZZG5:=500-(JH5/ZS-1)*1200; ZZZD5:=500-(JL5/ZS-1)*1200; Z16:=IF(JC5>=JO5,255,0); Z17:=IF(JC5>=JO5,0,255); Z18:=IF(JC5>=JO5,0,255); DRAWRECTREL(N1-115,ZZZG5,N1-115,ZZZD5,RGB(Z16,Z17,Z18)); Q16:=IF(JC5>=JO5,255,0); Q17:=IF(JC5>=JO5,0,255); Q18:=IF(JC5>=JO5,0,255); DRAWRECTREL(N1-125,ZZKP5,N1-105,ZZCP5,RGB(Q16,Q17,Q18)); JO6:="FSKY.JO6#DAY"; JC6:="FSKY.JC6#DAY"; JH6:="FSKY.JH6#DAY"; JL6:="FSKY.JL6#DAY"; ZZKP6:=500-(JO6/ZS-1)*1200; ZZCP6:=500-(JC6/ZS-1)*1200; ZZZG6:=500-(JH6/ZS-1)*1200; ZZZD6:=500-(JL6/ZS-1)*1200; Z19:=IF(JC6>=JO6,255,0); Z20:=IF(JC6>=JO6,0,255); Z21:=IF(JC6>=JO6,0,255); DRAWRECTREL(N1-145,ZZZG6,N1-145,ZZZD6,RGB(Z19,Z20,Z21)); Q19:=IF(JC6>=JO6,255,0); Q20:=IF(JC6>=JO6,0,255); Q21:=IF(JC6>=JO6,0,255); DRAWRECTREL(N1-155,ZZKP6,N1-135,ZZCP6,RGB(Q19,Q20,Q21)); JO7:="FSKY.JO7#DAY"; JC7:="FSKY.JC7#DAY"; JH7:="FSKY.JH7#DAY"; JL7:="FSKY.JL7#DAY"; ZZKP7:=500-(JO7/ZS-1)*1200; ZZCP7:=500-(JC7/ZS-1)*1200; ZZZG7:=500-(JH7/ZS-1)*1200; ZZZD7:=500-(JL7/ZS-1)*1200; Z22:=IF(JC7>=JO7,255,0); Z23:=IF(JC7>=JO7,0,255); Z24:=IF(JC7>=JO7,0,255); DRAWRECTREL(N1-175,ZZZG7,N1-175,ZZZD7,RGB(Z22,Z23,Z24)); Q22:=IF(JC7>=JO7,255,0); Q23:=IF(JC7>=JO7,0,255); Q24:=IF(JC7>=JO7,0,255); DRAWRECTREL(N1-185,ZZKP7,N1-165,ZZCP7,RGB(Q22,Q23,Q24)); JO8:="FSKY.JO8#DAY"; JC8:="FSKY.JC8#DAY"; JH8:="FSKY.JH8#DAY"; JL8:="FSKY.JL8#DAY"; ZZKP8:=500-(JO8/ZS-1)*1200; ZZCP8:=500-(JC8/ZS-1)*1200; ZZZG8:=500-(JH8/ZS-1)*1200; ZZZD8:=500-(JL8/ZS-1)*1200; Z25:=IF(JC8>=JO8,255,0); Z26:=IF(JC8>=JO8,0,255); Z27:=IF(JC8>=JO8,0,255); DRAWRECTREL(N1-205,ZZZG8,N1-205,ZZZD8,RGB(Z25,Z26,Z27)); Q25:=IF(JC8>=JO8,255,0); Q26:=IF(JC8>=JO8,0,255); Q27:=IF(JC8>=JO8,0,255); DRAWRECTREL(N1-215,ZZKP8,N1-195,ZZCP8,RGB(Q25,Q26,Q27)); JO9:="FSKY.JO9#DAY"; JC9:="FSKY.JC9#DAY"; JH9:="FSKY.JH9#DAY"; JL9:="FSKY.JL9#DAY"; ZZKP9:=500-(JO9/ZS-1)*1200; ZZCP9:=500-(JC9/ZS-1)*1200; ZZZG9:=500-(JH9/ZS-1)*1200; ZZZD9:=500-(JL9/ZS-1)*1200; Z28:=IF(JC9>=JO9,255,0); Z29:=IF(JC9>=JO9,0,255); Z30:=IF(JC9>=JO9,0,255); DRAWRECTREL(N1-235,ZZZG9,N1-235,ZZZD9,RGB(Z28,Z29,Z30)); Q28:=IF(JC9>=JO9,255,0); Q29:=IF(JC9>=JO9,0,255); Q30:=IF(JC9>=JO9,0,255); DRAWRECTREL(N1-245,ZZKP9,N1-225,ZZCP9,RGB(Q28,Q29,Q30)); MA5:="FSKY.MA5#DAY"; XMA5:=500-(MA5/ZS-1)*1200; DRAWRECTREL(N1+28,XMA5,N1+42,XMA5,RGB(255,255,255)); MA10:="FSKY.MA10#DAY"; XMA10:=500-(MA10/ZS-1
[url=http://www.70822.com/soft/sort013/sort05/down-103626.html]黄金分时买卖(指标 主图 通达信 贴图)[/url]