以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  老师看一下问题出在什么地方  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=86051)

--  作者:么么
--  发布时间:2015/10/11 9:46:10
--  老师看一下问题出在什么地方

if CROSS(C,BOTTOM) and holding<=1 then begin
buy(1,1,market);
if TYPEBAR(1 , 1)>0 then A:=A+1;


if holding<0 and openprofit>=500 then begin
 sellshort(1,0,market);
 t:=1;
 s:=2;
end

 

 

开盘时,开盘价上方1个单位(一分钟周期)买1手,一根K线只成交1手,当盈利500元时现价全部平仓


--  作者:jinzhe
--  发布时间:2015/10/12 9:14:39
--  

http://www.weistock.com/bbs/dispbbs.asp?boardid=4&Id=86050

请不要申请多个帐号然后发同样的帖子