numtostr(stklabel,0)出錯 [金字塔]
- 咨詢內容:
股票交易發現
SENDPHONEMSG('關注' &numtostr(stklabel,0) ,0);結果手機監控收到的信息是:關注1000004。1000004代碼是錯誤的。
SENDPHONEMSG('關注' &numtostr(DYNAINFO(7),2) &numtostr(stklabel,0) ,0);結果手機監控收到的信息是:關注39.58 1000000。1000000代碼是錯誤的。
- 金字塔客服:
SENDPHONEMSG('關注' &stklabel ,0);
- 用戶回復:
以下是引用王鋒在2016-10-31 17:15:12的發言:
SENDPHONEMSG('關注' &stklabel ,0); SENDPHONEMSG('關注' &numtostr(DYNAINFO(7),2) &stklabel ,0); 想輸出價格與代碼之間有空格或分隔符,怎么辦? 如下 SENDPHONEMSG('關注' &numtostr(DYNAINFO(7),2)& DRAWNULL&stklabel ,0);結果輸出為7.43-1600868
- 網友回復:
如下
SENDPHONEMSG('關注' &numtostr(DYNAINFO(7),2)& &numtostr(DRAWNULL,0)&stklabel ,0);
結果輸出為:關注7.43-1600868
我們希望得到的結果是:關注7.43 600868 或 7.43 / 600868 或 7.43 #600868 怎么辦
- 網友回復:
在你需要加空格或者其他字符的位置,使用&將其串聯,例如 string1+空格 + string2
string1&' '&string2表達的就是string1 string2
[此貼子已經被作者于2016-11-1 13:52:51編輯過]
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容