以文本方式查看主题

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

--  作者:漫步金字塔
--  发布时间:2013/3/27 15:07:00
--  老师回答一下
 老师,当资金为10万时交,10手,11万以上时交易11手,12万时交易12手,这个怎么表达


--  作者:jinzhe
--  发布时间:2013/3/27 15:27:58
--  

if tasset >100000 and tasset<110000 then shoushu:=10;

if tasset >110000 and tasset<120000  then shoushu:=11;

if tasset >120000 then shoushu:=12;

[此贴子已经被作者于2013-3-27 15:28:28编辑过]

--  作者:wn10000neng
--  发布时间:2013/3/27 22:40:50
--  
tasset是后台的指标,可以用在图表交易吗
--  作者:jinzhe
--  发布时间:2013/3/28 8:56:05
--  

打算用图表来计算?用实际资金计算仓位?