老是說(shuō)小括號(hào)不匹配,該如何解決,謝謝 [開(kāi)拓者 TB]
-
咨詢內(nèi)容:
Params
? ? Numeric P1(1);
? ? Numeric P2(24);
Vars
? ? ? ? NumericSeries MA1;
? ? ? ? NumericSeries MA24;
Begin
? ? ? ? MA1=AverageFC(CLOSE,P1);
? ? ? ? MA24=AverageFC(CLOSE,P2);
? ? ? ? if (CrossOver(MA1,MA24))
? ? ? ? {
? ? ? ? ? ? ? ? Buy(1,Open);
? ? ? ? }
? ? ? ? if (CrossUnder(MA1,MA24))
? ? ? ? {
? ? ? ? ? ? ? ? SellShort(1,Open);
? ? ? ? }
End?
?來(lái)源:CXH99.COM
- TB技術(shù)人員: 兩行if (CrossOver(MA1,MA24))中“,”使用的是中文字符,改成“,”就可以了
有思路,想編寫(xiě)各種指標(biāo)公式,交易模型,選股公式,還原公式的朋友
可聯(lián)系技術(shù)人員 QQ: 262069696 或微信號(hào):cxh99cxh99 進(jìn)行 有償收費(fèi) 編寫(xiě)!
(怎么收費(fèi),代編流程等詳情請(qǐng)點(diǎn)擊閱讀!)
(注:由于人數(shù)限制,QQ或微信請(qǐng)選擇方便的一個(gè)聯(lián)系我們就行,加好友時(shí)請(qǐng)簡(jiǎn)單備注下您的需求,否則無(wú)法通過(guò)。謝謝您!)
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容