//收盘前平仓 |
sell(time>145500 and holding>0,0,thisclose); |
sellshort(time>145500 and holding<0,0, thisclose); |
我设计的程序收盘前10分钟平仓,为什么到3点还没有平出来呀?
图表上的信号,和实际的信号不一致
图表上写着平空,实际仓位中还持有呢
1、持仓若是手工开的,金字塔图表程序化是不认的。
2、这个只是建议,下单类型实盘、模拟盘别用thisclose,仔细看thisclose的函数说明。
建议用market、limit等。