2013年12月25日 星期三

孕抱線






{
[檔名:] 多頭母子 [資料夾:] 酒田戰法 [適用方向]
[說明:] 前期收長黑K棒 今期開高小幅收紅不過昨高

[資料讀取] 10
[最大引用] 5
}
{判斷狀況}
condition1= ( open[1] - close[1] ) >(high[1] -low[1])*0.75 ;//狀況1: 前期出長黑K棒
condition2= close[1] < close[2] - high[2]-low[2] ;//狀況2: 前期呈波動放大下跌
condition3= ( close - open ) >(high -low) * 0.75 ;//狀況3: 當期紅棒
condition4= high < high[1] ;//狀況4: 高不過昨高
condition5= low>low[1] ;//狀況5: 低不破昨低
{結果判斷}
IF
condition1
and condition2
and condition3
and condition4
and condition5
THEN RET=1;

{
[檔名:] 空頭母子 [資料夾:] 酒田戰法 [適用方向]
[說明:] 長紅棒後 內包短黑K

[資料讀取] 10
[最大引用] 5
}
{判斷狀況}
condition1= ( close[1] - open[1] ) > (high[1] -low[1]) * 0.8 ;//狀況1: 前期實體紅棒
condition2= close[1]> close[2] + high[2]-low[2] ;//狀況2: 前期波動向上放大
condition3= ( open - close )>(high -low) * 0.5 ;//狀況3: 當期黑K棒
condition4= high[1] > high and low[1] < Low ;//狀況4: 高不過高 低不過低 內包K棒
{結果判斷}
IF
condition1
and condition2
and condition3
and condition4
THEN RET=1;

沒有留言:

張貼留言