金字塔决策交易系统

 找回密码
 

微信登录

微信扫一扫,快速登录

搜索
查看: 2671|回复: 3

改后台

[复制链接]

28

主题

153

帖子

163

积分

Rank: 2

等级: 标准版

注册:
2022-6-27
曾用名:
发表于 2023-9-8 15:27 | 显示全部楼层 |阅读模式
ABB:=(time0-timetot0(dynainfo(207))<=3) or not(islastbar);
hh:hhv(h,n);
ll:llv(l,x);
MA4:=MA(C,119),COLORBROWN,LINETHICK2;
SS:=1;
if h>=ref(hh,1)AND ABB then
begin
sell(1,holding,thisclose);
buyshort(holding=0,SS,thisclose);
end
if l<=ref(ll,1) AND ABB then
begin
sellshort(1,holding,thisclose);
buy(holding=0,SS,thisclose);
end

帮我改后台程序化

回复

使用道具 举报

37

主题

1万

帖子

6万

积分

Rank: 8Rank: 8

等级: 超级版主

注册:
2021-5-18
曾用名:
wenarm
发表于 2023-9-8 15:28 | 显示全部楼层
[PEL] 复制代码
ABB:=(time0-timetot0(dynainfo(207))<=3) or not(islastbar);
hh:hhv(h,n);
ll:llv(l,x);
MA4:=MA(C,119),COLORBROWN,LINETHICK2;
SS:=1;
if h>=ref(hh,1)AND ABB then
begin
Tsell(1,Tholding,thisclose);
Tbuyshort(Tholding=0,SS,thisclose);
end
if l<=ref(ll,1) AND ABB then
begin
Tsellshort(1,Tholding,thisclose);
Tbuy(Tholding=0,SS,thisclose);
end
金字塔提供一对一VIP专业技术指导服务,技术团队实时响应您的日常使用问题与策略编写。联系电话:021-20339086
回复

使用道具 举报

28

主题

153

帖子

163

积分

Rank: 2

等级: 标准版

注册:
2022-6-27
曾用名:
 楼主| 发表于 2023-9-8 15:37 | 显示全部楼层
提示thisclose,只能用着图表,不能用于后台
回复

使用道具 举报

37

主题

1万

帖子

6万

积分

Rank: 8Rank: 8

等级: 超级版主

注册:
2021-5-18
曾用名:
wenarm
发表于 2023-9-8 15:46 | 显示全部楼层
ABB:=(time0-timetot0(dynainfo(207))<=3) or not(islastbar);
hh:hhv(h,n);
ll:llv(l,x);
MA4:=MA(C,119),COLORBROWN,LINETHICK2;
SS:=1;
if h>=ref(hh,1)AND ABB then
begin
Tsell(1,holding,lmt,DYNAINFO( 20));
Tbuyshort(holding=0,SS,lmt,DYNAINFO( 20));
end
if l<=ref(ll,1) AND ABB then
begin
Tsellshort(1,holding,lmt,DYNAINFO( 21));
Tbuy(holding=0,SS,lmt,DYNAINFO( 21));
end
金字塔提供一对一VIP专业技术指导服务,技术团队实时响应您的日常使用问题与策略编写。联系电话:021-20339086
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-7-30 06:04 , Processed in 0.135372 second(s), 21 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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