hxx_future 发表于 2015-9-25 18:18:00

怎么让ALERT提醒只提示一次?

本帖最后由 hxx_future 于 2015-10-16 12:11 编辑

我想实现一个提示预警,如下代码

if time >=0.1100 and time <=0.1125)
{ //假设在11点到11点25分我想监控一个合约的最新行情价格是否等于1000
         If(AlertEnabled AND  Q_Last==1000)
    {
            Alert(“价格等于1000”);   //当行情到达1000的时候提示,右下角弹出提示
    }
}

小米 发表于 2015-9-28 10:47:18

你这个思路的是可以的,先试试吧

hxx_future 发表于 2015-9-28 11:31:37

小米 发表于 2015-9-28 10:47 static/image/common/back.gif
你这个思路的是可以的,先试试吧

谢谢回复~~我试试
页: [1]
查看完整版本: 怎么让ALERT提醒只提示一次?