Rss & SiteMap

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

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

标题:请教variable的用法

1楼
开开心心 发表于:2015/10/1 11:13:12
请问老师,variable直接用于后台交易有没有问题,下面的交易模式有没有问题
variable:n=0;
if DYNAINFO(28)=75500 and tholding>0 and n<3 then
begin
tsell(1,0,lmt,75600);
tbuyshort(1,1,lmt,75610);
end

if DYNAINFO(28)=75500 and tholding>0 and 3<n<6 then
begin
tsell(1,0,lmt,75600);
tbuyshort(1,2,lmt,75610);
end
2楼
jinzhe 发表于:2015/10/8 8:57:43

这个是图表交易用的全局变量,后台使用

GLOBALVARIABLE或者extgbdataset

共2 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.02734 s, 3 queries.