全局变量必须有个读取的过程 才能赋值吗 [金字塔]
- 
						咨询内容:
	
	请教:全局变量 必须有个读取的过程 才能赋值吗?
	
- 
						金字塔客服:
	
	不是的。来源:程序化久久网( WWW.CXH99.COM ) 
- 
						用户回复:
						VARIABL
						E:sj=0,sjh=0,bj=0,bjh=0;
						//进场
						if holding =1  and bjh=1  and holding<2 then begin
						
								
								s多进2仓:buy(t1 and y1,1,MARKETR);
						end
						if holding=1 and sjh=1 and holding<2 then BEGIN
						
								
								b多进2仓:buy(t2 and y1,1,marketr);
						end
						
						
						if (holding=0 and t1 and y1) or(holding=0 and t2 and y1) then begin
						
								
								多进:buy(1,1,MARKETR);
						
 end
 if sj=0 and sjh=0 and (t1 and y1)then begin sj:=c; sjh:=1; end if bj=0 and bjh=0 and (t2 and y1) then begin bj:=c; bjh:=1; end为什么变量窗口 没有赋值显示 赋值失败的原因是什么
- 
						网友回复:
	
	 VARIABLE:sj:=0,sjh:=0,bj:=0,bjh:=0;
 然后这个全局变量你要显示出来。
 你得再单独输出下,否则不显示的。
 s:sj;
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696  或微信号:cxh99cxh99  进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
- 
                        没有相关内容
                       

 
                     会员登录/注册
会员登录/注册