//计算股指的可开手数
tem:=intpart(TACCOUNT(6)/(close*0.15*2)); //除以2意思是半仓操作,然后取整
//下面是平仓
sell(cross(ma1,ma2),tem,thisclose);
sellshort(cross(ma2,ma1),tem,thisclose);
//下面是开仓
buy(cross(ma2,ma1),tem,thisclose);
buyshort(cross(ma1,ma2),tem,thisclose);
我的问题是:查说明书,TACCOUNT(6)是平仓净值。请问在持仓期间TACCOUNT(6)是指可用资金吗?
如果我想得到权益(可用资金+持仓保证金),要用哪个函数?
新手不要把账户函数用在图表上