| 以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://222.73.7.161/bbs/index.asp) -- 公式模型编写问题提交 (http://222.73.7.161/bbs/list.asp?boardid=4) ---- 图表改为后台交易 (http://222.73.7.161/bbs/dispbbs.asp?boardid=4&id=149950)  | 
    
| --  作者:系统使用者 -- 发布时间: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); 改为走完模式 
         | 
    
| --  作者: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); 
	 |