上次倉(cāng)位為0時(shí)的資產(chǎn)值。
作者:金字塔 來源:cxh99.com 發(fā)布時(shí)間:2015年07月04日
- 咨詢內(nèi)容:
請(qǐng)教:
ref(asset,openbar) 請(qǐng)問這個(gè)語句是不是上次倉(cāng)位為0時(shí)的資產(chǎn)值?
但是如果交易時(shí)是平倉(cāng)又立即反手開倉(cāng) 是否也會(huì)記錄一次資產(chǎn)值?
- 金字塔客服:
if ...........then sell......;
aa:ref(...);
if .......... then buy......;
aa會(huì)記錄到這次平時(shí)的資金
if ...........then sell......;
if .......... then buy......;
aa:ref(......);
這樣寫就記錄不到,因?yàn)橹苯娱_倉(cāng)了