图表改为后台交易
作者:金字塔 来源:cxh99.com 发布时间:2017年04月21日
- 咨询内容:
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);改为走完模式
- 金字塔客服:
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);