|
本帖最後由 f29825604 於 14-6-9 11:51 編輯
小弟需要組合上下兩策略的交易訊號
ps:箭頭按照出現時間的前後順序兩圖合併
condition1 = 藍箭頭[1] 且 藍箭頭[0] then buy 1 share next bar at market
condition2 = 藍箭頭[1] 且 紅箭頭[0] then sell 1 share next bar at market
condition3 = 紅箭頭[1] 且 紅箭頭[0] then sellshort 1 share next bar at market
condition4 = 紅箭頭[1] 且 藍箭頭[0] then buytocover 1 share next bar at market
請問該如何完成
感恩不盡
|
|