金蜘蛛,主图 副图 选股
202110169183380074.png
MA5:EMA(C,M5);
MA10:EMA(C,M10);
MA20:EMA(C,M20);
YCX:=MA5>=REF(MA5,1);
YPX:=MA5<=REF(MA5,1);
H1:=MAX(MAX(MA5,MA10),MA20);
L1:=MIN(MIN(MA5,MA10),MA20);
一阳穿三线:=H1<C AND O<L1 AND YCX AND MA10>REF(MA10,1);
STICKLINE(一阳穿三线,O,C,1,0),COLORYELLOW;
DRAWTEXT(一阳穿三线,L, '金蜘蛛'),COLORRED;
破阳止损:=C<REF(C-(C-O)/2,BARSLAST(一阳穿三线)) AND COUNT(C<REF(C-(C-O)/2,BARSLAST(一阳穿三线)),BARSLAST(一阳穿三线))=1;
STICKLINE(破阳止损,O,C,1,0),COLORGREEN;
DRAWTEXT(破阳止损,H, '止损'),COLORGREEN;
一阴破三线:=L1>C AND YPX AND MA10<REF(MA10,1) AND COUNT(L1>C AND YPX AND MA10<REF(MA10,1),BARSLAST(一阳穿三线))=1 AND COUNT(破阳止损,BARSLAST(一阳穿三线))=0;
STICKLINE(一阴破三线,O,C,1,0),COLORMAGENTA;
DRAWTEXT(一阴破三线,H, '止盈'),COLORMAGENTA;
202110169202114392.png
202110169202876607.png
|