全部 智大领峰 TBQuant功能 TBL语言 TB开户 问答专区 高手圈 其他
错在那里了
2024-09-13 09:39

给我看一下 这个30跳 固定止损止赢的程序那里错了 实际跑的过程 老是出现问题 几个跳就卖出了

注意 用的后复权数据 映射主力合约


If((  MarketPosition<>1 and  High>High[15] )

      {

          Buy(1,High);

       }

    //系统出场

     If(MarketPosition==1 and High/rollover>EntryPrice/rollover+30*MinPoint and BarsSinceEntry > 0 )

                      {

                          Sell(0, High);

                      }

    If(MarketPosition==1 and  Low/rollover<EntryPrice/rollover-30*MinPoint  and BarsSinceEntry > 0 )

                     {

                      Sell(0, Low);

                      }

                     

kyover

minpoint是什么东西

给的东西太少了,盲人摸象看不出来问题

2024-09-13 10:33
您未登录,请先 登录注册 后发表评论
顶部