极品短牛主图指标公式指标

2020-10-15 20:29:01

说明:

主图指标,添加了注意牛回头,买入低点进,短追牛,加仓,牛股低点进,小心牛卧倒等等信号。。

源码:

条件:=(3*C+L+O+H)/6;

条件2:=(20*条件+19*REF(条件,1)+18*REF(条件,2)+17*REF(条件,3)+16*REF(条件,4)+15*REF(条件,5)+

14*REF(条件,6)+13*REF(条件,7)+12*REF(条件,8)+11*REF(条件,9)+10*REF(条件,10)+9*REF(条件,11)+8*REF(条件,12)

+7*REF(条件,13)+6*REF(条件,14)+5*REF(条件,15)+4*REF(条件,16)+3*REF(条件,17)+2*REF(条件,18)+

REF(条件,20))/210;

S2:=SMA(C,3,1);

S6:=SMA(C,5,1);

DK:=2*(S2-S6);

牛本钱线:EMA(条件2,13),COLORWHITE,DOTLINE;

极品牛底:LLV(HIGH,30),LINETHICK2,COLORFFCC00;

IF(MA(C,3),MA(C,3),DRAWNULL),COLORYELLOW,LINETHICK2;

IF(MA(C,9),MA(C,9),DRAWNULL),COLORMAGENTA,LINETHICK2;

IF(MA(C,23.5),MA(C,23.5),DRAWNULL),COLORWHITE;

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

MA5:=MA(C,5);

MA10:=MA(C,10);

MA30:=MA(C,30);

FAK:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);

FBK:=FAK AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);

DRAWTEXT(FBK,L-0.58,'牛股低点进'),COLORRED;

V1V:=EMA(CLOSE,5);

V2V:=EMA(EMA(CLOSE,90)*1.01,10);

DRAWTEXT(CROSS(V1V,V2V),V1V+0.05,'买入低点进'),COLOR00FF00;

量化1:=LLV(LOW,21);

量化2:=HHV(HIGH,21);

AK1:=EMA((((CLOSE - 量化1) / (量化2 - 量化1)) * 100),5);

AK:=EMA((((CLOSE - 量化1) / (量化2 - 量化1)) * 50),13);

AB:=CROSS(AK1,AK);

{极品短牛}

DRAWTEXT((AB = 1),(LOW * 0.99),'牛'),COLORYELLOW;

AA1:=AMOUNT/V;

BB1:=L<AA1*0.9;

CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;

DD1:=L<MA(C,5)*0.921;

EE1:=V<MA(V,5)*1.5;

拉升:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0,COLOR0099FF;

DRAWTEXT(拉升,L*0.99,'拉升'),COLOR0099FF;

量化3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);

量化4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (量化3AA>0),91,0);

DRAWTEXT(FILTER((量化4AA>90),45),(LOW)*(0.93),'★短追牛 '),COLOR00FFFF;

DRAWTEXT(FILTER((量化4AA>90),35),(LOW)*(0.99000001),'★加仓'),COLOR00FFFF;

A1AA:=9;

A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);

DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.05),'小心牛卧倒'),COLORFFFFFF;

量化6:=REF(C,1);

量化7:=SMA(MAX(C-量化6,0),6,1)/SMA(ABS(C-量化6),6,1)*100;

DRAWTEXT(CROSS(82,量化7),H*1.01,'注意牛回头'),COLORYELLOW;

(0)

相关推荐