https://docs.google.com/document/d/1FYRGgNQcJlVRjGURr4zZ9D2HS48L2QvPGcSk98rjRUA/edit?hl=en_US

 

我一向不喜歡逆勢壓重倉,因為很容易就變成凹單後重傷。
但若是有好的逆勢策略,當作避險則是很好的選擇。
                                                                               
對我而言,逆勢交易主要是避險用
也就是說若我手上有順勢多單又加碼,剛好出現逆勢訊號,我會加倍作避險,但總倉位的delta不會由正轉負或由負轉正。
                                                                               
若是你現在想要寫一個猜轉折點的避險策略,
在此我簡單提供一些大方向:
                                                                               
1) 考慮成交量
2) V型反轉的錢要賺
3) 背離
4) 剛過高(低)就帶量拉回
5) 日K季線附近出量
6) 開高走低之後的背離/開低走高之後的背離
                                                                               
最後大家可以參考國外TRADER寫的一些判斷逆勢的方式,
在逆勢中求生存必須進場點要很精確,
所以你的濾網要更綿密才行,通常一、兩層濾網是不夠的。


http://emini-watch.com/tradestation-easylanguage-code/400/
TRADESTATION  EASYLANGUAGE  CODE:

Inputs:TextColor(White), Space(True), StopAlert(True),
SpaceMulti(1), TextSpaceMulti(0.75);
Variables:OffsetBottom(0), OffsetTop(0), OffsetInput(0);

If Space = True then begin
Value1 = Average(Range,10)*SpaceMulti;
Plot1(H+Value1,"TopSpace",Tool_Black,0,0);
Plot2(L-Value1,"BottomSpace",Tool_Black,0,0);
End;

OffsetBottom = 0;
OffsetTop = 0;
OffsetInput = Average(Range,10)*TextSpaceMulti;

Condition1 = Ticks > Ticks[1] and Range < Range[1] and L < L[1];
Condition2 = Ticks > Ticks[1] and Range < Range[1] and H > H[1];

If Condition1 then begin
OffsetBottom = OffsetBottom+OffsetInput;
Value1 = Text_New(D,T,L-OffsetBottom,"Stop");
Value2 = Text_SetColor(Value1,TextColor);
Value3 = Text_SetStyle(Value1,2,2);
If StopAlert = True then begin
Alert("Stopping Volume Low");
End;
End;
If Condition2 then begin
OffsetTop = OffsetTop+OffsetInput;
Value1 = Text_New(D,T,H+OffsetTop,"Stop");
Value2 = Text_SetColor(Value1,TextColor);
Value3 = Text_SetStyle(Value1,2,2);
If StopAlert = True then begin
Alert("Stopping Volume High");
End;
End;
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 wenschair 的頭像
    wenschair

    程式交易≠Holy Grail

    wenschair 發表在 痞客邦 留言(0) 人氣()