Rss & SiteMap

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

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

标题:成本价

1楼
ooooo 发表于:2016/11/1 15:47:14
老师:
      比如现在开仓价格是100点,在5分钟周期内
      1;如果行情先朝有利的方向移动,那么当行情返回开仓价格平仓
       2:如果行情朝不利的方向移动,那么亏损10点位平仓

      
2楼
jinzhe 发表于:2016/11/1 15:58:54

if hhv(h,enterbars+1)>enterprice and c<=enterprice then sell(1,0,limitr,enterprice),ignorecheck;

if llv(l,enterbars+1)<enterprice and c>=enterprice then sellshort(1,0,limitr,enterprice),ignorecheck;

if c<enterprice-10 then sell(1,0,market);

if c>enterprice+10 then sellshort(1,0,market);

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


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