符合條件的"Crossunder"為何沒(méi)有信號(hào)產(chǎn)生 [開(kāi)拓者 TB]
- 咨詢(xún)內(nèi)容:
我在一分鐘周期內(nèi)運(yùn)行:if (open>Ssetup and open<buyposition and marketposition==0 )
{
mycrossunder=Crossunder(Open[1],Ssetup);
if (mycrossunder)
{
SellShort(lots,open);
}
}
圖表中為何沒(méi)有信號(hào)產(chǎn)生,圖表中顯示有BAR的開(kāi)盤(pán)價(jià)
下穿ssetup的,謝謝解答。 - TB技術(shù)人員:
不知道,我也在找原因
- TB客服:
Sellposition=...........
mycrossunderB=CrossUnder(Low[1],sellposition);
If(mycrossunderB)
{
SellShort(lots,open);
}
為什么也沒(méi)有信號(hào)?明明看到圖標(biāo)上最低點(diǎn)下穿了sellposition。 - 網(wǎng)友回復(fù):
mycrossunder=Crossunder(Open[1],Ssetup);
if (open>Ssetup and open<buyposition and marketposition==0 and mycrossunder)
{
SellShort(lots,open);
}
改成這樣試試。 - 網(wǎng)友回復(fù):
sellposition必須是序列函數(shù)
有思路,想編寫(xiě)各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 1145508240 進(jìn)行 有償 編寫(xiě)!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容