Rss & SiteMap

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

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

标题:图表改为后台交易

1楼
系统使用者 发表于:2017/3/31 10:07:19
XL :="JRTJ2@XTL"(); FPC :="JRTJ2@FTC"(); 
VAL1  := "Trend@VAL1"();
VAL2  := "Trend@VAL2"();
T1    := "Trend@T1"();

if holding>0 and val1>0 then sell(1,ss,marketr);  
if holding<0 and val2>0 then sellshort(1,ss,marketr);
if holding<=0 and val2>0 then buy(1,ss,marketr);
if holding>=0 and val1>0 then buyshort(1,ss,marketr);
改为走完模式
2楼
jinzhe 发表于:2017/3/31 10:26:11
XL :="JRTJ2@XTL"(); FPC :="JRTJ2@FTC"(); 
VAL1  := "Trend@VAL1"();
VAL2  := "Trend@VAL2"();
T1    := "Trend@T1"();

if tholding>0 and val1>0 then tsell(1,ss,mkt);  
if tholding<0 and val2>0 then tsellshort(1,ss,mkt);
if tholding<=0 and val2>0 then tbuy(1,ss,mkt);
if tholding>=0 and val1>0 then tbuyshort(1,ss,mkt);
 
共2 条记录, 每页显示 10 条, 页签: [1]


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