Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共48 条记录, 每页显示 10 条, 页签: [1] [2][3][4][5]
[浏览完整版]

标题:手机监控助手问题

1楼
wcq1983 发表于:2016/9/1 17:01:02
帮我加上指定在每天15点15分时间发短信的代码好吗
variable:duo=0,kong=0;

if bkt and duo=1 and currenttime>145900 and currenttime<=150000 then begin
    sendphonemsg('公式模型运行方向多',1);
end
 
if skt and kong=1 and currenttime>145900 and currenttime<=150000  then begin
    sendphonemsg('公式模型运行方向空',1);
end
 
if time=closetime(0) then begin
   duo:=0;
   kong:=0;
end

2楼
wenarm 发表于:2016/9/1 17:13:54

这这段代码不是已经有想手机监控发消息的语句了吗?你是需要什么?

3楼
wcq1983 发表于:2016/9/1 17:21:08
我是需要在指定时间在14点50分发送短信    上面发短信的时间是在14点59分至15点之间的时间段   我想改一下固定时间
4楼
wenarm 发表于:2016/9/1 17:32:22
帮你在时间上改成了,14:55:00到14:55:30
使用的是一个时段作为判断,保证其执行效果。时间你可以自己改的。
要是只要在14:55分则用 if bkt and duo=1 and currenttime = 145500 then begin
 
variable:duo=0,kong=0;

if bkt and duo=1 and currenttime>145500 and currenttime<=145530 then begin
    sendphonemsg('公式模型运行方向多',1);
end
 
if skt and kong=1 and currenttime>145500 and currenttime<=145530  then begin
    sendphonemsg('公式模型运行方向空',1);
end
 
if time=closetime(0) then begin
   duo:=0;
   kong:=0;
end
5楼
wcq1983 发表于:2016/9/1 17:45:23
我在上传策略报告至共享中心的时候为什么会有
图片点击可在新窗口打开查看此主题相关图片如下:12.png
图片点击可在新窗口打开查看
这种提示    创建Excel服务失败
6楼
wenarm 发表于:2016/9/2 8:55:20

1.你安装的是64位的金字塔还是32位的

2.系统中是否安装了office

7楼
wcq1983 发表于:2016/9/2 16:09:14
您好老师我在代码最后面加上了下面这些代码   为什么没有短信提醒啊
variable:duo=0,kong=0;

if bkt and duo=1 and currenttime>145500 and currenttime<=145530 then begin
    sendphonemsg('公式模型运行方向多',1);
end
 
if skt and kong=1 and currenttime>145500 and currenttime<=145530  then begin
    sendphonemsg('公式模型运行方向空',1);
end
 
if time=closetime(0) then begin
   duo:=0;
   kong:=0;
end
8楼
yukizzc 发表于:2016/9/2 16:33:54

sendphonemsg('公式模型运行方向多',1);

直接执行这句话看呢,看下是否bkt和duo的条件没有满足

9楼
wcq1983 发表于:2016/9/2 17:56:42
老师我的是64位电脑  安装的32位金字塔软件    您的意思是在信号转多或转空的时候才发短信吗?   我的目的是想在没有多空转换的时候也发送短信  您看可以帮我在修改一下吗

10楼
wcq1983 发表于:2016/9/2 17:58:16
我不清楚是否安装了office  怎么查看是否安装呢
共48 条记录, 每页显示 10 条, 页签: [1] [2][3][4][5]


Powered By Dvbbs Version 8.3.0
Processed in 0.04688 s, 2 queries.