1{ 2[檔名:] 內困三日翻黑 [資料夾:] 酒田戰法 [適用方向] 空 3[說明:] 前兩期為長紅棒後包黑K棒 當期往下跌破紅棒開盤價 4 5[資料讀取] 10 6[最大引用] 5 7} 8{判斷狀況} 9condition1= close[2] > open[2] + high[3]-low[3] ;//狀況1: 前前期長紅棒 10condition2= high[2] < high[3] and low[2] > low[3] ;//狀況2: 前期內包黑K棒 11condition3= open >= close[1] and close < open[2] ;//狀況3: 開平高跌破三日低點 12{結果判斷} 13IF 14condition1 15and condition2 16and condition3 17THEN RET=1;