设为首页收藏本站

 找回密码
 注册
查看: 1343|回复: 0
打印 上一主题 下一主题

这个程序可以做实盘吗? [复制链接]

Rank: 1

精华
0
UID
230742
积分
22
帖子
13
主题
5
阅读权限
10
注册时间
2016-3-23
最后登录
2020-10-20
跳转到指定楼层
1#
发表于 2016-4-3 21:51:25 |只看该作者 |倒序浏览
这个程序可以做实盘吗?先不论亏盈。买卖的点位会和测试中那样吗?会出现买不到或平仓不了的事吗?或会出现其它问题吗?

Params
        Numeric AfStep( 0.02);
        Numeric AfLimit( 0.2 ) ;
       
Vars
        Numeric oParCl( 0 );
        Numeric oParOp( 0 );
        Numeric oPosition( 0 );
        Numeric oTransition( 0 );
        NumericSeries  m1;
Begin

     If(!CallAuctionFilter()) Return;
         
        ParabolicSAR( AfStep, AfLimit, oParCl, oParOp, oPosition, oTransition ) ;
        PlotNumeric( "ParCl" , oParCl) ;
       
        m1=oParCl;
       
        if (Close[1]>m1[1] )
        Buy (0,open);
       
        if (Close[1]<m1[1])
        Sell(0,open);
End



您需要登录后才可以回帖 登录 | 注册

bottom

静态版|手机版|联系我们|交易开拓者 ( 粤ICP备07044698   

GMT+8, 2024-5-9 05:09

Powered by Discuz! X2 LicensedChrome插件扩展

© 2011-2012 交易开拓者 Inc.

回顶部