EasyTrader ArtNo 142
由兩個不同顏色的實體所形成,而後一個K線實體將前一個K線的實體完全包含時,即為吞噬,如例圖。當紅K包覆黑K時,則為陽線吞噬;若是黑K包覆紅K時,稱為陰線吞噬。吞噬是明顯的反轉型態,若當日又有良好的成交量配合時,反轉的成功機率更高。短線操作上在吞噬形成之後,原來的操作策略即使不用馬上多空互換,也必須設立停損或停利點,以確保原有的獲利。辨認法則
1. 必須有明確的趨勢在發展中。
2. 第二天的實體必須完全吞噬前一天的實體。兩個實體的上端或下端可以相等,但兩個實體的上端和下端不能皆相等。
3. 第一天的顏色應該反應出趨勢;白色為上升趨勢。黑色為下降趨勢。
4. 在「吞噬」型態中,第二天與第一天的實體顏色必須相反。
其他要點
吞噬一般來說比突破(或貫穿)、烏雲罩頂要強得多,但也要看位置,不論哪一種,在重要支撐或壓力區的型態其效力都比較大。
吞噬型態可以作為重要的支撐與壓力區。
股票型態的吞噬應該比較寬鬆,期貨則比較嚴格。完美的吞噬型態必須第二根實體很長,完全包含第一根K線的上下影線,次完美的則第二根K線上下影線皆計算在內。
股票的吞噬型態允許兩天的開盤價與收盤價相同。
吞噬的實體如果相近,易演變為橫盤走勢。
空頭吞噬,是指在上升趨勢中,如果空頭吞噬發生在下降趨勢,則有竭盡反轉的涵義,稱為最後吞噬底。反之,多頭吞噬,是指在下降趨勢中,如果多頭吞噬發生在上升趨勢,稱為最後吞噬頂。
吞噬為反轉訊號,但必須經過第三天開盤確認,第三天走勢的強度會影響此型態的預測能力。
多頭吞噬第二根K線必須帶量,空頭吞噬則不需要看量。
上升中遇到多頭吞噬以及下降中遇到空頭吞噬,必須小心是騙線
騙線的確定需要量及隔日開盤而定,
頭部的多頭吞噬線,若隔日開低且量縮,視為騙線型態
底部空頭吞噬線,若隔日開高,且和大陰線都帶量,視為騙線型態
騙線型態出現,反轉機率增加,應適時調節手中籌碼
{#function C_BullEng_BearEng}
inputs: Length( numericsimple ), oBullishEngulfing( numericref ), oBearishEngulfing( numericref ) ;
variables: Body( 0 ), PriceAvg( 0 ), BodyAvg( 0 ) ;
Body = MaxList( Close, Open ) - MinList( Close, Open ) ;
PriceAvg = XAverage( Close, Length ) ;
BodyAvg = XAverage( Body, Length ) ;
oBullishEngulfing = 0 ;
oBearishEngulfing = 0 ;
if CurrentBar > 1 then begin
if Close < PriceAvg
{ TREND IS down }
and Close > Open
{ CURRENT BODY white... }
and Body > BodyAvg
{ ...AND LONG }
and Close[1] < Open[1]
{ PREVIOUS BODY black... }
and Body[1] < BodyAvg[1]
{ ...AND SMALL }
and Close >= Open[1]
{ BullEng COND 1 }
and Open <= Close[1]
{ BullEng COND 2 }
and ( Close > Open[1] or Open < Close[1] )
{ BullEng COND 3 }
then oBullishEngulfing = 1
else if Close > PriceAvg
{ TREND IS up }
and Close < Open
{ CURRENT BODY black... }
and Body > BodyAvg
{ ...AND LONG }
and Close[1] > Open[1]
{ PREVIOUS BODY white... }
and Body[1] < BodyAvg[1]
{ ...AND SMALL }
and Close <= Open[1]
{ BearEng COND 1 }
and Open >= Close[1]
{ BearEng COND 2 }
and ( Close < Open[1] or Open > Close[1] )
{ BearEng COND 3 }
then oBearishEngulfing = 1 ;
end ;
_C_BullEng_BearEng = 1 ;
另一種函數寫法
{#function _T_BullEng_BearEng}
Inputs: Length( numericsimple ), oBullishEngulfing( numericref ), oBearishEngulfing( numericref ) ;
oBullishEngulfing = 0 ;
oBearishEngulfing = 0 ;
If Average(Close, Length) < Average(Close, Length)[1] AND Close > Open AND Close[1] < Open[1] AND Close > Open[1] AND Open < Close[1] Then
oBullishEngulfing = 1
Else
oBullishEngulfing = 0;
If Average(Close, Length) > Average(Close,Length)[1] AND Close < Open AND Close[1] > Open[1] AND Close < Open[1] AND Open > Close[1] then
oBearishEngulfing = 1
Else
oBearishEngulfing = 0;
_T_BullEng_BearEng = 1 ;
兩種邏輯元素組合的歷史回測
台指期 日K 與 60分K 最近 3000 交易日 留倉測試 交易成本 1200
inputs: Length( numericsimple ), oBullishEngulfing( numericref ), oBearishEngulfing( numericref ) ;
variables: Body( 0 ), PriceAvg( 0 ), BodyAvg( 0 ) ;
Body = MaxList( Close, Open ) - MinList( Close, Open ) ;
PriceAvg = XAverage( Close, Length ) ;
BodyAvg = XAverage( Body, Length ) ;
oBullishEngulfing = 0 ;
oBearishEngulfing = 0 ;
if CurrentBar > 1 then begin
if Close < PriceAvg
{ TREND IS down }
and Close > Open
{ CURRENT BODY white... }
and Body > BodyAvg
{ ...AND LONG }
and Close[1] < Open[1]
{ PREVIOUS BODY black... }
and Body[1] < BodyAvg[1]
{ ...AND SMALL }
and Close >= Open[1]
{ BullEng COND 1 }
and Open <= Close[1]
{ BullEng COND 2 }
and ( Close > Open[1] or Open < Close[1] )
{ BullEng COND 3 }
then oBullishEngulfing = 1
else if Close > PriceAvg
{ TREND IS up }
and Close < Open
{ CURRENT BODY black... }
and Body > BodyAvg
{ ...AND LONG }
and Close[1] > Open[1]
{ PREVIOUS BODY white... }
and Body[1] < BodyAvg[1]
{ ...AND SMALL }
and Close <= Open[1]
{ BearEng COND 1 }
and Open >= Close[1]
{ BearEng COND 2 }
and ( Close < Open[1] or Open > Close[1] )
{ BearEng COND 3 }
then oBearishEngulfing = 1 ;
end ;
_C_BullEng_BearEng = 1 ;
另一種函數寫法
{#function _T_BullEng_BearEng}
Inputs: Length( numericsimple ), oBullishEngulfing( numericref ), oBearishEngulfing( numericref ) ;
oBullishEngulfing = 0 ;
oBearishEngulfing = 0 ;
If Average(Close, Length) < Average(Close, Length)[1] AND Close > Open AND Close[1] < Open[1] AND Close > Open[1] AND Open < Close[1] Then
oBullishEngulfing = 1
Else
oBullishEngulfing = 0;
If Average(Close, Length) > Average(Close,Length)[1] AND Close < Open AND Close[1] > Open[1] AND Close < Open[1] AND Open > Close[1] then
oBearishEngulfing = 1
Else
oBearishEngulfing = 0;
_T_BullEng_BearEng = 1 ;
兩種邏輯元素組合的歷史回測
台指期 日K 與 60分K 最近 3000 交易日 留倉測試 交易成本 1200
MagicQS064
沒有留言:
張貼留言