金字塔决策交易系统

 找回密码
 

微信登录

微信扫一扫,快速登录

搜索
查看: 157|回复: 2

cci预警

[复制链接]

1

主题

2

帖子

2

积分

Rank: 1

等级: 新手上路

注册:
2025-2-8
曾用名:
发表于 2025-2-10 10:07 | 显示全部楼层 |阅读模式
编写大于正100做多预警  当小于负100做空预警并弹出窗口和声音谢谢
     




if cci>100 then

begin
sellshort(1,holding,market);
buy(holding=0,1,market);
end

if cci<-100 then
begin
sell(1,holding,market);
buyshort(holding=0,1,market);
end
回复

使用道具 举报

36

主题

9364

帖子

9374

积分

Rank: 8Rank: 8

等级: 超级版主

注册:
2021-5-18
曾用名:
发表于 2025-2-10 10:09 | 显示全部楼层
if cci>100 then
begin
sellshort(1,holding,market);
buy(holding=0,1,market);
PLAYSOUND(1,'D:\ONTIFY.MP3');
end

if cci<-100 then
begin
sell(1,holding,market);
buyshort(holding=0,1,market);
PLAYSOUND(1,'D:\ONTIFY.MP3');
end
金字塔提供一对一VIP专业技术指导服务,技术团队实时响应您的日常使用问题与策略编写。联系电话:021-20339086
回复

使用道具 举报

1

主题

2

帖子

2

积分

Rank: 1

等级: 新手上路

注册:
2025-2-8
曾用名:
 楼主| 发表于 2025-2-10 11:21 | 显示全部楼层
技术008 发表于 2025-2-10 10:09
if cci>100 then
begin
sellshort(1,holding,market);

谢xie
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 微信登录

本版积分规则

手机版|小黑屋|上海金之塔信息技术有限公司 ( 沪ICP备13035422号 )

GMT+8, 2025-3-12 12:35 , Processed in 0.191416 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表