看板 Trading 關於我們 聯絡資訊
大概類似於 If BarSinceEntry=3 and high<high[2] and high[1]<high[2] then exitLong.... end if 可能數字有些小錯 你再試試看 調整一下吧 ※ 引述《hiroshiho (感覺布拉格的春天)》之銘言: : 如果要寫買進後兩根k線 : 高點均未高於買進那根K線的高點 : 即賣出的寫法 : 非常感謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.116.168.240
hiroshiho:我寫過...但是出現BarSinceEntry無法以index型態來使用 05/10 16:00
hiroshiho:的訊息... 05/10 16:01
escirca:BarSinceEntry(0)試試 05/10 17:14
dontblame:樓上是正確的 05/10 17:22
hiroshiho:感謝~~ 05/10 23:11