請老師幫忙! [開拓者 TB]
-
咨詢內容:
建立新指標:
? ?日線模型:AAA:收盤價。
? ?? ?? ?? ?? ?? ???AA1:開盤價。
? ?? ?? ?? ?? ?? ?AAAA:AAA-AA1;
如果AAAA>0,信號持續3分鐘 現價開倉買入。大概意思就是這樣,然后我會把東西按這個基本方法我再補齊。謝謝了?
?來源:CXH99.COM
-
TB技術人員:
Bool okBuy;
Numeric iMod;
If(BarStatus == 0)
? ? SetGlobalVar(0,-1);
okBuy = False;
If(Close > Open and GetGlobalVar(0) == -1)
? ? SetGlobalVar(0, CurrentTime);
Else If(Close <= Open)
? ? SetGlobalVar(0,-1);
If(GetGlobalVar(0)??> -1)
{
? ? // 暫僅考慮日盤(可以通過時間控制增加夜盤)
? ? If(GetGlobalVar(0) >= 0.0900 and GetGlobalVar(0) < 0.1457)
? ? {
? ?? ???iMod = Mod(GetGlobalVar(0)*10000, 100);
? ?? ???If((iMod< 57 and Mod(CurrentTime*10000, 100) - iMod >= 3) or (iMod >= 57 and Mod(CurrentTime*10000, 100) + (60-iMod) >= 3))
? ?? ?? ?? ?okBuy = True;
? ? }
}
If (okBuy == True)
? ? Buy (xx,xx);?
-
TB客服:
Yuen_Lee 發表于 2020-7-22 10:08
Bool okBuy;
Numeric iMod;
替樓主謝謝你
有思路,想編寫各種指標公式,交易模型,選股公式,還原公式的朋友
可聯系技術人員 QQ: 262069696 或微信號:cxh99cxh99 進行 有償收費 編寫!
(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)
相關文章
-
沒有相關內容