確認反手 [金字塔]
- 咨詢內容:
老師:如何確認前一次信號是反手呢?
IF 前一次信號是反手 THEN
- 金字塔客服:
variable:n=0;
if 反手信號 and 持倉判斷 begin
反手語句;
n:=1;
end
if 其他信號 and 持倉判斷 begin
下單語句;
n:=2;
end
if n=1 then ....;
- 用戶回復:
反手指令如何編寫啊
- 網友回復:
if abs(holding-ref(holding,1))=2*abs(holding) then..................
- 網友回復:
if 反手信號 and 持倉判斷 then begin
平多;
開空;
end
或者
if 反手信號 and 持倉判斷 then begin
平空;
開多;
end
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 1145508240 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容