[問題] multichart語法
請教一下~有人知道超過基本成本單後 每漲跌50點的加碼語法如何寫?
收盤低到成本就全平 我每次寫都變成一直加碼 然後一直平倉
if condition1 then buy("base") 1 share next bar at market;
if entryprice +50 > entryprice then buy ("add1")1 share next bar at market;
if avgentryprice < c then sell all shares next bar at market;
是不是要設一個變數去控制?該怎麼設啊?可以指導一下嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 116.238.37.42
※ 文章網址: https://www.ptt.cc/bbs/Trading/M.1434206518.A.597.html
→
06/13 23:56, , 1F
06/13 23:56, 1F
→
06/15 12:00, , 2F
06/15 12:00, 2F
討論串 (同標題文章)
Trading 近期熱門文章
57
160
PTT職涯區 即時熱門文章