Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共6 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:这个语句对吗?

1楼
wjxkjs 发表于:2009/11/25 21:59:43
if 多头势 then tsell(tholding>0 and close>enterprice*1.005 and NOT(tTYPE(1)=2),tholding*0.60,stp,enterprice*1.005);
2楼
wjxkjs 发表于:2009/11/25 22:03:02

应该是这个,对吗?

if 多头势 then tsell(tholding>0 and close>enterprice*1.005 and NOT(tTYPE(1)=2),tholding*0.60,stp,mkt);

3楼
金字塔 发表于:2009/11/25 22:12:10

if 多头势 then tsell(tholding>0 and close>enterprice*1.005 and NOT(tTYPE(2)=1),tholding*0.60,mkt);

[此贴子已经被作者于2009-11-29 12:00:25编辑过]
4楼
wjxkjs 发表于:2009/11/25 22:20:34

if 多头势 then sell(holding>0 and close>enterprice*1.005 and NOT(TYPE(1)=2),intpart(holding*0.30),thisclose);

 

 

这里的close ,如果用动态函数,比如DYNAINFO(  7),可以吗?

5楼
金字塔 发表于:2009/11/25 22:22:03
应该可以
6楼
wjxkjs 发表于:2009/11/25 22:30:53

如果这个可以的话,我就可以实行追踪止盈了。比如,我的目标价格是A,如果行情继续上涨,上涨中如果出现回调5个价位的,就止盈,否则,继续持有。比如,目标价格1000,行情继续上涨,我将止损位置先抬高到1000,结果一路涨到了1050,出现了回调,到了1040,我就止盈。老师指导一下,给个模型?

共6 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.28516 s, 3 queries.