以文本方式查看主题
- 金字塔客服中心 - 专业程序化交易软件提供商 (http://222.73.7.161/bbs/index.asp)
-- 金字塔软件问题提交 (http://222.73.7.161/bbs/list.asp?boardid=2)
---- 输出调试文件价格问题 (http://222.73.7.161/bbs/dispbbs.asp?boardid=2&id=43943)
|
-- 作者:saveric
-- 发布时间:2012/12/31 16:10:55
-- 输出调试文件价格问题
globalvariable:test=0; if test=0 and time=100000 then begin DEBUGFILE2(\'C:test.txt\',\'现货黄金60分平多爆拉%.2f\' ,close,nt ) ; testmail:=1; ENd
2012-12-31 15:58:03.021 现货黄金60分平多爆拉1702.50 2012-12-31 15:59:03.005 现货黄金60分平多爆拉1700.31 2012-12-31 16:02:20.630 现货黄金60分平多爆拉1700.31 现价为1665,1700整个价格最近几天都没出现过.
|
-- 作者:saveric
-- 发布时间:2012/12/31 16:22:51
--
我对OPEN进行调试输出., If _DEBUGOUT=0 Then Begin DEBUGFILE2(\'c:\\debugfile.txt\',\'open=%.0f\' ,open,nt ) ;
End 发现OPEN都是来回跳动的.现货黄金60分钟周期
2012-12-31 16:20:14.240 open=1697 2012-12-31 16:20:14.240 open=1696 2012-12-31 16:20:14.240 open=1700 2012-12-31 16:20:14.240 open=1699 2012-12-31 16:20:14.255 open=1699 2012-12-31 16:20:14.255 open=1699 2012-12-31 16:20:14.255 open=1699 2012-12-31 16:20:14.255 open=1700 2012-12-31 16:20:14.255 open=1699 2012-12-31 16:20:14.271 open=1700 2012-12-31 16:20:14.271 open=1702 2012-12-31 16:20:14.271 open=1703 2012-12-31 16:20:14.271 open=1703 2012-12-31 16:20:14.271 open=1703 2012-12-31 16:20:14.287 open=1703 2012-12-31 16:20:14.287 open=1701 2012-12-31 16:20:14.287 open=1703 2012-12-31 16:20:14.287 open=1700 2012-12-31 16:20:14.287 open=1700 2012-12-31 16:20:14.302 open=1697 2012-12-31 16:20:14.302 open=1696 2012-12-31 16:20:14.302 open=1697 2012-12-31 16:20:14.302 open=1697 2012-12-31 16:20:14.318 open=1697 2012-12-31 16:20:14.318 open=1700 2012-12-31 16:20:14.318 open=1702 2012-12-31 16:20:14.318 open=1701 2012-12-31 16:20:14.318 open=1702 2012-12-31 16:20:14.333 open=1703 2012-12-31 16:20:14.333 open=1703 2012-12-31 16:20:14.333 open=1705 2012-12-31 16:20:14.333 open=1704 2012-12-31 16:20:14.333 open=1702 2012-12-31 16:20:14.349 open=1704 2012-12-31 16:20:14.349 open=1706 2012-12-31 16:20:14.349 open=1707 2012-12-31 16:20:14.349 open=1706 2012-12-31 16:20:14.349 open=1706 2012-12-31 16:20:14.365 open=1706 2012-12-31 16:20:14.365 open=1709 2012-12-31 16:20:14.365 open=1708 2012-12-31 16:20:14.365 open=1708 2012-12-31 16:20:14.365 open=1711 2012-12-31 16:20:14.380 open=1710 2012-12-31 16:20:14.380 open=1711 2012-12-31 16:20:14.380 open=1712 2012-12-31 16:20:14.380 open=1713 2012-12-31 16:20:14.396 open=1715 2012-12-31 16:20:14.396 open=1714 2012-12-31 16:20:14.396 open=1715 2012-12-31 16:20:14.396 open=1713 2012-12-31 16:20:14.396 open=1713 2012-12-31 16:20:14.412 open=1713 2012-12-31 16:20:14.412 open=1711 2012-12-31 16:20:14.412 open=1712 2012-12-31 16:20:14.412 open=1713 2012-12-31 16:20:14.412 open=1712 2012-12-31 16:20:14.427 open=1711 2012-12-31 16:20:14.427 open=1709 2012-12-31 16:20:14.427 open=1710 2012-12-31 16:20:14.427 open=1710 2012-12-31 16:20:14.443 open=1708 2012-12-31 16:20:14.443 open=1709 2012-12-31 16:20:14.443 open=1709 2012-12-31 16:20:14.443 open=1709 2012-12-31 16:20:14.443 open=1709 2012-12-31 16:20:14.458 open=1709 2012-12-31 16:20:14.458 open=1710 2012-12-31 16:20:14.458 open=1709 2012-12-31 16:20:14.458 open=1712 2012-12-31 16:20:14.458 open=1713 2012-12-31 16:20:14.474 open=1713 2012-12-31 16:20:14.474 open=1708 2012-12-31 16:20:14.474 open=1707 2012-12-31 16:20:14.474 open=1707 2012-12-31 16:20:14.490 open=1708 2012-12-31 16:20:14.490 open=1708 2012-12-31 16:20:14.490 open=1709 2012-12-31 16:20:14.490 open=1710 2012-12-31 16:20:14.490 open=1710 2012-12-31 16:20:14.505 open=1710 2012-12-31 16:20:14.505 open=1709 2012-12-31 16:20:14.505 open=1709 2012-12-31 16:20:14.505 open=1711 2012-12-31 16:20:14.521 open=1711 2012-12-31 16:20:14.521 open=1710 2012-12-31 16:20:14.521 open=1711 2012-12-31 16:20:14.521 open=1711 2012-12-31 16:20:14.537 open=1712 2012-12-31 16:20:14.537 open=1713 2012-12-31 16:20:14.537 open=1715 2012-12-31 16:20:14.537 open=1714 2012-12-31 16:20:14.537 open=1714 2012-12-31 16:20:14.552 open=1714 2012-12-31 16:20:14.552 open=1715 2012-12-31 16:20:14.552 open=1716 2012-12-31 16:20:14.552 open=1717 2012-12-31 16:20:14.568 open=1711 2012-12-31 16:20:14.568 open=1714 2012-12-31 16:20:14.568 open=1721 2012-12-31 16:20:14.568 open=1715 2012-12-31 16:20:14.583 open=1715 2012-12-31 16:20:14.583 open=1711 2012-12-31 16:20:14.583 open=1711 2012-12-31 16:20:14.583 open=1709 2012-12-31 16:20:14.583 open=1709 2012-12-31 16:20:14.599 open=1703 2012-12-31 16:20:14.599 open=1697 2012-12-31 16:20:14.599 open=1701 2012-12-31 16:20:14.599 open=1700 2012-12-31 16:20:14.615 open=1701 2012-12-31 16:20:14.615 open=1698 2012-12-31 16:20:14.615 open=1700 2012-12-31 16:20:14.615 open=1700 2012-12-31 16:20:14.615 open=1697 2012-12-31 16:20:14.630 open=1699 2012-12-31 16:20:14.630 open=1696 2012-12-31 16:20:14.630 open=1693 2012-12-31 16:20:14.630 open=1694 2012-12-31 16:20:14.646 open=1694 2012-12-31 16:20:14.646 open=1693 2012-12-31 16:20:14.646 open=1696 2012-12-31 16:20:14.646 open=1700 2012-12-31 16:20:14.646 open=1697 2012-12-31 16:20:14.662 open=1696 2012-12-31 16:20:14.662 open=1694 2012-12-31 16:20:14.662 open=1697 2012-12-31 16:20:14.662 open=1697 2012-12-31 16:20:14.662 open=1698 2012-12-31 16:20:14.677 open=1697 2012-12-31 16:20:14.677 open=1695 2012-12-31 16:20:14.677 open=1699 2012-12-31 16:20:14.677 open=1698 2012-12-31 16:20:14.677 open=1697 2012-12-31 16:20:14.693 open=1696 2012-12-31 16:20:14.693 open=1698 2012-12-31 16:20:14.693 open=1698 2012-12-31 16:20:14.693 open=1699 2012-12-31 16:20:14.693 open=1697 2012-12-31 16:20:14.708 open=1698 2012-12-31 16:20:14.708 open=1697 2012-12-31 16:20:14.708 open=1696 2012-12-31 16:20:14.708 open=1697 2012-12-31 16:20:14.708 open=1696 2012-12-31 16:20:14.724 open=1697 2012-12-31 16:20:14.724 open=1695 2012-12-31 16:20:14.724 open=1695 2012-12-31 16:20:14.724 open=1695 2012-12-31 16:20:14.724 open=1696 2012-12-31 16:20:14.740 open=1696 2012-12-31 16:20:14.740 open=1694 2012-12-31 16:20:14.740 open=1695 2012-12-31 16:20:14.740 open=1696 2012-12-31 16:20:14.755 open=1695 2012-12-31 16:20:14.755 open=1690 2012-12-31 16:20:14.755 open=1692 2012-12-31 16:20:14.755 open=1691 2012-12-31 16:20:14.755 open=1692 2012-12-31 16:20:14.771 open=1692 2012-12-31 16:20:14.771 open=1691 2012-12-31 16:20:14.771 open=1690 2012-12-31 16:20:14.771 open=1689 2012-12-31 16:20:14.771 open=1690 2012-12-31 16:20:14.787 open=1690 2012-12-31 16:20:14.787 open=1690 2012-12-31 16:20:14.787 open=1692 2012-12-31 16:20:14.787 open=1691 2012-12-31 16:20:14.787 open=1695 2012-12-31 16:20:14.802 open=1696 2012-12-31 16:20:14.802 open=1697 2012-12-31 16:20:14.802 open=1697 2012-12-31 16:20:14.802 open=1696 2012-12-31 16:20:14.818 open=1697 2012-12-31 16:20:14.818 open=1697 2012-12-31 16:20:14.818 open=1698 2012-12-31 16:20:14.818 open=1698 2012-12-31 16:20:14.818 open=1697 2012-12-31 16:20:14.833 open=1697 2012-12-31 16:20:14.833 open=1698 2012-12-31 16:20:14.833 open=1699 2012-12-31 16:20:14.833 open=1700 2012-12-31 16:20:14.833 open=1701 2012-12-31 16:20:14.849 open=1702 2012-12-31 16:20:14.849 open=1702 2012-12-31 16:20:14.849 open=1703 2012-12-31 16:20:14.849 open=1702 2012-12-31 16:20:14.849 open=1701 2012-12-31 16:20:14.865 open=1701 2012-12-31 16:20:14.865 open=1700 2012-12-31 16:20:14.865 open=1698 2012-12-31 16:20:14.865 open=1699 2012-12-31 16:20:14.865 open=1697 2012-12-31 16:20:14.880 open=1696 2012-12-31 16:20:14.880 open=1693 2012-12-31 16:20:14.880 open=1673 2012-12-31 16:20:14.880 open=1676 2012-12-31 16:20:14.896 open=1668 2012-12-31 16:20:14.896 open=1670 2012-12-31 16:20:14.896 open=1673 2012-12-31 16:20:14.896 open=1671 2012-12-31 16:20:14.896 open=1669 2012-12-31 16:20:14.912 open=1676 2012-12-31 16:20:14.912 open=1675 2012-12-31 16:20:14.912 open=1674 2012-12-31 16:20:14.912 open=1676 2012-12-31 16:20:14.912 open=1675 2012-12-31 16:20:14.927 open=1672 2012-12-31 16:20:14.927 open=1675 2012-12-31 16:20:14.927 open=1676 2012-12-31 16:20:14.927 open=1675 2012-12-31 16:20:14.943 open=1675 2012-12-31 16:20:14.943 open=1675 2012-12-31 16:20:14.943 open=1673 2012-12-31 16:20:14.943 open=1667 2012-12-31 16:20:14.943 open=1674 2012-12-31 16:20:14.958 open=1666 2012-12-31 16:20:14.958 open=1667 2012-12-31 16:20:14.958 open=1670 2012-12-31 16:20:14.958 open=1671 2012-12-31 16:20:14.958 open=1669 2012-12-31 16:20:14.974 open=1668 2012-12-31 16:20:14.974 open=1669 2012-12-31 16:20:14.974 open=1669 2012-12-31 16:20:14.974 open=1667 2012-12-31 16:20:14.990 open=1663 2012-12-31 16:20:14.990 open=1668 2012-12-31 16:20:14.990 open=1667 2012-12-31 16:20:14.990 open=1667
|
-- 作者:jinzhe
-- 发布时间:2012/12/31 16:25:34
--
nt是什么?
|
-- 作者:jinzhe
-- 发布时间:2012/12/31 16:27:20
--
本地测试,开盘价没有变动,楼主能否先检测下自己的代码?
此主题相关图片如下:qq截图20121231162642.png
![dvubb 图片点击可在新窗口打开查看](UploadFile/2012-12/2012123116264769700.png)
|
-- 作者:saveric
-- 发布时间:2012/12/31 16:37:58
--
谢谢,加上ISLASTBAR解决掉了这个问题了
|
-- 作者:saveric
-- 发布时间:2012/12/31 16:46:36
-- 旧问题解决了,新问题来来了
2012-12-31 16:43:41.943 现货黄金60分平多爆拉1664.25 2012-12-31 16:43:42.068 现货黄金60分平多爆拉1664.25 2012-12-31 16:43:43.224 现货黄金60分平多爆拉1664.25 2012-12-31 16:43:44.771 现货黄金60分平多爆拉1664.25 2012-12-31 16:43:46.224 现货黄金60分平多爆拉1664.25 2012-12-31 16:43:47.771 现货黄金60分平多爆拉1664.25 2012-12-31 16:43:49.271 现货黄金60分平多爆拉1664.25 2012-12-31 16:43:50.740 现货黄金60分平多爆拉1664.25 2012-12-31 16:43:52.224 现货黄金60分平多爆拉1664.25 2012-12-31 16:43:53.740 现货黄金60分平多爆拉1664.25 2012-12-31 16:43:55.287 现货黄金60分平多爆拉1664.25 2012-12-31 16:43:56.724 现货黄金60分平多爆拉1664.25 2012-12-31 16:43:58.318 现货黄金60分平多爆拉1664.25 2012-12-31 16:43:59.771 现货黄金60分平多爆拉1664.25 2012-12-31 16:44:01.224 现货黄金60分平多爆拉1664.25 2012-12-31 16:44:02.818 现货黄金60分平多爆拉1664.25 2012-12-31 16:44:04.224 现货黄金60分平多爆拉1664.25 2012-12-31 16:44:06.099 现货黄金60分平多爆拉1664.25
价格是对了,但是一直发个不停.
globalvariable:testmail=0; if testmail=0 and time=110000 and islastbar then begin DEBUGFILE2(\'c:\\mail\\queue\\mail.txt\',\'现货黄金60分平多爆拉%.2f\' ,open,1) ; testmail:=1; ENd
加了全局也控制不住哦.
|
-- 作者:saveric
-- 发布时间:2012/12/31 16:50:19
--
2012-12-31 16:48:39.037 现货黄金60分平多爆拉1700.35 去掉ISLASTBAR 显示发出记录就一条,但是价格又不对了.
|
-- 作者:jinzhe
-- 发布时间:2012/12/31 16:52:56
--
逐k要加islastbar
|
-- 作者:saveric
-- 发布时间:2012/12/31 16:56:44
-- 如果控制重复的
加上后,重复发一大堆的, 怎么去解决?
|